Compiler bug (compiler crashes)
Martin v. Loewis
martin@mira.isdn.cs.tu-berlin.de
Wed Jun 30 23:07:00 GMT 1999
> buggydb.cpp:19: Internal compiler error.
Thanks for your bug report. gcc-2.95 19990606 reports
buggydb.c:19: to refer to a type member of a template parameter,
buggydb.c:19: use `typename Element::KeyType'
buggydb.c: In method `void Database<Element>::Add(Element &)':
buggydb.c:26: to refer to a type member of a template parameter,
buggydb.c:26: use `typename Element::KeyType'
buggydb.c: In function `int main(...)':
buggydb.c:51: initialization of non-const reference type `class Event &'
buggydb.c:51: from rvalue of type `Event'
buggydb.c:24: in passing argument 1 of `Database<Event>::Add(Event &)'
so it seems that the bug has been fixed.
Regards,
Martin
More information about the Gcc-bugs
mailing list