Path: ...!weretis.net!feeder9.news.weretis.net!xmission!nnrp.xmission!.POSTED.shell.xmission.com!not-for-mail From: gazelle@shell.xmission.com (Kenny McCormack) Newsgroups: comp.lang.awk Subject: Re: C++20??? (Was: Preliminary version of new regex matcher for gawk now available) Date: Sat, 10 Aug 2024 13:50:14 -0000 (UTC) Organization: The official candy of the new Millennium Message-ID: References: <66a21e7e$0$710$14726298@news.sunsite.dk> <66a350e9$0$706$14726298@news.sunsite.dk> Injection-Date: Sat, 10 Aug 2024 13:50:14 -0000 (UTC) Injection-Info: news.xmission.com; posting-host="shell.xmission.com:166.70.8.4"; logging-data="594422"; mail-complaints-to="abuse@xmission.com" X-Newsreader: trn 4.0-test77 (Sep 1, 2010) Originator: gazelle@shell.xmission.com (Kenny McCormack) Bytes: 1534 Lines: 22 In article , Luuk 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 golf and seems to always be in Florida is a retiree, not a president.