• 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: GCC 4.0 GetKeys() and BigEndianLong for Intel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GCC 4.0 GetKeys() and BigEndianLong for Intel


  • Subject: Re: GCC 4.0 GetKeys() and BigEndianLong for Intel
  • From: Ken Baer <email@hidden>
  • Date: Wed, 15 Jun 2005 14:15:38 -0700

Thanks, that did the trick.

On Jun 15, 2005, at 1:34 PM, Eric Albert wrote:

On Jun 15, 2005, at 12:01 PM, Ken Baer wrote:

Sorry I wasn't clear enough there. BigEndianLong is a long on PowerPC and a struct on Intel. Here's the Intel definition, from Endian.h:

struct BigEndianLong {
  long                bigEndianValue;
};
typedef struct BigEndianLong            BigEndianLong;

So you want to swap theKeys[1].bigEndianValue on little-endian systems, not theKeys[1].

-Eric


_______________________________________________ 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: 
 >GCC 4.0 GetKeys() and BigEndianLong for Intel (From: Ken Baer <email@hidden>)
 >Re: GCC 4.0 GetKeys() and BigEndianLong for Intel (From: Eric Albert <email@hidden>)
 >Re: GCC 4.0 GetKeys() and BigEndianLong for Intel (From: Ken Baer <email@hidden>)
 >Re: GCC 4.0 GetKeys() and BigEndianLong for Intel (From: Eric Albert <email@hidden>)

  • Prev by Date: Re: Bug in the objective-c++ compiler?
  • Next by Date: Re: Xcode Project File Format
  • Previous by thread: Re: GCC 4.0 GetKeys() and BigEndianLong for Intel
  • Next by thread: GCC 4.0 GetKeys() and BigEndianLong for Intel
  • Index(es):
    • Date
    • Thread