add -Wmissing-parameter-type
authorTom Tromey <tromey@redhat.com>
Mon, 1 Jul 2013 19:48:05 +0000 (19:48 +0000)
committerTom Tromey <tromey@redhat.com>
Mon, 1 Jul 2013 19:48:05 +0000 (19:48 +0000)
This adds -Wmissing-parameter-type to gdb's list of warnings.

This one doesn't happen to trigger for a --enable-targets=all build on
x86-64 Fedora 18.

* configure.ac (build_warnings): Add -Wmissing-parameter-type.
* configure: Rebuild.

gdb/ChangeLog
gdb/configure
gdb/configure.ac

index 0ecad53a3c57bbf67ebe34f96f2e5fbe870285a1..7ef6dbbdaad4f63214f3356506ede011fb4f05bd 100644 (file)
@@ -1,3 +1,8 @@
+2013-07-01  Tom Tromey  <tromey@redhat.com>
+
+       * configure.ac (build_warnings): Add -Wmissing-parameter-type.
+       * configure: Rebuild.
+
 2013-07-01  Pedro Alves  <palves@redhat.com>
 
        * defs.h: Include "pathmax.h".
index dab0d204bcf62da81c0160983c8d5fc7ecf01576..ac2ff5f4c658b150badcb46df9981de40f43824d 100755 (executable)
@@ -12470,7 +12470,7 @@ build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
 -Wpointer-sign \
 -Wno-unused -Wunused-value -Wunused-function \
 -Wno-switch -Wno-char-subscripts -Wmissing-prototypes \
--Wdeclaration-after-statement -Wempty-body"
+-Wdeclaration-after-statement -Wempty-body -Wmissing-parameter-type"
 
 # Enable -Wno-format by default when using gcc on mingw since many
 # GCC versions complain about %I64.
index e378bde23938a82c33a04693b055d975ca4f6adf..b63faec587b7fd30bdf7014051a59734c3db6d61 100644 (file)
@@ -1940,7 +1940,7 @@ build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
 -Wpointer-sign \
 -Wno-unused -Wunused-value -Wunused-function \
 -Wno-switch -Wno-char-subscripts -Wmissing-prototypes \
--Wdeclaration-after-statement -Wempty-body"
+-Wdeclaration-after-statement -Wempty-body -Wmissing-parameter-type"
 
 # Enable -Wno-format by default when using gcc on mingw since many
 # GCC versions complain about %I64.