• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Stack unwinding with Objective C++
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Stack unwinding with Objective C++


  • Subject: Re: Stack unwinding with Objective C++
  • From: Sherm Pendley <email@hidden>
  • Date: Sun, 6 Nov 2005 17:57:55 -0500

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

_______________________________________________
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


  • Follow-Ups:
    • Re: Stack unwinding with Objective C++
      • From: Tommy Nordgren <email@hidden>
References: 
 >Stack unwinding with Objective C++ (From: Tommy Nordgren <email@hidden>)

  • Prev by Date: Stack unwinding with Objective C++
  • Next by Date: Re: Any NSView (subclasss drawing) Layout Persistence Frameworks around?
  • Previous by thread: Stack unwinding with Objective C++
  • Next by thread: Re: Stack unwinding with Objective C++
  • Index(es):
    • Date
    • Thread