This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Proposal: fine-grained control over -Werror
- From: Jim Wilson <wilson at specifixinc dot com>
- To: Omer Shenker <mail at omershenker dot net>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 09 Mar 2004 17:52:08 -0800
- Subject: Re: Proposal: fine-grained control over -Werror
- References: <404C8460.2050802@omershenker.net>
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