diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2024-07-31 14:06:13 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2024-08-02 16:54:52 -0400 |
commit | 3145bf08f2b2d95554d2b4dc35acc4f07249445c (patch) | |
tree | 869514ecda9175a1b43e96d0f374ba31ba5b5ffa /gdbserver/configure | |
parent | d724d71ad22b9d4b8e659d9c44cce8b724f4f7f5 (diff) | |
download | fsf-binutils-gdb-3145bf08f2b2d95554d2b4dc35acc4f07249445c.zip fsf-binutils-gdb-3145bf08f2b2d95554d2b4dc35acc4f07249445c.tar.gz fsf-binutils-gdb-3145bf08f2b2d95554d2b4dc35acc4f07249445c.tar.bz2 |
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>
Diffstat (limited to 'gdbserver/configure')
-rwxr-xr-x | gdbserver/configure | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdbserver/configure b/gdbserver/configure index 3abc647..8d38b95 100755 --- a/gdbserver/configure +++ b/gdbserver/configure @@ -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 |