[odb-users] ODB_MSC_VER

Tiago Macarios tiagomacarios at gmail.com
Tue Jul 19 12:31:00 EDT 2016


Thanks Boris

On Tue, Jul 19, 2016 at 8:37 AM, Boris Kolpackov <boris at codesynthesis.com>
wrote:

> Hi Tiago,
>
> Tiago Macarios <tiagomacarios at gmail.com> writes:
>
> > Just out of curiosity why some of the test pass the Visual Studio version
> > to odb?
> >
> >  odb.exe [...] -DODB_MSC_VER=1700 [...]
>
> In tests when compiling a header with the ODB compiler we often need to
> know whether this is a C++11 build or not. ODB_MSC_VER is how we convey
> this information when building with VS. You can see how it is used in
> odb-tests/libcommon/common/config-vc.h.
>
> Boris
>


More information about the odb-users mailing list