From 9ae3391b2b06a9b49f94886322e3b3adb690948f Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sun, 15 Jul 2012 19:59:19 -0300 Subject: build: Use -Wshadow compiler option --- acinclude.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'acinclude.m4') diff --git a/acinclude.m4 b/acinclude.m4 index 0a59871d..ddb3b224 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -15,7 +15,7 @@ AC_DEFUN([COMPILER_FLAGS], [ CFLAGS="-Wall -O2 -D_FORTIFY_SOURCE=2" fi if (test "$USE_MAINTAINER_MODE" = "yes"); then - CFLAGS+=" -Werror -Wextra" + CFLAGS+=" -Werror -Wextra -Wshadow" CFLAGS+=" -Wno-unused-parameter" CFLAGS+=" -Wno-missing-field-initializers" CFLAGS+=" -Wdeclaration-after-statement" -- cgit v1.2.3