Messages in this thread |  | | From | David Woodhouse <> | Subject | Re: On labelled initialisers, gcc-2.7.2.3 and tcp_ipv4.c | Date | Mon, 16 Oct 2000 10:24:53 +0100 |
| |
root@chaos.analogic.com said: > The 'C' language can order structure members anyway it wants. It also > can add any 'fill' or alignment bytes it wants. The compiler is not > broken in this respect.
Anyone who's been following this list for a while will know not to take any notice of Dick, especially when he's spouting about the C standards. This is probably why there's been no other response yet.
But just for the benefit of newcomers - the C compiler is _not_ free to re-order structure members. They must be in order, but may be arbitrarily aligned.
-- dwmw2
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |