]>
Commit | Line | Data |
---|---|---|
51a5ef0f PS |
1 | [RFA/commit 5/5] Add -Wunused-function to compile flags. |
2 | http://sourceware.org/ml/gdb-patches/2010-01/msg00371.html | |
3 | http://sourceware.org/ml/gdb-cvs/2010-01/msg00163.html | |
4 | ||
5 | REVERTED | |
6 | ||
7 | --- src/gdb/configure.ac 2010/01/15 00:34:37 1.112 | |
8 | +++ src/gdb/configure.ac 2010/01/19 09:52:31 1.113 | |
9 | @@ -1544,8 +1544,7 @@ | |
10 | # gdb/doc/gdbint.texinfo. | |
11 | build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \ | |
12 | -Wformat-nonliteral -Wno-pointer-sign \ | |
13 | --Wno-unused -Wunused-value -Wunused-function \ | |
14 | --Wno-switch -Wno-char-subscripts" | |
15 | +-Wno-unused -Wunused-value -Wno-switch -Wno-char-subscripts" | |
16 | ||
17 | # Enable -Wno-format by default when using gcc on mingw since many | |
18 | # GCC versions complain about %I64. | |
19 | --- src/gdb/configure 2010/01/15 00:34:37 1.297 | |
20 | +++ src/gdb/configure 2010/01/19 09:52:32 1.298 | |
21 | @@ -13435,8 +13435,7 @@ | |
22 | # gdb/doc/gdbint.texinfo. | |
23 | build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \ | |
24 | -Wformat-nonliteral -Wno-pointer-sign \ | |
25 | --Wno-unused -Wunused-value -Wunused-function \ | |
26 | --Wno-switch -Wno-char-subscripts" | |
27 | +-Wno-unused -Wunused-value -Wno-switch -Wno-char-subscripts" | |
28 | ||
29 | # Enable -Wno-format by default when using gcc on mingw since many | |
30 | # GCC versions complain about %I64. | |
31 | ### src/gdb/ChangeLog 2010/01/19 09:50:48 1.11271 | |
32 | ### src/gdb/ChangeLog 2010/01/19 09:52:33 1.11272 | |
33 | ## -1,11 +1,5 @@ | |
34 | 2010-01-19 Joel Brobecker <brobecker@adacore.com> | |
35 | ||
36 | - Add -Wunused-function to compile flags. | |
37 | - * configure.ac: Add -Wunused-function to build_warnings. | |
38 | - * configure: Regenerate. | |
39 | - | |
40 | -2010-01-19 Joel Brobecker <brobecker@adacore.com> | |
41 | - | |
42 | "delete" ada-lex.c:input function, not used. | |
43 | * ada-lex.l: #define YY_NO_INPUT. | |
44 |