aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2012-06-22 18:59:04 +0000
committerJoel Brobecker <brobecker@gnat.com>2012-06-22 18:59:04 +0000
commit352b3eda56110eb857612d07956b155ff0ee0961 (patch)
tree087ca8244bceae7a7b866a0154304c4198af6095 /gdb/configure
parenteabc84f4848311a68f65df04e428c8b53a92f1c0 (diff)
downloadgdb-352b3eda56110eb857612d07956b155ff0ee0961.zip
gdb-352b3eda56110eb857612d07956b155ff0ee0961.tar.gz
gdb-352b3eda56110eb857612d07956b155ff0ee0961.tar.bz2
Add -Wdeclaration-after-statement to list of compiler warnings
gdb/ChangeLog: * configure.ac (build_warnings): Add -Wdeclaration-after-statement. * configure: Regenerate.
Diffstat (limited to 'gdb/configure')
-rwxr-xr-xgdb/configure3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/configure b/gdb/configure
index 1d03188..b6f4a06 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -12365,7 +12365,8 @@ fi
build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
-Wformat-nonliteral -Wno-pointer-sign \
-Wno-unused -Wunused-value -Wunused-function \
--Wno-switch -Wno-char-subscripts -Wmissing-prototypes"
+-Wno-switch -Wno-char-subscripts -Wmissing-prototypes \
+-Wdeclaration-after-statement"
# Enable -Wno-format by default when using gcc on mingw since many
# GCC versions complain about %I64.