diff options
author | gdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-05-14 08:44:48 +0000 |
---|---|---|
committer | gdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-05-14 08:44:48 +0000 |
commit | 8c57b41f897bdd9d30a7ec0ae2004147bfad5bb0 (patch) | |
tree | dac211226e72c1c066f0126c59594854c2e7a190 /gcc/cp/lang-options.h | |
parent | f63fc5cb4b553032ed12858535bb45084b6e43f6 (diff) | |
download | ppe42-gcc-8c57b41f897bdd9d30a7ec0ae2004147bfad5bb0.tar.gz ppe42-gcc-8c57b41f897bdd9d30a7ec0ae2004147bfad5bb0.zip |
2000-05-13 Gabriel Dos Reis <gdr@codesourcery.com>
* diagnostic.h (DIAGNOSTICS_SHOW_PREFIX_ONCE): New macro.
(DIAGNOSTICS_SHOW_PREFIX_NEVER): Likewise.
(DIAGNOSTICS_SHOW_PREFIX_EVERY_LINE): Likewise.
(struct output_buffer: emitted_prefix_p, prefixing_rule): New
fields.
(set_message_prefixing_rule): Declare.
* diagnostic.c: (current_prefixing_rule): New variable.
(set_message_prefixing_rule): Define.
(output_set_prefix): Adjust buffer->emitted_prefix_p.
(init_output_buffer): Adjust Initialization.
(output_emit_prefix): Rewrite. Take prefixing rules into account.
cp/
2000-05-13 Gabriel Dos Reis <gdr@codesourcery.com>
* lex.c: #include diagnostic.h.
(lang_init_options): Set default prefixing rules.
* lang-options.h: Add -fdiagnostics-show-location=.
* decl2.c: #include diagnostic.h.
(lang_decode_option): Handle -fdiagnostics-show-location=.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33890 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/lang-options.h')
-rw-r--r-- | gcc/cp/lang-options.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cp/lang-options.h b/gcc/cp/lang-options.h index 55db2042496..232a40cbaff 100644 --- a/gcc/cp/lang-options.h +++ b/gcc/cp/lang-options.h @@ -75,6 +75,7 @@ DEFINE_LANG_NAME ("C++") { "-fno-labels-ok", "" }, { "-fmemoize-lookups", "" }, { "-fmessage-length=", "" }, + { "-fdiagnostics-show-location=", "" }, { "-fno-memoize-lookups", "" }, { "-fms-extensions", "Don't pedwarn about uses of Microsoft extensions" }, { "-fno-ms-extensions", "" }, |