don't add -Wshadow to MAINTAINER_CFLAGS

The semantics of shadowing global variables is well defined and it gets
quite annoying to avoid them completely since there are too many
standard APIs with very poor namespacing.
This commit is contained in:
Robert Bragg 2011-05-11 16:51:10 +01:00
parent 89e46a472f
commit 1127ab61a1

View File

@ -196,7 +196,7 @@ AC_ARG_ENABLE(
enable_maintainer_flags=default enable_maintainer_flags=default
) )
MAINTAINER_COMPILER_FLAGS="-Wall -Wshadow -Wcast-align -Wuninitialized MAINTAINER_COMPILER_FLAGS="-Wall -Wcast-align -Wuninitialized
-Wno-strict-aliasing -Wempty-body -Wformat -Wno-strict-aliasing -Wempty-body -Wformat
-Wformat-security -Winit-self -Wformat-security -Winit-self
-Wdeclaration-after-statement -Wvla -Wdeclaration-after-statement -Wvla