This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] RFC: Enabling -W[no-]error=... for cpplib warnings
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: Simon Baldwin <simonb at google dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sun, 8 Nov 2009 18:51:25 -0600
- Subject: Re: [PATCH] RFC: Enabling -W[no-]error=... for cpplib warnings
- References: <3ea232e00910261501m6c0d9c1o55476efe9ec4e5ed@mail.gmail.com> <206fcf960910261530y3040683cpf3f72953bd90364@mail.gmail.com> <3ea232e00910270327y7c9165b4p1c77cb5cce17cf9d@mail.gmail.com>
On Tue, Oct 27, 2009 at 4:27 AM, Simon Baldwin <simonb@google.com> wrote:
> Warning directives are sometimes used to indicate deprecated but still
> functional code. ?Builds with a blanket -Werror policy cannot
> currently make an exception for these deprecation messages.
> -Wno-error=warning-directive adds that exception.
My comment is not about what the switch does. But, what its name which
does not suggest what you explains in prose.
Please consider -Wcpp or similar.
-- Gaby