Re: ostringstream problem with numbers
Re: ostringstream problem with numbers
- Subject: Re: ostringstream problem with numbers
- From: Chris Espinosa <email@hidden>
- Date: Fri, 23 Oct 2009 10:32:59 -0700
On Oct 23, 2009, at 10:28 AM, Paxton Sanders wrote:
I have 10.6 (3.2 Xcode) installed. 64-bit, Xcode IDE: 1610.0, Xcode
Core: 1608.0, ToolSupport: 1591.0
When I insert a numeric value into an ostringstream, the resultant
string is incorrect.
When I drop out to the terminal and compile the application, the
output is correct.
When I move the compiler version back from 4.2 to 4.0 within xcode,
the output is correct.
When I change the project to release with gcc 4.2, the output is
correct.
So, 4.2 debug within Xcode has a problem. As it turns out, debug
mode is my favorite!
Is there a fix available?
Project > Edit Target Settings, enter "GLIBCXX" into the search field.
Wherever you find GLIBCXX_DEBUG=1 or GLIBCXX_DEBUG_PEDANTIC=1, delete
them.
Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden