<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">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><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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 class="HOEnZb"><font color="#888888"><br><br>-- <br><div><div dir="ltr"><div>WBR,<br>Arkady Shapkin aka Dragon</div></div></div>
</font></span></div>
<br>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">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></blockquote></div><br></div>