Re: exception on boost serialization

John Maddock via Boost-users <[email protected]>
Newsgroups gmane.comp.lib.boost.user
Message-ID <[email protected]>
On 12/01/2022 09:04, Alessio Mochi via Boost-users wrote:
> Hello Gavin,
> I have not defined BOOST_NO_EXCEPTIONS.

Ahhh, looks like our bug, I've just filed a PR to fix this here: 
https://github.com/boostorg/serialization/pull/250

The minimal header to #include prior to whatever serialization header 
you're using is boost/throw_exception.hpp BTW. Serialization should be 
doing that anyway but isn't :(

The reason this hasn't been spotted until now, is that 
boost/throw_exception.hpp gets #included by very nearly everything in 
boost so it's an easy one to miss.

HTH, John.



-- 
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.