Skip to content

Commit

Permalink
Set c++23 standard for own configs.
Browse files Browse the repository at this point in the history
  • Loading branch information
egorpugin committed May 30, 2024
1 parent a3327d2 commit c6b731a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sw/driver/entry_point.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c6b731a

Please sign in to comment.