Re: [Boost-users] exception on boost serialization

2022-01-13 Thread Gavin Lambert via Boost-users
On 14/01/2022 03:07, Alessio Mochi wrote: 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 Do the same trick to get the list of includes in the working project. See what's different between

Re: [Boost-users] exception on boost serialization

2022-01-13 Thread Alessio Mochi via Boost-users
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@lists.boost.org> ha scritto: > On 12/01/2022 09:04, Alessio

Re: [Boost-users] exception on boost serialization

2022-01-12 Thread John Maddock via Boost-users
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 he

Re: [Boost-users] exception on boost serialization

2022-01-12 Thread John McCabe via Boost-users
On 12/01/2022 09:04, Alessio Mochi via Boost-users wrote: Hello Gavin, I have not defined BOOST_NO_EXCEPTIONS. Interesting. The place where you're getting the compilation error is within this section: #ifndef BOOST_NO_EXCEPTIONS #include #endif namespace boost { namespace se

Re: [Boost-users] exception on boost serialization

2022-01-12 Thread Alessio Mochi via Boost-users
Hello John, I tried I get no error. Il giorno mer 12 gen 2022 alle ore 10:12 John Maddock via Boost-users < boost-users@lists.boost.org> ha scritto: > On 12/01/2022 09:04, Alessio Mochi via Boost-users wrote: > > Hello Gavin, > > I have not defined BOOST_NO_EXCEPTIONS. > > I don't know why a smal

Re: [Boost-users] exception on boost serialization

2022-01-12 Thread John Maddock via Boost-users
On 12/01/2022 09:04, Alessio Mochi via Boost-users wrote: Hello Gavin, I have not defined BOOST_NO_EXCEPTIONS. I don't know why a small project with qt and boost serialization work and this one no. I tried to add #include before include the serialization header, I don't know if it's correct b

Re: [Boost-users] exception on boost serialization

2022-01-12 Thread Alessio Mochi via Boost-users
Hello Gavin, I have not defined BOOST_NO_EXCEPTIONS. I don't know why a small project with qt and boost serialization work and this one no. I tried to add #include before include the serialization header, I don't know if it's correct but seem to fix the problem Il giorno mer 12 gen 2022 alle or

Re: [Boost-users] exception on boost serialization

2022-01-11 Thread Gavin Lambert via Boost-users
On 12/01/2022 10:22, Alessio Mochi wrote: Yes, this is a piece of included hierarchy error is show. Thanks in advance [...] 1>Note: including file:  E:\boost_1_78_0\boost/serialization/throw_exception.hpp 1>E:\boost_1_78_0\boost/serialization/throw_exception.hpp(30,14): error C2039: '

Re: [Boost-users] exception on boost serialization

2022-01-11 Thread Alessio Mochi via Boost-users
Yes, this is a piece of included hierarchy error is show. Thanks in advance 1>Note: including file: E:\DentalCad2.0-x64-vs2022\Common\Lib\vcglib\vcg\space\deprecated_point3.h 1>Note: including file: C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt\assert.h 1>Note: including

Re: [Boost-users] exception on boost serialization

2022-01-11 Thread John McCabe via Boost-users
On 11/01/2022 10:22, Alessio Mochi via Boost-users wrote: Hello, I can't resolve my exception when I compile my qt project with visual studio 2022. Error C2039 'throw_exception': is not a member of 'boost' DentalCad E:\boost_1_78_0\boost\serialization\throw_exception.hpp 30 I tried a compil