Hmm at least 9.4 seems to be June 1, 2021 whatever. 11 should be safe? ________________________________ From: Paul Smith <paul@xxxxxxxxxxxxxxxxx> Sent: Wednesday, October 23, 2024 5:40 PM To: Phil Phil <heidegg@xxxxxxxxxxx>; gcc-help@xxxxxxxxxxx <gcc-help@xxxxxxxxxxx> Subject: Re: Gcc 94 / 10.2 has no GCC 20 ? On Wed, 2024-10-23 at 17:35 +0000, Phil Phil via Gcc-help wrote: > g++ -std=c++20 -dM -E -x c++ /dev/null | grep -F __cplusplus > > #define __cpluspluc 201709_L > > c++17 > for both > aarch64-fsl-linux-g++ (GCC) 10.2.0 > and > desktop g++ 9.4.0 Well: https://gcc.gnu.org/releases.html And: https://en.wikipedia.org/wiki/C%2B%2B20 GCC 9.x was released in 2019, and GCC 10.x was released in May of 2020. The C++20 standard was not officially published until December 2020. So those releases not having support for C++20 isn't surprising to me.