From 9bc245e4c766d49cb66f1df6185c52b05716f0f0 Mon Sep 17 00:00:00 2001 From: devzero2000 Date: Tue, 15 Apr 2014 11:49:00 +0000 Subject: configure.ac: add -Wdeclaration-after-statement if built with --enable-gcc-warnings --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index e2d3456..eba408d 100755 --- a/configure.ac +++ b/configure.ac @@ -130,6 +130,7 @@ AS_IF([test "x$popt_gcc_warnings" = xyes], popt_CFLAGS_ADD([-fipa-pure-const],[POPT_CFLAGS]) popt_CFLAGS_ADD([-Wno-aggregate-return],[POPT_CFLAGS]) popt_CFLAGS_ADD([-Wno-redundant-decls],[POPT_CFLAGS]) + popt_CFLAGS_ADD([-Wdeclaration-after-statement],[POPT_CFLAGS]) ]) # build popt with mudflap instrumentation (GCC only) -- cgit v1.2.1