On 10/6/05, cbruner <[EMAIL PROTECTED]> wrote:
> #pragma align 2
> Makes no difference.

structure alignment is quite a big issue - anyone working with ARM needs to know
that long (UInt32) values need to be aligned on 4 byte boundaries.
most compilers
can automate the structure alignment - and, they all do it different ways.

the best way is of course to control it yourself and/or always use
long's and pointers.
there is no "magic" once-do-solves-all thing.

--
// Aaron Ardiri

-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to