[odb-users] Compiler Warning (level 2) C4275

Boris Kolpackov boris at codesynthesis.com
Wed Mar 20 09:38:12 EDT 2019

Dev Programmer <devpro2k19 at gmail.com> writes:

> When I try to build libodb in my Visual Studio 2015 I get
> compiler warning (level 2) C4275 for class "odb::exception".
> [...]
> namespace odb
> {
>   struct LIBODB_EXPORT exception: std::exception, details::shared_base
> [...]
> Parent class std::exception was not exported.

These should be silenced by the <odb/pre.hxx? header that is included
in every ODB source file.

Can you try the latest pre-release as described in these instructions
and see if you still have this issue:


More information about the odb-users mailing list