Skip to content

Commit a130ca5

Browse files
committed
Update CXX standard to 20
We will abandon ubuntu 20.04 and move to an new ubuntu. CI currently is on 22.04, though not sure if we want to jump to 24.04. Some future plans on C++20 usage: 1. std::filesystem::path overloads in StandardPath 2. std::format in place of fmt 3. char8_t where appropriate 4. coroutine in some place for async data loading 5. std::source_location 6. Heterogeneous lookup
1 parent 7745ce4 commit a130ca5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/Fcitx5CompilerSettings.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
set(CMAKE_CXX_EXTENSIONS OFF)
33
set(CMAKE_CXX_STANDARD_REQUIRED TRUE)
4-
set(CMAKE_CXX_STANDARD 17)
4+
set(CMAKE_CXX_STANDARD 20)
55
set(CMAKE_C_STANDARD_REQUIRED TRUE)
66
set(CMAKE_C_STANDARD 99)
77

0 commit comments

Comments
 (0)