From 67234c374c56efc19b39f84f931620ef530852a6 Mon Sep 17 00:00:00 2001 From: jason Date: Thu, 16 Mar 2017 21:16:39 +0000 Subject: * init.c (cpp_init_builtins): Update __cplusplus for C++17. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@246211 138bc75d-0d04-0410-961f-82ee72b054a4 --- libcpp/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcpp/init.c') diff --git a/libcpp/init.c b/libcpp/init.c index 0679b7f9e36..1477673245a 100644 --- a/libcpp/init.c +++ b/libcpp/init.c @@ -499,7 +499,7 @@ cpp_init_builtins (cpp_reader *pfile, int hosted) { if (CPP_OPTION (pfile, lang) == CLK_CXX1Z || CPP_OPTION (pfile, lang) == CLK_GNUCXX1Z) - _cpp_define_builtin (pfile, "__cplusplus 201500L"); + _cpp_define_builtin (pfile, "__cplusplus 201703L"); else if (CPP_OPTION (pfile, lang) == CLK_CXX14 || CPP_OPTION (pfile, lang) == CLK_GNUCXX14) _cpp_define_builtin (pfile, "__cplusplus 201402L"); -- cgit v1.2.1