[Boost-bugs] [Boost C++ Libraries] #1857: IA64, GCC 4.3, redefinition of 'struct boost::serialization::implementation_level<std::vector<long int, std::allocator<long int> > >'

Subject: [Boost-bugs] [Boost C++ Libraries] #1857: IA64, GCC 4.3, redefinition of 'struct boost::serialization::implementation_level<std::vector<long int, std::allocator<long int> > >'
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-04-24 15:13:33


#1857: IA64, GCC 4.3, redefinition of 'struct
boost::serialization::implementation_level<std::vector<long int,
std::allocator<long int> > >'
------------------------------+---------------------------------------------
 Reporter: Stefan Eckardt | Owner: ramey
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: serialization
  Version: Boost 1.35.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------------------------------
 Hi,

 I get the following error message compiling with gcc 4.3.0 on ia64:
 {{{
 /usr/local/include/boost/serialization/vector.hpp:185: error: redefinition
 of 'struct boost::serialization::implementation_level<std::vector<long
 int, std::allocator<long int> > >'
 /usr/local/include/boost/serialization/vector.hpp:185: error: previous
 definition of 'struct
 boost::serialization::implementation_level<std::vector<long int,
 std::allocator<long int> > >'
 /usr/local/include/boost/serialization/vector.hpp:185: error: redefinition
 of 'struct boost::serialization::implementation_level<std::vector<long
 unsigned int, std::allocator<long unsigned int> > >'
 /usr/local/include/boost/serialization/vector.hpp:185: error: previous
 definition of 'struct
 boost::serialization::implementation_level<std::vector<long unsigned int,
 std::allocator<long unsigned int> > >'
 }}}
 This error can be reproduced with this small example
 {{{
 #include <boost/serialization/vector.hpp>
 int main()
 {
         return 0;
 }
 }}}
 Removing the lines
 {{{
     BOOST_SERIALIZATION_COLLECTION_TRAITS_HELPER(signed long, C) \
     BOOST_SERIALIZATION_COLLECTION_TRAITS_HELPER(unsigned long, C) \
 }}}
 from boost/serialization/collection_traits.hpp solves this problem for me.

 Thanks for considering this issue.

 Stefan

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1857>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.


This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:57 UTC