[patch] Fix pr9701

Rafael EspĂ­ndola rafael.espindola at gmail.com
Tue Sep 3 09:31:07 PDT 2013


The attached patch fixes pr9701. It was marked wontfix, but I could
not find why.

Requiring -Werror=unknown-warning-option is a fairly annoying behavior
difference from gcc.

Before this patch:

$ clang -HHH -c test.c; echo $?
clang: warning: argument unused during compilation: '-HHH'
0

with this patch:

$ clang -HHH -c test.c; echo $?
clang-3.4: error: unknown argument: '-HHH'
1

Cheers,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t.patch
Type: application/octet-stream
Size: 1731 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130903/d16dceb6/attachment.obj>


More information about the cfe-commits mailing list