Re: No std::wstring in 10.2.8 SDK?
Re: No std::wstring in 10.2.8 SDK?
- Subject: Re: No std::wstring in 10.2.8 SDK?
- From: Tommy Nordgren <email@hidden>
- Date: Tue, 21 Feb 2006 00:38:22 +0100
On 21 feb 2006, at 00.09, David Litwin wrote:
I just moved my app from being 10.4 only to supporting 10.2.8 on
ppc. Now all my code that uses std::wstring won’t compile, as
std::wstring isn’t defined.
I have heard that gcc 3.3 had some confusion with things being
defined outside of std that should have been in, but I can’t get it
to find wstring without the std:: either.
Does anyone have any info about this issue, and how to get code
with std::wstring to compile against the 10.2.8 SDK? Again, it
works fine with the 10.4u SDK. The code in question includes
<string>.
Thanks,
David Litwin
The symbol wstring is defined only in debug headers in the 10.2.8
SDK, and then only when a specific preprocessor symbol is defined.
It is however easy to work around:
typedef std::basic_string<wchar_t> mywstring;
-------------------------------------
This sig is dedicated to the advancement of Nuclear Power
Tommy Nordgren
email@hidden
_______________________________________________
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