From mboxrd@z Thu Jan 1 00:00:00 1970 From: Manush Dodunekov To: Alexandre Oliva 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/msg00954.html Message-ID: <19990731233300.AQ5OX0lnyV-hpwMmzHYu5RbiWxzAOzUoeC_wQItXYac@z> On 26 Jul 1999, Alexandre Oliva wrote: > 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. However, using vector::iterator i; doesn't help the compile; It only compiles when using typename vector::iterator i; What does the standard say on this? Shouldn't the first case be enough? regards, Manush