https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121434
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Jean-Yves Lefort from comment #3) > You mean that gcc completely ignores -std=c++23? No, just the warning ignores -std=c++23. there is a difference.