internal compiler error on template instantiation

Martin v. Loewis martin@mira.isdn.cs.tu-berlin.de
Mon May 31 21:06:00 GMT 1999


> Please find attached a bug report on an internal compiler error.
> If you need additional information, just ask.

Thanks for your bug report. gcc-2.95 19990529 says

templbug1.cpp: In instantiation of `Base<Record>':
templbug1.cpp:17:   instantiated from here
templbug1.cpp:13: invalid use of undefined type `class Record'
templbug1.cpp:16: forward declaration of `class Record'
templbug1.cpp:13: template argument 1 is invalid

so it seems that the bug has been fixed.

Regards,
Martin



More information about the Gcc-bugs mailing list