On Thu, Nov 13, 2008 at 09:14:06PM +0100, Paul Chavent wrote: > I wonder why there aren't any endianess attributes ?
Complicated to get them right in all circumstances. Even the spec (defining how the attributes interact with aliasing analysis, etc) would be a bear to get right. One possibility is just to define big-endian and little-endian integers in various sizes as C++ classes with conversion operators defined.