Temporary fix for Visual Studio Update 3 compatibility

This commit is contained in:
Phillip Stephens 2016-07-12 01:10:52 -07:00
parent 4e61051354
commit 46e5d76fd3
1 changed files with 3 additions and 0 deletions

View File

@ -2372,6 +2372,9 @@ int main(int argc, const char** argv)
"-fsyntax-only", "-fsyntax-only",
"-std=c++14", "-std=c++14",
"-D__atdna__=1", "-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) "/lib/clang/" CLANG_VERSION_STRING "/include",
"-I" XSTR(INSTALL_PREFIX) "/include/Athena"}; "-I" XSTR(INSTALL_PREFIX) "/include/Athena"};
for (int a=1 ; a<argc ; ++a) for (int a=1 ; a<argc ; ++a)