From 91d6fa6a035cc7d0b7be5c99c194a64cb80924b0 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 11 Dec 2009 13:42:17 +0000 Subject: Add -Wshadow to the gcc command line options used when compiling the binutils. Fix up all warnings generated by the addition of this switch. --- opcodes/configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'opcodes/configure') diff --git a/opcodes/configure b/opcodes/configure index 83b973c..67fab59 100755 --- a/opcodes/configure +++ b/opcodes/configure @@ -11376,7 +11376,7 @@ esac fi -GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes" +GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow" # Check whether --enable-werror was given. if test "${enable_werror+set}" = set; then : -- cgit v1.1