From c6b731a48ee4660a922b0f9c140c8e24edac234a Mon Sep 17 00:00:00 2001 From: Egor Pugin Date: Thu, 30 May 2024 22:08:23 +0300 Subject: [PATCH] Set c++23 standard for own configs. --- src/sw/driver/entry_point.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/sw/driver/entry_point.cpp b/src/sw/driver/entry_point.cpp index c033448b..b232b7e9 100644 --- a/src/sw/driver/entry_point.cpp +++ b/src/sw/driver/entry_point.cpp @@ -493,7 +493,8 @@ decltype(auto) PrepareConfig::commonActions(Build &b, const InputData &d, const if (isDriverStaticBuild()) addImportLibrary(b, lib); lib.AutoDetectOptions = false; - lib.CPPVersion = CPPLanguageStandard::CPPLatest; + // use atleast c++23 for apple clang + lib.CPPVersion = CPPLanguageStandard::CPP23; lib.NoUndefined = false; lib += fn;