Boost logo

Ublas :

From: Nico Galoppo (nico_at_[hidden])
Date: 2007-07-05 10:33:24


Hi,

I applied Gunther's serialization patch
(http://freenet-homepage.de/guwi17/ublas/patches/) to my state of the ublas
tree. Despite the fact that it is a somewhat older CVS snapshot (maybe a month
or two old), there were no conflicts when I applied the patch.

Trying to compile Gunther's sample app (ex_serial.cpp) thought, I got the
following compilation errors (MSVC 8.0).

Any help appreciated!

--nico

c:\code\test\serialization\ex_serial.cpp(44) : error C2039: 'size' : is
not a member of 'boost::archive::version_type'

1> c:\code\boost\boost\archive\basic_archive.hpp(29) : see
declaration of 'boost::archive::version_type'

1> c:\code\boost\boost\archive\basic_text_oprimitive.hpp(84) :
see reference to function template instantiation
'std::basic_ostream<_Elem,_Traits> &operator
<<<char,std::char_traits<char>,T>(std::basic_ostream<_Elem,_Traits>
&,const V &)' being compiled

1> with

1> [

1> _Elem=char,

1> _Traits=std::char_traits<char>,

1> T=const boost::archive::version_type,

1> V=const boost::archive::version_type

1> ]

1> c:\code\boost\boost\archive\text_oarchive.hpp(54) : see
reference to function template instantiation 'void
boost::archive::basic_text_oprimitive<OStream>::save<T>(const T &)'
being compiled

1> with

1> [

1> OStream=std::ostream,

1> T=const boost::archive::version_type

1> ]

1> c:\code\boost\boost\archive\detail\oserializer.hpp(95) : see
reference to function template instantiation 'void
boost::archive::text_oarchive_impl<archive>::save<T>(const T &)' being
compiled

1> with

1> [

1> Archive=boost::archive::text_oarchive,

1> T=const boost::archive::version_type

1> ]

1> c:\code\boost\boost\archive\detail\oserializer.hpp(232) : see
reference to function template instantiation 'void
boost::archive::save_access::save_primitive<archive,T>(Archive &,const T
&)' being compiled

1> with

1> [

1> Archive=boost::archive::text_oarchive,

1> T=const boost::archive::version_type

1> ]

1> c:\code\boost\boost\archive\detail\oserializer.hpp(231) :
while compiling class template member function 'void
boost::archive::detail::save_non_pointer_type<archive,T>::save_primitive
::invoke(Archive &,const boost::archive::version_type &)'

1> with

1> [

1> Archive=boost::archive::text_oarchive,

1> T=boost::archive::version_type

1> ]

1> c:\code\boost\boost\archive\detail\oserializer.hpp(309) : see
reference to class template instantiation
'boost::archive::detail::save_non_pointer_type<archive,T>::save_primitiv
e' being compiled

1> with

1> [

1> Archive=boost::archive::text_oarchive,

1> T=boost::archive::version_type

1> ]

1> c:\code\boost\boost\archive\detail\oserializer.hpp(297) :
while compiling class template member function 'void
boost::archive::detail::save_non_pointer_type<archive,T>::invoke(Archive
&,const boost::archive::version_type &)'

1> with

1> [

1> Archive=boost::archive::text_oarchive,

1> T=boost::archive::version_type

1> ]

1> c:\code\boost\boost\archive\detail\oserializer.hpp(523) : see
reference to class template instantiation
'boost::archive::detail::save_non_pointer_type<archive,T>' being
compiled

1> with

1> [

1> Archive=boost::archive::text_oarchive,

1> T=boost::archive::version_type

1> ]

1> c:\code\boost\boost\archive\detail\common_oarchive.hpp(63) :
see reference to function template instantiation 'void
boost::archive::save<archive,const T>(Archive &,const T &)' being
compiled

1> with

1> [

1> Archive=boost::archive::text_oarchive,

1> T=const boost::archive::version_type

1> ]

1> c:\code\boost\boost\archive\basic_text_oarchive.hpp(75) : see
reference to function template instantiation 'void
boost::archive::detail::common_oarchive<archive>::save_override<T>(T
&,int)' being compiled

1> with

1> [

1> Archive=boost::archive::text_oarchive,

1> T=const boost::archive::version_type

1> ]

1> c:\code\boost\boost\archive\detail\interface_oarchive.hpp(79)
: see reference to function template instantiation 'void
boost::archive::basic_text_oarchive<archive>::save_override<T>(T &,int)'
being compiled

1> with

1> [

1> Archive=boost::archive::text_oarchive,

1> T=const boost::archive::version_type

1> ]

1> c:\code\boost\boost\archive\detail\common_oarchive.hpp(36) :
see reference to function template instantiation 'Archive
&boost::archive::detail::interface_oarchive<archive>::operator <<<const
boost::archive::version_type>(T &)' being compiled

1> with

1> [

1> Archive=boost::archive::text_oarchive,

1> T=const boost::archive::version_type

1> ]

1> c:\code\boost\boost\archive\detail\common_oarchive.hpp(35) :
while compiling class template member function 'void
boost::archive::detail::common_oarchive<archive>::vsave(const
boost::archive::version_type)'

1> with

1> [

1> Archive=boost::archive::text_oarchive

1> ]

1> c:\code\boost\boost\archive\basic_text_oarchive.hpp(45) : see
reference to class template instantiation
'boost::archive::detail::common_oarchive<archive>' being compiled

1> with

1> [

1> Archive=boost::archive::text_oarchive

1> ]

1> c:\code\boost\boost\archive\text_oarchive.hpp(42) : see
reference to class template instantiation
'boost::archive::basic_text_oarchive<archive>' being compiled

1> with

1> [

1> Archive=boost::archive::text_oarchive

1> ]

1> c:\code\boost\boost\archive\text_oarchive.hpp(82) : see
reference to class template instantiation
'boost::archive::text_oarchive_impl<archive>' being compiled

1> with

1> [

1> Archive=boost::archive::text_oarchive

1> ]

-- 
Nico Galoppo        UNC-CH PhD.student        http://www.ngaloppo.org
                    cell +1-919-360-5056