From fe7bc27f2096feb7a927cd0e7aca81cd936a0b06 Mon Sep 17 00:00:00 2001 From: Marko Kreen Date: Fri, 11 Jan 2008 13:24:59 +0000 Subject: [PATCH] more gcc warnings --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 19996fb..fcd1ca4 100644 --- a/configure.ac +++ b/configure.ac @@ -56,7 +56,7 @@ if test x"$GCC" = xyes; then # Wextra does not turn those on? flags="$flags -Wmissing-prototypes -Wpointer-arith -Wendif-labels" flags="$flags -Wdeclaration-after-statement -Wold-style-definition" - flags="$flags -Wstrict-prototypes" + flags="$flags -Wstrict-prototypes -Wundef -Wformat -Wnonnull" for f in $flags; do CFLAGS="$good_CFLAGS $warnings $f" AC_COMPILE_IFELSE([void foo(void){}], [warnings="$warnings $f"]) -- 2.40.0