This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc error messages
- To: neil at daikokuya dot demon dot co dot uk (Neil Booth)
- Subject: Re: gcc error messages
- From: Joe Buck <jbuck at racerx dot synopsys dot com>
- Date: Fri, 2 Feb 2001 14:54:48 -0800 (PST)
- Cc: ischis2 at home dot com (Stephen Smith), gcc at gcc dot gnu dot org (GCC)
[ List of error messages ]
> That would be a maintenance headache, though. They change pretty
> regularly; certainly in CPP almost all have been changed slightly over
> the last 9 months.
Well, it would need to be maintained, but there are other, similar places
where maintainance is needed, like invoke.texi. Currently, if you add
a new switch you need to update invoke.texi. If we had errmsgs.texi,
then when you add a new error you would update errmsgs.texi.
But it's not necessary for the document to be perfect to be useful.
Probably 80% of the error messages are completely self-explanatory even to
beginners, and another 15% to experienced programmers, but there are a few
that probably cause even experienced programmer to scratch their heads.
It seems that we no longer have one of my favorites,
converting `%T' to `%T' is a contravariance violation
but there are other "special" messages lurking about.
> [BTW his name is Zack :-)]
Sorry, Zack.