> From: Oliver Neukum <[EMAIL PROTECTED]>
> Date: Mon, 10 Jun 2002 20:46:17 +0200

> > See my other post ... start of next structure is controlled by a
> > structure level alignment attribute (forcing extra padding at end),
> > while start of next _member_ is controlled by member level attributes.
> 
> There we have a problem. Strictly speaking there is no next member of
> a structure. A compiler is free to reorder members of a structure, apart
> from the first.

Benefits of ordering control are much greater than benefits
of reordering optimizations, so default is always to keep the order.
Consider network protocols.

-- Pete

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to