Boost logo

Boost Users :

From: Bernd Speiser (bernd.speiser_at_[hidden])
Date: 2008-03-19 16:27:03


Hi all,

I am using boost::serialization (from version 1.34.1) within a larger
project and have just switched to the recent gcc 4.3.0 release. Now,
everything, including serialization code, works just fine on most of our
machines (ix86 under openSuSE 10.2). However, on a x86_64 system (also
openSuSE 10.2), the same code produces errors:

/usr/local/include/boost-1_34_1/boost/serialization/vector.hpp:126:
error: redefinition of 'struct
boost::serialization::implementation_level<std::vector<long int,
std::allocator<long int> > >'

/usr/local/include/boost-1_34_1/boost/serialization/vector.hpp:126:
error: previous definition of 'struct
boost::serialization::implementation_level<std::vector<long int,
std::allocator<long int> > >'

/usr/local/include/boost-1_34_1/boost/serialization/vector.hpp:126:
error: redefinition of 'struct
boost::serialization::implementation_level<std::vector<long unsigned
int, std::allocator<long unsigned int> > >'

/usr/local/include/boost-1_34_1/boost/serialization/vector.hpp:126:
error: previous definition of 'struct
boost::serialization::implementation_level<std::vector<long unsigned
int, std::allocator<long unsigned int> > >'

The error messages are NOT produced with boost version 1.33.1. The error
occur even if I include the vector.hpp file into a piece of code which
does not actually use serialization functionality.

Any ideas what to do?

Thanks for any help.
Best regards
Bernd

=======================================================================
Bernd Speiser
Institut für Organische Chemie
Auf der Morgenstelle 18
temporary address: Auf der Morgenstelle 15
D-72076 Tübingen
Germany
phone: +49-7071-2976205 (office) +49-7071-2976242 (laboratory)
        +49-7071-2972098 (secretary)
fax: +49-7071-295518
e-mail: bernd.speiser_at_[hidden]
Internet: http://www.uni-tuebingen.de/speiser
=======================================================================


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