mirror of
https://github.com/brl/mutter.git
synced 2024-11-12 17:27:03 -05:00
Add -Wdeclaration-after-statement and -Wvla to maintainer CFLAGS
These warnings pick up C99 extensions that are commonly accidentally used and which cause problems when compiling with MSVC.
This commit is contained in:
parent
164af55a6e
commit
c3f47fa7d0
@ -995,7 +995,8 @@ AS_IF([test "x$enable_maintainer_flags" = "xyes" && test "x$GCC" = "xyes"],
|
||||
AS_COMPILER_FLAGS([MAINTAINER_CFLAGS],
|
||||
["-Wall -Wshadow -Wcast-align -Wuninitialized
|
||||
-Wno-strict-aliasing -Wempty-body -Wformat
|
||||
-Wformat-security -Winit-self"])
|
||||
-Wformat-security -Winit-self
|
||||
-Wdeclaration-after-statement -Wvla"])
|
||||
]
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user