keiths / rpms / gdb

Forked from rpms/gdb 5 months ago
Clone
79563d6
[RFA/commit 5/5] Add -Wunused-function to compile flags.
79563d6
http://sourceware.org/ml/gdb-patches/2010-01/msg00371.html
79563d6
http://sourceware.org/ml/gdb-cvs/2010-01/msg00163.html
79563d6
79563d6
REVERTED
79563d6
79563d6
--- src/gdb/configure.ac	2010/01/15 00:34:37	1.112
79563d6
+++ src/gdb/configure.ac	2010/01/19 09:52:31	1.113
79563d6
@@ -1544,8 +1544,7 @@
79563d6
 # gdb/doc/gdbint.texinfo.
79563d6
 build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
79563d6
 -Wformat-nonliteral -Wno-pointer-sign \
79563d6
--Wno-unused -Wunused-value -Wunused-function \
79563d6
--Wno-switch -Wno-char-subscripts"
79563d6
+-Wno-unused -Wunused-value -Wno-switch -Wno-char-subscripts"
79563d6
 
79563d6
 # Enable -Wno-format by default when using gcc on mingw since many
79563d6
 # GCC versions complain about %I64.
79563d6
--- src/gdb/configure	2010/01/15 00:34:37	1.297
79563d6
+++ src/gdb/configure	2010/01/19 09:52:32	1.298
79563d6
@@ -13435,8 +13435,7 @@
79563d6
 # gdb/doc/gdbint.texinfo.
79563d6
 build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
79563d6
 -Wformat-nonliteral -Wno-pointer-sign \
79563d6
--Wno-unused -Wunused-value -Wunused-function \
79563d6
--Wno-switch -Wno-char-subscripts"
79563d6
+-Wno-unused -Wunused-value -Wno-switch -Wno-char-subscripts"
79563d6
 
79563d6
 # Enable -Wno-format by default when using gcc on mingw since many
79563d6
 # GCC versions complain about %I64.
79563d6
### src/gdb/ChangeLog	2010/01/19 09:50:48	1.11271
79563d6
### src/gdb/ChangeLog	2010/01/19 09:52:33	1.11272
79563d6
## -1,11 +1,5 @@
79563d6
 2010-01-19  Joel Brobecker  <brobecker@adacore.com>
79563d6
 
79563d6
-	Add -Wunused-function to compile flags.
79563d6
-	* configure.ac: Add -Wunused-function to build_warnings.
79563d6
-	* configure: Regenerate.
79563d6
-
79563d6
-2010-01-19  Joel Brobecker  <brobecker@adacore.com>
79563d6
-
79563d6
 	"delete" ada-lex.c:input function, not used.
79563d6
 	* ada-lex.l: #define YY_NO_INPUT.
79563d6