From 814c2a8f9a41a6445f131ee35474dced4bbed210 Mon Sep 17 00:00:00 2001 From: Øyvind Harboe Date: Wed, 16 Jun 2010 08:33:32 +0200 Subject: build: enable -Wshadow by default MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Øyvind Harboe --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index d93b21ad..7f31e1de 100644 --- a/configure.in +++ b/configure.in @@ -1090,7 +1090,7 @@ fi AC_DEFINE([_GNU_SOURCE],[1],[Use GNU C library extensions (e.g. stdndup).]) # set default gcc warnings -GCC_WARNINGS="-Wall -Wstrict-prototypes -Wformat-security" +GCC_WARNINGS="-Wall -Wstrict-prototypes -Wformat-security -Wshadow" if test "${gcc_wextra}" = yes; then GCC_WARNINGS="${GCC_WARNINGS} -Wextra -Wno-unused-parameter" GCC_WARNINGS="${GCC_WARNINGS} -Wbad-function-cast" -- cgit v1.2.3