<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:peter@lekensteyn.nl" title="Peter Wu <peter@lekensteyn.nl>"> <span class="fn">Peter Wu</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - missing-field-initializers too aggressive for C's {0}"
href="https://bugs.llvm.org/show_bug.cgi?id=21689">bug 21689</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;">CC</td>
<td>
</td>
<td>peter@lekensteyn.nl
</td>
</tr>
<tr>
<td style="text-align:right;">Fixed By Commit(s)</td>
<td>
</td>
<td>r314499
</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 - missing-field-initializers too aggressive for C's {0}"
href="https://bugs.llvm.org/show_bug.cgi?id=21689#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - missing-field-initializers too aggressive for C's {0}"
href="https://bugs.llvm.org/show_bug.cgi?id=21689">bug 21689</a>
from <span class="vcard"><a class="email" href="mailto:peter@lekensteyn.nl" title="Peter Wu <peter@lekensteyn.nl>"> <span class="fn">Peter Wu</span></a>
</span></b>
<pre>This has been fixed with r314499 (<a href="https://reviews.llvm.org/D28148">https://reviews.llvm.org/D28148</a>) which ended
up in Clang 6 (and by extension, Xcode 10).
As a workaround, include -Wno-missing-field-initializers for older compilers:
- GCC < 4.7 (CMAKE_C_COMPILER_ID "GNU")
- Clang < 6.0
- AppleClang < 10.0</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>