
19 Oct
2006
19 Oct
'06
12:47 p.m.
Johan Råde wrote:
I think the file <endian.hpp> needs to be refactored. It is turning into a mess. We need to make it clearer that it is a decision tree:
1. Is it GCC? Use header <endian.h>
2. If not, does the processor have a unique endianness?
3. If not, does the OS / processor combo have a unique endianness?
4. If not, are any macros such as _LITTLE_ENDIAN defined.
But in the meantime, why not add the patch.
And speaking of that, does anyone know: Is the combo Windows / ia64 always LE? is the combo Linux / Intel C++ / ia64 always LE? --Johan