Strange problems using std::string and C++0x
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