Sujet : Re: C++20??? (Was: Preliminary version of new regex matcher for gawk now available)
De : gazelle (at) *nospam* shell.xmission.com (Kenny McCormack)
Groupes : comp.lang.awkDate : 10. Aug 2024, 14:50:14
Autres entêtes
Organisation : The official candy of the new Millennium
Message-ID : <v97r6m$i4fm$1@news.xmission.com>
References : 1 2 3 4
User-Agent : trn 4.0-test77 (Sep 1, 2010)
In article <
nnd$15de9d74$69aba32d@91e4ec1203dca4f9>,
Luuk <
luuk@invalid.lan> wrote:
...
from: https://stackoverflow.com/a/68545455/724039
C++20 features are available since GCC 8.
>
To enable C++20 support, add the command-line parameter
>
-std=c++20
>
For G++ 9 and earlier use
>
-std=c++2a
>
Or, to enable GNU extensions in addition to C++20 features, add
>
-std=gnu++20
Thanks. That was very helpful.
-- A 70 year old man who watches 6 hours of TV a day, plays a lot of golfand seems to always be in Florida is a retiree, not a president.