This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: g++ 2.95.2 fails to issue an error despite missing typename keyword
- To: gcc-bugs at gcc dot gnu dot org
- Subject: Re: g++ 2.95.2 fails to issue an error despite missing typename keyword
- From: Alexandre Oliva <oliva at lsd dot ic dot unicamp dot br>
- Date: 18 Jan 2000 16:39:58 -0200
- Cc: " " <sebor at my-Deja dot com>, "John Pedretti" <pedretti at roguewave dot com>
- References: <LGMOKAABMKHLEBAA@my-deja.com> <fl1z7fe0q3.fsf@poivre.cmla.ens-cachan.fr>
On Jan 18, 2000, Gabriel Dos Reis <Gabriel.Dos-Reis@cmla.ens-cachan.fr> wrote:
> " " <sebor@my-Deja.com> writes:
> | Hi,
> |
> | the program below compiles without any dignostic despite the missing
> | required typename keyword (commented out).
> even with -pedantic ?
Yep :-(
I think it's because `typedef' is assuming too much :-(
--
Alexandre Oliva http://www.ic.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{lsd.ic.unicamp.br,guarana.{org,com}} aoliva@{acm,computer}.org
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them