Re: Packing of structure fields and whole structs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 is
equivalent to specifying the `packed' attribute on each of the structure or
  union members.





[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux