Re: exception on boost serialization

Alessio Mochi via Boost-users <[email protected]>
Newsgroups gmane.comp.lib.boost.user
Message-ID <CAHUGow069QG2BeewA5vKJyj94Zh0XkcUR2BX69zAyNrr15BgmA@mail.gmail.com>
I don't understand why in another small project with qt and where I use
boost serialization I get no exception without include
boost/throw_exception.hpp

Il giorno mer 12 gen 2022 alle ore 17:35 John Maddock via Boost-users <
[email protected]> ha scritto:

> 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
>
> _______________________________________________
> Boost-users mailing list
> [email protected]
> https://lists.boost.org/mailman/listinfo.cgi/boost-users
>

_______________________________________________
Boost-users mailing list
[email protected]
https://lists.boost.org/mailman/listinfo.cgi/boost-users
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.