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@winehq.org ReportedBy: austinenglish@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 }