Proposal: fine-grained control over -Werror
Jim Wilson
wilson@specifixinc.com
Wed Mar 10 01:52:00 GMT 2004
Omer Shenker wrote:
> I propose that for each warning -Wfoo, GCC should also accept
> -Wfoo=error and -Wfoo=warn.
Some of the warnings already use the = form, e.g. -Wformat=2. So there
is a conflict here.
It is unlikely that anything will happen unless you volunteer a patch.
It is probably a lot of work to go through and identify everyplace where
a warning is used and then add an optional error check. Probably not
feasible unless the warning flags are redesigned a bit, which would be
even more work.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com
More information about the Gcc
mailing list