winrt/Windows.Foundation.h and winrt/bash.h is not compatible with clang compiler
benjycui opened this issue · comments
Xiaobin Cui commented
Charles Milette commented
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)
Kenny Kerr commented
Yes, the version in the Windows SDK is generally quite old and should not be used. Please use the latest version available here: