Hi,

Le 25 juil. 2011 à 19:21, obiwan kenobi a écrit :

> Hi all, 
> 
> I've got some issues when i tried to compile etoilé.
> 
> I'm working with the last svn versions of llvm, clang, libojc2, gnustep and 
> etoilé.
> Here's what i get when i use make 
> 
>  This is gnustep-make 2.6.1. Type 'make print-gnustep-make-help' for help.
> Making all in Bootstrap ...
> Making all in UnitKit ...
> rm -f /home/fred/dev/Etoilé/Etoile/Frameworks/UnitKit/Source/UnitKit
> ln -s /home/fred/dev/Etoilé/Etoile/Frameworks/UnitKit/Source/FrameworkSource 
> /home/fred/dev/Etoilé/Etoile/Frameworks/UnitKit/Source/UnitKit
> Making all in Source/FrameworkSource ...
> Making build-headers for framework UnitKit...
> 
> Build Project: UnitKit
> 
> Making all for framework UnitKit...
>  Compiling file UKRunner.m ...
> In file included from UKRunner.m:27:
> In file included from 
> /home/fred/dev/Etoilé/Etoile/Frameworks/UnitKit/Source/FrameworkSource/UKRunner.h:25:
> In file included from 
> /usr/local/GNUstep/Local/Library/Headers/Foundation/Foundation.h:33:
> In file included from 
> /usr/local/GNUstep/Local/Library/Headers/Foundation/FoundationErrors.h:29:
> /usr/local/GNUstep/Local/Library/Headers/Foundation/NSObject.h:272:1: error: 
> conflicting distributed object modifiers on return type
>       in declaration of 'release' [-Werror,-Wdistributed-object-modifiers]
> - (void) release;
> ^  ~~~~
> /usr/local/GNUstep/Local/Library/Headers/Foundation/NSObject.h:85:1: note: 
> previous declaration is here
> - (oneway void) release;                /** See [NSObject-release] */
> ^         ~~~~
> 1 error generated.
> make[5]: *** [obj/UnitKit.obj/UKRunner.m.o] Erreur 1
> make[4]: *** [internal-framework-run-compile-submake] Erreur 2
> make[3]: *** [UnitKit.all.framework.variables] Erreur 2
> make[2]: *** [internal-all] Erreur 2
> make[1]: *** [internal-all] Erreur 2
> make: *** [internal-all] Erreur 2
> 
> Could anyone help me ?

Looks like Clang trunk is getting more strict about type checking the return 
type.
I committed a fix in GNUstep Base svn, see 
http://svn.gna.org/viewcvs/gnustep?rev=33634&view=rev

Thanks for the report.

Cheers,
Quentin.
_______________________________________________
Etoile-dev mailing list
Etoile-dev@gna.org
https://mail.gna.org/listinfo/etoile-dev

Reply via email to