Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm Sender: cygwin-owner@sourceware.cygnus.com Delivered-To: mailing list cygwin@sourceware.cygnus.com Message-Id: <199905182247.RAA02764@venus.xraylith.wisc.edu> To: mike.fabian@it-mannesmann.de cc: cygwin@sourceware.cygnus.com Subject: Re: bug in egcs-1.1.2? In-reply-to: Your message of "Tue, 18 May 1999 10:48:31 CDT." <199905181548.KAA18432@thor.xraylith.wisc.edu> Date: Tue, 18 May 1999 17:47:34 -0500 From: Mumit Khan Mike Fabian 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; //... } Regards, Mumit -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe@sourceware.cygnus.com