add -Wmissing-parameter-type

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.
This commit is contained in:
Tom Tromey 2013-07-01 19:48:05 +00:00
parent 0ca92f2e81
commit 2945b8076c
3 changed files with 7 additions and 2 deletions

View 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".

2
gdb/configure vendored
View File

@ -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.

View 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.