From e23525a0555486a13bebd7a37091e471e8d3e9cf Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Wed, 14 Oct 2009 19:44:38 +0000 Subject: [PATCH] gdb/ * configure.ac (build_warnings): Add -Wunused-value. * configure: Regenerate. --- gdb/ChangeLog | 6 ++++++ gdb/configure | 2 +- gdb/configure.ac | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4b2594053e5..8342f15ff37 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2009-10-14 Pedro Alves + + gdb/ + * configure.ac (build_warnings): Add -Wunused-value. + * configure: Regenerate. + 2009-10-14 Tristan Gingold * solib-darwin.c: Remove trailing whitespaces. diff --git a/gdb/configure b/gdb/configure index 40fb80319a5..d628b6ae18d 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 f9c17fdc233..b96caef4f71 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. -- 2.30.2