Re: 4 vs 8 alignment
Re: 4 vs 8 alignment
- Subject: Re: 4 vs 8 alignment
- From: "Sean McBride" <email@hidden>
- Date: Wed, 13 Dec 2006 11:05:20 -0500
- Organization: Rogue Research
On 2006-12-12 23:51, David Fang said:
>e.g.
>struct foo { int x; char y; } __attribute__((aligned));
>
>I prefer __attribute__ over pragma for portability, but otherwise it may
>just be a matter of taste.
How is __attribute__ more portable than pragma pack? Is it not a GNU
extension? I know pragma pack is supported by gcc, CodeWarrior, and
Visual Studio.
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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