diff options
author | Tom Tromey <tromey@redhat.com> | 2013-07-01 19:48:04 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2013-07-01 19:48:04 +0000 |
commit | e415e0e203cecb5e99ac0218829d301bacfe95f2 (patch) | |
tree | 35059122dd7b512c7bc86123159f5f4a17a03e01 | |
parent | 9d3e98c844fe7c4e5e45a5552847d864eb0c1946 (diff) | |
download | gdb-e415e0e203cecb5e99ac0218829d301bacfe95f2.tar.gz |
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.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rwxr-xr-x | gdb/configure | 2 | ||||
-rw-r--r-- | gdb/configure.ac | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0ecad53a3c5..7ef6dbbdaad 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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". diff --git a/gdb/configure b/gdb/configure index dab0d204bcf..ac2ff5f4c65 100755 --- a/gdb/configure +++ b/gdb/configure @@ -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. diff --git a/gdb/configure.ac b/gdb/configure.ac index e378bde2393..b63faec587b 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -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. |