From 82550887c20735fadd4c8f0f0fafb203c4aa3fa9 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Thu, 19 Jan 2023 10:28:04 +0800 Subject: [PATCH] c++: Change the default value of CXX_STANDARD from c++17 to gnu++17 since many 3rd party code use some gnu c++ extension Signed-off-by: Xiang Xiao --- libs/libxx/Kconfig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libs/libxx/Kconfig b/libs/libxx/Kconfig index 410ac201ca..ff503c67f7 100644 --- a/libs/libxx/Kconfig +++ b/libs/libxx/Kconfig @@ -87,9 +87,10 @@ endif config CXX_STANDARD string "Language standard" - default "c++17" + default "gnu++17" ---help--- - Possible values: c++98, c++11, c++14, c++17 and c++20 + Possible values: + gnu++98/c++98, gnu++11/c++11, gnu++14/c++14, gnu++17/c++17 and gnu++20/c++20 config CXX_EXCEPTION bool "Enable Exception Support"