summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2011-10-10 12:00:12 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-03-15 14:14:18 +0100
commitbc8010f792571f6809b891dfc8e760b2ce5ea369 (patch)
treefe50d0169c382a6945a4d33ff08c26e503e587d4 /m4
parentdbb06b6246c5488d20aae77a1ced268e01b62e58 (diff)
downloadModemManager-bc8010f792571f6809b891dfc8e760b2ce5ea369.tar.gz
build: avoid using -Wshadow compilation option
In order to compile code generated by gdbus-codegen.
Diffstat (limited to 'm4')
-rw-r--r--m4/compiler_warnings.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/compiler_warnings.m4 b/m4/compiler_warnings.m4
index 223da2d3f..879f995de 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