[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
base compile failure
From: |
Riccardo Mottola |
Subject: |
base compile failure |
Date: |
Wed, 16 Oct 2019 07:56:49 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.5 |
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
- base compile failure,
Riccardo Mottola <=