build: Increase the anal-retentiveness of the maintainer flags

The new rules have already caught a couple of issues.
This commit is contained in:
Emmanuele Bassi 2012-03-07 12:35:57 +00:00
parent de90be9586
commit 90e5088a51

View File

@ -913,9 +913,11 @@ AC_ARG_ENABLE([maintainer-flags],
MAINTAINER_COMPILER_FLAGS="$MAINTAINER_COMPILER_FLAGS
-Wall -Wcast-align -Wuninitialized
-Wno-strict-aliasing -Wempty-body -Wformat
-Wformat-security -Winit-self
-Wformat-security -Wformat-nonliteral -Winit-self
-Wdeclaration-after-statement -Wvla
-Wpointer-arith"
-Wpointer-arith -Wmissing-declarations
-Waggregate-returns -Wcast-align
-Wredundant-decls"
AS_CASE([$enable_maintainer_flags],
[yes],