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]

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


------- Additional Comments From ncm-nospam at cantrip dot org  2004-06-25 04:32 -------
Enlarging on the last paragraph above...

The warning (if kept) should be issued only if a class _derived_ 
from "foo" is instantiated in a "new" expression.  "new foo" itself 
is always safe.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16190


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