mirror of
https://github.com/mpusz/mp-units.git
synced 2025-06-25 01:01:33 +02:00
docs: clang-19 issues mentioned in a compiler support table
This commit is contained in:
@ -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"
|
||||
|
||||
|
Reference in New Issue
Block a user