From d43239f5e34d084d2fcf8a32cdd6114540d4ba50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?DJ=3A=3A=C3=96tzi?= <58144390+DJOetzi@users.noreply.github.com> Date: Sun, 29 Sep 2024 17:28:53 +0200 Subject: [PATCH] docs: Remove coroutine/DPP_CORO experimental warnings (#1221) --- CMakeLists.txt | 2 +- docpages/include/coro_warn.dox | 2 +- library/CMakeLists.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f2e7a58f2d..874453a74c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -24,7 +24,7 @@ option(RUN_LDCONFIG "Run ldconfig after installation" ON) option(DPP_INSTALL "Generate the install target" ON) option(DPP_BUILD_TEST "Build the test program" ON) option(DPP_NO_VCPKG "No VCPKG" OFF) -option(DPP_CORO "Experimental support for C++20 coroutines" OFF) +option(DPP_CORO "Support for C++20 coroutines" OFF) option(DPP_FORMATTERS "Support for C++20 formatters" OFF) option(DPP_USE_EXTERNAL_JSON "Use an external installation of nlohmann::json" OFF) option(DPP_USE_PCH "Use precompiled headers to speed up compilation" OFF) diff --git a/docpages/include/coro_warn.dox b/docpages/include/coro_warn.dox index 2bf9097b71..5710006205 100644 --- a/docpages/include/coro_warn.dox +++ b/docpages/include/coro_warn.dox @@ -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 GitHub Issues or to our Discord Server. +\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. diff --git a/library/CMakeLists.txt b/library/CMakeLists.txt index 00b2a8b651..bc61c77723 100644 --- a/library/CMakeLists.txt +++ b/library/CMakeLists.txt @@ -289,7 +289,7 @@ if(HAVE_PTHREAD_SETNAME_NP) endif() if(DPP_CORO) - message("-- ${Yellow}Enabled experimental coroutine feature${ColourReset}") + message("-- ${Yellow}Enabled coroutine feature${ColourReset}") set(CMAKE_CXX_STANDARD 20) target_compile_features(dpp PUBLIC cxx_std_20) if(WIN32 AND NOT MINGW AND NOT DPP_CLANG_CL)