[llvm-bugs] [Bug 33251] New: Don't include Windows.h within the headers
llvm-bugs at lists.llvm.org
Wed May 31 16:16:46 PDT 2017
Bug ID: 33251
Summary: Don't include Windows.h within the headers
OS: Windows NT
Component: All Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: eric at efcs.ca
CC: llvm-bugs at lists.llvm.org, mclow.lists at gmail.com
There are a ton of bugs caused by libc++ including windows.h in
<__threading_support>. In the long run we need to remove any dependancies on
Windows.h inside libc++ headers.
This will require re-writing large parts of <__threading_support> to use dummy
types in place of the Windows types, and then casting them to the actual type
and calling the windows API's inside the library. For example SRWLOCK.
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-bugs