From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexandre Oliva To: Manush Dodunekov Cc: gcc@gcc.gnu.org Subject: Re: possible bug Date: Sat, 31 Jul 1999 23:33:00 -0000 Message-ID: References: X-SW-Source: 1999-07n/msg00955.html Message-ID: <19990731233300.i7UYwdh9KduW_NbASjzH4edh_ZAIr3vn_tBwhbtRdOQ@z> On Jul 27, 1999, Manush Dodunekov wrote: > vector::iterator i; > doesn't help the compile; It only compiles when using > typename vector::iterator i; > What does the standard say on this? `typename' is required before template-dependent qualified type names. > Shouldn't the first case be enough? It'll probably work without -pedantic, but it is a gcc extension, don't count on it. -- Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Bra[sz]il oliva@{dcc.unicamp.br,guarana.{org,com}} aoliva@{acm.org,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