From mboxrd@z Thu Jan 1 00:00:00 1970 From: Manush Dodunekov To: gcc@gcc.gnu.org Subject: possible bug Date: Sat, 31 Jul 1999 23:33:00 -0000 Message-ID: X-SW-Source: 1999-07n/msg00893.html Message-ID: <19990731233300.ufGs_N4NPMC3c4qvFgSD807IAGRbA62UxgG1KBVHkpc@z> 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. This happens with both egcs-1.1.2 (as shipped on RH6.0/i386) and latest snapshot (19990718). Is the code wrong in some way, or is this a bug? ----------------------- #include template class X : public vector { public: void f() { iterator i; } }; int main(void) { return 0; } --------------------------- thankful for any suggestions, Manush