Add -Wunused-function to compile flags.
authorJoel Brobecker <brobecker@gnat.com>
Tue, 19 Jan 2010 09:52:33 +0000 (09:52 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Tue, 19 Jan 2010 09:52:33 +0000 (09:52 +0000)
        * configure.ac: Add -Wunused-function to build_warnings.
        * configure: Regenerate.

gdb/ChangeLog
gdb/configure
gdb/configure.ac

index 67d66515acf3ea84b5073ae66fa3cdf1d0bfd096..8759ef64e5d6d71e2095daf00622e2e7853886be 100644 (file)
@@ -1,3 +1,9 @@
+2010-01-19  Joel Brobecker  <brobecker@adacore.com>
+
+       Add -Wunused-function to compile flags.
+       * configure.ac: Add -Wunused-function to build_warnings.
+       * configure: Regenerate.
+
 2010-01-19  Joel Brobecker  <brobecker@adacore.com>
 
        "delete" ada-lex.c:input function, not used.
index 7f26c64c2b81ac1e3580e271d8a34c78751bad99..498010608bc3c7d1a05312aaa5ea04f8d7421154 100755 (executable)
@@ -13435,7 +13435,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.
index ebb0a950bc72a52eda708651ade55230727de0b7..a756a2d6f556cf7726ae5291504718deafe0afe4 100644 (file)
@@ -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.