delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Message-ID: | <80575AFA5F0DD31197CE00805F650D7602D07C@wilber.adroit.com> |
From: | "Robinow, David" <drobinow AT dayton DOT adroit DOT com> |
To: | "'Bruno Bachelet'" <bachelet AT ifrance DOT com>, cygwin AT cygwin DOT com |
Subject: | RE: Problem with virtual inheritance and destruction of arrays |
Date: | Fri, 30 Nov 2001 12:47:43 -0500 |
MIME-Version: | 1.0 |
X-Mailer: | Internet Mail Service (5.5.2650.21) |
This has nothing to do with cygwin. It's a gcc 2.95 problem. Fixed in 3.0 -----Original Message----- From: Bruno Bachelet [mailto:bachelet AT ifrance DOT com] Sent: Thursday, November 29, 2001 5:27 AM To: cygwin AT cygwin DOT com Subject: Problem with virtual inheritance and destruction of arrays I apologize in advance if the bug has already been reported. Normally when calling the destructor of an object, the destructors of all the classes in the hierarchy of inheritance are executed. Imagine you have a virtual inheritance at some place in the hierarchy, the destruction works well with a single object, but it doesn't work with an array of objects. Here is an example I compiled with Cygwin 1.3.2 and Cygwin 1.3.5 using no particular optimization flag. ... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |