Add -Wunused-function to compile flags.
* configure.ac: Add -Wunused-function to build_warnings. * configure: Regenerate.
This commit is contained in:
parent
0ec6cd0ca9
commit
1cb5e2a45b
3 changed files with 10 additions and 2 deletions
|
@ -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
3
gdb/configure
vendored
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue