Wno-unused-result (not supported on gcc-4.2)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user