<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:rnk@google.com" title="Reid Kleckner <rnk@google.com>"> <span class="fn">Reid Kleckner</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - Using -Wno-unused-local-typedef does not disable all warnings"
href="http://llvm.org/bugs/show_bug.cgi?id=22624">bug 22624</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 - Using -Wno-unused-local-typedef does not disable all warnings"
href="http://llvm.org/bugs/show_bug.cgi?id=22624#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - Using -Wno-unused-local-typedef does not disable all warnings"
href="http://llvm.org/bugs/show_bug.cgi?id=22624">bug 22624</a>
from <span class="vcard"><a class="email" href="mailto:rnk@google.com" title="Reid Kleckner <rnk@google.com>"> <span class="fn">Reid Kleckner</span></a>
</span></b>
<pre>Actually, after looking closely, this is actually working as intended. Your
command line looks like this:
clang -c -Wno-.... -Wno... -Wall foo.cpp
The problem is that adding -Wall after -Wno-... re-enables everything in -Wall.
If you reorder the command line to put -Wno after -Wall, everything should
work. The behavior of "last flag wins" is intended.</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>