<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 &lt;boost/serialization/shared_ptr.hpp&gt;    <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&lt;SPT&gt;::non_polymorphic::get_object_type(U&amp;)’:<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 ‘&gt;’ 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&lt;SPT&gt;::polymorphic::get_object_type(U&amp;)’:<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 ‘&gt;’ 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&lt;SPT&gt;::reset(SPT&lt;T&gt;&amp;, 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>    &quot;g++&quot;  -ftemplate-depth-128 -fPIC -O0 -fno-inline -Wall -g -fPIC  -DDEBUG  -I&quot;../ACore/src&quot; -I&quot;/var/tmp/ma0/boost/boost_1_56_0&quot; -c -o &quot;bin/gcc-4.5/debug/test/TestStr.o&quot; &quot;test/TestStr.cpp&quot;<br>
<br><div><br></div><div>Are there any workarounds ?<br><br></div><div>Ta,<br></div><div>   Avi<br></div></div></div>