mirror of
https://github.com/brl/mutter.git
synced 2025-01-23 09:59:03 +00:00
build: Increase the anal-retentiveness of the maintainer flags
The new rules have already caught a couple of issues.
This commit is contained in:
parent
de90be9586
commit
90e5088a51
@ -913,9 +913,11 @@ AC_ARG_ENABLE([maintainer-flags],
|
|||||||
MAINTAINER_COMPILER_FLAGS="$MAINTAINER_COMPILER_FLAGS
|
MAINTAINER_COMPILER_FLAGS="$MAINTAINER_COMPILER_FLAGS
|
||||||
-Wall -Wcast-align -Wuninitialized
|
-Wall -Wcast-align -Wuninitialized
|
||||||
-Wno-strict-aliasing -Wempty-body -Wformat
|
-Wno-strict-aliasing -Wempty-body -Wformat
|
||||||
-Wformat-security -Winit-self
|
-Wformat-security -Wformat-nonliteral -Winit-self
|
||||||
-Wdeclaration-after-statement -Wvla
|
-Wdeclaration-after-statement -Wvla
|
||||||
-Wpointer-arith"
|
-Wpointer-arith -Wmissing-declarations
|
||||||
|
-Waggregate-returns -Wcast-align
|
||||||
|
-Wredundant-decls"
|
||||||
|
|
||||||
AS_CASE([$enable_maintainer_flags],
|
AS_CASE([$enable_maintainer_flags],
|
||||||
[yes],
|
[yes],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user