Re: Stack unwinding with Objective C++
Re: Stack unwinding with Objective C++
- Subject: Re: Stack unwinding with Objective C++
- From: Tommy Nordgren <email@hidden>
- Date: Mon, 7 Nov 2005 00:33:24 +0100
Nov 6, 2005 kl. 11:57 PM skrev Sherm Pendley:
On Nov 6, 2005, at 5:49 PM, Tommy Nordgren wrote:
Is there any additional command line option I can pass to the
compiler, when writing Cocoa Apps in
Objective C++, that will generate proper destuctor calls of C++
objects when unwinding the stack on
thrown exceptions. (I've tried with both C++ and Objective C
exception handling systems - in neither
case I get calls of the destructor)
Have you tried -fobjc-call-cxx-cdtors? Or is that not working
correctly in the presence of exceptions?
sherm--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org
Unfortunately, this option don't appear to work with the exception
handling system
-------------------------------------
This sig is dedicated to the advancement of Nuclear Power
Tommy Nordgren
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden