[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> > >'
- Next message: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #1076: compile error: disconnecting struct with operator()() doesn't work in VS2005 SP1"
- Previous message: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #1315: iterator_adaptor does not work with incomplete Value types"
- Next in thread: Boost C++ Libraries: "Re: [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> > >'"
- Reply: Boost C++ Libraries: "Re: [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> > >'"
- Reply: Boost C++ Libraries: "Re: [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> > >'"
- Reply: Boost C++ Libraries: "Re: [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> > >'"
- Reply: Boost C++ Libraries: "Re: [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> > >'"
- Reply: Boost C++ Libraries: "Re: [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> > >'"
- Reply: Boost C++ Libraries: "Re: [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> > >'"
- Reply: Boost C++ Libraries: "Re: [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> > >'"
- Reply: Boost C++ Libraries: "Re: [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> > >'"
- Reply: Boost C++ Libraries: "Re: [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> > >'"
- Reply: Boost C++ Libraries: "Re: [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> > >'"
#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.
- Next message: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #1076: compile error: disconnecting struct with operator()() doesn't work in VS2005 SP1"
- Previous message: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #1315: iterator_adaptor does not work with incomplete Value types"
- Next in thread: Boost C++ Libraries: "Re: [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> > >'"
- Reply: Boost C++ Libraries: "Re: [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> > >'"
- Reply: Boost C++ Libraries: "Re: [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> > >'"
- Reply: Boost C++ Libraries: "Re: [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> > >'"
- Reply: Boost C++ Libraries: "Re: [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> > >'"
- Reply: Boost C++ Libraries: "Re: [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> > >'"
- Reply: Boost C++ Libraries: "Re: [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> > >'"
- Reply: Boost C++ Libraries: "Re: [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> > >'"
- Reply: Boost C++ Libraries: "Re: [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> > >'"
- Reply: Boost C++ Libraries: "Re: [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> > >'"
- Reply: Boost C++ Libraries: "Re: [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> > >'"
This archive was generated by hypermail 2.1.7
: 2017-02-16 18:49:57 UTC