summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-06-10 15:44:03 +0200
committerLennart Poettering <lennart@poettering.net>2015-06-10 15:52:52 +0200
commitd9cea815b6107839d1aa56858165649858a21e18 (patch)
tree26bbab5e5fd151149755e098c6d4b7cd7995d832 /configure.ac
parentb56c4604faf486e897f836ac2293dd147e980352 (diff)
build-sys: upgrade shadow variable warnings to errors
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index b767175fa1..878b23b061 100644
--- a/configure.ac
+++ b/configure.ac
@@ -163,6 +163,7 @@ CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\
-Werror=implicit-function-declaration \
-Werror=missing-declarations \
-Werror=return-type \
+ -Werror=shadow \
-Wstrict-prototypes \
-Wredundant-decls \
-Wmissing-noreturn \