Ulrich Lauther <[EMAIL PROTECTED]> writes: > 1 namespace Foo { > 2 }; > 3 > 4 class Foo { > 5 }; > 6 > 7 int main() { > 8 class Foo1 : public Foo { > 9 }; > 10 Foo1 my_Foo1; > 11 Foo my_foo; > 12 return 0; > 13 }
Commenting out line 11 makes the source compilable with all versions of gcc from egcs-2.91.66 all the way through gcc-4.3-20061104. You may wish to file "accepts invalid" gcc bug report. Cheers, -- In order to understand recursion you must first understand recursion. Remove /-nsp/ for email. _______________________________________________ help-gplusplus mailing list help-gplusplus@gnu.org http://lists.gnu.org/mailman/listinfo/help-gplusplus