• 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
NS_DURING and CodeWarrior MSL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NS_DURING and CodeWarrior MSL


  • Subject: NS_DURING and CodeWarrior MSL
  • From: Christopher Corbell <email@hidden>
  • Date: Wed, 1 Oct 2003 17:26:24 -0700

Has anyone successfully used NSException handler
macros in a Codewarior Objective-C++ context? I'm
hoping for a tip that will make this work.

The app in this case is mainly Cocoa but there's
a lot of C++ mixed-in (it used to be a PowerPlant
app). Most UI source is in .mm files. I'm trying
to put in some Obj-C exception safety with
NS_DURING/NS_HANDLER/NS_ENDHANDLER blocks, but these
failed to compile with the error
Error : undefined identifier '_setjmp'

I'm guessing this may relate to a conflict between
MSL C and /usr/include definitions setjmp in
<setjmp.h>.

Can someone suggest a solution?

Thanks in advance,
Christopher
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: NS_DURING and CodeWarrior MSL
      • From: Gus Mueller <email@hidden>
  • Prev by Date: Authentication of network users
  • Next by Date: Re: NSTableView text color question
  • Previous by thread: Authentication of network users
  • Next by thread: Re: NS_DURING and CodeWarrior MSL
  • Index(es):
    • Date
    • Thread