This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/85843] warning: base class ‘class std::exception’ should be explicitly initialized in the copy constructor [-Wextra]
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 21 May 2018 02:36:35 +0000
- Subject: [Bug libstdc++/85843] warning: base class ‘class std::exception’ should be explicitly initialized in the copy constructor [-Wextra]
- Auto-submitted: auto-generated
- References: <bug-85843-4@http.gcc.gnu.org/bugzilla/>
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.