aboutsummaryrefslogtreecommitdiff
path: root/m4/compiler_warnings.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/compiler_warnings.m4')
-rw-r--r--m4/compiler_warnings.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/compiler_warnings.m4 b/m4/compiler_warnings.m4
index 2a682684..35d005c2 100644
--- a/m4/compiler_warnings.m4
+++ b/m4/compiler_warnings.m4
@@ -10,8 +10,8 @@ if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then
for option in -Wmissing-declarations -Wmissing-prototypes \
-Wdeclaration-after-statement -Wstrict-prototypes \
-Wno-unused-parameter -Wno-sign-compare \
- -Wno-deprecated-declarations \
- -Wunused-but-set-variable -Wformat-security; do
+ -Wno-deprecated-declarations -Wno-unused-function \
+ -Wunused-variable -Wformat-security; do
SAVE_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $option -Werror"
AC_MSG_CHECKING([whether gcc understands $option])