This issue is unfortunately out of our control as it’s a check that is done by Visual Studio. Thanks for providing your workaround.
There are some other alternatives:
An alternative is to use the VS2015 toolset by switching to this in “Configuration Properties->General->Platform Toolset”
Another alternative if you are using CMake is to use the ComputeCppCompilerChecks.cmake file to deal with the versioning issue by adding this to the FindComputeCpp.cmake file:
include(ComputeCppCompilerChecks)
I think you are saying I should use the v140 (2015) toolset, but as I understand it, it is binary compatible with the v141 (and v142 for that matter) toolset, so it shouldn’t matter, really? That being said I can see its the microsoft header doing the sanity check, so I see what you mean. My problem is solved for now by switching toolsets (to v140), I’ll look into it in more detail later, thanks for the quick response!