<div dir="ltr"><div>Thank you for answer.<br><br>> That's not exactly the same thing as saying that clang-cl supports C++ exceptions. :-) I<br></div><div>Yes, but w<span style="font-family:arial,helvetica,sans-serif">hen I saw all "green"/"yellow" on this <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__clang.llvm.org_docs_MSVCCompatibility.html&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=Mfk2qtn1LTDThVkh6-oGglNfMADXfJdty4_bhmuhMHA&m=chlRIDszWFR4qs2CxjTurmOLepVXuJ2_AkbArBpct8o&s=fz07ejGEtROHlLNo9Jp2wAH9VmsGS2jSKj5jrqcQEIg&e=">clang page</a>, I think that simple MSVC project should build with latest clang build for Windows (at least for x64 configuration).</span></div><div><span style="font-family:arial,helvetica,sans-serif">Just please provide somewhere information when clang is ready to compile MSVC projects.<br></span></div><div><span style="font-family:arial,helvetica,sans-serif"><br></span></div><div><span style="font-family:arial,helvetica,sans-serif">This doesn't compile with latest available clang build:</span><span style="font-family:monospace,monospace"><br></span></div><span style="font-family:monospace,monospace">#include "stdafx.h"<br><br>int _tmain(int argc, _TCHAR* argv[])<br>{<br>    try<br>    {<br>        <br>    }<br>    catch (...)<br>    {<br>    }<br>    return 0;<br>}</span><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-06-18 22:59 GMT+03:00 Reid Kleckner <span dir="ltr"><<a href="mailto:rnk@google.com" target="_blank">rnk@google.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">The document actually says: "Exceptions and SEH: Partial. C++ exceptions (try / catch / throw) and structured exceptions (__try / __except / __finally) mostly work on x64."<div><br></div><div>That's not exactly the same thing as saying that clang-cl supports C++ exceptions. :-) I was also a bit optimistic when I wrote it, since I thought we could solve the problems of WinEHPrepare. We should probably downgrade it back to unsupported until the new representation goes in.</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Thu, Jun 18, 2015 at 11:41 AM, Arkady Shapkin <span dir="ltr"><<a href="mailto:arkady.shapkin@gmail.com" target="_blank">arkady.shapkin@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hi,<br><br>This page <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__clang.llvm.org_docs_MSVCCompatibility.html&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=Mfk2qtn1LTDThVkh6-oGglNfMADXfJdty4_bhmuhMHA&m=9lAPlzZdvj07d7Pfz8IH0LsMkmn5sg9I_xP1LSRV3_I&s=TM6o4AbvthSNbmyWo2FulesTVjbttmXtK9a96vGajHc&e=" target="_blank">http://clang.llvm.org/docs/MSVCCompatibility.html</a> says clang-cl supports C ++ exceptions, but I cannot compile code with simple try{}catch{}<br>error : cannot compile this throw expression yet<br><br>What am i doing wrong?<span><font color="#888888"><br><br>-- <br><div><div dir="ltr"><div>WBR,<br>Arkady Shapkin aka Dragon</div></div></div>
</font></span></div>
<br></div></div><span class="">_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" rel="noreferrer" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" rel="noreferrer" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
<br></span></blockquote></div><br></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div>WBR,<br>Arkady Shapkin aka Dragon</div></div></div>
</div>