diff options
| author | dodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-05-04 16:38:27 +0000 |
|---|---|---|
| committer | dodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-05-04 16:38:27 +0000 |
| commit | e163935c9d756c0a00c9750ccbe55be840d17447 (patch) | |
| tree | 2a313c2ba5c867797cc1b623c7f4bdc0fc018b08 /libjava/classpath/gnu/java/beans/decoder/GrowableArrayContext.java | |
| parent | 69f685c0a62f821809451986700a51b96266d53b (diff) | |
| download | ppe42-gcc-e163935c9d756c0a00c9750ccbe55be840d17447.tar.gz ppe42-gcc-e163935c9d756c0a00c9750ccbe55be840d17447.zip | |
Enable -Wunused-local-typedefs when -Wall or -Wunused is on
Now that the libstdc++ testsuite is run with -ftrack-macro-location by
default, this patch triggers the -Wunused-local-typedefs warning when
-Wunused (and -Wall) is turned on.
The patch has been reviewed and accepted[1] a while ago, but was waiting
for the -ftrack-macro-expansion work to go in first.
Bootstrapped and tested again on x86_64-unknown-linux-gnu against
trunk.
Applied to the mainline.
[1]: http://gcc.gnu.org/ml/gcc-patches/2011-09/msg00605.html
gcc/
* opts.c (finish_options): Activate -Wunused-local-typedefs if
-Wunused is activated.
* doc/invoke.texi: Update blurb of -Wunused-local-typedefs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187167 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/classpath/gnu/java/beans/decoder/GrowableArrayContext.java')
0 files changed, 0 insertions, 0 deletions

