What version of clang are you using?  It builds fine for me with 3.2 and trunk. 
 This looks like an old clang bug, which required specifying ownership even for 
read-only properties where it doesn't make sense.

David

On 19 Feb 2013, at 01:31, Luis Garcia Alanis <[email protected]> wrote:

> Hello,
> 
> I am trying to build Etoile. But I get the following errors, is the codebase 
> currently broken?
> 
> Making all for framework SourceCodeKit...
>  Compiling file SCKCodeCompletionResult.m ...
>  Compiling file SCKClangSourceFile.m ...
> SCKClangSourceFile.m:206:13: error: ARC forbids synthesizing a property of an 
> Objective-C object with unspecified ownership or storage attribute
> @synthesize classes, functions, globals, enumerations, enumerationValues;
>             ^
> /home/luis/Projects/Etoile/Languages/SourceCodeKit/SCKClangSourceFile.h:23:54:
>  note: property declared here
> @property (nonatomic, readonly) NSMutableDictionary *classes;
>                                                      ^
> SCKClangSourceFile.m:206:22: error: ARC forbids synthesizing a property of an 
> Objective-C object with unspecified ownership or storage attribute
> @synthesize classes, functions, globals, enumerations, enumerationValues;
>                      ^
> /home/luis/Projects/Etoile/Languages/SourceCodeKit/SCKClangSourceFile.h:24:54:
>  note: property declared here
> @property (nonatomic, readonly) NSMutableDictionary *functions;
>                                                      ^
> SCKClangSourceFile.m:206:33: error: ARC forbids synthesizing a property of an 
> Objective-C object with unspecified ownership or storage attribute
> @synthesize classes, functions, globals, enumerations, enumerationValues;
>                                 ^
> /home/luis/Projects/Etoile/Languages/SourceCodeKit/SCKClangSourceFile.h:25:54:
>  note: property declared here
> @property (nonatomic, readonly) NSMutableDictionary *globals;
>                                                      ^
> SCKClangSourceFile.m:206:42: error: ARC forbids synthesizing a property of an 
> Objective-C object with unspecified ownership or storage attribute
> @synthesize classes, functions, globals, enumerations, enumerationValues;
>                                          ^
> /home/luis/Projects/Etoile/Languages/SourceCodeKit/SCKClangSourceFile.h:26:54:
>  note: property declared here
> @property (nonatomic, readonly) NSMutableDictionary *enumerations;
>                                                      ^
> SCKClangSourceFile.m:206:56: error: ARC forbids synthesizing a property of an 
> Objective-C object with unspecified ownership or storage attribute
> @synthesize classes, functions, globals, enumerations, enumerationValues;
>                                                        ^
> /home/luis/Projects/Etoile/Languages/SourceCodeKit/SCKClangSourceFile.h:27:54:
>  note: property declared here
> @property (nonatomic, readonly) NSMutableDictionary *enumerationValues;
>                                                      ^
> 5 errors generated.
> make[4]: *** [obj/SourceCodeKit.obj/SCKClangSourceFile.m.o] Error 1
> make[3]: *** [internal-framework-run-compile-submake] Error 2
> make[2]: *** [SourceCodeKit.all.framework.variables] Error 2
> make[1]: *** [internal-all] Error 2
> make: *** [internal-all] Error 2
> 
> _______________________________________________
> Etoile-discuss mailing list
> [email protected]
> https://mail.gna.org/listinfo/etoile-discuss




-- Sent from my Difference Engine




_______________________________________________
Etoile-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-discuss

Répondre à