From bc8010f792571f6809b891dfc8e760b2ce5ea369 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Mon, 10 Oct 2011 12:00:12 +0200 Subject: [PATCH] build: avoid using -Wshadow compilation option In order to compile code generated by gdbus-codegen. --- m4/compiler_warnings.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m4/compiler_warnings.m4 b/m4/compiler_warnings.m4 index 223da2d3..879f995d 100644 --- a/m4/compiler_warnings.m4 +++ b/m4/compiler_warnings.m4 @@ -7,7 +7,7 @@ if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then AC_MSG_RESULT(yes) CFLAGS="-Wall -Werror -std=gnu89 $CFLAGS" - for option in -Wshadow -Wmissing-declarations -Wmissing-prototypes \ + for option in -Wmissing-declarations -Wmissing-prototypes \ -Wdeclaration-after-statement -Wstrict-prototypes \ -Wfloat-equal -Wno-unused-parameter -Wno-sign-compare \ -fno-strict-aliasing -Wno-deprecated-declarations; do