Ronald G. Minnich
2004-10-22 15:27:03 UTC
consider this:
struct a {
ulong x;
long y;
short z;
};
in GCC, you can add attribute packed and that struct will be 10 bytes. I'm
getting some static from the Xen guys because IIRC 8c does not support
packed structs -- that struct on 8c is 12 bytes.
Am I nuts? Is there some 8c pragma that can force this to be packed?
ron
struct a {
ulong x;
long y;
short z;
};
in GCC, you can add attribute packed and that struct will be 10 bytes. I'm
getting some static from the Xen guys because IIRC 8c does not support
packed structs -- that struct on 8c is 12 bytes.
Am I nuts? Is there some 8c pragma that can force this to be packed?
ron