Hello,
Consider the following structure :
struct foo{
u8 buf[5];
u8 frame[0];
} ;
sizeof( foo ) returns 8 when I use the arm-linux-gcc : why is this ? could
someone explain me why ?
sizeof( foo ) returns 5 when I use the gcc : why is this ? could someone
explain me why ?
Is there any option for the arm-linux-gcc to give the same result as the gcc ?
thank you
Xavier
_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
- Re: alignment problems Xavier DEBREUIL
- Re: alignment problems Russell King - ARM Linux Admin
- Re: alignment problems Michael Nonweiler
- Re: alignment problems David Rusling
- Re: alignment problems Jonathan P . Olson
- Re: alignment problems Russell King - ARM Linux Admin
- Re: alignment problems Philip Blundell
- Re: alignment problems Chris Rutter
- Re: alignment problems Philip Blundell
- Re: alignment problems Russell King - ARM Linux Admin
- Re: alignment problems Russell King - ARM Linux Admin
