gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSException.m: _objc_unexpected_exception undeclared


From: Nicola Pero
Subject: Re: NSException.m: _objc_unexpected_exception undeclared
Date: Fri, 12 Aug 2011 11:12:27 +0100

On 11 Aug 2011, at 20:35, Ivan Vučica wrote:

>  Compiling file NSException.m ...
> NSException.m: In function ‘+[NSException initialize]’:
> NSException.m:813:3: error: ‘_objc_unexpected_exception’ undeclared (first 
> use in this function)
> NSException.m:813:3: note: each undeclared identifier is reported only once 
> for each function it appears in
> 
> This is with stock gcc 4.6 under Debian. This is latest GNUstep trunk, while 
> trying to compile gnustep-base.
> 
> It looks like _objc_unexpected_exception is deprecated, and should not be 
> used with a "modern" runtime (at least according to gcc 4.6's 
> objc/deprecated/objc_unexpected_exception.h).

It looks like the wrong "unexpected exception handler" option is being used.  
Did you reconfigure gnustep-base before compiling ?
What is the output of gnustep-base's configure ?

Thanks


reply via email to

[Prev in Thread] Current Thread [Next in Thread]