egcs 1.1.2 bug report

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


> basic_string<_CharT,_Traits,_Alloc>::_M_range_initialize(_InputIter,
> _InputIter)':
>    bug.C:16: Internal compiler error 980711.

Thanks for your bug report. gcc-2.95 19990529 reports

a.cc: In method `void basic_string<_CharT,_Traits,_Alloc>::_M_range_initialize(_InputIter, _InputIter)':
a.cc:21: ANSI C++ forbids declaration `iterator_traits' with no type
a.cc:21: template-id `iterator_traits<_InputIter>' used as a declarator
a.cc:21: parse error before `;'
a.cc:22: `_Iter_traits' is not a class or namespace
a.cc:22: `iterator_category' is not a class or namespace
a.cc:22: `_Iter_traits' fails to be a typedef or built in type
a.cc:22: ANSI C++ forbids declaration `_Category' with no type

so it seems the bug has been fixed.

Regards,
Martin



More information about the Gcc-bugs mailing list