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]

Re: [Bug c++/16190] spurious warning about non-virtual destructor


giovannibajo at libero dot it

> I meant: it is not necessary to move -Wno-virtual-dtor out of -Wall into -
> Weffc++ or similar. We can keep it within -Wall, but generate it using
> more
> smartness, for instance only on new expressions as suggested by Nathan.

Actually, it is necessary and sufficient to generate the warning
only for delete expressions or pseudo-destructror calls.

-- Gaby


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