https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97484
Brecht Sanders <brechtsanders at users dot sourceforge.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Brecht Sanders <brechtsanders at users dot sourceforge.net> --- Yes, you're right, when setting CXXFLAGS="-std=c++17" and building with GCC 10 Ninja also fails to build. I have opened a ticket with Ninja for this, see: https://github.com/ninja-build/ninja/issues/1861