diff options
author | Joel Brobecker <brobecker@gnat.com> | 2010-01-19 09:52:33 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2010-01-19 09:52:33 +0000 |
commit | 1cb5e2a45b85557e167a45bad004bdb6791163d6 (patch) | |
tree | 1433e85378b00d4e3f582f6f48840b60ffa93270 | |
parent | 0ec6cd0ca9255357f9dcd16caf9c939bff32a927 (diff) | |
download | gdb-1cb5e2a45b85557e167a45bad004bdb6791163d6.zip gdb-1cb5e2a45b85557e167a45bad004bdb6791163d6.tar.gz gdb-1cb5e2a45b85557e167a45bad004bdb6791163d6.tar.bz2 |
Add -Wunused-function to compile flags.
* configure.ac: Add -Wunused-function to build_warnings.
* configure: Regenerate.
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rwxr-xr-x | gdb/configure | 3 | ||||
-rw-r--r-- | gdb/configure.ac | 3 |
3 files changed, 10 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 67d6651..8759ef6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,11 @@ 2010-01-19 Joel Brobecker <brobecker@adacore.com> + Add -Wunused-function to compile flags. + * configure.ac: Add -Wunused-function to build_warnings. + * configure: Regenerate. + +2010-01-19 Joel Brobecker <brobecker@adacore.com> + "delete" ada-lex.c:input function, not used. * ada-lex.l: #define YY_NO_INPUT. diff --git a/gdb/configure b/gdb/configure index 7f26c64..4980106 100755 --- a/gdb/configure +++ b/gdb/configure @@ -13435,7 +13435,8 @@ fi # gdb/doc/gdbint.texinfo. build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \ -Wformat-nonliteral -Wno-pointer-sign \ --Wno-unused -Wunused-value -Wno-switch -Wno-char-subscripts" +-Wno-unused -Wunused-value -Wunused-function \ +-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 ebb0a95..a756a2d 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -1544,7 +1544,8 @@ fi # gdb/doc/gdbint.texinfo. build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \ -Wformat-nonliteral -Wno-pointer-sign \ --Wno-unused -Wunused-value -Wno-switch -Wno-char-subscripts" +-Wno-unused -Wunused-value -Wunused-function \ +-Wno-switch -Wno-char-subscripts" # Enable -Wno-format by default when using gcc on mingw since many # GCC versions complain about %I64. |