The language / compiler issues look trivial to fix between VS2013 and VS2015 (few constexpr and inline namespace).
I assume that the main differences are in the injected exception handling code and symbol exports (/EXPORT: mangled names in the linker command line).
Where should I look then if for some reasons I would need to get this to compile under VS2013?
I remember there were more issues than that. For example, VS 2013 doesn’t fully support the C++11/14(/17) standard. And sorry, I don’t remember all the other issues I had… (since the master compiles just fine with VS 2015 anyway)
And nope, it has not been tested with VS 2017 (not yet)
Ahh yess. They are definitely easy instructions. It’s just that they don’t work
Which is why i tried to modify the cmake command by explicitly stating which version of visual studio to use…
In all attempts (including following the directions explicitly, or using the cpt.py file from https://github.com/vgvassilev/cling) I get a 'identifier “PRUNTIME_FUNCTION” is undefined" from obj.clingUtils project in file PlatformWin.cpp line 752. my winnt.h should have PRUNTIME_FUNCTION defined, along with RUNTIME_FUNCTION, but the error persists. Is there a particular update of VS2015 I should be using instead of Update 3? The same error exists using vs2017 as well.
cling-src\tools\cling\lib\Interpreter\DeclUnloader.cpp(876): error C2660: ‘clang::CodeGenerator::forgetDecl’ : function does not take 2 arguments
Edit: The windows directions should be updated to include the -G “Visual Studio 14 2015 Win64” argument to cmake. Doing so I was able to complete the cmake --build . step.