g++ 2.95.2 fails to issue an error despite missing typename keyword

Alexandre Oliva oliva@lsd.ic.unicamp.br
Tue Jan 18 10:40:00 GMT 2000


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



More information about the Gcc-bugs mailing list