boost serialisation, just including shared_ptr.hpp causes compile error on Linux/gcc 4.5
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
Hi Avi, as this is a users question, I do not answer on Boost.Build. Am Montag, 18. August 2014, 15:59:12 schrieb avib369 .:
I did not see boost serialisation in the list of lib that had changed. So its surprising that it now broken ?
A glitch that the unit tests did not catch.
It appears simply including it cause problems
#include
Are there any workarounds ?
Get this commit from GitHub:
----------------
commit c13b89c8f9528a15ff3bbb5ccc039493e7e0155e
Author: Robert Ramey
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
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
It looks like a missing header. Does this address it? https://svn.boost.org/trac/boost/ticket/10348 If not- can you post the code? Robert Ramey -- View this message in context: http://boost.2283326.n4.nabble.com/boost-serialisation-just-including-shared... Sent from the Boost - Users mailing list archive at Nabble.com.
participants (4)
-
avib369 .
-
Jürgen Hunold
-
Robert Ramey
-
Vladimir Prus