universal-crt

ABI-Compatibility of visual studio c-libraries

别等时光非礼了梦想. 提交于 2019-12-22 06:56:07
问题 It is my understanding that (with the notable exception of the switch from VS2015 to VS2017) Microsoft makes ABI breaking changes between each version of the Visual C++ toolchain. So if I want to distribute a binary version of a library, I have to distribute a separate version of that for each new version of VS that I want to support. Now my questions are: Is this is also true for pure c-libraries? Does the answer differ between dlls and static libraries? Is there an official policy from MS

How to circumvent Windows Universal CRT headers dependency on vcruntime.h

家住魔仙堡 提交于 2019-11-26 21:38:34
问题 In trying to evaluate Clang on Windows, utilizing the Windows Universal C Run-Time (...\Windows Kits\10\Include\10.0.15063.0\ucrt) I was immediately facing unexpected wall, in the form of an undisclosed and unexpected dependency on Microsoft's Visual Studio. Apparently even the simplest C program will not be able to compile as soon as you include any standard C header, because they all seem to end-up attempting to #include vcruntime.h (which is not part of the UCRT). My questions are: Is