diff options
author | Pedro Alves <palves@redhat.com> | 2009-10-14 19:44:38 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2009-10-14 19:44:38 +0000 |
commit | e23525a0555486a13bebd7a37091e471e8d3e9cf (patch) | |
tree | 89c567df313da9af0c80416b9bf96b03590dbf67 /gdb | |
parent | 70d4c67377f210c611d843df0865c7650fa9a4c6 (diff) | |
download | gdb-e23525a0555486a13bebd7a37091e471e8d3e9cf.zip gdb-e23525a0555486a13bebd7a37091e471e8d3e9cf.tar.gz gdb-e23525a0555486a13bebd7a37091e471e8d3e9cf.tar.bz2 |
gdb/
* configure.ac (build_warnings): Add -Wunused-value.
* configure: Regenerate.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rwxr-xr-x | gdb/configure | 2 | ||||
-rw-r--r-- | gdb/configure.ac | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4b25940..8342f15 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. diff --git a/gdb/configure b/gdb/configure index 40fb803..d628b6a 100755 --- a/gdb/configure +++ b/gdb/configure @@ -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. diff --git a/gdb/configure.ac b/gdb/configure.ac index f9c17fd..b96caef 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -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. |