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
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,
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk