This is due to a recent change by me.  Just pushed a fix so that legacy gcc
compilers can build.

GC

[image: Mailtrack]
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&;>
Sender
notified by
Mailtrack
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&;>
10/16/19,
09:08:23 AM

On Wed, Oct 16, 2019 at 1:57 AM Riccardo Mottola via Gnustep-dev <
gnustep-dev@gnu.org> wrote:

> Hi,
>
> while compiling base with older gcc, I get these errors (and also
> warnings):
>
> I think it doesn't understand "@required" and "@optional". Did we use to
> have a macro for that?
>
> NSError.m:193:1: warning: cast increases required alignment of target type
>   Compiling file NSException.m ...
>   Compiling file NSFileCoordinator.m ...
> In file included from NSFileCoordinator.m:30:0:
> ../Headers/Foundation/NSFilePresenter.h:42:1: error: stray '@' in program
> ../Headers/Foundation/NSFilePresenter.h:43:1: error: expected '=', ',',
> ';', 'asm' or '__attribute__' before '-' token
> ../Headers/Foundation/NSFilePresenter.h:46:1: error: stray '@' in program
> ../Headers/Foundation/NSFilePresenter.h:47:1: error: expected '=', ',',
> ';', 'asm' or '__attribute__' before '-' token
> NSFileCoordinator.m: In function '+[NSFileCoordinator addFilePresenter:]':
> NSFileCoordinator.m:98:3: warning: no '-presentedItemURL' method found
> NSFileCoordinator.m:98:3: warning: (Messages without a matching method
> signature
> NSFileCoordinator.m:98:3: warning: will be assumed to return 'id' and
> accept
> NSFileCoordinator.m:98:3: warning: '...' as arguments.)
> NSFileCoordinator.m: In function '+[NSFileCoordinator
> removeFilePresenter:]':
> NSFileCoordinator.m:105:3: warning: no '-presentedItemURL' method found
> NSFileCoordinator.m: In function '-[NSFileCoordinator
> coordinateAccessWithIntents:queue:byAccessor:]':
> NSFileCoordinator.m:156:7: warning: passing argument 1 of
> 'blockOperationWithBlock:' from incompatible pointer type
> NSFileCoordinator.m:156:7: note: expected 'GSBlockOperationBlock' but
> argument is of type 'GSAccessorCallbackHandler'
> NSFileCoordinator.m: At top level:
>
>
> Riccardo
>
> _______________________________________________
> Gnustep-dev mailing list
> Gnustep-dev@gnu.org
> 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/
_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to