Skip to content

Commit

Permalink
[c++] C++23 disabled due to issues with boost::flat_map
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed Jun 4, 2024
1 parent 2576382 commit 47cf5bf
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions cmake/OssiaConfiguration.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,10 @@ else()
elseif(EMSCRIPTEN)
set(CMAKE_CXX_STANDARD 20)
set(CXX_STANDARD_FLAG -std=c++20)
elseif (has_std_2b_flag)
set(CMAKE_CXX_STANDARD 23)
set(CXX_STANDARD_FLAG -std=c++2b)
# Broken as of boost-1.85 / clang-17 / libstdc++-14
# elseif (has_std_2b_flag)
# set(CMAKE_CXX_STANDARD 23)
# set(CXX_STANDARD_FLAG -std=c++2b)
elseif (has_std_20_flag)
set(CMAKE_CXX_STANDARD 20)
set(CXX_STANDARD_FLAG -std=c++20)
Expand Down

0 comments on commit 47cf5bf

Please sign in to comment.