bug in egcs-1.1.2?

Mumit Khan khan@xraylith.wisc.edu
Mon May 31 21:10:00 GMT 1999

Mike Fabian <mike.fabian@it-mannesmann.de> writes:
> Hello,
> I encountered a problem while using Mumit Khan's egcs-1.1.2 release.
> (~$ g++ --version
> egcs-2.91.66       )
> the following small test program doesn't compile with egcs-1.1.2

Hmmm ... looks like a bug, but I need to check "the book" first. You
may want to send this off to egcs-bugs as well.

BTW, the workaround is the following (which is used by pretty much all
older code using STL since the operator-> is reasonably new):

 	std::string str = "";
 	for(PairsOfStrings::const_iterator p=d.begin();p!=d.end();p++) {
 		// the following line doesn't compile with egcs:
 		str +=	(*p).first + (*p).second;  


Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

More information about the Cygwin mailing list