Paul Brook wrote:
[..] the ARM ABI you're using specifies that all structures have a minimum alignment of 4 bytes.Making the structure packed overrides that.
.. whereas making all of the members of the struct packed doesn't. OK. Is there still a case for a documentation fix? That quote again: Specifying this attribute [packed] for `struct' and `union' types isequivalent to specifying the `packed' attribute on each of the structure or
union members.