<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:dblaikie@gmail.com" title="David Blaikie <dblaikie@gmail.com>"> <span class="fn">David Blaikie</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - clang++, -Wno-Unused-private-field, and field used in constructor initializer"
href="http://llvm.org/bugs/show_bug.cgi?id=17238">bug 17238</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 - clang++, -Wno-Unused-private-field, and field used in constructor initializer"
href="http://llvm.org/bugs/show_bug.cgi?id=17238#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - clang++, -Wno-Unused-private-field, and field used in constructor initializer"
href="http://llvm.org/bugs/show_bug.cgi?id=17238">bug 17238</a>
from <span class="vcard"><a class="email" href="mailto:dblaikie@gmail.com" title="David Blaikie <dblaikie@gmail.com>"> <span class="fn">David Blaikie</span></a>
</span></b>
<pre><span class="quote">> libtool: compile: /usr/local/bin/clang++ -Wno-unused-private-field
> -DHAVE_CONFIG_H -I../.. -I../../include -I../../lib -I../../src
> -I../../include -I/opt/local/include -I/opt/local/include -I../../libltdl
> -I/opt/local/include -I/opt/local/include -Wall -Wpointer-arith
> -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -MT
> Intercept.lo -MD -MP -MF .deps/Intercept.Tpo -c Intercept.cc -fno-common
> -DPIC -o .libs/Intercept.o</span >
You have an ordering problem with your flags. -Wall re-enables
-Wunused-private-field after you disabled it. You'll want
-Wno-unused-private-field to proceed -Wall (or any other flag that might be
enabling -Wunused-private-field).</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>