From b83452dd3789405829b0c6a2ca26f727f022b22d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Wed, 29 Feb 2012 08:31:58 -0800 Subject: [PATCH] Wno-unused-result (not supported on gcc-4.2) --- cf/wflags.m4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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