This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RFC: Wextra digest (fixing PR7651)
"Manuel López-Ibáñez" <lopezibanez@gmail.com> writes:
| On 23/01/07, Joe Buck <Joe.Buck@synopsys.com> wrote:
| > On Tue, Jan 23, 2007 at 07:52:30PM +0000, Manuel López-Ibáñez wrote:
| > > * A base class is not initialized in a derived class' copy constructor.
| > >
| > > Proposed: move this warning to -Wuninitialized seems the appropriate
| > > solution. However, I am afraid that this warning will turn out to be
| > > too noisy and hard to avoid to be in Wuninitialized (see PR 11159).
| > > Perhaps a new option -Wuninitialized-base-class enabled by -Wextra
| > > would be better if that PR cannot be easily fixed.
| >
| > Yuck. Until PR 11159 is fixed, we can't move that warning into anything
| > that is enabled by -Wall.
|
| Agreed. And what about the name, -Wuninitialized-base-class? Is it fitting?
Or fix PR 11159.
-- Gaby