diff options
author | Tom Tromey <tom@tromey.com> | 2018-04-21 16:09:10 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-10-04 22:51:49 -0600 |
commit | 96643e35c077ed36c74b231ceefa4c30b3b02e28 (patch) | |
tree | 63d526b311db98b8ee43409cd4e1d0ac9395063e /gdb/configure | |
parent | d951f98b3c8bf202571327d8679ae30ca1da9fdc (diff) | |
download | gdb-96643e35c077ed36c74b231ceefa4c30b3b02e28.zip gdb-96643e35c077ed36c74b231ceefa4c30b3b02e28.tar.gz gdb-96643e35c077ed36c74b231ceefa4c30b3b02e28.tar.bz2 |
Add -Wshadow=local
This adds -Wshadow=local to configure.
gdb/ChangeLog
2018-10-04 Tom Tromey <tom@tromey.com>
* configure: Rebuild.
* warning.m4 (AM_GDB_WARNINGS): Add -Wshadow=local.
gdb/gdbserver/ChangeLog
2018-10-04 Tom Tromey <tom@tromey.com>
* configure: Rebuild.
Diffstat (limited to 'gdb/configure')
-rwxr-xr-x | gdb/configure | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/configure b/gdb/configure index 0ba8014..304adc8 100755 --- a/gdb/configure +++ b/gdb/configure @@ -15462,7 +15462,8 @@ build_warnings="-Wall -Wpointer-arith \ -Wno-error=deprecated-register \ -Wsuggest-override \ -Wimplicit-fallthrough=3 \ --Wduplicated-cond" +-Wduplicated-cond \ +-Wshadow=local" case "${host}" in *-*-mingw32*) |