CompuServe Thread

Bit Fields Again

1 messages in this thread
#7045From: Alan FargussonJul 15, 1993 3:45 PM
<Now, I know that word-alignment is a fact of life in MacIntosh programming, but it isn't a fact of life in C programming.> This is just untrue. The PDP-11 required things to be aligned, so the original C compiler did align things much the same way that Think C does. This has been true for all versions of C compilers implemented under UNIX since. The requirement for alignment is rooted in hardware, and likely to continue as RISK processors require alignment for efficiency reasons.