|
Boost-Build : |
Subject: [Boost-build] boost 1.57 b1 serialisation fails to compile,
From: avib369 . (avibahra_at_[hidden])
Date: 2014-10-27 12:50:05
There is no mention of any changes in the release notes.
Its worth adding this to release notes to warn users, *even* if only
maintenance changes!!
On linux opensuse 113, using gcc 4.5 boost serialisation no longer compiles.
Just including : #include <boost/serialization/weak_ptr.hpp> causes:
In file included from
/var/tmp/ma0/boost/boost_1_57_0_b1/boost/serialization/shared_ptr.hpp:29:0,
from
/var/tmp/ma0/boost/boost_1_57_0_b1/boost/serialization/weak_ptr.hpp:20,
from src/InLimit.hpp:22,
from src/InLimit.cpp:20:
/var/tmp/ma0/boost/boost_1_57_0_b1/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_57_0_b1/boost/serialization/shared_ptr_helper.hpp:108:39:
error: âtype_info_implementationâ in namespace âboost::serializationâ does
not name a type
/var/tmp/ma0/boost/boost_1_57_0_b1/boost/serialization/shared_ptr_helper.hpp:108:63:
error: expected template-argument before â<â token
/var/tmp/ma0/boost/boost_1_57_0_b1/boost/serialization/shared_ptr_helper.hpp:108:63:
error: expected â>â before â<â token
/var/tmp/ma0/boost/boost_1_57_0_b1/boost/serialization/shared_ptr_helper.hpp:109:13:
error: template argument 1 is invalid
/var/tmp/ma0/boost/boost_1_57_0_b1/boost/serialization/shared_ptr_helper.hpp:109:16:
error: expected â(â before âget_const_instanceâ
/var/tmp/ma0/boost/boost_1_57_0_b1/boost/serialization/shared_ptr_helper.hpp:109:16:
error: expected â;â before âget_const_instanceâ
/var/tmp/ma0/boost/boost_1_57_0_b1/boost/serialization/shared_ptr_helper.hpp:109:35:
error: there are no arguments to âget_const_instanceâ that depend on a
template parameter, so a declaration of âget_const_instanceâ must be
available
/var/tmp/ma0/boost/boost_1_57_0_b1/boost/serialization/shared_ptr_helper.hpp:109:35:
note: (if you use â-fpermissiveâ, G++ will accept your code, but allowing
the use of an undeclared name is deprecated)
/var/tmp/ma0/boost/boost_1_57_0_b1/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&)â:
/var/tmp/ma0/boost/boost_1_57_0_b1/boost/serialization/shared_ptr_helper.hpp:118:39:
error: âtype_info_implementationâ in namespace âboost::serializationâ does
not name a type
/var/tmp/ma0/boost/boost_1_57_0_b1/boost/serialization/shared_ptr_helper.hpp:118:63:
error: expected template-argument before â<â token
/var/tmp/ma0/boost/boost_1_57_0_b1/boost/serialization/shared_ptr_helper.hpp:118:63:
error: expected â>â before â<â token
/var/tmp/ma0/boost/boost_1_57_0_b1/boost/serialization/shared_ptr_helper.hpp:119:13:
error: template argument 1 is invalid
/var/tmp/ma0/boost/boost_1_57_0_b1/boost/serialization/shared_ptr_helper.hpp:119:16:
error: expected â(â before âget_const_instanceâ
/var/tmp/ma0/boost/boost_1_57_0_b1/boost/serialization/shared_ptr_helper.hpp:119:16:
error: expected â;â before âget_const_instanceâ
/var/tmp/ma0/boost/boost_1_57_0_b1/boost/serialization/shared_ptr_helper.hpp:119:35:
error: there are no arguments to âget_const_instanceâ that depend on a
template parameter, so a declaration of âget_const_instanceâ must be
available
/var/tmp/ma0/boost/boost_1_57_0_b1/boost/serialization/shared_ptr_helper.hpp:
In member function âvoid
boost::serialization::shared_ptr_helper<SPT>::reset(SPT<T>&, T*)â:
/var/tmp/ma0/boost/boost_1_57_0_b1/boost/serialization/shared_ptr_helper.hpp:131:17:
error: âtype_info_implementationâ is not a member of âboost::serializationâ
/var/tmp/ma0/boost/boost_1_57_0_b1/boost/serialization/shared_ptr_helper.hpp:131:67:
error: expected primary-expression before â>â token
/var/tmp/ma0/boost/boost_1_57_0_b1/boost/serialization/shared_ptr_helper.hpp:131:70:
error: â::typeâ has not been declared
Ta,
Avi
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