]> git.ipfire.org Git - thirdparty/gcc.git/commit - libcpp/init.c
libcpp/
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 9 May 2015 04:50:10 +0000 (04:50 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 9 May 2015 04:50:10 +0000 (04:50 +0000)
commit1b03cc89549deced5b77f9e691c6968ddabb227d
tree61fa36eb422bfdf8906071bacaa096b5ef2c2dbc
parentf03df32112cfca98484bf085e62e7f6c8659a07c
libcpp/
* lex.c (lex_string): Add -Wc++11-compat warning.
* include/cpplib.h: Add CPP_W_CXX11_COMPAT.
(struct cpp_options): Add cpp_warn_cxx11_compat.
* init.c (cpp_create_reader): Initialize it.
gcc/c-family/
* c.opt (Wc++0x-compat): Set it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222961 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/c-family/ChangeLog
gcc/c-family/c.opt
gcc/testsuite/g++.dg/cpp0x/warn_cxx0x4.C [new file with mode: 0644]
libcpp/ChangeLog
libcpp/include/cpplib.h
libcpp/init.c
libcpp/lex.c