Boost logo

Boost :

Subject: [boost] [1.45][Serialization] fails to cross-compile using arm-linux-uclibc toolchain
From: Alex Potapenko (zoneofbattle_at_[hidden])
Date: 2011-01-19 01:17:13


Building boost 1.45 on Debian using arm-linux-uclibc toolchain fails to compile serialization lib, due to static assertions in basic_binary_?archive.hpp's at:

ššš BOOST_STATIC_ASSERT(sizeof(tracking_type) == sizeof(bool));
ššš BOOST_STATIC_ASSERT(sizeof(class_id_type) == sizeof(int_least16_t));
ššš BOOST_STATIC_ASSERT(sizeof(class_id_reference_type) == sizeof(int_least16_t));

It appears to be some uclibc issue, since it builds fine using glibc toolchains.

Is it safe to simply comment out these assertions?

Thanks in advance,
Alex


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