[llvm-bugs] [Bug 36428] New: WinSDK's Windows.ApplicationModel.h header breaks clang-cl builds
via llvm-bugs
llvm-bugs at lists.llvm.org
Sun Feb 18 16:52:06 PST 2018
https://bugs.llvm.org/show_bug.cgi?id=36428
Bug ID: 36428
Summary: WinSDK's Windows.ApplicationModel.h header breaks
clang-cl builds
Product: clang
Version: 5.0
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: Frontend
Assignee: unassignedclangbugs at nondot.org
Reporter: charles.milette at gmail.com
CC: llvm-bugs at lists.llvm.org
Including this header in a build done with the Visual Studio LLVM-2014 toolset
generates over 20 errors. However it builds fine with MSVC.
I have a minimal repro on my machine here:
https://gist.github.com/sylveon/6154db58240c901e2f043b865a7f9963
Try changing the toolset to LLVM-2014 in the Visual Studio project settings and
building this project. It should fail with errors related to some enum
declarations.
If you change it back to MSVC, it builds and executes fine.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180219/4bfb637c/attachment.html>
More information about the llvm-bugs
mailing list