Bug in egcs?

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

> egcs-bug.cpp:15: Internal compiler error.

Thanks for your bug report. gcc-2.95 19990523 reports

a.cc:8: type/value mismatch at argument 2 in template parameter list for `template <class _Tp, class _Sequence = class vector<_Tp,allocator<_Tp1> >, class _Compare = struct less<typename _Sequence::value_type> > priority_queue<_Tp,_Sequence,_Compare>'
a.cc:8:   expected a type, got `classA::operator <'
a.cc:8: template argument 1 is invalid
a.cc:8: template argument 3 is invalid
a.cc:8: ANSI C++ forbids declaration `mTaskQueue' with no type

so it seems that the bug has been fixed.


More information about the Gcc-bugs mailing list