Re: G++ structure member alignment

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

 



On 2/13/07, John Love-Jensen <eljay@xxxxxxxxx> wrote:
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


Hi John,

Your suggestion definitely did the trick. (Now I will look for a way
to populate this __attribute__ all over the project structures.

Thank you!

[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