On Wed, Sep 05, 2001 at 09:04:01AM +1200, David Rundle wrote:
> hi i need help i have a data struct that matchs some hardwear but
> gcc is alignin it this meins it is out of sync whit the hardwear
> like
> char is 2 bytes
> long double is 12 bytes
> will thats what gcc thinks
>
> so i need to tell gcc not to align the data struct
>
> may be like
__attribute__((packed))
Regards,
-- Kurt Garloff <kurt@garloff.de> [Eindhoven, NL] Physics: Plasma simulations <K.Garloff@Phys.TUE.NL> [TU Eindhoven, NL] Linux: SCSI, Security <garloff@suse.de> [SuSE Nuernberg, DE] (See mail header or public key servers for PGP2 and GPG public keys.)
This archive was generated by hypermail 2b29 : Fri Sep 07 2001 - 21:00:29 EST