This is the mail archive of the gcc@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]

Re: RFC: Wextra digest (fixing PR7651)


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?



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