<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:eric@efcs.ca" title="Eric Fiselier <eric@efcs.ca>"> <span class="fn">Eric Fiselier</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - init_priority breaks compilation of pmr::memory_resource with GCC on OS X"
href="https://bugs.llvm.org/show_bug.cgi?id=38160">bug 38160</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>FIXED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - init_priority breaks compilation of pmr::memory_resource with GCC on OS X"
href="https://bugs.llvm.org/show_bug.cgi?id=38160#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - init_priority breaks compilation of pmr::memory_resource with GCC on OS X"
href="https://bugs.llvm.org/show_bug.cgi?id=38160">bug 38160</a>
from <span class="vcard"><a class="email" href="mailto:eric@efcs.ca" title="Eric Fiselier <eric@efcs.ca>"> <span class="fn">Eric Fiselier</span></a>
</span></b>
<pre>Fixed in r337205.
The fix is to simply remove the attribute when it's not supported (GCC on Apple
and MSVC). For GCC 7 and 8, the attribute was unneeded anyway, since they
support C++14 and that allows `ResourceInitHelper` to be initialized using
constant-initialization at compile time.
The init_priority was only needed for older GCC compilers which don't support
C++14.</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>