docs: clang-19 issues mentioned in a compiler support table

This commit is contained in:
Mateusz Pusz
2025-04-03 07:59:18 +01:00
parent c49a8e2103
commit 40abc664e8

View File

@ -13,13 +13,18 @@
The table below provides the minimum compiler version required to compile the code using a specific
C++ feature:
| C++ Feature | C++ version | gcc | clang | apple-clang | MSVC |
|-------------------------------|:-----------:|:----:|:-----:|:-----------:|:-----------------------------------------:|
| **Minimum support** | 20 | 12 | 16 | 15 | 194 :bug:{ title="BEWARE of MSVC Bugs!" } |
| **`std::format`** | 20 | 13 | 17 | 16 | 194 |
| **C++ modules** | 20 | None | 17 | None | None |
| **`import std;`** | 23 | None | 18 | None | None |
| **Explicit `this` parameter** | 23 | 14 | 18 | None | None |
| C++ Feature | C++ version | gcc | clang | apple-clang | MSVC |
|-------------------------------|:-----------:|:----:|:----------:|:-----------:|:------------------------------------------:|
| **Minimum support** | 20 | 12+ | 16+ && !19 | 15+ | 194+ :bug:{ title="BEWARE of MSVC Bugs!" } |
| **`std::format`** | 20 | 13+ | 17+ | 16+ | 194+ |
| **C++ modules** | 20 | None | 17+ | None | None |
| **`import std;`** | 23 | None | 18+ | None | None |
| **Explicit `this` parameter** | 23 | 14+ | 18+ | None | None |
??? note "clang-19 unfixable bug"
Unfortunately, clang-19 does not build **mp-units** because of an
[unfixable bug in the compiler](https://github.com/llvm/llvm-project/pull/118288).
??? note "MSVC bugs"