Boost logo

Boost :

Subject: [boost] [serialization] BOOST_NO_EXCEPTIONS bug
From: Vladimir Prus (ghost_at_[hidden])
Date: 2009-04-14 11:56:14


Hi,

KDE folks has reported that trying to use Boost with exceptions
turned off results in duplicate symbol error from Boost.Serialization,
like so:

kdevclassbrowser. dir/allclassesfolder.o: In function
`boost::serialization::throw_exception(std::exception const&)':
/usr/include/boost/serialization/throw_exception.hpp:29: multiple definition
of `boost::serialization::throw_exception(std::exception const&)'

The reason is missing inline, which the attached patch fixes?
Robert, is this OK for trunk & release branches?

- Volodya




Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk