Skip to content

Commit d43239f

Browse files
authored
docs: Remove coroutine/DPP_CORO experimental warnings (#1221)
1 parent 2a594ec commit d43239f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ option(RUN_LDCONFIG "Run ldconfig after installation" ON)
2424
option(DPP_INSTALL "Generate the install target" ON)
2525
option(DPP_BUILD_TEST "Build the test program" ON)
2626
option(DPP_NO_VCPKG "No VCPKG" OFF)
27-
option(DPP_CORO "Experimental support for C++20 coroutines" OFF)
27+
option(DPP_CORO "Support for C++20 coroutines" OFF)
2828
option(DPP_FORMATTERS "Support for C++20 formatters" OFF)
2929
option(DPP_USE_EXTERNAL_JSON "Use an external installation of nlohmann::json" OFF)
3030
option(DPP_USE_PCH "Use precompiled headers to speed up compilation" OFF)

docpages/include/coro_warn.dox

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
\warning D++ Coroutines are a very new feature and are currently only supported by D++ on g++ 13, clang/LLVM 14, and MSVC 19.37 or above. Additionally, D++ must be built with the CMake option DPP_CORO, and your program must both define the macro DPP_CORO and use C++20 or above. The feature is experimental and may have bugs or even crashes, please report any to <a href="https://github.com/brainboxdotcc/DPP/issues">GitHub Issues</a> or to our <a href="https://discord.gg/dpp">Discord Server</a>.
1+
\warning D++ Coroutines are a very new feature and are currently only supported by D++ on g++ 13, clang/LLVM 14, and MSVC 19.37 or above. Additionally, D++ must be built with the CMake option DPP_CORO, and your program must both define the macro DPP_CORO and use C++20 or above.

library/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ if(HAVE_PTHREAD_SETNAME_NP)
289289
endif()
290290

291291
if(DPP_CORO)
292-
message("-- ${Yellow}Enabled experimental coroutine feature${ColourReset}")
292+
message("-- ${Yellow}Enabled coroutine feature${ColourReset}")
293293
set(CMAKE_CXX_STANDARD 20)
294294
target_compile_features(dpp PUBLIC cxx_std_20)
295295
if(WIN32 AND NOT MINGW AND NOT DPP_CLANG_CL)

0 commit comments

Comments
 (0)