• 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: No std::wstring in 10.2.8 SDK?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >No std::wstring in 10.2.8 SDK? (From: "David Litwin" <email@hidden>)

  • Prev by Date: RE: No std::wstring in 10.2.8 SDK?
  • Next by Date: Assistance with bundling into app
  • Previous by thread: Re: No std::wstring in 10.2.8 SDK?
  • Next by thread: RE: No std::wstring in 10.2.8 SDK?
  • Index(es):
    • Date
    • Thread