ComputeCpp 2.1 doesn't compile with Visual Studio 2019 v16.7.2

Yes, this is a known issue. Basically, to use clang with the Windows SDK you need a specific version. MSVC 19.27 requires clang 10. Our compiler is based on clang 8 and _ALLOW_COMPILER_AND_STL_VERSION_MISMATCH is required to use the device on Windows, so the template automatically adds this flag for you.

Could you confirm which toolset are you using? I am looking for the number in that I mentioned in the previous post.