boost serialisation 1.44 /linux /gcc 4.2.1 boost serialisation 1.44 /linux /gcc 4.2.1 boost serialisation 1.44 /linux /gcc 4.2.1 boost serialisation 1.44 /linux /gcc 4.2.1 boost serialisation 1.44 /linux /gcc 4.2.1 Re:boost serialisatio
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 ?
Bryce Lelbach wrote:
Looks like a problem with date_time, not serialization. I know 1.44 builds on GNU/Linux GCC 4.2.1 for me.
Can you make sure you have a file at /var/tmp/ma0/boost/boost_1_44_0/boost/serialization/nvp.hpp? If you do have it, could you show us?
I just downloaded boost 1.44 today:
The file: /var/tmp/ma0/boost/boost_1_44_0/boost/serialization/nvp.hpp exist.
This is what I have:
//===============================================================
#ifndef BOOST_SERIALIZATION_NVP_HPP
#define BOOST_SERIALIZATION_NVP_HPP
// MS compatible compilers support #pragma once
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
# pragma once
#endif
/////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
// nvp.hpp: interface for serialization system.
// (C) Copyright 2002 Robert Ramey - http://www.rrsd.com .
// Use, modification and distribution is subject to the Boost Software
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
// See http://www.boost.org for updates, documentation, and revision history.
#include <utility>
#include
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Sorry, afraid I'm out of ideas :( -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkyYEagACgkQO/fqqIuE2t4cjwCePUzCG3AQRQHP6+Qy78hTg6J5 7pwAmwWYy4iq5M7+RIxJmRNykrC10WPy =DDLN -----END PGP SIGNATURE-----
participants (2)
-
Avi Bahra
-
Bryce Lelbach aka wash