[Bug c++/14920] Bug with templating.
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Apr 12 10:41:00 GMT 2004
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-04-12 05:12 -------
Fixed for 3.4.0 by the new parser:
pr14920.cc: In function `void func1(A&)':
pr14920.cc:38: error: 'class A' has no member named 'bar'
pr14920.cc:38: error: expected primary-expression before '>' token
pr14920.cc:38: error: expected primary-expression before ')' token
pr14920.cc: In function `void func1(A&) [with T = int]':
pr14920.cc:44: instantiated from here
pr14920.cc:34: error: 'class A' has no member named 'd'
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|critical |normal
Status|UNCONFIRMED |RESOLVED
Keywords| |diagnostic, rejects-valid
Resolution| |FIXED
Target Milestone|--- |3.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14920
More information about the Gcc-bugs
mailing list