mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-11-16 12:34:43 +00:00
Add -Wstrict-null-sentinel to gdbsupport/warning.m4
Commit 85f0dd3ce ("[gdb] Fix -Wstrict-null-sentinel warnings") fixed
some violations of -Wstrict-null-sentinel. If we want to enforce this
warning, I think we should enable it in our warning.m4 file.
gdbsupport/ChangeLog:
* warning.m4: Add -Wstrict-null-sentinel.
* configure: Re-generate.
gdbserver/ChangeLog:
* configure: Re-generate.
gdb/ChangeLog:
* configure: Re-generate.
This commit is contained in:
3
gdbserver/configure
vendored
3
gdbserver/configure
vendored
@@ -9815,7 +9815,8 @@ build_warnings="-Wall -Wpointer-arith \
|
||||
-Wdeprecated-copy \
|
||||
-Wdeprecated-copy-dtor \
|
||||
-Wredundant-move \
|
||||
-Wmissing-declarations"
|
||||
-Wmissing-declarations \
|
||||
-Wstrict-null-sentinel"
|
||||
|
||||
case "${host}" in
|
||||
*-*-mingw32*)
|
||||
|
||||
Reference in New Issue
Block a user