diff options
author | Nick Clifton <nickc@redhat.com> | 2009-12-11 13:41:59 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2009-12-11 13:41:59 +0000 |
commit | 0ae5ed34cd818c894f9633ce356d1f39067d6dab (patch) | |
tree | c4ff227f63cb55ba2b14b460ba2cd633413fce03 /bfd/warning.m4 | |
parent | 03978e229064bebbca9f30bd553ae88c82fbb986 (diff) | |
download | gdb-0ae5ed34cd818c894f9633ce356d1f39067d6dab.tar.gz |
Add -Wshadow to the gcc command line options used when compiling the binutils.
Fix up all warnings generated by the addition of this switch.
Diffstat (limited to 'bfd/warning.m4')
-rw-r--r-- | bfd/warning.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/warning.m4 b/bfd/warning.m4 index 0b0bf2f7f8b..b4a2f48f8ba 100644 --- a/bfd/warning.m4 +++ b/bfd/warning.m4 @@ -1,7 +1,7 @@ dnl Common configure.in fragment AC_DEFUN([AM_BINUTILS_WARNINGS],[ -GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes" +GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow" AC_ARG_ENABLE(werror, [ --enable-werror treat compile warnings as errors], |