From 2b5773b248115e7afcdec4b29424f45fcdabd95c Mon Sep 17 00:00:00 2001 From: "F. Aragon" Date: Thu, 13 Sep 2018 16:42:30 +0200 Subject: [PATCH] build: add -Wshadow to the dev build Signed-off-by: F. Aragon --- configure.ac | 1 + 1 file changed, 1 insertion(+) 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