diff --git a/CMakeLists.txt b/CMakeLists.txt index 242e30cd2e4..6e9c176eb0b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -167,8 +167,8 @@ if(CONFIG_CPLUSPLUS) set(STD_CPP_DIALECT_FLAGS $) elseif(CONFIG_STD_CPP17) set(STD_CPP_DIALECT_FLAGS $) - elseif(CONFIG_STD_CPP2A) - set(STD_CPP_DIALECT_FLAGS $) + elseif(CONFIG_STD_CPP20) + set(STD_CPP_DIALECT_FLAGS $) else() assert(0 "Unreachable code. Expected C++ standard to have been chosen. See Kconfig.zephyr.") endif() diff --git a/subsys/cpp/Kconfig b/subsys/cpp/Kconfig index 3acef68a4f4..8172ba9be8f 100644 --- a/subsys/cpp/Kconfig +++ b/subsys/cpp/Kconfig @@ -37,10 +37,10 @@ config STD_CPP17 help 2017 C++ standard, previously known as C++0x. -config STD_CPP2A - bool "C++ 2a" +config STD_CPP20 + bool "C++ 20" help - Next revision of the C++ standard, which is expected to be published in 2020. + 2020 C++ standard, previously known as C++2A. endchoice