is there a difference between
__attribute__((__packed__))
and
__attribute__((packed))
?
And if a struct is packed like this:
struct test { int a; short b; } __attribute__((__packed__))
there is never a need to use the packed attribute on each of the members of the struct, because when the struct is packed, all members are always packed, too. Is this correct?