Compiler error report: error 980521

Moritz Strube moritz.strube@micromata.com
Mon Feb 15 03:36:00 GMT 1999


Sorry, missed the point in the first mail!
for locating the error-producing code (For simplicity sake I changed
names of variables):

b::b(map<string,C*> e1,  map<string,C*> e2) {
  string p=this->getP();

   map<string,C*> ::iterator c1=e1->begin();
   map<string,C*> ::iterator c2=e2->begin();

  while(c1->first != p) {
   ++c1;
   ++c2;
  } 
  
  map<string,C*>* o=new map<string,C*>;	
>>copy(e1->begin(),c1,o->begin());        // Produces Error!!!
  


Compiler Message:
---------------
/usr/include/g++/stl_algobase.h: In method `struct pair<const
basic_string<char,string_char_traits<char>,__default_alloc_template<true,0>
>,C*> & pair<const basic_string<char,string_char_traits<char>,__default_alloc_template<true,0> >,C *>::operator =(const struct pair<const basic_string<char,string_char_traits<char>,__default_alloc_template<true,0> >,C*> &)':
/usr/include/g++/stl_algobase.h:112: Internal compiler error 980521.
/usr/include/g++/stl_algobase.h:112: Please submit a full bug report to
`egcs-bugs@cygnus.com'.
/usr/include/g++/stl_algobase.h:112: See
<URL: http://egcs.cygnus.com/faq.html#bugreport > for details.
make: *** [bestueckung.o] Error 1


More information about the Gcc-bugs mailing list