[cogl] don't add -Wshadow to MAINTAINER_CFLAGS



commit 1127ab61a1c0020823bdd5a394ea35d5b181425e
Author: Robert Bragg <robert linux intel com>
Date:   Wed May 11 16:51:10 2011 +0100

    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.

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 013b3a8..baa4109 100644
--- a/configure.ac
+++ b/configure.ac
@@ -196,7 +196,7 @@ AC_ARG_ENABLE(
   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
                            -Wformat-security -Winit-self
                            -Wdeclaration-after-statement -Wvla



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]