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: Specialization in templates


On Nov  2, 1998, Joe Buck <jbuck@Synopsys.COM> wrote:

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

I see.  Installed.

-- 
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:oliva@gnu.org mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil



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