Re: deprecated FOUR_CHAR_CODE and macintel
Re: deprecated FOUR_CHAR_CODE and macintel
- Subject: Re: deprecated FOUR_CHAR_CODE and macintel
- From: Lawrence Gold <email@hidden>
- Date: Fri, 20 Jan 2006 11:40:37 -0700
On Jan 12, 2006, at 4:46 PM, Andy O'Meara wrote:
Yeah, every compiler I've ever seen, even back into the Win16 days,
multi-char literals are just a convenience representation for for hex
literals (left to right denotes most sig to least sig). Lawrence,
perhaps
you're just misspeaking? ( 'APPL' >> 24 ) will get you 'A' no
matter if
you're on MSVC, CW, gcc, or you name it. The only exception I've
ever heard
of is that Borland used to have a compiler option where char
literals are
understood to read from least to most sig.
Well I'll be damned, it seems to be working correctly now, at least
for a little test I put together. I'll have to look into this
further, because I swear the byte order was reversed when I first
look at it. It'd be really nice to get rid of the ugly macros. :-)
Thanks.
_______________________________________________
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