This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Packed structures
- From: Florian Weimer <fw at deneb dot enyo dot de>
- To: Phil Prentice <philp dot cheer at btinternet dot com>
- Cc: gcc-help at gnu dot org
- Date: Wed, 02 Jul 2003 14:26:36 +0200
- Subject: Re: Packed structures
- References: <E19Xev2-0002DA-00@einsteinium.btinternet.com>
Phil Prentice <philp.cheer@btinternet.com> writes:
> Is there any way of making the compiler only pack the structures
> that require packing?
Specify the "packed" attribute them, see "Specifying Attributes of
Types" in the compiler documentation.