non-virtual-destructor warnings redux

Miles Bader miles@gnu.org
Sat Dec 24 15:10:00 GMT 2011


2011/12/24 Jonathan Wakely <jwakely.gcc@gmail.com>:
> On 24 December 2011 10:50, Paolo Carlini wrote:
>> On 12/24/2011 03:04 AM, Miles Bader wrote:
>>>
>>> What do people think... is this a better non-virtual-dtor warning?
>
> First of all I'd check http://gcc.gnu.org/gcc-4.7/changes.html#cxx and
> see that I already added it ;-)

Ah, argh, sorry!

It turns out the file where clang caught the bug is the _one_ file in
my program I compile without -Wall ('cause it's automatically
generated code with ... er... lots of ... questionable stuff); clang
has this particular warning enabled by default, so it caught it
though...!

thanks,

-miles

-- 
Cat is power.  Cat is peace.



More information about the Gcc mailing list