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] PR c/89524 - Ignore -Wno-error=<some-future-warning>


On Thu, 28 Feb 2019, Alex Henrie wrote:

> * opts.c: Ignore -Wno-error=<some-future-warning>.

I'd expect this to follow the same logic as how -Wno-<some-future-warning> 
is ignored (see the comment on postpone_unknown_option_warning).  That is, 
the option would still be diagnosed if there is some error message that 
might have been turned into a warning by the -Wno-error= option with a 
newer compiler.

-- 
Joseph S. Myers
joseph@codesourcery.com


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