Re: Strange problems using std::string and C++0x
Re: Strange problems using std::string and C++0x
- Subject: Re: Strange problems using std::string and C++0x
- From: Steve Mills <email@hidden>
- Date: Fri, 03 Jan 2014 23:55:08 -0600
On Jan 3, 2014, at 21:11:28, Marshall Clow <email@hidden> wrote:
> My *guess* is that some of your code is compiled using libstdc++, and the rest with libc++.
> They each have an idea of the layout of a std::string object, and they differ.
Hmm, interesting idea. The code I'm dealing with is all in the main app, and it's all called directly from main during launch. Are you suggesting that some linked in libs might be using libstdc++, and that could cause problems when making calls to std::string, even though none of the linked libs should be executing at this point in the launch?
This all might be a red herring, as I've temporarily commented out or replaced any C++0x stuff in this new code drop from a 3rd party and gone back to libstdc++, and I'm still getting the crashes when destructing std::strings. But I will check all subprojects and see if any of them are using a different std lib, which *could* explain these problems.
--
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