summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2012-07-15 19:59:19 -0300
committerMarcel Holtmann <marcel@holtmann.org>2012-07-15 19:59:19 -0300
commit9ae3391b2b06a9b49f94886322e3b3adb690948f (patch)
tree3444489f30623fcf7bfe8a8ee92058b84ff18ba6 /acinclude.m4
parent1d527c81cba718428ea61240bcf99d6e904d6ebb (diff)
downloadconnman-9ae3391b2b06a9b49f94886322e3b3adb690948f.tar.gz
connman-9ae3391b2b06a9b49f94886322e3b3adb690948f.tar.bz2
connman-9ae3391b2b06a9b49f94886322e3b3adb690948f.zip
build: Use -Wshadow compiler option
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 0a59871d..ddb3b224 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -15,7 +15,7 @@ AC_DEFUN([COMPILER_FLAGS], [
CFLAGS="-Wall -O2 -D_FORTIFY_SOURCE=2"
fi
if (test "$USE_MAINTAINER_MODE" = "yes"); then
- CFLAGS+=" -Werror -Wextra"
+ CFLAGS+=" -Werror -Wextra -Wshadow"
CFLAGS+=" -Wno-unused-parameter"
CFLAGS+=" -Wno-missing-field-initializers"
CFLAGS+=" -Wdeclaration-after-statement"