PATCH: Wno-warning-directives [WasRe: cpplib: Start moving ...]
Mark D. Baushke
mdb@gnu.org
Tue Aug 13 17:00:00 GMT 2002
Mark Mitchell <mark@codesourcery.com> writes:
>
> > In the general case, I would like to see the interactions of warnings
> > and errors revisited. One master switch (-Werror) to rule that all
> > warnings should be treated as errors just does not work as more and more
> > warnings are added to the system.
>
> I agree. In fact, I submitted a patch to do what you say some years
> back. With a few more tweaks, I planned to allow you to selectively
> turn certain warnings into errors, either from the command-line or
> from certain portions of code.
>
> I still think that something like that patch would be a good idea.
Yes! That would be a wonderful addition to gcc.
-- Mark
More information about the Gcc-patches
mailing list