From: Marko Kreen Date: Fri, 11 Jan 2008 13:24:59 +0000 (+0000) Subject: more gcc warnings X-Git-Tag: pgbouncer_1_2_rc2~71 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fe7bc27f2096feb7a927cd0e7aca81cd936a0b06;p=pgbouncer more gcc warnings --- 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"])