From 0b910f86716d40755312d08632ac7b03b208369d Mon Sep 17 00:00:00 2001 From: Marko Kreen Date: Thu, 14 Feb 2008 14:21:56 +0000 Subject: [PATCH] add Wstrict-overflow to warn options --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index fcd1ca4..6036a8f 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 -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"]) -- 2.40.0