Add -Wshadow=local
authorTom Tromey <tom@tromey.com>
Sat, 21 Apr 2018 22:09:10 +0000 (16:09 -0600)
committerTom Tromey <tom@tromey.com>
Fri, 5 Oct 2018 04:51:49 +0000 (22:51 -0600)
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.

gdb/ChangeLog
gdb/configure
gdb/gdbserver/ChangeLog
gdb/gdbserver/configure
gdb/warning.m4

index 3bf08bcb4b0485512152054484ef8a399b6721a4..912bdecfb20ccd7de8c66348671e7825a4da6def 100644 (file)
@@ -1,3 +1,8 @@
+2018-10-04  Tom Tromey  <tom@tromey.com>
+
+       * configure: Rebuild.
+       * warning.m4 (AM_GDB_WARNINGS): Add -Wshadow=local.
+
 2018-10-04  Tom Tromey  <tom@tromey.com>
 
        * guile/scm-frame.c (gdbscm_frame_read_var): Remove inner
index 0ba80147c6837811db3773f02254fa95160be12c..304adc81fec305b9bf5c461c78d7ee2bad00a495 100755 (executable)
@@ -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*)
index 5e35062b40a0761a70c03f26e869efdc43cf4328..da4c24f225120cb2c1e223e82a2e7b6fb34e7b87 100644 (file)
@@ -1,3 +1,7 @@
+2018-10-04  Tom Tromey  <tom@tromey.com>
+
+       * configure: Rebuild.
+
 2018-10-04  Tom Tromey  <tom@tromey.com>
 
        * server.c (handle_status): Rename inner "thread".
index 43846659fb9c5c24a7930d2148970230cc705b97..a46b865f612a8e164c497ffa264e701166bfa2c3 100755 (executable)
@@ -7245,7 +7245,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*)
index 82170acc802a442c87f9e0d051c2405fc212410c..42ab1b53d57d369a596176bc67952e92e4c8ab4c 100644 (file)
@@ -45,7 +45,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*)
This page took 0.045324 seconds and 4 git commands to generate.