<div dir="ltr">On Tue, Sep 3, 2013 at 9:31 AM, Rafael Espíndola <span dir="ltr"><<a href="mailto:rafael.espindola@gmail.com" target="_blank">rafael.espindola@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The attached patch fixes pr9701. It was marked wontfix, but I could<br>
not find why.<br>
<br>
Requiring -Werror=unknown-warning-option is a fairly annoying behavior<br>
difference from gcc.<br>
<br>
Before this patch:<br>
<br>
$ clang -HHH -c test.c; echo $?<br>
clang: warning: argument unused during compilation: '-HHH'<br>
0<br>
<br>
with this patch:<br>
<br>
$ clang -HHH -c test.c; echo $?<br>
clang-3.4: error: unknown argument: '-HHH'<br>
1<br><br></blockquote><div>Does this affect -funknown-to-clang-option? -Wunknown-to-clang-option? Any other potentially interesting cases? The testcase is a bit lacking.</div><div><br></div><div>-Eli</div></div></div>
</div>