Disabled C4312 in the evaluate layer

We reinterpret cast int to T* (because someone might compare 0 to a
ptr), which causes 4312 to fire when x64 platform is set.

Fixes #148
This commit is contained in:
Martin Hořeňovský 2017-02-22 14:14:59 +01:00
parent 9e2616aeac
commit a8a6b3159d

View File

@ -11,6 +11,7 @@
#ifdef _MSC_VER
#pragma warning(push)
#pragma warning(disable:4389) // '==' : signed/unsigned mismatch
#pragma warning(disable:4312) // Converting int to T* using reinterpret_cast (issue on x64 platform)
#endif
#include <cstddef>