Add -Wstrict-null-sentinel to gdbsupport/warning.m4
authorSimon Marchi <simon.marchi@efficios.com>
Tue, 11 Feb 2020 15:51:49 +0000 (10:51 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Tue, 11 Feb 2020 15:51:49 +0000 (10:51 -0500)
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.

gdb/ChangeLog
gdb/configure
gdbserver/ChangeLog
gdbserver/configure
gdbsupport/ChangeLog
gdbsupport/configure
gdbsupport/warning.m4

index fcb7980c367755b3c8c02930e3a4838e6b56b648..d856a523b8daf2a5a3f8bda46cce82fd9a7dbefb 100644 (file)
@@ -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.
index a1d15064972941b08f870931f6ef86df7023994f..2ce910c808ce02fd529012219f302aa7de689d5f 100755 (executable)
@@ -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*)
index 05620affa925509c84f6f7be9c92367f3277baf3..da6ccc4df601565039d4dc80b635845f8e85db20 100644 (file)
@@ -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.
index 4b9d7e3718fa907572f0792f16e729da02dcf96d..bd0e667af69bb398e4e375b18e2c284922c04dc5 100755 (executable)
@@ -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*)
index f03bb34bac13407b597004bc2bb5486fa72f7928..676cb66aa0ace176a0e2c055d8272dee034b66ed 100644 (file)
@@ -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.
index 197749b5d0ca38358c96e2fb7b96911e1ec17974..1f7d72cc58520fd354f4e61a3f8c5c548e44d374 100755 (executable)
@@ -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*)
index e2b8a43ddbd54b5900e388f3265b781ae241bf95..81939ed7610272067d9be565be026c3840bd776b 100644 (file)
@@ -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*)
This page took 0.041861 seconds and 4 git commands to generate.