logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Curt Arnold <carn...@apache.org>
Subject Re: warning: has virtual functions but non-virtual destructor
Date Tue, 18 Jul 2006 15:54:22 GMT

On Jul 18, 2006, at 4:40 AM, Ambarish Mitra wrote:

> I have written a small application using log4cxx (log4cxx 0.9.7),  
> the code
> snippet is:


> Can anyone please provide pointers why these warnings comes? I  
> would think
> this is a basic thing in CPP, a class with virtual functions should  
> have a
> virtual destructor, otherwise there is a chance of memory leak. Is  
> there a
> way to solve this problem from the application perspective?

Please use the SVN HEAD instead of log4cxx-0.9.7.  Many significant  
bugs have been fixed in the SVN in addition to ~Class being virtual.

View raw message