mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 17:18:55 +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:
@@ -1,3 +1,7 @@
|
||||
2020-02-11 Simon Marchi <simon.marchi@efficios.com>
|
||||
|
||||
* configure: Re-generate.
|
||||
|
||||
2020-02-11 Simon Marchi <simon.marchi@efficios.com>
|
||||
|
||||
* acinclude: Update warning.m4 path.
|
||||
|
||||
3
gdb/configure
vendored
3
gdb/configure
vendored
@@ -16111,7 +16111,8 @@ build_warnings="-Wall -Wpointer-arith \
|
||||
-Wdeprecated-copy \
|
||||
-Wdeprecated-copy-dtor \
|
||||
-Wredundant-move \
|
||||
-Wmissing-declarations"
|
||||
-Wmissing-declarations \
|
||||
-Wstrict-null-sentinel"
|
||||
|
||||
case "${host}" in
|
||||
*-*-mingw32*)
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
2020-02-11 Simon Marchi <simon.marchi@efficios.com>
|
||||
|
||||
* configure: Re-generate.
|
||||
|
||||
2020-02-11 Simon Marchi <simon.marchi@efficios.com>
|
||||
|
||||
* acinclude.m4: Update warning.m4 path.
|
||||
|
||||
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*)
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
2020-02-11 Simon Marchi <simon.marchi@efficios.com>
|
||||
|
||||
* warning.m4: Add -Wstrict-null-sentinel.
|
||||
* configure: Re-generate.
|
||||
|
||||
2020-02-11 Simon Marchi <simon.marchi@efficios.com>
|
||||
|
||||
* warning.m4: Move here, from gdb/warning.m4.
|
||||
|
||||
3
gdbsupport/configure
vendored
3
gdbsupport/configure
vendored
@@ -10853,7 +10853,8 @@ build_warnings="-Wall -Wpointer-arith \
|
||||
-Wdeprecated-copy \
|
||||
-Wdeprecated-copy-dtor \
|
||||
-Wredundant-move \
|
||||
-Wmissing-declarations"
|
||||
-Wmissing-declarations \
|
||||
-Wstrict-null-sentinel"
|
||||
|
||||
case "${host}" in
|
||||
*-*-mingw32*)
|
||||
|
||||
@@ -50,7 +50,9 @@ 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