This is the mail archive of the gcc-patches@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: Specialization in templates



> > It's only a shift/reduce conflict, actually.  I'm not worried.
> 
> >> /home/phd/oliva/t.cc:1: identifier `A' has not been declared as a template
> 
> > Sounds fine.  Alexandre, go ahead and change the message and put it in.
> 
> You mean, put the change in even though now it produces two error
> messages, and the second is totally meaningless?

At least the user is told what the real problem is, which is an
improvement.  An accurate message followed by a noise message is
better than what we have now.

Error recovery is hard to do perfectly.


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