[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Bug other/28322] GCC new warnings and compatibility




------- Comment #8 from manu at gcc dot gnu dot org  2007-11-16 20:01 -------
> 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.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28322

------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.



Reply to: