This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH 0/2] Future warnings not treated as errors
- From: Alex Henrie <alexhenrie24 at gmail dot com>
- To: gcc-patches at gcc dot gnu dot org, manu at gcc dot gnu dot org
- Cc: Alex Henrie <alexhenrie24 at gmail dot com>
- Date: Mon, 18 Mar 2019 20:46:55 -0600
- Subject: [PATCH 0/2] Future warnings not treated as errors
Hello,
I have received permission to contribute to GCC, but I do not have
commit access. Could one of you please merge these patches for me?
-Alex
Alex Henrie (1):
PR c/65403 - Add tests for -Wno-error=<some-future-option>
Manuel López-Ibáñez (1):
PR c/65403 - Ignore -Wno-error=<some-future-warning>
gcc/opts-common.c | 2 ++
gcc/opts-global.c | 10 +++++++---
gcc/opts.c | 5 ++++-
gcc/opts.h | 2 ++
gcc/testsuite/c-c++-common/pr65403-1.c | 10 ++++++++++
gcc/testsuite/c-c++-common/pr65403-2.c | 15 +++++++++++++++
6 files changed, 40 insertions(+), 4 deletions(-)
create mode 100644 gcc/testsuite/c-c++-common/pr65403-1.c
create mode 100644 gcc/testsuite/c-c++-common/pr65403-2.c
--
2.21.0