This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/3478: [2003-01-11] Rejects code when using enum from template class
- From: bangerth at dealii dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, jthorn at thp dot univie dot ac dot at, nobody at gcc dot gnu dot org
- Date: 13 Jan 2003 16:05:33 -0000
- Subject: Re: c++/3478: [2003-01-11] Rejects code when using enum from template class
- Reply-to: bangerth at dealii dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, jthorn at thp dot univie dot ac dot at, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: [2003-01-11] Rejects code when using enum from template class
State-Changed-From-To: analyzed->closed
State-Changed-By: bangerth
State-Changed-When: Mon Jan 13 08:05:31 2003
State-Changed-Why:
Fixed with new parser. Volker's small testcase as well as
the original one were wrong, however, as they need to
write
enum typename A<T>::E
(note the typename). Without one now gets an error, with
it compiles cleanly.
W.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=3478