<div dir="ltr"><div>To what extent does clang try to make itself compatible with MSVC headers, for</div><div>use of clang on Windows? I've recently been trying to use clang on Windows</div><div>along with the MSVC11 headers, and clang fails to compile the macro magic that</div>

<div>is used to emulate variadic templates. Upon further investigation, this is</div><div>because the macros themselves are incorrect, but work in MSVC due to a bug in</div><div><div>the preprocessor. I've submitted a bug report [1], but this is apparently a</div>

<div>known issue, and I'm not optimistic about it ever getting fixed.</div></div><div><br></div><div>What does this mean for us few clang-on-windows users? Are the MSVC11 headers a</div><div>lost cause, or could clang implement some sort of MSVC preprocessor</div>

<div>compatibility mode?</div><div><br></div><div>[1] <a href="https://connect.microsoft.com/VisualStudio/feedback/details/785846">https://connect.microsoft.com/VisualStudio/feedback/details/785846</a></div><div><br></div>

<div>- Leszek</div><div><div>
</div></div></div>