__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__ or does it?
Jie Zhang
jzhang918@gmail.com
Sun Aug 7 01:29:00 GMT 2011
On Sat, Aug 6, 2011 at 5:40 PM, Christopher Huang-Leaver
<zeonglow@googlemail.com> wrote:
> Output:
>
> small end first
> big end first
>
> gcc -v
> gcc version 4.4.5 (Gentoo 4.4.5 p1.2, pie-0.4.5)
>
I got the same result with g++-4.4 (4.4.6), g++-4.5 (4.5.3) on Debian
testing. But with g++-4.6, I got
small end first
on my x86_64-linux-gnu machine. I think it's a bug, but it has been
fixed in g++-4.6.
Regards,
Jie
More information about the Gcc
mailing list