c++/3851: Problem with generic member.
reichelt@igpm.rwth-aachen.de
reichelt@igpm.rwth-aachen.de
Thu Nov 7 02:05:00 GMT 2002
Synopsis: Problem with generic member.
State-Changed-From-To: analyzed->closed
State-Changed-By: reichelt
State-Changed-When: Thu Nov 7 02:05:12 2002
State-Changed-Why:
Fixed in current versions (3.1, 3.2 and main trunk).
The compiler now issues a correct error message.
Note that the code is in fact illegal:
The line
struct D: public Sb< anything >::C;
should read
struct D: public Sb< anything >::C<e> {};
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=3851
More information about the Gcc-bugs
mailing list