From 46e5d76fd31c7fffb7e0f81dcb07b00d1050533e Mon Sep 17 00:00:00 2001 From: Phillip Stephens Date: Tue, 12 Jul 2016 01:10:52 -0700 Subject: [PATCH] Temporary fix for Visual Studio Update 3 compatibility --- atdna/main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/atdna/main.cpp b/atdna/main.cpp index 769643c..dfa5ecc 100644 --- a/atdna/main.cpp +++ b/atdna/main.cpp @@ -2372,6 +2372,9 @@ int main(int argc, const char** argv) "-fsyntax-only", "-std=c++14", "-D__atdna__=1", +#if _WIN32 + "-D__is_assignable(a,b)=false", /* HACK HACKITY HACK HACK: Microsoft, play nice with the other kids*/ +#endif "-I" XSTR(INSTALL_PREFIX) "/lib/clang/" CLANG_VERSION_STRING "/include", "-I" XSTR(INSTALL_PREFIX) "/include/Athena"}; for (int a=1 ; a