Terry Lambert wrote:

| Order of structure elements is undefined.  Zero length arrays
| are undefined.  Also, packing is undefined.

Close, but no cigar.  The /order/ is defined in C89 (Section
6.5.2.1) with the following words:

    Within a structure object, the non-bit-field members and the
    units in which bit-fields reside have addresses that increase
    in the order in which they are declared.

Greg

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

Reply via email to