Mail Archives: djgpp/1997/04/30/09:00:15
On Sun, 27 Apr 1997 15:22:49 GMT, Michal <wapex AT silesia DOT top DOT pl> wrote:
> Few weeks ago I was posting to ask how to align a global int variable.
> The ansewr was 'see section 14.3 if FAQ'. I've checked it and I've
> figured out that variables are aligned on boudary wich is half of their
> size. I thought that they're aligned on boundary which is execly their
> size, and I was asking about non-standard boundary (like for example
> 16). Am I right? Maybe I just didn't understand the text (english isn't
> my national lounguage)?.
struct test_t
{
int a;
} __attribute__ ((__aligned__ (16)));
About type attributes:
info gcc "c extensions" "type attributes"
About variable attributes:
info gcc "c extensions" "variable attributes"
- Raw text -