diff options
author | Douglas Gregor <dgregor@osl.iu.edu> | 2007-01-25 04:04:18 +0000 |
---|---|---|
committer | Doug Gregor <dgregor@gcc.gnu.org> | 2007-01-25 04:04:18 +0000 |
commit | e1f1ee86a8b97bdf12593c02c0ef6e286f2c795d (patch) | |
tree | de84af4a8232165347e6ae2334611e5bfa493cc7 /gcc/c.opt | |
parent | 54654d29cb254b75a486c33b0a2bbdbddb526f33 (diff) | |
download | gcc-e1f1ee86a8b97bdf12593c02c0ef6e286f2c795d.zip gcc-e1f1ee86a8b97bdf12593c02c0ef6e286f2c795d.tar.gz gcc-e1f1ee86a8b97bdf12593c02c0ef6e286f2c795d.tar.bz2 |
c-common.h (RID_FIRST_CXX0X): New.
2007-01-24 Douglas Gregor <dgregor@osl.iu.edu>
* c-common.h (RID_FIRST_CXX0X): New.
(RID_LAST_CXX0X): New.
* c-opts.c (c_common_handle_option): -Wc++0x-compat is triggered
by -Wall.
* c.opt (Wc++0x-compat): New.
* doc/invoke.texi (-Wc++0x-compat): Document.
From-SVN: r121162
Diffstat (limited to 'gcc/c.opt')
-rw-r--r-- | gcc/c.opt | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -132,6 +132,9 @@ Wc++-compat C Var(warn_cxx_compat) Warn about C constructs that are not in the common subset of C and C++ +Wc++0x-compat +C++ ObjC++ Var(warn_cxx0x_compat) +Warn about C++ constructs whose meaning differs between ISO C++ 1998 and ISO C++ 200x Wcast-qual C ObjC C++ ObjC++ Var(warn_cast_qual) |