delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,SPF_PASS |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4B62FEA0.6040700@gmail.com> |
Date: | Fri, 29 Jan 2010 15:28:32 +0000 |
From: | Andrew West <andrewwest AT gmail DOT com> |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: dlclose not calling destructors of static variables. |
References: | <4B61732F DOT 4030804 AT gmail DOT com> <4B62DDE6 DOT 5070106 AT gmail DOT com> <4B62F118 DOT 8010305 AT gmail DOT com> <4B62FD82 DOT 8020208 AT gmail DOT com> |
In-Reply-To: | <4B62FD82.8020208@gmail.com> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
On 29/01/2010 15:23, Dave Korn wrote: > On 29/01/2010 14:30, Andrew West wrote: > > >> Which brings me on to the bigger problem, the static variables are >> registered with atexit rather than with __cxa_atexit which seems to be a >> violation of the C++ standard (1). >> > That's not the C++ standard; that is part of the cxx-abi. Since so much of > cxx-abi assumes ELF, we implement things slightly differently on Cygwin. > > cheers, > DaveK > Ah o.k. So is there any documentation on how Cygwin should do things differently? Should atexit be used for both executables and library static destructors? Is there a reason for not using __cxa_atexit? Many thanks, Andy -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |