Hi Ryan,

Le 22 juil. 2011 à 20:55, Ryan Harter a écrit :

> Thanks David-
> 
> Running clang -v gets me the following.  I did check out the trunk, following 
> the directions on the Etoile website.  
> 
> ryan@localhost ~/Etoile $ clang -v
> clang version 3.0 (trunk 135766)
> Target: x86_64-unknown-linux-gnu
> Thread model: posix
> 
> When I change the line in NSObject+Trait.m to move the @synthesize above the 
> load method the class compiles properly,

It's quite possible that this warning is bogus because of recent changes in 
Clang. Over the past years, I observed several times that Clang trunk was 
reporting weird or unknown warnings, and these disappeared If I updated my 
Clang working copy in the next days or weeks. 
I usually comment out the ERROR_FLAG in etoile.make to work around such 
temporary issues.

Another possibility is that ObjC syntax is getting stricter. I just checked the 
ObjC Language Guide and there is nothing that states that @synthesize should 
come first in the @implementation block, although that seems like a good 
practice :-)
So perhaps, Apple has decided it's worth to enforce this practice.

> but then I get a ton of errors in LanguageKit.  I can't imagine there are 
> this many errors in the trunk so I must be doing something wrong.

It's possible that LanguageKit is currently broken with LLVM trunk.

I did a Étoilé repository build from scratch with LLVM+Clang 2.9 today on 
Ubuntu x86 (32 bits), and everything went smoothly. I'm building LLVM/Clang 
trunk currently… I'll let you know about the results.

Cheers,
Quentin.


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

Reply via email to