Closed benjycui closed 1 year ago
Use the NuGet package to generate the headers instead of the pre-generated files from the SDK. These should be compatible with Clang.
(note that supporting Clang is a community effort and cppwinrt's official stance still is that it's unsupported iirc)
Yes, the version in the Windows SDK is generally quite old and should not be used. Please use the latest version available here:
Our project is compiled by clang, and we found that Windows.Foundation.h and bash.h is not compatible with clang.