• 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
Strange problems using std::string and C++0x
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Strange problems using std::string and C++0x


  • Subject: Strange problems using std::string and C++0x
  • From: Steve Mills <email@hidden>
  • Date: Thu, 02 Jan 2014 16:23:20 -0600

Because of a recent change to 3rd party code, I had to change our project's C++ dialect to GNU++11 and the C++ standard lib to libc++. Now I'm getting odd crashes when dealing with std::string objects. All of the strings that crash so far are static members of C++ classes. Some were being inited at launch. I changed that behavior to init them lazily, which fixed that. Now others are crashing during normal operations during run. Just wondering if anyone else has experienced problems with std::string in libc++ or anything like that. Note that we still need to use the 10.7 sdk. I'm not sure if using a newer one would make a difference - I tried, but there are a couple things that I couldn't change in a quick and dirty way just to get it building. This is Xcode 5.0.2.

--
Steve Mills
office: 952-818-3871
home: 952-401-6255



 _______________________________________________
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: Strange problems using std::string and C++0x
      • From: Marshall Clow <email@hidden>
    • Re: Strange problems using std::string and C++0x
      • From: Jesper Papmehl-Dufay <email@hidden>
  • Next by Date: Re: Strange problems using std::string and C++0x
  • Next by thread: Re: Strange problems using std::string and C++0x
  • Index(es):
    • Date
    • Thread