* configure.ac (build_warnings): Add -Wunused-value.
	* configure: Regenerate.
This commit is contained in:
Pedro Alves 2009-10-14 19:44:38 +00:00
parent 70d4c67377
commit e23525a055
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2009-10-14 Pedro Alves <pedro@codesourcery.com>
gdb/
* configure.ac (build_warnings): Add -Wunused-value.
* configure: Regenerate.
2009-10-14 Tristan Gingold <gingold@adacore.com>
* solib-darwin.c: Remove trailing whitespaces.

2
gdb/configure vendored
View File

@ -13117,7 +13117,7 @@ fi
# gdb/doc/gdbint.texinfo.
build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
-Wformat-nonliteral -Wno-pointer-sign \
-Wno-unused -Wno-switch -Wno-char-subscripts"
-Wno-unused -Wunused-value -Wno-switch -Wno-char-subscripts"
# Enable -Wno-format by default when using gcc on mingw since many
# GCC versions complain about %I64.

View File

@ -1542,7 +1542,7 @@ fi
# gdb/doc/gdbint.texinfo.
build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
-Wformat-nonliteral -Wno-pointer-sign \
-Wno-unused -Wno-switch -Wno-char-subscripts"
-Wno-unused -Wunused-value -Wno-switch -Wno-char-subscripts"
# Enable -Wno-format by default when using gcc on mingw since many
# GCC versions complain about %I64.