gnustep-dev
[Top][All Lists]
Advanced

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

Re: Errors with NS_DURING et al exception handling when building with cl


From: Gregory Casamento
Subject: Re: Errors with NS_DURING et al exception handling when building with clang
Date: Sun, 30 Jun 2019 10:55:55 -0400

I cloned everything fresh.  The header is there and things are compiling under gcc.   I suspect there is a define that is wrong someplace.   It could be that I’m using the latest git version of clang.   I’m going to investigate further later on today. 

GC 

On Sun, Jun 30, 2019 at 04:58 David Chisnall <address@hidden> wrote:
It sounds as if you’re missing the NSException.h header.  NS_DURING is the ancient NeXT-era exception handling macro, which expands to @try { on a vaguely modern version of Objective-C (i.e. anything after about 2004, GCC or Clang).  It shouldn’t be used in new code.

David

> On 30 Jun 2019, at 02:52, Gregory Casamento <address@hidden> wrote:
>
> GSXML.m:4147:3: error: use of undeclared identifier 'NS_DURING'
>   NS_DURING
>   ^
>
>
>
>
> GSXML.m:4202:3: error: use of undeclared identifier 'NS_DURING'
>   NS_DURING
>   ^
> GSXML.m:4256:3: error: use of undeclared identifier 'NS_DURING'
>   NS_DURING
>   ^
> GSXML.m:5365:7: error: use of undeclared identifier 'NS_DURING'
>       NS_DURING
>       ^
> GSXML.m:5401:3: error: use of undeclared identifier 'NS_DURING'
>   NS_DURING
>   ^
> GSXML.m:5433:3: error: use of undeclared identifier 'NS_DURING'
>   NS_DURING
>   ^
> GSXML.m:5468:3: error: use of undeclared identifier 'NS_DURING'
>   NS_DURING
>   ^
> GSXML.m:5503:3: error: use of undeclared identifier 'NS_DURING'
>   NS_DURING
>   ^
> GSXML.m:5530:3: error: use of undeclared identifier 'NS_DURING'
>   NS_DURING
>   ^
> GSXML.m:5747:7: error: use of undeclared identifier 'NS_DURING'
>       NS_DURING
>
> --
> Gregory Casamento
> GNUstep Lead Developer / OLC, Principal Consultant
> http://www.gnustep.org - http://heronsperch.blogspot.com
> http://ind.ie/phoenix/
>
> _______________________________________________
> Gnustep-dev mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/gnustep-dev

--
Gregory Casamento
GNUstep Lead Developer / OLC, Principal Consultant
http://www.gnustep.org - http://heronsperch.blogspot.com
http://ind.ie/phoenix/

reply via email to

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