mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-23 01:53:38 +08:00
gdb, gdbserver, gdbsupport: remove -Wno-vla-cxx-extension
Now that all known uses of VLAs within GDB are removed, remove the `-Wno-vla-cxx-extension` (which was used to silence clang warnings) and add `-Wvla`, such that any use of a VLA will trigger a warning. Change-Id: I69a8d7f93f973743165b0ba46f9c2ea8adb89025 Reviewed-By: Keith Seitz <keiths@redhat.com>
This commit is contained in:
parent
d724d71ad2
commit
3145bf08f2
2
gdb/configure
vendored
2
gdb/configure
vendored
@ -31188,7 +31188,7 @@ build_warnings="-Wall -Wpointer-arith \
|
||||
-Wredundant-move \
|
||||
-Wmissing-declarations \
|
||||
-Wstrict-null-sentinel \
|
||||
-Wno-vla-cxx-extension \
|
||||
-Wvla \
|
||||
"
|
||||
|
||||
# The -Wmissing-prototypes flag will be accepted by GCC, but results
|
||||
|
2
gdbserver/configure
vendored
2
gdbserver/configure
vendored
@ -13715,7 +13715,7 @@ build_warnings="-Wall -Wpointer-arith \
|
||||
-Wredundant-move \
|
||||
-Wmissing-declarations \
|
||||
-Wstrict-null-sentinel \
|
||||
-Wno-vla-cxx-extension \
|
||||
-Wvla \
|
||||
"
|
||||
|
||||
# The -Wmissing-prototypes flag will be accepted by GCC, but results
|
||||
|
2
gdbsupport/configure
vendored
2
gdbsupport/configure
vendored
@ -14188,7 +14188,7 @@ build_warnings="-Wall -Wpointer-arith \
|
||||
-Wredundant-move \
|
||||
-Wmissing-declarations \
|
||||
-Wstrict-null-sentinel \
|
||||
-Wno-vla-cxx-extension \
|
||||
-Wvla \
|
||||
"
|
||||
|
||||
# The -Wmissing-prototypes flag will be accepted by GCC, but results
|
||||
|
@ -52,7 +52,7 @@ build_warnings="-Wall -Wpointer-arith \
|
||||
-Wredundant-move \
|
||||
-Wmissing-declarations \
|
||||
-Wstrict-null-sentinel \
|
||||
-Wno-vla-cxx-extension \
|
||||
-Wvla \
|
||||
"
|
||||
|
||||
# The -Wmissing-prototypes flag will be accepted by GCC, but results
|
||||
|
Loading…
Reference in New Issue
Block a user