This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: 3.4.3 C++ parsing bug?
- From: Karel Gardas <kgardas at objectsecurity dot com>
- To: Jan Reimers <janr at molienergy dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 11 Feb 2005 23:03:24 +0100 (CET)
- Subject: Re: 3.4.3 C++ parsing bug?
On Fri, 11 Feb 2005, Jan Reimers wrote:
> Can someone verify that this is valid C++ before I submit a bug report:
>
> // test.C
> template <class T> class A {static T* c;};
>
> class B : public A<B> {};
>
> B* A<B>::c=0;
> // end test.C
>
At least Comeau C++ 4.3.3 and Intel C++ 8.0 compile it and to me it also
looks ok, but I'm not at all C++ language lawer!
Cheers,
Karel
--
Karel Gardas kgardas@objectsecurity.com
ObjectSecurity Ltd. http://www.objectsecurity.com