This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] PR c/89524 - Ignore -Wno-error=<some-future-warning>
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Alex Henrie <alexhenrie24 at gmail dot com>
- Cc: <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 1 Mar 2019 22:17:00 +0000
- Subject: Re: [PATCH] PR c/89524 - Ignore -Wno-error=<some-future-warning>
- References: <20190301041525.2289-1-alexhenrie24@gmail.com>
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