From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karlheinz Langguth To: egcs-bugs@cygnus.com Subject: Bug report Date: Mon, 30 Nov 1998 13:07:00 -0000 Message-id: <36630999.40F05E67@7fun.de> X-SW-Source: 1998-11/msg00815.html List-Id: Hi! Take a look at the following (senseless but correct) C++ source program: --- start file test.C #include template class a { vector v; vector::iterator i; }; ---end file test.C gcc version egcs-2.91.57 19980901 (egcs-1.1 release) on i586-pc-linux-gnu produces for the following command line ---start command line g++ -c -pedantic test.C ---end command line the following output: ---start output test.C:7: syntax error before `;' ---end output It runs through with "g++ -c test.C". Do you see a syntax error? If so, why does it only show with "-pedantic"? Bye, Karlheinz