@michalscMore! Yes, I'm a bit of a masochist More seriously, I really like the discussion, I (think that I) finally understand some of the problems with endianness... Some questions though...1) How often would C code do something like that:typedef union{unsigned int data;struct {unsigned short high;unsigned short low;}} smart_t;2) What are other "typical" C code that is not "endianness-safe"?I assume that, as written above, recompiling would solve the problems at the assembly level... so it's rather at the C level that efforts are needed?
_________________TygreScientific Progress Goes Boing!