From 8417ad60c0af7f6ba155445baf188d584a46630e Mon Sep 17 00:00:00 2001 From: Chen Weihang Date: Fri, 9 Jul 2021 17:59:01 +0800 Subject: [PATCH] [Cherry-pick] Up cxx11 check to cxx14 (#34015) (#34034) [Cherry-pick] Up cxx11 check to cxx14 #34034 --- paddle/fluid/extension/include/ext_all.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paddle/fluid/extension/include/ext_all.h b/paddle/fluid/extension/include/ext_all.h index f2b3bcf5191..6987b33012f 100644 --- a/paddle/fluid/extension/include/ext_all.h +++ b/paddle/fluid/extension/include/ext_all.h @@ -14,8 +14,8 @@ limitations under the License. */ #pragma once -#if !defined(_MSC_VER) && __cplusplus < 199711L -#error C++11 or later compatible compiler is required to use Paddle. +#if !defined(_MSC_VER) && __cplusplus < 201402L +#error C++14 or later compatible compiler is required to use Paddle. #endif #ifdef _WIN32 -- GitLab