Boost logo

Boost-Build :

Subject: Re: [Boost-build] boost serialisation, just including shared_ptr.hpp causes compile error on Linux/gcc 4.5
From: Vladimir Prus (ghost_at_[hidden])
Date: 2014-08-18 11:43:57


On 08/18/2014 06:59 PM, avib369 . wrote:
>
> I did not see boost serialisation in the list of lib that had changed. So its
> surprising that it now broken ?
>
> It appears simply including it cause problems
>
> #include <boost/serialization/shared_ptr.hpp>
>
> cause
>
> gcc.compile.c++ bin/gcc-4.5/debug/test/TestStr.o
> In file included from /var/tmp/ma0/boost/boost_1_56_0/boost/serialization/shared_ptr.hpp:28:0,
> from test/TestStr.cpp:27:
> /var/tmp/ma0/boost/boost_1_56_0/boost/serialization/shared_ptr_helper.hpp: In static member function ‘static const
> boost::serialization::extended_type_info* boost::serialization::shared_ptr_helper<SPT>::non_polymorphic::get_object_type(U&)’:
> /var/tmp/ma0/boost/boost_1_56_0/boost/serialization/shared_ptr_helper.hpp:107:22: error: ‘singleton’ is not a member of ‘boost::serialization’

Hi Avi,

this question is probably more on-topic for boost-users or boost-devel mailing list, as opposed to boost-build.

HTH,
Volodya


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk