This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/19737] typename requirement error
- From: "gdr at integrable-solutions dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Feb 2005 10:43:03 -0000
- Subject: [Bug c++/19737] typename requirement error
- References: <20050201043934.19737.gianni@mariani.ws>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From gdr at integrable-solutions dot net 2005-02-01 10:42 -------
Subject: Re: typename requirement error
"gianni at mariani dot ws" <gcc-bugzilla@gcc.gnu.org> writes:
| BTW - gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5) accepts the
| code, would this be a regression ?
Previous versions of GCC did not quite understand the notion of
"inject class name" and would erroneously accept things like
struct A { };
A::A a;
-- Gaby
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19737