Comment 13 for bug 284401

Revision history for this message
In , Manu-gcc (manu-gcc) wrote :

> Specification of the proposed new behaviour:
>
> 1. GCC should ignore unknown -Wno-* options if no other warnings are to
> be issued. This is always correct since the only effect of such an
> option would be to suppress warnings which might otherwise be
> issued. If no warnings are to be issued at all then treating even
> an unknown suppression as a no-op is clearly correct.

Ignoring the -Wno-* seems easy. I am not sure about the proper way to buffer the "unknown option" messages until the end, so we can check whether any warnings (or errors) were produced.