At some point, it may be fine to drop support for older vanilla systems not shipping with at least GCC 13.
(For this bump, only C++20 std::format will become available, but this bump should also pave the way for C++23.)
This patch will only be released in version 33.x, or later, next year (2027).
For reference:
- https://packages.ubuntu.com/noble/g++ (g++-13)
- https://packages.debian.org/trixie/g++ (g++-14)
- CentOS-like 8/9/10 ship recent GCC via appstream (
dnf install -y gcc-toolset-15) - Free/Open/Net*BSD ship a recent GCC
- OpenSuse Leap and Tumbleweed ship with g++ 15 https://software.opensuse.org/package/gcc15-c++
On operating systems where the minimum GCC version is not shipped by default, the user would have to use Clang, or install GCC in a different way. For example:
- Debian Bookworm could use https://packages.debian.org/bookworm/clang-22
- Ubuntu 22.04 would have to use a general alternative:
- PPA, https://apt.llvm.org/ (for Clang), brew, nix, guix, or compile GCC from source, ...
Obviously, downloading pre-compiled releases or compiling previous release branches is unaffected by this change.