[odb-users] Compiler Warning (level 2) C4275
Dev Programmer
devpro2k19 at gmail.com
Tue Mar 19 08:52:50 EDT 2019
Hello
When I try to build libodb in my Visual Studio 2015 I get
compiler warning (level 2) C4275 for class "odb::exception".
See
https://docs.microsoft.com/ru-ru/cpp/error-messages/compiler-warnings/compiler-warning-level-2-c4275?view=vs-2017
// -- CODE --
namespace odb
{
struct LIBODB_EXPORT exception: std::exception, details::shared_base
{
virtual const char*
what () const throw () = 0;
virtual exception*
clone () const = 0;
};
namespace common
{
using odb::exception;
}
}
// -- END CODE --
Parent class std::exception was not exported.
More information about the odb-users
mailing list