This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gcc error messages


[ 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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]