summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2018-09-18 16:31:23 +0200
committerGitHub <noreply@github.com>2018-09-18 16:31:23 +0200
commitdc790ba83d9ff3b0fa31993bea7682e720f3023b (patch)
treeba62a6e4854e18a197f15d728a50fb4d3b3ecb6e
parentb928bc5bcb47bb4bdbf57dc20364e8a3f940731f (diff)
parent2b5773b248115e7afcdec4b29424f45fcdabd95c (diff)
Merge pull request #3017 from pacovn/devbuild_Wshadow_flag
build: add -Wshadow to the dev build
-rwxr-xr-xconfigure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 08f1c117ec..32d5756a61 100755
--- a/configure.ac
+++ b/configure.ac
@@ -231,6 +231,7 @@ if test x"${enable_gcc_ultra_verbose}" = x"yes" ; then
AC_C_FLAG([-Wunreachable-code])
AC_C_FLAG([-Wpacked])
AC_C_FLAG([-Wpadded])
+ AC_C_FLAG([-Wshadow])
else
AC_C_FLAG([-Wno-unused-result])
fi