GNOME Bugzilla – Bug 578983
set_more_warnings check of WARNING_CFLAGS doesn't work
Last modified: 2009-04-16 13:18:51 UTC
I'm building nautilus from SVN HEAD with gcc 3.4.3, which doesn't have -Wno-pointer-sign. The code in configure.in that checks if gcc understands the option doesn't work - config.log has: configure:28253: checking for more warnings configure:28256: result: yes configure:28268: checking whether gcc understands -Wstrict-aliasing=0 configure:28291: gcc -c -g -O2 conftest.c >&5 configure:28298: $? = 0 configure:28315: result: yes configure:28268: checking whether gcc understands -Wno-pointer-sign configure:28291: gcc -c -g -O2 conftest.c >&5 configure:28298: $? = 0 configure:28315: result: yes so WARNING_CFLAGS isn't being passed to gcc so the flag isn't actually tested.
2009-04-16 Alexander Larsson <alexl@redhat.com> Bug 578983 – set_more_warnings check of WARNING_CFLAGS doesn't work * configure.in: Actually check the options.