https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105377
Eric Gallager <egallager at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |egallager at gcc dot gnu.org --- Comment #3 from Eric Gallager <egallager at gcc dot gnu.org> --- it's probably due to the combination of -pedantic and -std=c++17; what happens if you use -std=gnu++17 instead for the standard?