• 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: Wchar_t to 2 bytes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Wchar_t to 2 bytes


  • Subject: Re: Wchar_t to 2 bytes
  • From: "Mark Wagner" <email@hidden>
  • Date: Wed, 14 Jun 2006 10:24:23 -0700

On 6/14/06, Mark Thomas <email@hidden> wrote:
Hi,
  Does anybody know of a way to make wchar_t to be 2 bytes as I have some
common base Win32 code, which assumes 2 byte wchar_t.

Add -fshort-wchar to the "additional C options" and "additional C++ options". You'll have to provide your own versions of wstrlen() and company, though, as the official ones only support 4-byte wchars.

--
Mark Wagner
_______________________________________________
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: 
 >Wchar_t to 2 bytes (From: Mark Thomas <email@hidden>)

  • Prev by Date: Seeking Suggestions for Template Projects
  • Next by Date: Re: Seeking Suggestions for Template Projects
  • Previous by thread: Re: Wchar_t to 2 bytes
  • Next by thread: Seeking Suggestions for Template Projects
  • Index(es):
    • Date
    • Thread