<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:erik.pilkington@gmail.com" title="Erik Pilkington <erik.pilkington@gmail.com>"> <span class="fn">Erik Pilkington</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - __has_feature(cxx_exceptions) returns true but fails to compile std::uncaught_exceptions()"
href="https://bugs.llvm.org/show_bug.cgi?id=39631">bug 39631</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>INVALID
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - __has_feature(cxx_exceptions) returns true but fails to compile std::uncaught_exceptions()"
href="https://bugs.llvm.org/show_bug.cgi?id=39631#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - __has_feature(cxx_exceptions) returns true but fails to compile std::uncaught_exceptions()"
href="https://bugs.llvm.org/show_bug.cgi?id=39631">bug 39631</a>
from <span class="vcard"><a class="email" href="mailto:erik.pilkington@gmail.com" title="Erik Pilkington <erik.pilkington@gmail.com>"> <span class="fn">Erik Pilkington</span></a>
</span></b>
<pre>Compiling with exceptions enabled and the availability of
std::uncaught_exceptions in the libcxx dylib are actually unrelated. If you
want to use std::uncaught_exceptions on a program you're deploying before osx
10.12 then you should either guard the call in a `if (@available(macos 10.12,
*))` to check your OS version at run time, or use some macros from
<Availability.h> to check your deployment target at compile time.
Does that answer your question? I'm going to close this as invalid, feel free
to reopen if necessary.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>