This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
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 Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |