This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/3851: Problem with generic member.
- From: reichelt at igpm dot rwth-aachen dot de
- To: fasbjx at free dot fr, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: 7 Nov 2002 10:05:13 -0000
- Subject: Re: c++/3851: Problem with generic member.
- Reply-to: reichelt at igpm dot rwth-aachen dot de, fasbjx at free dot fr, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
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