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/msg00910.html Message-ID: <19990731233300.fhzmCbow2ZOdbG0geDy_7OTQ3wEfQkVyvykr985_4S4@z> On Jul 25, 1999, Manush Dodunekov wrote: > The code below compiles fine with no flags, but fails to compile with a > parse error on the line containing "iterator i;" when compiling with > -pedantic. That's correct. Members of template-dependent base classes must be explicitly qualified. Without -pedantic, gcc accepts it as an extension. -- 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