[odb-users] Compile error , Memory leak detection enabled

Lloyd lloydkl.tech at gmail.com
Tue Mar 7 23:42:40 EST 2017


Hi,

When I compile the application with Visual Studio CRT with memory leak
detection (https://msdn.microsoft.com/en-us/library/x98tx3cf.aspx) I get
the following error from ODB. Is it a problem associated with ODB?

Libraries\odb\libodb-2.4.0\odb/pointer-traits.hxx(156): error C2059: syntax
error: 'constant'
Libraries\odb\libodb-2.4.0\odb/pointer-traits.hxx(160): note: see reference
to class template instantiation 'odb::pointer_traits<T*>' being compiled

Thanks,
  Lloyd


More information about the odb-users mailing list