c++/9660: use of template keyword to specify templated method cause ICE
bangerth@dealii.org
bangerth@dealii.org
Fri Feb 14 21:01:00 GMT 2003
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
More information about the Gcc-bugs
mailing list