This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/3526: ICE on inherited enum
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, gdr at gcc dot gnu dot org, kurt at garloff dot de, nobody at gcc dot gnu dot org
- Subject: Re: c++/3526: ICE on inherited enum
- From: gdr at gcc dot gnu dot org
- Date: 12 Aug 2001 10:48:53 -0000
Synopsis: ICE on inherited enum
Responsible-Changed-From-To: unassigned->gdr
Responsible-Changed-By: gdr
Responsible-Changed-When: Sun Aug 12 03:48:53 2001
Responsible-Changed-Why:
See below.
State-Changed-From-To: open->analyzed
State-Changed-By: gdr
State-Changed-When: Sun Aug 12 03:48:53 2001
State-Changed-Why:
Your program is ill-formed: You should be using the `typename'
keyword as follows:
typename test2<T>::MyEnum
However, GCC's diagnostic is competely bogus.
Patch in progress.
-- Gaby
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3526&database=gcc