delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/06/08/13:01:01

From: jonathan AT westwood DOT com (Jonathan Lanier)
Subject: Weird C++ problems in B18
8 Jun 1997 13:01:01 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <Pine.SOL.3.91.970608105906.23566A-100000.cygnus.gnu-win32@westmain>
Mime-Version: 1.0
Original-To: Win32 Mailing List <gnu-win32 AT cygnus DOT com>
Original-Sender: owner-gnu-win32 AT cygnus DOT com

I've been having some strange problems arise in the B18 update to the 
compiler.  This one is really weird and I can't seem to get it to go away.

I'm getting a TON of warnings about "base class xxx has a non-virtual 
destructor", and this warning message is coming up for classes that don't 
have ANY virtual functions, and don't INHERIT any classes with any 
virtual functions.  It's also coming up in every single templated class I 
have that uses virtual functions, even though the destructors have been 
explicitly declared to be virtual.

Has anyone else seen this?  Is this a bug, or am I missing something?

- Jonathan
  jonathan AT westwood DOT com

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019