Boost logo

Boost Users :

Subject: [Boost-users] boost serialisation 1.44 /linux /gcc 4.2.1 compilation problems
From: avibahra (avibahra_at_[hidden])
Date: 2010-09-20 06:05:48


Having problems with boost 1.44 and serialisation on Linux, gcc 4.2.1
I am migrating from boost 1.43 to boost 1.44
and get compiler errors of the form:

In file included from ACore/src/TimeSeries.hpp:13,
                 from ACore/test/TestTimeSeries.cpp:16:
/var/tmp/ma0/boost/boost_1_44_0/boost/date_time/posix_time/time_serialize.hpp:
In function ‘void boost::serialization::save(Archive&, const
boost::posix_time::time_duration&, unsigned int)’:
/var/tmp/ma0/boost/boost_1_44_0/boost/date_time/posix_time/time_serialize.hpp:42:
error: there are no arguments to ‘make_nvp’ that depend on a template
parameter, so a declaration of ‘make_nvp’ must be available

This is surprising as boost 1.44 release notes makes no mention of any
changes to boost serialisation ?

Can anyone help ?

   Best regards,
Ta,
    Avi


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