I am trying to make use of the services of NSExceptionHandler in my code, but 
when I do so I get a linker error.  Perhaps someone can help.  Code:

#import <ExceptionHandling/NSExceptionHandler.h>
...
NSExceptionHandler *nseh = [NSExceptionHandler defaultExceptionHandler];

The linker error is an undefined symbol: .objc_class_name_NSExceptionHandler

I get the same error with both the 10.4 and 10.5 SDK's and I can't find any 
obvious solution.  The framework appears to exist OK (in 
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks, and also in the 
MacOSX10.5.sdk).  If it were windows, I would be looking for a .lib to link 
against but things seem a little different in Mac world...

TIA - Paul Sanders.
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to