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
- Driver structures & alignment Yar Tikhiy
- Re: Driver structures & alignment Brian Somers
- Re: Driver structures & alignment Mike Smith
- Re: Driver structures & alignment Yar Tikhiy
- Re: Driver structures & alignment Terry Lambert
- Re: Driver structures & alignment Peter Wemm
- Re: Driver structures & alignment Andrew Gallatin
- Re: Driver structures & alignment Mike Smith
- Re: Driver structures & alignment Warner Losh
- Re: Driver structures & alignment Mike Smith
- Re: Driver structures & alignment David O'Brien
- Re: Driver structures & alignment Warner Losh
- Re: Driver structures & alignment David O'Brien
- Re: Driver structures & alignment Drew Eckhardt
- Re: Driver structures & alignment Warner Losh