<div dir="ltr"><div><div><div><div><br></div>I did not see boost serialisation in the list of lib that had changed. So its <br></div>surprising that it now broken ?<br><br></div>It appears simply including it cause problems<br> <br>#include <boost/serialization/shared_ptr.hpp> <br><br></div>cause<br><div><br>gcc.compile.c++ bin/gcc-4.5/debug/test/TestStr.o<br>In file included from /var/tmp/ma0/boost/boost_1_56_0/boost/serialization/shared_ptr.hpp:28:0,<br> from test/TestStr.cpp:27:<br>/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&)’:<br> /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’<br>/var/tmp/ma0/boost/boost_1_56_0/boost/serialization/shared_ptr_helper.hpp:110:13: error: expected ‘(’ before ‘>’ token<br> /var/tmp/ma0/boost/boost_1_56_0/boost/serialization/shared_ptr_helper.hpp:110:14: error: ‘::get_const_instance’ has not been declared<br>/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>::polymorphic::get_object_type(U&)’:<br> /var/tmp/ma0/boost/boost_1_56_0/boost/serialization/shared_ptr_helper.hpp:117:20: error: ‘singleton’ is not a member of ‘boost::serialization’<br>/var/tmp/ma0/boost/boost_1_56_0/boost/serialization/shared_ptr_helper.hpp:120:13: error: expected ‘(’ before ‘>’ token<br> /var/tmp/ma0/boost/boost_1_56_0/boost/serialization/shared_ptr_helper.hpp:120:14: error: ‘::get_const_instance’ has not been declared<br>/var/tmp/ma0/boost/boost_1_56_0/boost/serialization/shared_ptr_helper.hpp: In member function ‘void boost::serialization::shared_ptr_helper<SPT>::reset(SPT<T>&, T*)’:<br> /var/tmp/ma0/boost/boost_1_56_0/boost/serialization/shared_ptr_helper.hpp:152:30: error: invalid use of incomplete type ‘const struct boost::serialization::extended_type_info’<br>/var/tmp/ma0/boost/boost_1_56_0/boost/serialization/shared_ptr_helper.hpp:42:7: error: forward declaration of ‘const struct boost::serialization::extended_type_info’<br> /var/tmp/ma0/boost/boost_1_56_0/boost/serialization/shared_ptr_helper.hpp:167:30: error: invalid use of incomplete type ‘const struct boost::serialization::extended_type_info’<br>/var/tmp/ma0/boost/boost_1_56_0/boost/serialization/shared_ptr_helper.hpp:42:7: error: forward declaration of ‘const struct boost::serialization::extended_type_info’<br> /var/tmp/ma0/boost/boost_1_56_0/boost/serialization/shared_ptr_helper.hpp:168:30: error: invalid use of incomplete type ‘const struct boost::serialization::extended_type_info’<br>/var/tmp/ma0/boost/boost_1_56_0/boost/serialization/shared_ptr_helper.hpp:42:7: error: forward declaration of ‘const struct boost::serialization::extended_type_info’<br> <br> "g++" -ftemplate-depth-128 -fPIC -O0 -fno-inline -Wall -g -fPIC -DDEBUG -I"../ACore/src" -I"/var/tmp/ma0/boost/boost_1_56_0" -c -o "bin/gcc-4.5/debug/test/TestStr.o" "test/TestStr.cpp"<br> <br><div><br></div><div>Are there any workarounds ?<br><br></div><div>Ta,<br></div><div> Avi<br></div></div></div>