Boost logo

Boost :

From: Johan Råde (rade_at_[hidden])
Date: 2006-10-19 08:47:24


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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk