Add -Wunused-function to compile flags.

* configure.ac: Add -Wunused-function to build_warnings.
        * configure: Regenerate.
This commit is contained in:
Joel Brobecker 2010-01-19 09:52:33 +00:00
parent 0ec6cd0ca9
commit 1cb5e2a45b
3 changed files with 10 additions and 2 deletions

View 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.

3
gdb/configure vendored
View file

@ -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.

View 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.