lkml.org 
[lkml]   [2000]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: On labelled initialisers, gcc-2.7.2.3 and tcp_ipv4.c
Date

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/

\
 
 \ /
  Last update: 2005-03-22 12:41    [W:0.080 / U:0.576 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site