[Bug 17868] tools/widl.c: warning: initialization discards qualifiers from pointer target type

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Mar 29 10:53:48 CDT 2009


http://bugs.winehq.org/show_bug.cgi?id=17868





--- Comment #2 from Austin English <austinenglish at gmail.com>  2009-03-29 10:53:48 ---
(In reply to comment #1)
> Looks like Solaris has broken 'struct option' definition, particularly
> 'char *name' without 'const'.
> 

FWIW, from PostgreSQL's configure:
# Similarly, use system's getopt_long() only if system provides struct option.
# Solaris' getopt() doesn't do what we want for long options, so always use
# our versions on that platform.
if test "$PORTNAME" = "solaris"; then
  AC_LIBOBJ(getopt)
  AC_LIBOBJ(getopt_long)
elif test x"$ac_cv_type_struct_option" = xyes ; then
  AC_REPLACE_FUNCS([getopt_long])
else
  AC_LIBOBJ(getopt_long)
fi


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list