diff options
author | Jason Merrill <jason@redhat.com> | 2015-05-09 00:50:15 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2015-05-09 00:50:15 -0400 |
commit | 765189ff60c25e93d65f8c202afc893ea8cef220 (patch) | |
tree | b59d2738088b3f645d400b99f7c6f12dfeff9a7a /gcc/c-family/c-opts.c | |
parent | fe191308ddc9bb7095d01bcd11dcaf1f38c84bab (diff) | |
download | gcc-765189ff60c25e93d65f8c202afc893ea8cef220.zip gcc-765189ff60c25e93d65f8c202afc893ea8cef220.tar.gz gcc-765189ff60c25e93d65f8c202afc893ea8cef220.tar.bz2 |
c.opt (Wc++11-compat): Make primary.
gcc/c-family/
* c.opt (Wc++11-compat): Make primary. Rename var warn_cxx11_compat.
* c-opts.c: Adjust.
gcc/cp/
* cp-gimplify.c, parser.c: Adjust.
From-SVN: r222962
Diffstat (limited to 'gcc/c-family/c-opts.c')
-rw-r--r-- | gcc/c-family/c-opts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-family/c-opts.c b/gcc/c-family/c-opts.c index a61d6a8..8b17674 100644 --- a/gcc/c-family/c-opts.c +++ b/gcc/c-family/c-opts.c @@ -900,7 +900,7 @@ c_common_post_options (const char **pfilename) { /* If we're allowing C++0x constructs, don't warn about C++98 identifiers which are keywords in C++0x. */ - warn_cxx0x_compat = 0; + warn_cxx11_compat = 0; if (warn_narrowing == -1) warn_narrowing = 1; |