-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
The #ifndef __LITTLE_ENDIAN only checks whether __LITTLE_ENDIAN is NOT defined (ifndef=ifnotdefined).
Note that this is inside a code block that is #if defined(i386).
Basically they #define __LITTLE_ENDIAN in the common case of i386.
However this causes tons of warnings because at the cmake level, __LITTLE_ENDIAN is already defined (on the C compiler command line).
So this patch is not breaking the big endian case (I may try SPARC someday), and also it does not break the x64 case.
Note that the cmake config file indicates a change was made to fix the x64, which I think then had this unfortunate effect on the i386 case.
So if possible please apply the patch.
It fixes lots of warnings for me that looked quite suspicious to me ...
David Stes