This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: a typename is required !
- To: paubert at laninsa dot insa-lyon dot fr
- Subject: Re: a typename is required !
- From: Martin von Loewis <martin at mira dot isdn dot cs dot tu-berlin dot de>
- Date: Fri, 10 Jul 1998 00:31:38 +0200
- CC: egcs-bugs at cygnus dot com
- References: <199807090735.JAA05989@laninsa.insa-lyon.fr>
> I think a typename is required in the following test case
> look at C-s buggy.
>
> same symptoms for 2.91.45 and 1.0.3.
>
> (bugs found by aCC compiler)
If egcs-2.91.45 compiles your code with -pedantic, it says
xx.cc:35: syntax error before `operator'
xx.cc:35: `T1' was not declared in this scope
egcs supports injection of implicit 'typename' tokens as an
extensions, you need to provide -pedantic to disable such extensions.
Regards,
Martin