| delorie.com/archives/browse.cgi | search |
| Message-Id: | <m0wvUhm-0003GnC@fwd02.btx.dtag.de> |
| Date: | Mon, 4 Aug 97 23:30 MET DST |
| To: | djgpp AT delorie DOT com |
| References: | <5rrni2$48j AT freenet-news DOT carleton DOT ca> |
| Subject: | Re: GCC/Info docs bug regarding __attribute__ |
| MIME-Version: | 1.0 |
| From: | Georg DOT Kolling AT t-online DOT de (Georg Kolling) |
Paul Derbyshire schrieb:
> 1. The syntax for the packed attribute differs from that for the aligned one,
> and the dox are incomplete in this area; and the __attribute__ ((packed))
> belongs elsewhere in the struct. If so, I need urgently to know where,
> and the docs need updating.
Try this:
struct xxx
{
int yyy __attribute__((packed));
int zzz __attribute__((packed));
...
};
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |