NS_DURING and CodeWarrior MSL
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.