From: Simon Marchi Date: Wed, 31 Mar 2021 14:42:42 +0000 (-0400) Subject: configure: enable -Wshadow diagnostic X-Git-Tag: v2.13.0-rc1~118 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=8ed6c42150bcd7d94a7f6f44d398f5dfb552f5af;hp=c26ada1f972a9f76ec75daf036e31bf05e1bfa7f configure: enable -Wshadow diagnostic 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 --- 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])