Re: exception on boost serialization
John McCabe via Boost-users <[email protected]>
| Newsgroups | gmane.comp.lib.boost.user |
|---|---|
| Message-ID | <[email protected]> |
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 compile a small example and work correctly without exception. > I don't understand how solve the problem. Have you a suggest? > That's the sort of error you normally get if you've included a header where the boost namespace is declared, but the header file where throw_exception is declared has not been included. Does Visual Studio have an include browser where you can see what the hierarchy of included headers are?