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

Reply via email to