id summary reporter owner description type status milestone component version severity resolution keywords cc 4323 Detect endianess on iPhoneOS fgp@… "The detail/endian.hpp detection logic fails on iPhoneOS currently (as of boost 1.43). The following block fixes that. If've added this right after the GLIBC specific checks, but if one wants to be absolutely sure that no currently working case is broken by this, it might make sense to add it at the end. All apple-supplied compilers on my Mac OS 10.6 installation (gcc 4.0, gcc-4.2, llvm-gcc, clang) set those defines, though, as doe the corresponding iPhoneOS versions of these compilers. The risk of adding this right after the GLIBc block seems pretty small therefore. {{{ #elif defined (__APPLE__) # if defined(__LITTLE_ENDIAN__) && !defined(__BIG_ENDIAN__) # define BOOST_LITTLE_ENDIAN # define BOOST_BYTE_ORDER 1234 # elif !defined(__LITTLE_ENDIAN__) && defined(__BIG_ENDIAN__) # define BOOST_BIG_ENDIAN # define BOOST_BYTE_ORDER 4321 # else # error Unknown machine endianness detected. # endif }}} " Bugs closed To Be Determined Building Boost Boost 1.43.0 Problem duplicate