Boost logo

Boost Users :

From: Alessio Mochi (ale211734_at_[hidden])
Date: 2022-01-13 14:07:50


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 <
boost-users_at_[hidden]> 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
> Boost-users_at_[hidden]
> https://lists.boost.org/mailman/listinfo.cgi/boost-users
>



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net