From 631ad69d8b019d138478a0ee3024a78a7b539a42 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Sat, 26 Aug 2023 19:45:53 +0200 Subject: [PATCH] docs: "Supported compilers" section updated --- docs/getting_started/installation_and_usage.md | 13 +++++++------ docs/index.md | 13 +++++++------ 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/docs/getting_started/installation_and_usage.md b/docs/getting_started/installation_and_usage.md index 2e45a96b..941a15a2 100644 --- a/docs/getting_started/installation_and_usage.md +++ b/docs/getting_started/installation_and_usage.md @@ -8,15 +8,16 @@ from C++23. Even though the library benefits from C++23 (if available), C++20 is enough to compile and - use all of the library's functionality. C++23 features are hidden behind a preprocessor macro + use all of the library's functionality. C++23 features are hidden behind + a [preprocessor macro](users_guide/framework_basics/systems_of_quantities.md#defining-quantities) providing a backward-compatible way to use it. - Sadly, as of today, not many compilers provide full C++20 support. The library compiles fine - on the following compilers (or newer): + As of today, the library compiles fine on the following compilers (or newer): - - gcc-12.2 - - In the upcoming weeks, we will be actively working to extend the support to other compilers as well. + - gcc-11 + - please note that we observed some ICEs on gcc-11 + - no problems with gcc-12.2+ + - clang-16 ## Repository Structure and Dependencies diff --git a/docs/index.md b/docs/index.md index f4f0c7c0..0ad688a6 100644 --- a/docs/index.md +++ b/docs/index.md @@ -21,12 +21,13 @@ The library source code is hosted on [GitHub](https://github.com/mpusz/mp-units) from C++23. Even though the library benefits from C++23 (if available), C++20 is enough to compile and - use all of the library's functionality. C++23 features are hidden behind a preprocessor macro + use all of the library's functionality. C++23 features are hidden behind + a [preprocessor macro](users_guide/framework_basics/systems_of_quantities.md#defining-quantities) providing a backward-compatible way to use it. - Sadly, as of today, only a few compilers provide full C++20 support. The library compiles fine - on the following compilers (or newer): + As of today, the library compiles fine on the following compilers (or newer): - - gcc-12.2 - - In the upcoming weeks, we will be actively working to extend the support to other compilers as well. + - gcc-11 + - please note that we observed some ICEs on gcc-11 + - no problems with gcc-12.2+ + - clang-16