aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-07-01 19:48:05 +0000
committerTom Tromey <tromey@redhat.com>2013-07-01 19:48:05 +0000
commit2945b8076ce1f332cd9b9ddb7b8784283132d39b (patch)
tree0a8d8b6623a5bfb8e41c520a5c7f0606102fdb41 /gdb/configure
parent0ca92f2e81cd0b9bca0bd2a4673c53b8d151609a (diff)
downloadgdb-2945b8076ce1f332cd9b9ddb7b8784283132d39b.zip
gdb-2945b8076ce1f332cd9b9ddb7b8784283132d39b.tar.gz
gdb-2945b8076ce1f332cd9b9ddb7b8784283132d39b.tar.bz2
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.
Diffstat (limited to 'gdb/configure')
-rwxr-xr-xgdb/configure2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/configure b/gdb/configure
index dab0d20..ac2ff5f 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.