From 8ed6c42150bcd7d94a7f6f44d398f5dfb552f5af Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Wed, 31 Mar 2021 10:42:42 -0400 Subject: [PATCH] configure: enable -Wshadow diagnostic MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The codebase should compile cleanly with this flag, enable it by default. Change-Id: Ia9581845aec079347616fccd554d7199d012c2f1 Signed-off-by: Simon Marchi Signed-off-by: Jérémie Galarneau --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index 04f9cef4c..699147372 100644 --- a/configure.ac +++ b/configure.ac @@ -45,6 +45,7 @@ AX_APPEND_COMPILE_FLAGS([ dnl -Wmissing-parameter-type dnl -Wold-style-definition dnl -Wstrict-prototypes dnl + -Wshadow dnl ], [WARN_CFLAGS], [-Werror]) -- 2.34.1