summary refs log tree commit diff
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, 3 insertions, 1 deletions
diff --git a/m4/compiler_warnings.m4 b/m4/compiler_warnings.m4
index eeacfae8..3037c584 100644
--- a/m4/compiler_warnings.m4
+++ b/m4/compiler_warnings.m4
@@ -11,7 +11,9 @@ if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then
 		      -Wdeclaration-after-statement \
 		      -Wfloat-equal -Wno-unused-parameter -Wno-sign-compare \
 		      -fno-strict-aliasing -Wno-unused-but-set-variable \
-		      -Wundef; do
+		      -Wundef -Wimplicit-function-declaration \
+		      -Wpointer-arith -Winit-self \
+		      -Wmissing-include-dirs -Waggregate-return; do
 		SAVE_CFLAGS="$CFLAGS"
 		CFLAGS="$CFLAGS $option"
 		AC_MSG_CHECKING([whether gcc understands $option])