diff options
author | dj <dj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-05-04 01:36:13 +0000 |
---|---|---|
committer | dj <dj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-05-04 01:36:13 +0000 |
commit | b0932b2f71e5a3b0a2780f66e8f0e5d881a74742 (patch) | |
tree | 02e58ad626b4c528bb00fa48493c8680b37ca246 /gcc/java | |
parent | fd15895973887c7d54aaeef472c2eb28c319d5c0 (diff) | |
download | ppe42-gcc-b0932b2f71e5a3b0a2780f66e8f0e5d881a74742.tar.gz ppe42-gcc-b0932b2f71e5a3b0a2780f66e8f0e5d881a74742.zip |
* common.opt (fdiagnostics-show-option): No variable is needed.
* diagnostic.h (diagnostic_context): Add show_option_requested flag.
* diagnostic.c (diagnostic_initialize): Initialize show_option_requested.
(diagnostic_report_diagnostic): Test for enabled diagnostics here.
Save and restore original message format. Use flag in context
instead of global.
(warning): Don't test for enabled warnings here.
* opts.c (common_handle_option): Handle -fdiagnostics-show-option
here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99204 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java')
0 files changed, 0 insertions, 0 deletions