forked from Imagelibrary/binutils-gdb
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:
committed by
Simon Marchi
parent
d724d71ad2
commit
3145bf08f2
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
|
||||
|
||||
Reference in New Issue
Block a user