]> granicus.if.org Git - pgbouncer/commitdiff
add Wstrict-overflow to warn options
authorMarko Kreen <markokr@gmail.com>
Thu, 14 Feb 2008 14:21:56 +0000 (14:21 +0000)
committerMarko Kreen <markokr@gmail.com>
Thu, 14 Feb 2008 14:21:56 +0000 (14:21 +0000)
configure.ac

index fcd1ca4fef0e428b6ad189402d47218760036ee3..6036a8f2d9b794a9dc84d8ebba07013770639f85 100644 (file)
@@ -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 -Wundef -Wformat -Wnonnull"
+  flags="$flags -Wstrict-prototypes -Wundef -Wformat -Wnonnull -Wstrict-overflow"
   for f in $flags; do
     CFLAGS="$good_CFLAGS $warnings $f"
     AC_COMPILE_IFELSE([void foo(void){}], [warnings="$warnings $f"])