Russell King <rmk@arm.linux.org.uk> writes:
>
> Err, but that's not guaranteed to produce what you expect. Although GCC
> (and ANSI compilers) are not allowed to re-order the elements of a
> structure, they are allowed to add padding (unused bytes) between elements
> of the structure. (Yes, we've encountered this before).
>
If I don't miss, the __attribute__((packed)) should "take care" of this, no?
-- fg# rm *;o o: command not found
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Tue Feb 15 2000 - 21:00:24 EST