This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] RFC: Enabling -W[no-]error=... for cpplib warnings


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]