Public bug reported:
Binary package hint: libboost-serialization1.35-dev
It appears that the libbost-serialization headers throw a compiler error
and fail to compile. GCC 4.3.2 throws the following error message when
trying to compile any code that includes the boost serialization header:
r...@kubuntu:test2$ g++ test.cc
In file included from test.cc:2:
/usr/include/boost/serialization/list.hpp:75: error: redefinition of ‘struct
boost::serialization::implementation_level<std::list<long int,
std::allocator<long int> > >’
/usr/include/boost/serialization/list.hpp:75: error: previous definition of
‘struct boost::serialization::implementation_level<std::list<long int,
std::allocator<long int> > >’
/usr/include/boost/serialization/list.hpp:75: error: redefinition of ‘struct
boost::serialization::implementation_level<std::list<long unsigned int,
std::allocator<long unsigned int> > >’
/usr/include/boost/serialization/list.hpp:75: error: previous definition of
‘struct boost::serialization::implementation_level<std::list<long unsigned int,
std::allocator<long unsigned int> > >’
To reproduce the error just try to compile the following C++ program:
#include <boost/serialization/list.hpp>
int main(void)
{
return 0;
}
** Affects: boost1.35 (Ubuntu)
Importance: Undecided
Status: New
--
boost serialization library throws compiler error
https://bugs.launchpad.net/bugs/318449
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs