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 <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2023-01-19 10:28:04 +08:00 committed by Alin Jerpelea
parent 6b1e0ad1c4
commit 82550887c2

View File

@ -87,9 +87,10 @@ endif
config CXX_STANDARD config CXX_STANDARD
string "Language standard" string "Language standard"
default "c++17" default "gnu++17"
---help--- ---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 config CXX_EXCEPTION
bool "Enable Exception Support" bool "Enable Exception Support"