* configure.ac: Add -Wunused-function to build_warnings.
* configure: Regenerate.
+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.
# 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.
# 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.