This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/85843] warning: base class ‘class std::exception’ should be explicitly initialized in the copy constructor [-Wextra]


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]