https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85843
Jason Merrill <jason at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason at gcc dot gnu.org --- Comment #9 from Jason Merrill <jason at gcc dot gnu.org> --- Thanks for fixing this, sorry I didn't notice the warnings in my testing. I think it's a mistake for maintainer mode to imply -Werror; it's only documented to mean that the build can rely on esoteric tools that end users don't need to have, and since many developers don't use --enable-maintainer-mode we can get problems like this one. I also think that it makes sense for libstdc++ to use -Werror by default, if it's compiling with the just-built current GCC. I guess I'll add --enable-werror to my builds.