2004-02-15 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Sun, 15 Feb 2004 23:45:24 +0000 (23:45 +0000)
committerAndrew Cagney <cagney@redhat.com>
Sun, 15 Feb 2004 23:45:24 +0000 (23:45 +0000)
* configure.in (build_warnings): Add -Wunused-function.
* configure: Re-generate.

gdb/ChangeLog
gdb/configure
gdb/configure.in

index 8f99ef8fa167c0425a5ce2acdcd3cad6fbee3e53..1d3d6bdf717e6b55f6d2302265e8f4ab33635916 100644 (file)
@@ -1,5 +1,8 @@
 2004-02-15  Andrew Cagney  <cagney@redhat.com>
 
+       * 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.
 
index a1b2795bbe7497b3706ab553e1db6b08c6e026d3..b7c5153bf5191e7945c5af5bfa3545b9dd534e2c 100755 (executable)
@@ -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
index 245b7203e7329988d851c7fbe9f4f27c41a971ae..bd16ad5e6f7f4399a9d5aeba78b675a3e33132e6 100644 (file)
@@ -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