On Tue, Sep 3, 2013 at 9:31 AM, Rafael Espíndola <[email protected] > wrote:
> 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 > > Does this affect -funknown-to-clang-option? -Wunknown-to-clang-option? Any other potentially interesting cases? The testcase is a bit lacking. -Eli
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
