diff --git a/cf/wflags.m4 b/cf/wflags.m4 index 016d1bd30..7c9a0f998 100644 --- a/cf/wflags.m4 +++ b/cf/wflags.m4 @@ -26,8 +26,9 @@ if test -z "$WFLAGS" -a "$GCC" = "yes"; then # WFLAGS_LITE can be appended to WFLAGS to turn off a host of warnings # that fail for various bits of older code in appl/. Let's not use it # for the main libraries, though. + WFLAGS_LITE="-Wno-extra -Wno-missing-field-initializers -Wno-strict-aliasing -Wno-shadow" + # -Wno-unused-result (not supported on gcc-4.2) - WFLAGS_LITE="-Wno-extra -Wno-missing-field-initializers -Wno-strict-aliasing -Wno-unused-result -Wno-shadow" fi AC_SUBST(WFLAGS)dnl AC_SUBST(WFLAGS_LITE)dnl