[Bug 17868] New: tools/widl.c: warning: initialization discards qualifiers from pointer target type
http://bugs.winehq.org/show_bug.cgi?id=17868 Summary: tools/widl.c: warning: initialization discards qualifiers from pointer target type Product: Wine Version: 1.1.18 Platform: PC OS/Version: Solaris Status: NEW Keywords: download, source Severity: minor Priority: P2 Component: tools AssignedTo: wine-bugs(a)winehq.org ReportedBy: austinenglish(a)gmail.com gcc -c -I. -I. -I../../include -I../../include -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -g -O2 -o widl.o widl.c widl.c:156: warning: initialization discards qualifiers from pointer target type widl.c:157: warning: initialization discards qualifiers from pointer target type widl.c:158: warning: initialization discards qualifiers from pointer target type widl.c:159: warning: initialization discards qualifiers from pointer target type widl.c:160: warning: initialization discards qualifiers from pointer target type widl.c:161: warning: initialization discards qualifiers from pointer target type widl.c:162: warning: initialization discards qualifiers from pointer target type widl.c:163: warning: initialization discards qualifiers from pointer target type widl.c:164: warning: initialization discards qualifiers from pointer target type Relevant code: static const struct option long_options[] = { { "dlldata", 1, 0, DLLDATA_OPTION }, { "dlldata-only", 0, 0, DLLDATA_ONLY_OPTION }, { "local-stubs", 1, 0, LOCAL_STUBS_OPTION }, { "oldnames", 0, 0, OLDNAMES_OPTION }, { "prefix-all", 1, 0, PREFIX_ALL_OPTION }, { "prefix-client", 1, 0, PREFIX_CLIENT_OPTION }, { "prefix-server", 1, 0, PREFIX_SERVER_OPTION }, { "win32", 0, 0, WIN32_OPTION }, { "win64", 0, 0, WIN64_OPTION }, { 0, 0, 0, 0 } -- 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.
http://bugs.winehq.org/show_bug.cgi?id=17868 --- Comment #1 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2009-03-29 01:31:40 --- Looks like Solaris has broken 'struct option' definition, particularly 'char *name' without 'const'. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=17868 --- Comment #2 from Austin English <austinenglish(a)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.
http://bugs.winehq.org/show_bug.cgi?id=17868 --- Comment #3 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2009-03-30 08:04:11 --- Looks like other similar bugs you filed are actually duplicates of this one. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=17868 --- Comment #4 from Austin English <austinenglish(a)gmail.com> 2009-03-30 12:24:18 --- (In reply to comment #3)
Looks like other similar bugs you filed are actually duplicates of this one.
If it's the same root cause, then I suppose so... -- 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.
http://bugs.winehq.org/show_bug.cgi?id=17868 --- Comment #5 from Austin English <austinenglish(a)gmail.com> 2009-03-30 12:27:15 --- *** Bug 17869 has been marked as a duplicate of this bug. *** --- Comment #6 from Austin English <austinenglish(a)gmail.com> 2009-03-30 12:27:22 --- *** Bug 17870 has been marked as a duplicate of this bug. *** -- 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.
http://bugs.winehq.org/show_bug.cgi?id=17868 --- Comment #5 from Austin English <austinenglish(a)gmail.com> 2009-03-30 12:27:15 --- *** Bug 17869 has been marked as a duplicate of this bug. *** --- Comment #6 from Austin English <austinenglish(a)gmail.com> 2009-03-30 12:27:22 --- *** Bug 17870 has been marked as a duplicate of this bug. *** -- 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.
http://bugs.winehq.org/show_bug.cgi?id=17868 --- Comment #7 from Austin English <austinenglish(a)gmail.com> 2009-03-30 12:27:28 --- *** Bug 17871 has been marked as a duplicate of this bug. *** -- 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.
http://bugs.winehq.org/show_bug.cgi?id=17868 --- Comment #8 from Austin English <austinenglish(a)gmail.com> 2009-03-30 12:28:11 --- *** Bug 17872 has been marked as a duplicate of this bug. *** -- 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.
http://bugs.winehq.org/show_bug.cgi?id=17868 --- Comment #9 from Austin English <austinenglish(a)gmail.com> 2010-09-23 03:15:03 CDT --- Still present. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=17868 --- Comment #10 from butraxz(a)gmail.com 2013-05-11 05:11:56 CDT --- Solaris is deprecated. Please close. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=17868 --- Comment #11 from Austin English <austinenglish(a)gmail.com> 2013-05-11 13:39:41 CDT --- (In reply to comment #10)
Solaris is deprecated. Please close.
I don't know where you got that from.. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=17868 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4(a)web.de --- Comment #12 from Fabian Maurer <dark.shadow4(a)web.de> --- Is this still an issue? IMHO it should be fixed, but I can't really test... -- 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.
https://bugs.winehq.org/show_bug.cgi?id=17868 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fgouget(a)codeweavers.com --- Comment #13 from Austin English <austinenglish(a)gmail.com> --- I don't have a solaris machine available at the moment (and lack disk space on my laptop to set one up). IIRC Francois may have one, perhaps he can test. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=17868 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #14 from Alexandre Julliard <julliard(a)winehq.org> --- We are not using the system getopt anymore. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=17868 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |a01532200d7e04ab087380ec731 | |25f8183ae9840 -- 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.
https://bugs.winehq.org/show_bug.cgi?id=17868 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #15 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 8.12. -- 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.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla