Dan Williams
bb363997ed
build: add some more build-time warnings
2012-07-30 10:58:47 -05:00
Colin Walters
e4f51d1968
build: allow --set-more-warnings=no|yes|error
...
For the GNOME autobuilders, we want compiler warnings, but don't want
-Werror. For developer compatibility, the default value is "error".
https://bugzilla.gnome.org/show_bug.cgi?id=668974
2012-02-09 16:54:04 -06:00
Dan Williams
db9b1df0e4
build: don't use -Wstrict-prototypes (bgo #584947 )
...
First, -Wstrict-prototypes wasn't actually getting used because
-Werror was already in CFLAGS and AC_TRY_COMPILE doesn't produce
main() functions with valid strict prototypes. Suck. But even
fixing that, the WiMAX SDK won't build with the flag, so just rip
it out.
2011-04-26 13:55:52 -05:00
Dan Williams
df511f74f7
build: use -Wundef and fix up cases where stuff wasn't defined (bgo #647157 )
2011-04-14 13:19:12 -05:00
Dan Williams
398993e2f4
build: turn off set-but-not-used variable warnings in new GCC
2011-01-24 15:57:33 -06:00
Michael Biebl
dbd85915f1
Split compiler warnings into separate m4 macro file
...
The m4 macro is called NM_COMPILER_WARNINGS. Being in a separate file
makes it easier reusable for the other NM projects.
2009-05-02 18:01:13 -04:00