]> git.ipfire.org Git - thirdparty/gcc.git/commit - libcpp/ChangeLog
lex.c (lex_string): Add -Wc++11-compat warning.
authorJason Merrill <jason@redhat.com>
Sat, 9 May 2015 04:50:10 +0000 (00:50 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Sat, 9 May 2015 04:50:10 +0000 (00:50 -0400)
commitfe191308ddc9bb7095d01bcd11dcaf1f38c84bab
tree61fa36eb422bfdf8906071bacaa096b5ef2c2dbc
parent169980942642c39a062529f747e00a7882d046d7
lex.c (lex_string): Add -Wc++11-compat warning.

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.

From-SVN: r222961
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