<div dir="rtl"><div dir="ltr">Both __clang__ and _MSC_VER would be defined for clang-cl. In this mode you are more likely to use clang or gcc-compatible features rather than the VC bugs/workarounds, not all of which are emulated by clang-cl.</div><div dir="ltr"><br></div><div dir="ltr">Some examples from the last time I tried using Boost with clang-cl :</div><div dir="ltr"><br></div><div dir="ltr"><a href="https://svn.boost.org/trac/boost/ticket/11821" target="_blank">https://svn.boost.org/trac/boost/ticket/11821</a><br></div><div dir="ltr"><a href="https://svn.boost.org/trac/boost/ticket/11832" target="_blank">https://svn.boost.org/trac/boost/ticket/11832</a><br></div><div dir="ltr"><br></div><div class="gmail_extra" dir="ltr"><br><div class="gmail_quote"><div>2016-03-28 14:43 GMT+03:00 Edward Diener via cfe-dev <span dir="ltr"><<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>></span>:</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">There is a build of clang which 'emulates' VC++ including the non-standard VC++ preprocessor. How can I tell, via preprocessor defines, when this occurs in preprocessor code ?<br>
<br>
I am the author of Boost VMD and a maintainer of Boost PP and I need to set internal macros in both, when the non-standard VC++ preprocessor is being used, so that the VC++ workarounds which allow both libraries to work with VC++ are in effect.<br>
<br>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br>
</blockquote></div><br></div></div>