On Fri, Sep 14, 2001 at 12:23:44PM +0400, Yar Tikhiy wrote:
> E.g., will the following structure:
> struct foo {
> };
> contain alignment holes in any architecture/compiler?

It is best to order this from largest to smallest size if you are worried
about alignment holes, etc.

        int64_t d; /* 8-byte boundary */
        int32_t c; /* 4-byte boundary */
        int32_t f; /* 4-byte boundary */
        int16_t a;
        int16_t b;
        int8_t  e[4];
 
-- 
-- David  ([EMAIL PROTECTED])

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to