Boost C++ Libraries: Ticket #10044: ublas serialization causes no end of warnings https://svn.boost.org/trac10/ticket/10044 <p> boost/numeric/ublas/storage.hpp:276 causes <code>gcc-4.8.2 -Wall -Wextra</code> spit no end of warnings because of the unused <code>version</code> function argument: </p> <p> /usr/local/ots/4/boost-1.55.0/include/boost/numeric/ublas/storage.hpp: In instantiation of ‘void boost::numeric::ublas::unbounded_array&lt;T, ALLOC&gt;::serialize(Archive&amp;, unsigned int) [with Archive = boost::archive::binary_iarchive; T = double; ALLOC = std::allocator&lt;double&gt;]’: /usr/local/ots/4/boost-1.55.0/include/boost/serialization/access.hpp:118:9: required from ‘static void boost::serialization::access::serialize(Archive&amp;, T&amp;, unsigned int) [with Archive = boost::archive::binary_iarchive; T = boost::numeric::ublas::unbounded_array&lt;double, std::allocator&lt;double&gt; &gt;]’ /usr/local/ots/4/boost-1.55.0/include/boost/serialization/serialization.hpp:69:69: required from ‘void boost::serialization::serialize(Archive&amp;, T&amp;, unsigned int) [with Archive = boost::archive::binary_iarchive; T = boost::numeric::ublas::unbounded_array&lt;double, std::allocator&lt;double&gt; &gt;]’ /usr/local/ots/4/boost-1.55.0/include/boost/serialization/serialization.hpp:128:27: required from ‘void boost::serialization::serialize_adl(Archive&amp;, T&amp;, unsigned int) [with Archive = boost::archive::binary_iarchive; T = boost::numeric::ublas::unbounded_array&lt;double, std::allocator&lt;double&gt; &gt;]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/detail/iserializer.hpp:192:5: required from ‘void boost::archive::detail::iserializer&lt;Archive, T&gt;::load_object_data(boost::archive::detail::basic_iarchive&amp;, void*, unsigned int) const [with Archive = boost::archive::binary_iarchive; T = boost::numeric::ublas::unbounded_array&lt;double, std::allocator&lt;double&gt; &gt;]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/detail/iserializer.hpp:120:1: required from ‘class boost::archive::detail::iserializer&lt;boost::archive::binary_iarchive, boost::numeric::ublas::unbounded_array&lt;double, std::allocator&lt;double&gt; &gt; &gt;’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/detail/iserializer.hpp:387:13: required from ‘static void boost::archive::detail::load_non_pointer_type&lt;Archive&gt;::load_standard::invoke(Archive&amp;, const T&amp;) [with T = boost::numeric::ublas::unbounded_array&lt;double, std::allocator&lt;double&gt; &gt;; Archive = boost::archive::binary_iarchive]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/detail/iserializer.hpp:439:28: required from ‘static void boost::archive::detail::load_non_pointer_type&lt;Archive&gt;::invoke(Archive&amp;, T&amp;) [with T = boost::numeric::ublas::unbounded_array&lt;double, std::allocator&lt;double&gt; &gt;; Archive = boost::archive::binary_iarchive]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/detail/iserializer.hpp:592:24: required from ‘void boost::archive::load(Archive&amp;, T&amp;) [with Archive = boost::archive::binary_iarchive; T = boost::numeric::ublas::unbounded_array&lt;double, std::allocator&lt;double&gt; &gt;]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/detail/common_iarchive.hpp:66:40: required from ‘void boost::archive::detail::common_iarchive&lt;Archive&gt;::load_override(T&amp;, int) [with T = boost::numeric::ublas::unbounded_array&lt;double, std::allocator&lt;double&gt; &gt;; Archive = boost::archive::binary_iarchive]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/basic_binary_iarchive.hpp:70:7: required from ‘void boost::archive::basic_binary_iarchive&lt;Archive&gt;::load_override(T&amp;, int) [with T = boost::numeric::ublas::unbounded_array&lt;double, std::allocator&lt;double&gt; &gt;; Archive = boost::archive::binary_iarchive]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/binary_iarchive_impl.hpp:50:9: required from ‘void boost::archive::binary_iarchive_impl&lt;Archive, Elem, Tr&gt;::load_override(T&amp;, int) [with T = boost::numeric::ublas::unbounded_array&lt;double, std::allocator&lt;double&gt; &gt;; Archive = boost::archive::binary_iarchive; Elem = char; Tr = std::char_traits&lt;char&gt;]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/detail/interface_iarchive.hpp:60:9: required from ‘Archive&amp; boost::archive::detail::interface_iarchive&lt;Archive&gt;::operator&gt;&gt;(T&amp;) [with T = boost::numeric::ublas::unbounded_array&lt;double, std::allocator&lt;double&gt; &gt;; Archive = boost::archive::binary_iarchive]’ /usr/local/ots/4/boost-1.55.0/include/boost/serialization/nvp.hpp:87:9: required from ‘void boost::serialization::nvp&lt;T&gt;::load(Archivex&amp;, unsigned int) [with Archivex = boost::archive::binary_iarchive; T = boost::numeric::ublas::unbounded_array&lt;double, std::allocator&lt;double&gt; &gt;]’ /usr/local/ots/4/boost-1.55.0/include/boost/serialization/access.hpp:101:9: required from ‘static void boost::serialization::access::member_load(Archive&amp;, T&amp;, unsigned int) [with Archive = boost::archive::binary_iarchive; T = boost::serialization::nvp&lt;boost::numeric::ublas::unbounded_array&lt;double, std::allocator&lt;double&gt; &gt; &gt;]’ /usr/local/ots/4/boost-1.55.0/include/boost/serialization/split_member.hpp:54:52: required from ‘static void boost::serialization::detail::member_loader&lt;Archive, T&gt;::invoke(Archive&amp;, T&amp;, unsigned int) [with Archive = boost::archive::binary_iarchive; T = boost::serialization::nvp&lt;boost::numeric::ublas::unbounded_array&lt;double, std::allocator&lt;double&gt; &gt; &gt;]’ /usr/local/ots/4/boost-1.55.0/include/boost/serialization/split_member.hpp:69:38: required from ‘void boost::serialization::split_member(Archive&amp;, T&amp;, unsigned int) [with Archive = boost::archive::binary_iarchive; T = boost::serialization::nvp&lt;boost::numeric::ublas::unbounded_array&lt;double, std::allocator&lt;double&gt; &gt; &gt;]’ /usr/local/ots/4/boost-1.55.0/include/boost/serialization/nvp.hpp:89:5: required from ‘void boost::serialization::nvp&lt;T&gt;::serialize(Archive&amp;, unsigned int) [with Archive = boost::archive::binary_iarchive; T = boost::numeric::ublas::unbounded_array&lt;double, std::allocator&lt;double&gt; &gt;]’ /usr/local/ots/4/boost-1.55.0/include/boost/serialization/access.hpp:118:9: required from ‘static void boost::serialization::access::serialize(Archive&amp;, T&amp;, unsigned int) [with Archive = boost::archive::binary_iarchive; T = boost::serialization::nvp&lt;boost::numeric::ublas::unbounded_array&lt;double, std::allocator&lt;double&gt; &gt; &gt;]’ /usr/local/ots/4/boost-1.55.0/include/boost/serialization/serialization.hpp:69:69: required from ‘void boost::serialization::serialize(Archive&amp;, T&amp;, unsigned int) [with Archive = boost::archive::binary_iarchive; T = boost::serialization::nvp&lt;boost::numeric::ublas::unbounded_array&lt;double, std::allocator&lt;double&gt; &gt; &gt;]’ /usr/local/ots/4/boost-1.55.0/include/boost/serialization/serialization.hpp:128:27: required from ‘void boost::serialization::serialize_adl(Archive&amp;, T&amp;, unsigned int) [with Archive = boost::archive::binary_iarchive; T = boost::serialization::nvp&lt;boost::numeric::ublas::unbounded_array&lt;double, std::allocator&lt;double&gt; &gt; &gt;]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/detail/iserializer.hpp:377:13: required from ‘static void boost::archive::detail::load_non_pointer_type&lt;Archive&gt;::load_only::invoke(Archive&amp;, const T&amp;) [with T = boost::serialization::nvp&lt;boost::numeric::ublas::unbounded_array&lt;double, std::allocator&lt;double&gt; &gt; &gt;; Archive = boost::archive::binary_iarchive]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/detail/iserializer.hpp:439:28: required from ‘static void boost::archive::detail::load_non_pointer_type&lt;Archive&gt;::invoke(Archive&amp;, T&amp;) [with T = const boost::serialization::nvp&lt;boost::numeric::ublas::unbounded_array&lt;double, std::allocator&lt;double&gt; &gt; &gt;; Archive = boost::archive::binary_iarchive]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/detail/iserializer.hpp:592:24: required from ‘void boost::archive::load(Archive&amp;, T&amp;) [with Archive = boost::archive::binary_iarchive; T = const boost::serialization::nvp&lt;boost::numeric::ublas::unbounded_array&lt;double, std::allocator&lt;double&gt; &gt; &gt;]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/detail/common_iarchive.hpp:66:40: required from ‘void boost::archive::detail::common_iarchive&lt;Archive&gt;::load_override(T&amp;, int) [with T = const boost::serialization::nvp&lt;boost::numeric::ublas::unbounded_array&lt;double, std::allocator&lt;double&gt; &gt; &gt;; Archive = boost::archive::binary_iarchive]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/basic_binary_iarchive.hpp:70:7: required from ‘void boost::archive::basic_binary_iarchive&lt;Archive&gt;::load_override(T&amp;, int) [with T = const boost::serialization::nvp&lt;boost::numeric::ublas::unbounded_array&lt;double, std::allocator&lt;double&gt; &gt; &gt;; Archive = boost::archive::binary_iarchive]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/binary_iarchive_impl.hpp:50:9: required from ‘void boost::archive::binary_iarchive_impl&lt;Archive, Elem, Tr&gt;::load_override(T&amp;, int) [with T = const boost::serialization::nvp&lt;boost::numeric::ublas::unbounded_array&lt;double, std::allocator&lt;double&gt; &gt; &gt;; Archive = boost::archive::binary_iarchive; Elem = char; Tr = std::char_traits&lt;char&gt;]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/detail/interface_iarchive.hpp:60:9: required from ‘Archive&amp; boost::archive::detail::interface_iarchive&lt;Archive&gt;::operator&gt;&gt;(T&amp;) [with T = const boost::serialization::nvp&lt;boost::numeric::ublas::unbounded_array&lt;double, std::allocator&lt;double&gt; &gt; &gt;; Archive = boost::archive::binary_iarchive]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/detail/interface_iarchive.hpp:67:32: required from ‘Archive&amp; boost::archive::detail::interface_iarchive&lt;Archive&gt;::operator&amp;(T&amp;) [with T = const boost::serialization::nvp&lt;boost::numeric::ublas::unbounded_array&lt;double, std::allocator&lt;double&gt; &gt; &gt;; Archive = boost::archive::binary_iarchive]’ /usr/local/ots/4/boost-1.55.0/include/boost/numeric/ublas/matrix.hpp:1087:16: required from ‘void boost::numeric::ublas::matrix&lt;T, L, A&gt;::serialize(Archive&amp;, unsigned int) [with Archive = boost::archive::binary_iarchive; T = double; L = boost::numeric::ublas::basic_row_major&lt;&gt;; A = boost::numeric::ublas::unbounded_array&lt;double, std::allocator&lt;double&gt; &gt;]’ /usr/local/ots/4/boost-1.55.0/include/boost/serialization/access.hpp:118:9: required from ‘static void boost::serialization::access::serialize(Archive&amp;, T&amp;, unsigned int) [with Archive = boost::archive::binary_iarchive; T = boost::numeric::ublas::matrix&lt;double&gt;]’ /usr/local/ots/4/boost-1.55.0/include/boost/serialization/serialization.hpp:69:69: required from ‘void boost::serialization::serialize(Archive&amp;, T&amp;, unsigned int) [with Archive = boost::archive::binary_iarchive; T = boost::numeric::ublas::matrix&lt;double&gt;]’ /usr/local/ots/4/boost-1.55.0/include/boost/serialization/serialization.hpp:128:27: required from ‘void boost::serialization::serialize_adl(Archive&amp;, T&amp;, unsigned int) [with Archive = boost::archive::binary_iarchive; T = boost::numeric::ublas::matrix&lt;double&gt;]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/detail/iserializer.hpp:192:5: required from ‘void boost::archive::detail::iserializer&lt;Archive, T&gt;::load_object_data(boost::archive::detail::basic_iarchive&amp;, void*, unsigned int) const [with Archive = boost::archive::binary_iarchive; T = boost::numeric::ublas::matrix&lt;double&gt;]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/detail/iserializer.hpp:120:1: required from ‘class boost::archive::detail::iserializer&lt;boost::archive::binary_iarchive, boost::numeric::ublas::matrix&lt;double&gt; &gt;’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/detail/iserializer.hpp:387:13: required from ‘static void boost::archive::detail::load_non_pointer_type&lt;Archive&gt;::load_standard::invoke(Archive&amp;, const T&amp;) [with T = boost::numeric::ublas::matrix&lt;double&gt;; Archive = boost::archive::binary_iarchive]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/detail/iserializer.hpp:439:28: required from ‘static void boost::archive::detail::load_non_pointer_type&lt;Archive&gt;::invoke(Archive&amp;, T&amp;) [with T = boost::numeric::ublas::matrix&lt;double&gt;; Archive = boost::archive::binary_iarchive]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/detail/iserializer.hpp:592:24: required from ‘void boost::archive::load(Archive&amp;, T&amp;) [with Archive = boost::archive::binary_iarchive; T = boost::numeric::ublas::matrix&lt;double&gt;]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/detail/common_iarchive.hpp:66:40: required from ‘void boost::archive::detail::common_iarchive&lt;Archive&gt;::load_override(T&amp;, int) [with T = boost::numeric::ublas::matrix&lt;double&gt;; Archive = boost::archive::binary_iarchive]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/basic_binary_iarchive.hpp:70:7: required from ‘void boost::archive::basic_binary_iarchive&lt;Archive&gt;::load_override(T&amp;, int) [with T = boost::numeric::ublas::matrix&lt;double&gt;; Archive = boost::archive::binary_iarchive]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/binary_iarchive_impl.hpp:50:9: required from ‘void boost::archive::binary_iarchive_impl&lt;Archive, Elem, Tr&gt;::load_override(T&amp;, int) [with T = boost::numeric::ublas::matrix&lt;double&gt;; Archive = boost::archive::binary_iarchive; Elem = char; Tr = std::char_traits&lt;char&gt;]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/detail/interface_iarchive.hpp:60:9: required from ‘Archive&amp; boost::archive::detail::interface_iarchive&lt;Archive&gt;::operator&gt;&gt;(T&amp;) [with T = boost::numeric::ublas::matrix&lt;double&gt;; Archive = boost::archive::binary_iarchive]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/detail/interface_iarchive.hpp:67:32: required from ‘Archive&amp; boost::archive::detail::interface_iarchive&lt;Archive&gt;::operator&amp;(T&amp;) [with T = boost::numeric::ublas::matrix&lt;double&gt;; Archive = boost::archive::binary_iarchive]’ /home/max/otsquant/src/c++/data_access/data_access.cc:217:12: required from ‘void {anonymous}::FactorModel::serialize(Archive&amp;, unsigned int) [with Archive = boost::archive::binary_iarchive]’ /usr/local/ots/4/boost-1.55.0/include/boost/serialization/access.hpp:118:9: required from ‘static void boost::serialization::access::serialize(Archive&amp;, T&amp;, unsigned int) [with Archive = boost::archive::binary_iarchive; T = {anonymous}::<a class="missing wiki">FactorModel</a>]’ /usr/local/ots/4/boost-1.55.0/include/boost/serialization/serialization.hpp:69:69: required from ‘void boost::serialization::serialize(Archive&amp;, T&amp;, unsigned int) [with Archive = boost::archive::binary_iarchive; T = {anonymous}::<a class="missing wiki">FactorModel</a>]’ /usr/local/ots/4/boost-1.55.0/include/boost/serialization/serialization.hpp:128:27: required from ‘void boost::serialization::serialize_adl(Archive&amp;, T&amp;, unsigned int) [with Archive = boost::archive::binary_iarchive; T = {anonymous}::<a class="missing wiki">FactorModel</a>]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/detail/iserializer.hpp:192:5: required from ‘void boost::archive::detail::iserializer&lt;Archive, T&gt;::load_object_data(boost::archive::detail::basic_iarchive&amp;, void*, unsigned int) const [with Archive = boost::archive::binary_iarchive; T = {anonymous}::<a class="missing wiki">FactorModel</a>]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/detail/iserializer.hpp:120:1: required from ‘class boost::archive::detail::iserializer&lt;boost::archive::binary_iarchive, {anonymous}::FactorModel&gt;’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/detail/iserializer.hpp:387:13: required from ‘static void boost::archive::detail::load_non_pointer_type&lt;Archive&gt;::load_standard::invoke(Archive&amp;, const T&amp;) [with T = {anonymous}::<a class="missing wiki">FactorModel</a>; Archive = boost::archive::binary_iarchive]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/detail/iserializer.hpp:439:28: required from ‘static void boost::archive::detail::load_non_pointer_type&lt;Archive&gt;::invoke(Archive&amp;, T&amp;) [with T = {anonymous}::<a class="missing wiki">FactorModel</a>; Archive = boost::archive::binary_iarchive]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/detail/iserializer.hpp:592:24: required from ‘void boost::archive::load(Archive&amp;, T&amp;) [with Archive = boost::archive::binary_iarchive; T = {anonymous}::<a class="missing wiki">FactorModel</a>]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/detail/common_iarchive.hpp:66:40: required from ‘void boost::archive::detail::common_iarchive&lt;Archive&gt;::load_override(T&amp;, int) [with T = {anonymous}::<a class="missing wiki">FactorModel</a>; Archive = boost::archive::binary_iarchive]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/basic_binary_iarchive.hpp:70:7: required from ‘void boost::archive::basic_binary_iarchive&lt;Archive&gt;::load_override(T&amp;, int) [with T = {anonymous}::<a class="missing wiki">FactorModel</a>; Archive = boost::archive::binary_iarchive]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/binary_iarchive_impl.hpp:50:9: required from ‘void boost::archive::binary_iarchive_impl&lt;Archive, Elem, Tr&gt;::load_override(T&amp;, int) [with T = {anonymous}::<a class="missing wiki">FactorModel</a>; Archive = boost::archive::binary_iarchive; Elem = char; Tr = std::char_traits&lt;char&gt;]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/detail/interface_iarchive.hpp:60:9: required from ‘Archive&amp; boost::archive::detail::interface_iarchive&lt;Archive&gt;::operator&gt;&gt;(T&amp;) [with T = {anonymous}::<a class="missing wiki">FactorModel</a>; Archive = boost::archive::binary_iarchive]’ /home/max/otsquant/src/c++/data_access/cache_file.h:102:28: required from ‘bool ot::data_access::CacheFile::try_loading(T*) [with T = {anonymous}::<a class="missing wiki">FactorModel</a>]’ /home/max/otsquant/src/c++/data_access/data_access.cc:783:43: required from here /usr/local/ots/4/boost-1.55.0/include/boost/numeric/ublas/storage.hpp:276:14: warning: unused parameter ‘version’ [-Wunused-parameter] </p> <blockquote> <p> void serialize(Archive &amp; ar, const unsigned int version) </p> <blockquote> <p> <sup> </sup></p> </blockquote> </blockquote> <p> /usr/local/ots/4/boost-1.55.0/include/boost/numeric/ublas/storage.hpp: In instantiation of ‘void boost::numeric::ublas::unbounded_array&lt;T, ALLOC&gt;::serialize(Archive&amp;, unsigned int) [with Archive = boost::archive::binary_oarchive; T = double; ALLOC = std::allocator&lt;double&gt;]’: /usr/local/ots/4/boost-1.55.0/include/boost/serialization/access.hpp:118:9: required from ‘static void boost::serialization::access::serialize(Archive&amp;, T&amp;, unsigned int) [with Archive = boost::archive::binary_oarchive; T = boost::numeric::ublas::unbounded_array&lt;double, std::allocator&lt;double&gt; &gt;]’ /usr/local/ots/4/boost-1.55.0/include/boost/serialization/serialization.hpp:69:69: required from ‘void boost::serialization::serialize(Archive&amp;, T&amp;, unsigned int) [with Archive = boost::archive::binary_oarchive; T = boost::numeric::ublas::unbounded_array&lt;double, std::allocator&lt;double&gt; &gt;]’ /usr/local/ots/4/boost-1.55.0/include/boost/serialization/serialization.hpp:128:27: required from ‘void boost::serialization::serialize_adl(Archive&amp;, T&amp;, unsigned int) [with Archive = boost::archive::binary_oarchive; T = boost::numeric::ublas::unbounded_array&lt;double, std::allocator&lt;double&gt; &gt;]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/detail/oserializer.hpp:152:5: required from ‘void boost::archive::detail::oserializer&lt;Archive, T&gt;::save_object_data(boost::archive::detail::basic_oarchive&amp;, const void*) const [with Archive = boost::archive::binary_oarchive; T = boost::numeric::ublas::unbounded_array&lt;double, std::allocator&lt;double&gt; &gt;]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/detail/oserializer.hpp:101:1: required from ‘class boost::archive::detail::oserializer&lt;boost::archive::binary_oarchive, boost::numeric::ublas::unbounded_array&lt;double, std::allocator&lt;double&gt; &gt; &gt;’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/detail/oserializer.hpp:253:13: required from ‘static void boost::archive::detail::save_non_pointer_type&lt;Archive&gt;::save_standard::invoke(Archive&amp;, const T&amp;) [with T = boost::numeric::ublas::unbounded_array&lt;double, std::allocator&lt;double&gt; &gt;; Archive = boost::archive::binary_oarchive]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/detail/oserializer.hpp:308:28: required from ‘static void boost::archive::detail::save_non_pointer_type&lt;Archive&gt;::invoke(Archive&amp;, const T&amp;) [with T = boost::numeric::ublas::unbounded_array&lt;double, std::allocator&lt;double&gt; &gt;; Archive = boost::archive::binary_oarchive]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/detail/oserializer.hpp:525:24: required from ‘void boost::archive::save(Archive&amp;, T&amp;) [with Archive = boost::archive::binary_oarchive; T = const boost::numeric::ublas::unbounded_array&lt;double, std::allocator&lt;double&gt; &gt;]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/detail/common_oarchive.hpp:69:40: required from ‘void boost::archive::detail::common_oarchive&lt;Archive&gt;::save_override(T&amp;, int) [with T = const boost::numeric::ublas::unbounded_array&lt;double, std::allocator&lt;double&gt; &gt;; Archive = boost::archive::binary_oarchive]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/basic_binary_oarchive.hpp:75:7: required from ‘void boost::archive::basic_binary_oarchive&lt;Archive&gt;::save_override(const T&amp;, int) [with T = boost::numeric::ublas::unbounded_array&lt;double, std::allocator&lt;double&gt; &gt;; Archive = boost::archive::binary_oarchive]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/binary_oarchive_impl.hpp:51:9: required from ‘void boost::archive::binary_oarchive_impl&lt;Archive, Elem, Tr&gt;::save_override(T&amp;, int) [with T = const boost::numeric::ublas::unbounded_array&lt;double, std::allocator&lt;double&gt; &gt;; Archive = boost::archive::binary_oarchive; Elem = char; Tr = std::char_traits&lt;char&gt;]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/detail/interface_oarchive.hpp:63:9: required from ‘Archive&amp; boost::archive::detail::interface_oarchive&lt;Archive&gt;::operator&lt;&lt;(T&amp;) [with T = const boost::numeric::ublas::unbounded_array&lt;double, std::allocator&lt;double&gt; &gt;; Archive = boost::archive::binary_oarchive]’ /usr/local/ots/4/boost-1.55.0/include/boost/serialization/nvp.hpp:79:9: required from ‘void boost::serialization::nvp&lt;T&gt;::save(Archivex&amp;, unsigned int) const [with Archivex = boost::archive::binary_oarchive; T = boost::numeric::ublas::unbounded_array&lt;double, std::allocator&lt;double&gt; &gt;]’ /usr/local/ots/4/boost-1.55.0/include/boost/serialization/access.hpp:93:9: required from ‘static void boost::serialization::access::member_save(Archive&amp;, T&amp;, unsigned int) [with Archive = boost::archive::binary_oarchive; T = const boost::serialization::nvp&lt;boost::numeric::ublas::unbounded_array&lt;double, std::allocator&lt;double&gt; &gt; &gt;]’ /usr/local/ots/4/boost-1.55.0/include/boost/serialization/split_member.hpp:43:52: required from ‘static void boost::serialization::detail::member_saver&lt;Archive, T&gt;::invoke(Archive&amp;, const T&amp;, unsigned int) [with Archive = boost::archive::binary_oarchive; T = boost::serialization::nvp&lt;boost::numeric::ublas::unbounded_array&lt;double, std::allocator&lt;double&gt; &gt; &gt;]’ /usr/local/ots/4/boost-1.55.0/include/boost/serialization/split_member.hpp:69:38: required from ‘void boost::serialization::split_member(Archive&amp;, T&amp;, unsigned int) [with Archive = boost::archive::binary_oarchive; T = boost::serialization::nvp&lt;boost::numeric::ublas::unbounded_array&lt;double, std::allocator&lt;double&gt; &gt; &gt;]’ /usr/local/ots/4/boost-1.55.0/include/boost/serialization/nvp.hpp:89:5: required from ‘void boost::serialization::nvp&lt;T&gt;::serialize(Archive&amp;, unsigned int) [with Archive = boost::archive::binary_oarchive; T = boost::numeric::ublas::unbounded_array&lt;double, std::allocator&lt;double&gt; &gt;]’ /usr/local/ots/4/boost-1.55.0/include/boost/serialization/access.hpp:118:9: required from ‘static void boost::serialization::access::serialize(Archive&amp;, T&amp;, unsigned int) [with Archive = boost::archive::binary_oarchive; T = boost::serialization::nvp&lt;boost::numeric::ublas::unbounded_array&lt;double, std::allocator&lt;double&gt; &gt; &gt;]’ /usr/local/ots/4/boost-1.55.0/include/boost/serialization/serialization.hpp:69:69: required from ‘void boost::serialization::serialize(Archive&amp;, T&amp;, unsigned int) [with Archive = boost::archive::binary_oarchive; T = boost::serialization::nvp&lt;boost::numeric::ublas::unbounded_array&lt;double, std::allocator&lt;double&gt; &gt; &gt;]’ /usr/local/ots/4/boost-1.55.0/include/boost/serialization/serialization.hpp:128:27: required from ‘void boost::serialization::serialize_adl(Archive&amp;, T&amp;, unsigned int) [with Archive = boost::archive::binary_oarchive; T = boost::serialization::nvp&lt;boost::numeric::ublas::unbounded_array&lt;double, std::allocator&lt;double&gt; &gt; &gt;]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/detail/oserializer.hpp:245:13: required from ‘static void boost::archive::detail::save_non_pointer_type&lt;Archive&gt;::save_only::invoke(Archive&amp;, const T&amp;) [with T = boost::serialization::nvp&lt;boost::numeric::ublas::unbounded_array&lt;double, std::allocator&lt;double&gt; &gt; &gt;; Archive = boost::archive::binary_oarchive]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/detail/oserializer.hpp:308:28: required from ‘static void boost::archive::detail::save_non_pointer_type&lt;Archive&gt;::invoke(Archive&amp;, const T&amp;) [with T = boost::serialization::nvp&lt;boost::numeric::ublas::unbounded_array&lt;double, std::allocator&lt;double&gt; &gt; &gt;; Archive = boost::archive::binary_oarchive]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/detail/oserializer.hpp:525:24: required from ‘void boost::archive::save(Archive&amp;, T&amp;) [with Archive = boost::archive::binary_oarchive; T = const boost::serialization::nvp&lt;boost::numeric::ublas::unbounded_array&lt;double, std::allocator&lt;double&gt; &gt; &gt;]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/detail/common_oarchive.hpp:69:40: required from ‘void boost::archive::detail::common_oarchive&lt;Archive&gt;::save_override(T&amp;, int) [with T = const boost::serialization::nvp&lt;boost::numeric::ublas::unbounded_array&lt;double, std::allocator&lt;double&gt; &gt; &gt;; Archive = boost::archive::binary_oarchive]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/basic_binary_oarchive.hpp:75:7: required from ‘void boost::archive::basic_binary_oarchive&lt;Archive&gt;::save_override(const T&amp;, int) [with T = boost::serialization::nvp&lt;boost::numeric::ublas::unbounded_array&lt;double, std::allocator&lt;double&gt; &gt; &gt;; Archive = boost::archive::binary_oarchive]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/binary_oarchive_impl.hpp:51:9: required from ‘void boost::archive::binary_oarchive_impl&lt;Archive, Elem, Tr&gt;::save_override(T&amp;, int) [with T = const boost::serialization::nvp&lt;boost::numeric::ublas::unbounded_array&lt;double, std::allocator&lt;double&gt; &gt; &gt;; Archive = boost::archive::binary_oarchive; Elem = char; Tr = std::char_traits&lt;char&gt;]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/detail/interface_oarchive.hpp:63:9: required from ‘Archive&amp; boost::archive::detail::interface_oarchive&lt;Archive&gt;::operator&lt;&lt;(T&amp;) [with T = const boost::serialization::nvp&lt;boost::numeric::ublas::unbounded_array&lt;double, std::allocator&lt;double&gt; &gt; &gt;; Archive = boost::archive::binary_oarchive]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/detail/interface_oarchive.hpp:71:35: required from ‘Archive&amp; boost::archive::detail::interface_oarchive&lt;Archive&gt;::operator&amp;(T&amp;) [with T = const boost::serialization::nvp&lt;boost::numeric::ublas::unbounded_array&lt;double, std::allocator&lt;double&gt; &gt; &gt;; Archive = boost::archive::binary_oarchive]’ /usr/local/ots/4/boost-1.55.0/include/boost/numeric/ublas/matrix.hpp:1087:16: required from ‘void boost::numeric::ublas::matrix&lt;T, L, A&gt;::serialize(Archive&amp;, unsigned int) [with Archive = boost::archive::binary_oarchive; T = double; L = boost::numeric::ublas::basic_row_major&lt;&gt;; A = boost::numeric::ublas::unbounded_array&lt;double, std::allocator&lt;double&gt; &gt;]’ /usr/local/ots/4/boost-1.55.0/include/boost/serialization/access.hpp:118:9: required from ‘static void boost::serialization::access::serialize(Archive&amp;, T&amp;, unsigned int) [with Archive = boost::archive::binary_oarchive; T = boost::numeric::ublas::matrix&lt;double&gt;]’ /usr/local/ots/4/boost-1.55.0/include/boost/serialization/serialization.hpp:69:69: required from ‘void boost::serialization::serialize(Archive&amp;, T&amp;, unsigned int) [with Archive = boost::archive::binary_oarchive; T = boost::numeric::ublas::matrix&lt;double&gt;]’ /usr/local/ots/4/boost-1.55.0/include/boost/serialization/serialization.hpp:128:27: required from ‘void boost::serialization::serialize_adl(Archive&amp;, T&amp;, unsigned int) [with Archive = boost::archive::binary_oarchive; T = boost::numeric::ublas::matrix&lt;double&gt;]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/detail/oserializer.hpp:152:5: required from ‘void boost::archive::detail::oserializer&lt;Archive, T&gt;::save_object_data(boost::archive::detail::basic_oarchive&amp;, const void*) const [with Archive = boost::archive::binary_oarchive; T = boost::numeric::ublas::matrix&lt;double&gt;]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/detail/oserializer.hpp:101:1: required from ‘class boost::archive::detail::oserializer&lt;boost::archive::binary_oarchive, boost::numeric::ublas::matrix&lt;double&gt; &gt;’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/detail/oserializer.hpp:253:13: required from ‘static void boost::archive::detail::save_non_pointer_type&lt;Archive&gt;::save_standard::invoke(Archive&amp;, const T&amp;) [with T = boost::numeric::ublas::matrix&lt;double&gt;; Archive = boost::archive::binary_oarchive]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/detail/oserializer.hpp:308:28: required from ‘static void boost::archive::detail::save_non_pointer_type&lt;Archive&gt;::invoke(Archive&amp;, const T&amp;) [with T = boost::numeric::ublas::matrix&lt;double&gt;; Archive = boost::archive::binary_oarchive]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/detail/oserializer.hpp:525:24: required from ‘void boost::archive::save(Archive&amp;, T&amp;) [with Archive = boost::archive::binary_oarchive; T = const boost::numeric::ublas::matrix&lt;double&gt;]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/detail/common_oarchive.hpp:69:40: required from ‘void boost::archive::detail::common_oarchive&lt;Archive&gt;::save_override(T&amp;, int) [with T = const boost::numeric::ublas::matrix&lt;double&gt;; Archive = boost::archive::binary_oarchive]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/basic_binary_oarchive.hpp:75:7: required from ‘void boost::archive::basic_binary_oarchive&lt;Archive&gt;::save_override(const T&amp;, int) [with T = boost::numeric::ublas::matrix&lt;double&gt;; Archive = boost::archive::binary_oarchive]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/binary_oarchive_impl.hpp:51:9: required from ‘void boost::archive::binary_oarchive_impl&lt;Archive, Elem, Tr&gt;::save_override(T&amp;, int) [with T = const boost::numeric::ublas::matrix&lt;double&gt;; Archive = boost::archive::binary_oarchive; Elem = char; Tr = std::char_traits&lt;char&gt;]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/detail/interface_oarchive.hpp:63:9: required from ‘Archive&amp; boost::archive::detail::interface_oarchive&lt;Archive&gt;::operator&lt;&lt;(T&amp;) [with T = const boost::numeric::ublas::matrix&lt;double&gt;; Archive = boost::archive::binary_oarchive]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/detail/interface_oarchive.hpp:71:35: required from ‘Archive&amp; boost::archive::detail::interface_oarchive&lt;Archive&gt;::operator&amp;(T&amp;) [with T = boost::numeric::ublas::matrix&lt;double&gt;; Archive = boost::archive::binary_oarchive]’ /home/max/otsquant/src/c++/data_access/data_access.cc:217:12: required from ‘void {anonymous}::FactorModel::serialize(Archive&amp;, unsigned int) [with Archive = boost::archive::binary_oarchive]’ /usr/local/ots/4/boost-1.55.0/include/boost/serialization/access.hpp:118:9: required from ‘static void boost::serialization::access::serialize(Archive&amp;, T&amp;, unsigned int) [with Archive = boost::archive::binary_oarchive; T = {anonymous}::<a class="missing wiki">FactorModel</a>]’ /usr/local/ots/4/boost-1.55.0/include/boost/serialization/serialization.hpp:69:69: required from ‘void boost::serialization::serialize(Archive&amp;, T&amp;, unsigned int) [with Archive = boost::archive::binary_oarchive; T = {anonymous}::<a class="missing wiki">FactorModel</a>]’ /usr/local/ots/4/boost-1.55.0/include/boost/serialization/serialization.hpp:128:27: required from ‘void boost::serialization::serialize_adl(Archive&amp;, T&amp;, unsigned int) [with Archive = boost::archive::binary_oarchive; T = {anonymous}::<a class="missing wiki">FactorModel</a>]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/detail/oserializer.hpp:152:5: required from ‘void boost::archive::detail::oserializer&lt;Archive, T&gt;::save_object_data(boost::archive::detail::basic_oarchive&amp;, const void*) const [with Archive = boost::archive::binary_oarchive; T = {anonymous}::<a class="missing wiki">FactorModel</a>]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/detail/oserializer.hpp:101:1: required from ‘class boost::archive::detail::oserializer&lt;boost::archive::binary_oarchive, {anonymous}::FactorModel&gt;’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/detail/oserializer.hpp:253:13: required from ‘static void boost::archive::detail::save_non_pointer_type&lt;Archive&gt;::save_standard::invoke(Archive&amp;, const T&amp;) [with T = {anonymous}::<a class="missing wiki">FactorModel</a>; Archive = boost::archive::binary_oarchive]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/detail/oserializer.hpp:308:28: required from ‘static void boost::archive::detail::save_non_pointer_type&lt;Archive&gt;::invoke(Archive&amp;, const T&amp;) [with T = {anonymous}::<a class="missing wiki">FactorModel</a>; Archive = boost::archive::binary_oarchive]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/detail/oserializer.hpp:525:24: required from ‘void boost::archive::save(Archive&amp;, T&amp;) [with Archive = boost::archive::binary_oarchive; T = const {anonymous}::<a class="missing wiki">FactorModel</a>]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/detail/common_oarchive.hpp:69:40: required from ‘void boost::archive::detail::common_oarchive&lt;Archive&gt;::save_override(T&amp;, int) [with T = const {anonymous}::<a class="missing wiki">FactorModel</a>; Archive = boost::archive::binary_oarchive]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/basic_binary_oarchive.hpp:75:7: required from ‘void boost::archive::basic_binary_oarchive&lt;Archive&gt;::save_override(const T&amp;, int) [with T = {anonymous}::<a class="missing wiki">FactorModel</a>; Archive = boost::archive::binary_oarchive]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/binary_oarchive_impl.hpp:51:9: required from ‘void boost::archive::binary_oarchive_impl&lt;Archive, Elem, Tr&gt;::save_override(T&amp;, int) [with T = const {anonymous}::<a class="missing wiki">FactorModel</a>; Archive = boost::archive::binary_oarchive; Elem = char; Tr = std::char_traits&lt;char&gt;]’ /usr/local/ots/4/boost-1.55.0/include/boost/archive/detail/interface_oarchive.hpp:63:9: required from ‘Archive&amp; boost::archive::detail::interface_oarchive&lt;Archive&gt;::operator&lt;&lt;(T&amp;) [with T = const {anonymous}::<a class="missing wiki">FactorModel</a>; Archive = boost::archive::binary_oarchive]’ /home/max/otsquant/src/c++/data_access/cache_file.h:116:32: required from ‘void ot::data_access::CacheFile::save(const T&amp;) [with T = {anonymous}::<a class="missing wiki">FactorModel</a>]’ /home/max/otsquant/src/c++/data_access/data_access.cc:790:35: required from here /usr/local/ots/4/boost-1.55.0/include/boost/numeric/ublas/storage.hpp:276:14: warning: unused parameter ‘version’ [-Wunused-parameter] </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/10044 Trac 1.4.3 viboes Sun, 18 May 2014 18:40:21 GMT component changed; owner set https://svn.boost.org/trac10/ticket/10044#comment:1 https://svn.boost.org/trac10/ticket/10044#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">Gunter</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">uBLAS</span> </li> </ul> Ticket