Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build problem on GNUstep #30

Open
AlessandroSangiuliano opened this issue Dec 1, 2015 · 1 comment
Open

Build problem on GNUstep #30

AlessandroSangiuliano opened this issue Dec 1, 2015 · 1 comment

Comments

@AlessandroSangiuliano
Copy link
Member

Trying to build on GNUstep I got:

Compiling file Core/COEditingContext.m ...
Core/COEditingContext.m:924:3: error: use of undeclared identifier '__unused'
__unused COPersistentRoot *loaded = [_loadedPersistentRo...
^
1 error generated.

clang 3.7 , Ubuntu 15.10

@qmathe
Copy link
Member

qmathe commented Dec 9, 2015

__unused is a GNU extension iirc

A temporary solution would be to switch CoreObject GNUMakefile to GNU99 instead of C99.

Another one would be to define an UNUSED macro that evaluates to nothing when GNUSTEP is defined. This would require to pass an extra flag to disable warnings about unused values in the GNUmakefile.

The first solution is probably the cleanest one currently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants