This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Wno-warning-directives [WasRe: cpplib: Start moving ...]
- From: Mark Mitchell <mark at codesourcery dot com>
- To: "Mark D. Baushke" <mdb at gnu dot org>
- Cc: Stan Shebs <shebs at apple dot com>, Geoff Keating <geoffk at geoffk dot org>, Devang Patel <dpatel at apple dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 13 Aug 2002 16:54:04 -0700
- Subject: Re: PATCH: Wno-warning-directives [WasRe: cpplib: Start moving ...]
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.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com