Wno-unused-result (not supported on gcc-4.2)

This commit is contained in:
Love Hörnquist Åstrand
2012-02-29 08:31:58 -08:00
parent 65987846fd
commit b83452dd37

View File

@@ -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