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

Attachment: t.patch
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to