This is the mail archive of the
mailing list for the GCC project.
Re: [RFC] Cleaning and extening the diagnostics machinery
- To: Phil Edwards <pedwards at disaster dot jaj dot com>
- Subject: Re: [RFC] Cleaning and extening the diagnostics machinery
- From: Gabriel Dos Reis <Gabriel dot Dos-Reis at cmla dot ens-cachan dot fr>
- Date: 31 May 2001 22:25:34 +0200
- Cc: Neil Booth <neil at daikokuya dot demon dot co dot uk>, Gabriel Dos Reis <Gabriel dot Dos-Reis at cmla dot ens-cachan dot fr>, gcc at gcc dot gnu dot org, Zack Weinberg <zackw at Stanford dot EDU>
- Organization: CMLA, ENS Cachan -- CNRS UMR 8536 (France)
- References: <email@example.com> <20010531191200.C2745@daikokuya.demon.co.uk> <20010531145223.Q27869@disaster.jaj.com>
Phil Edwards <firstname.lastname@example.org> writes:
| On Thu, May 31, 2001 at 07:12:00PM +0100, Neil Booth wrote:
| > Gabriel Dos Reis wrote:-
| > > In the long term, for C++ at least, I'd like highlighting support and
| > > better formatting logic.
| > What do you mean here? Just curious.
| I can't speak for Gaby, but...
You get it right.
| Like that one message I linked to... a lot of tools and editors assume that
| output from gcc is going to be of the form file:line:text, and that will
| probably have to remain the default until the end of time.
Unfortinately an d that sucks :-(
| ... But I'd like some
| (short!) command-line option to turn on pretty-printing of, say, templates:
| template < T [with T=int],
| U [with ....],
| template < Q [with...] >
| or something. Anything.
I've been thinking about all these possibilities, including showing
the diagnotic location in the middle of the diagnostics (making the
whole message more readable) but one can get quickly very far, but
with no concrete way to satisfy everbody :-(