This is the mail archive of the gcc-bugs@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]
Other format: [Raw text]

Re: c++/9660: use of template keyword to specify templated method cause ICE


Synopsis: use of template keyword to specify templated method cause ICE

State-Changed-From-To: open->closed
State-Changed-By: bangerth
State-Changed-When: Fri Feb 14 21:01:03 2003
State-Changed-Why:
    ICE confirmed with 3.2.2. 3.3 accepts the code, and
    3.4 issues this message:
    tmp/g> /home/bangerth/bin/gcc-3.4-pre/bin/c++ -c x.cc
    x.cc: In member function `FOO::A& FOO::B::getA(int, int)':
    x.cc:28: error: `template' (as a disambiguator) is only allowed within
       templates
    
    So it's fixed.
    
    W.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9660


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