aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.ac
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2010-01-19 09:52:33 +0000
committerJoel Brobecker <brobecker@gnat.com>2010-01-19 09:52:33 +0000
commit1cb5e2a45b85557e167a45bad004bdb6791163d6 (patch)
tree1433e85378b00d4e3f582f6f48840b60ffa93270 /gdb/configure.ac
parent0ec6cd0ca9255357f9dcd16caf9c939bff32a927 (diff)
downloadgdb-1cb5e2a45b85557e167a45bad004bdb6791163d6.zip
gdb-1cb5e2a45b85557e167a45bad004bdb6791163d6.tar.gz
gdb-1cb5e2a45b85557e167a45bad004bdb6791163d6.tar.bz2
Add -Wunused-function to compile flags.
* configure.ac: Add -Wunused-function to build_warnings. * configure: Regenerate.
Diffstat (limited to 'gdb/configure.ac')
-rw-r--r--gdb/configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/configure.ac b/gdb/configure.ac
index ebb0a95..a756a2d 100644
--- a/gdb/configure.ac
+++ b/gdb/configure.ac
@@ -1544,7 +1544,8 @@ fi
# gdb/doc/gdbint.texinfo.
build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
-Wformat-nonliteral -Wno-pointer-sign \
--Wno-unused -Wunused-value -Wno-switch -Wno-char-subscripts"
+-Wno-unused -Wunused-value -Wunused-function \
+-Wno-switch -Wno-char-subscripts"
# Enable -Wno-format by default when using gcc on mingw since many
# GCC versions complain about %I64.