<div dir="ltr">`_HAS_EXCEPTIONS=0` is an undocumented STL specific thing that the library implementation uses to mean "don't write code that does `throw X;`, do something else instead".</div><br><div class="gmail_quote"><div dir="ltr">On Mon, Oct 8, 2018 at 2:27 PM Elizabeth Andrews via Phabricator <<a href="mailto:reviews@reviews.llvm.org">reviews@reviews.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">eandrews added a comment.<br>
<br>
I do not think defining _HAS_EXCEPTIONS=0 affects C++ exceptions in the application. I thought it only affected the STL. I will verify this and update you.<br>
<br>
<br>
<a href="https://reviews.llvm.org/D52998" rel="noreferrer" target="_blank">https://reviews.llvm.org/D52998</a><br>
<br>
<br>
<br>
</blockquote></div>