Re: G++ structure member alignment

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

 



Hi Baruch,

You can use the __attribute__ qualifier to specifying packing and alignment
constraints on your struct.

Here's the documentation:

http://gcc.gnu.org/onlinedocs/gcc-4.1.1/gcc/Type-Attributes.html

See the sections on aligned and packed.

HTH,
--Eljay


[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