Boost logo

Boost Users :

Subject: Re: [Boost-users] boost error serialization
From: Matthias Troyer (troyer_at_[hidden])
Date: 2010-08-14 20:11:01


On 14 Aug 2010, at 17:04, Jack Bryan wrote:
>
> I got more errors:
> -----------------------------------------------
>
> /lustre/boost_2010_6_8/boost_1_43_0/boost/config/stdlib/libstdcpp3.hpp:40:1: warning: "BOOST_HAS_THREADS" redefined
> <command line>:1:1: warning: this is the location of the previous definition
> /lustre/boost_2010_6_8/boost_1_43_0/boost/serialization/access.hpp: In static member function âstatic void boost::serialization::access::serialize(Archive&, T&, unsigned int) [with Archive = boost::mpi::packed_iarchive, T = int*]â:
> /lustre/boost_2010_6_8/boost_1_43_0/boost/serialization/serialization.hpp:74: instantiated from âvoid boost::serialization::serialize(Archive&, T&, unsigned int) [with Archive = boost::mpi::packed_iarchive, T = int*]â
> /lustre/boost_2010_6_8/boost_1_43_0/boost/serialization/serialization.hpp:133: instantiated from âvoid boost::serialization::serialize_adl(Archive&, T&, unsigned int) [with Archive = boost::mpi::packed_iarchive, T = int*]â
> /lustre/boost_2010_6_8/boost_1_43_0/boost/archive/detail/iserializer.hpp:182: instantiated from âvoid boost::archive::detail::iserializer<Archive, T>::load_object_data(boost::archive::detail::basic_iarchive&, void*, unsigned int) const [with Archive = boost::mpi::packed_iarchive, T = int*]â
> myNetplanScheduler.cpp:448: instantiated from here
> /lustre/boost_2010_6_8/boost_1_43_0/boost/serialization/access.hpp:118: error: request for member âserializeâ in âtâ, which is of non-class type âint*â
> /lustre/boost_2010_6_8/boost_1_43_0/boost/serialization/access.hpp: In static member function âstatic void boost::serialization::access::serialize(Archive&, T&, unsigned int) [with Archive = boost::mpi::packed_iarchive, T = double]â:
> /lustre/boost_2010_6_8/boost_1_43_0/boost/serialization/serialization.hpp:74: instantiated from âvoid boost::serialization::serialize(Archive&, T&, unsigned int) [with Archive = boost::mpi::packed_iarchive, T = double]â
> /lustre/boost_2010_6_8/boost_1_43_0/boost/serialization/serialization.hpp:133: instantiated from âvoid boost::serialization::serialize_adl(Archive&, T&, unsigned int) [with Archive = boost::mpi::packed_iarchive, T = double]â
> /lustre/boost_2010_6_8/boost_1_43_0/boost/archive/detail/iserializer.hpp:182: instantiated from âvoid boost::archive::detail::iserializer<Archive, T>::load_object_data(boost::archive::detail::basic_iarchive&, void*, unsigned int) const [with Archive = boost::mpi::packed_iarchive, T = double]â
> myNetplanScheduler.cpp:448: instantiated from here
> /lustre/boost_2010_6_8/boost_1_43_0/boost/serialization/access.hpp:118: error: request for member âserializeâ in âtâ, which is of non-class type âdoubleâ
>
> ..................
> ---------------------------------------------
>
> Any help is appreciated.

Hi Jack,

how often do we have to tell you that it is impossible to help if you don't post any code!

Matthias



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net