[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: |
David Chisnall |
Subject: |
Re: Errors with NS_DURING et al exception handling when building with clang |
Date: |
Sun, 30 Jun 2019 09:58:05 +0100 |
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