Ada and x86_64
Florian Weimer
fw@deneb.enyo.de
Wed Aug 28 00:57:00 GMT 2002
David Brown <gcc@davidb.org> writes:
> Hmm. I don't know of the history of this construct, but perhaps
>
> pragma Pack (sigset_t);
>
> would give the intent better.
No, I don't think so, the intent is to create an array of 1024 bits to
match the GNU libc definition.
> If, what was really intended was that the structure should at least be
> 1024 bytes long, this would work:
>
> for sigset_t'Size use Natural'Max (1024, unsigned_long'Size * 32);
Bits, not bytes. ;-) And the length should probably be *exactly* 1024
bits, no more, no less.
More information about the Gcc
mailing list