This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Wmissing-base-class-initializer (PR7651 Define -Wextra strictly in terms of other warning flags)
"Manuel López-Ibáñez" <lopezibanez@gmail.com> writes:
[...]
| > Yes, -Wextra should be split into sub-options. No, we should not end
| > up with a situation where there is a one-to-one and onto mapping
| > between the -W options and any single diagnostic message we spit. If we
| > arrive there, then we have failed to properly keep our user interface
| > from leaking implementation details (that may vary over releases).
|
| I don't see how we are leaking implementation details.
-Wambiguous-base-classes.
That stricks me as an attempt to name a warning after the message it
displays, as opposed to what it is trying to say.
-- Gaby