From 2945b8076ce1f332cd9b9ddb7b8784283132d39b Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 1 Jul 2013 19:48:05 +0000 Subject: [PATCH] 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. --- gdb/ChangeLog | 5 +++++ gdb/configure | 2 +- 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 + + * configure.ac (build_warnings): Add -Wmissing-parameter-type. + * configure: Rebuild. + 2013-07-01 Pedro Alves * 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. -- 2.30.2