Subject: Re: [boost] [1.44][Serialization] fails to compile on OSX universal
From: Robert Ramey (ramey_at_[hidden])
Date: 2010-08-20 13:38:19
I included these asserts to trap any future change in the size of these
Accidently changing these sizes silently breaks previous archives which is
a major pain.
boost/archive/tracking_type is actually a bool - which I had assumed would
be a char in all machines. So I guess that correct way to express this
BOOST_STATIC_ASSERT(sizeof(tracking_type) == sizeof(bool));
Try making this change and verify that it fixes the problem and I'll check
Jeff Flinn wrote:
> Building boost 1.44 on Mac OSX generating universal binaries fails to
> compile serialization lib, due to static asserts in
> basic_binary_?archive.hpp's at:
> BOOST_STATIC_ASSERT(sizeof(tracking_type) == sizeof(char));
> It appears that this fails for the ppc architecture.
> Robert, Any ideas on fixing this?
> Thanks, Jeff
> Unsubscribe & other changes:
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk