From 4566dfcf80c82eafb52f417657fb81931520271d Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sun, 15 Feb 2004 23:45:24 +0000 Subject: [PATCH] 2004-02-15 Andrew Cagney * configure.in (build_warnings): Add -Wunused-function. * configure: Re-generate. --- gdb/ChangeLog | 3 +++ gdb/configure | 2 +- gdb/configure.in | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8f99ef8fa16..1d3d6bdf717 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,8 @@ 2004-02-15 Andrew Cagney + * configure.in (build_warnings): Add -Wunused-function. + * configure: Re-generate. + * config/tm-lynx.h (START_INFERIOR_TRAPS_EXPECTED): Delete macro. * config/rs6000/tm-rs6000.h (START_INFERIOR_TRAPS_EXPECTED): Ditto. diff --git a/gdb/configure b/gdb/configure index a1b2795bbe7..b7c5153bf51 100755 --- a/gdb/configure +++ b/gdb/configure @@ -9203,7 +9203,7 @@ fi # gdb/doc/gdbint.texinfo. build_warnings="-Wimplicit -Wreturn-type -Wcomment -Wtrigraphs \ -Wformat -Wparentheses -Wpointer-arith -Wuninitialized -Wformat-nonliteral \ --Wunused-label" +-Wunused-label -Wunused-function" # Up for debate: -Wswitch -Wcomment -trigraphs -Wtrigraphs # -Wunused-function -Wunused-variable -Wunused-value # -Wchar-subscripts -Wtraditional -Wshadow -Wcast-qual diff --git a/gdb/configure.in b/gdb/configure.in index 245b7203e73..bd16ad5e6f7 100644 --- a/gdb/configure.in +++ b/gdb/configure.in @@ -1008,7 +1008,7 @@ AC_SUBST(TARGET_SYSTEM_ROOT_DEFINE) # gdb/doc/gdbint.texinfo. build_warnings="-Wimplicit -Wreturn-type -Wcomment -Wtrigraphs \ -Wformat -Wparentheses -Wpointer-arith -Wuninitialized -Wformat-nonliteral \ --Wunused-label" +-Wunused-label -Wunused-function" # Up for debate: -Wswitch -Wcomment -trigraphs -Wtrigraphs # -Wunused-function -Wunused-variable -Wunused-value # -Wchar-subscripts -Wtraditional -Wshadow -Wcast-qual -- 2.30.2