https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97773
--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Janez Zemva from comment #6) > try -std=c++20 ? Which is why the instructions at https://gcc.gnu.org/bugs clearly say you need to provide the options used.