• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: ostringstream problem with numbers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: ostringstream problem with numbers
      • From: email@hidden
    • Re: ostringstream problem with numbers
      • From: Paxton Sanders <email@hidden>
References: 
 >ostringstream problem with numbers (From: Paxton Sanders <email@hidden>)

  • Prev by Date: ostringstream problem with numbers
  • Next by Date: Re: ostringstream problem with numbers
  • Previous by thread: ostringstream problem with numbers
  • Next by thread: Re: ostringstream problem with numbers
  • Index(es):
    • Date
    • Thread