gnustep-dev
[Top][All Lists]
Advanced

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

Re: base compile failure


From: Gregory Casamento
Subject: Re: base compile failure
Date: Wed, 16 Oct 2019 09:12:39 -0400

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

GC

Mailtrack Sender notified by
Mailtrack 10/16/19, 09:08:23 AM

On Wed, Oct 16, 2019 at 1:57 AM Riccardo Mottola via Gnustep-dev <address@hidden> 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
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]