bug report

Alexandre Oliva aoliva@redhat.com
Mon Aug 14 11:17:00 GMT 2000


On Aug 13, 2000, Volker Wysk <volker.wysk@student.uni-tuebingen.de> wrote:

> gcc 2.95.2 reports a parse error at line 3 for this simple input
> file

GCC is correct.  You're missing the `typename' keyword here:

>   T::item it;
  ^

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me



More information about the Gcc-bugs mailing list