What version of clang are you using?  With trunk (r134610) I don't see that 
error, and Quentin has (I think) tested with 2.9.  In fact, searching the 
warnings in my copy of the clang source for the word 'after', I can't find that 
warning...

David

On 22 Jul 2011, at 17:27, Ryan Harter wrote:

> I've got a Gentoo box with GNUstep installed and working and llvm and clang 
> compiled and configured, but I'm getting errors while compiling Etoile which 
> reads: property implementation declaration after method or function definition
> 
> I've tried simply editing the NSObject+Trait.m file to put the @synthesize 
> declaration above the load method declaration, but then I end up with many 
> more errors. 
> 
> I'm thinking this might be related to libobjc versioning, does that seem like 
> a reasonable conjecture?  Any ideas?
> 
> Thanks
> Ryan
> 
> Making all for framework EtoileFoundation...
>  Compiling file Source/NSObject+Trait.m ...
> Source/NSObject+Trait.m:208:1: error: property implementation declaration 
> after method or function definition [-Werror]
> @synthesize trait, excludedMethodNames, aliasedMethodNames, 
> skippedMethodNames, overridenMethods;
> ^
> Source/NSObject+Trait.m:203:1: note: method declared here
> + (void) load
> ^
> Source/NSObject+Trait.m:208:1: error: property implementation declaration 
> after method or function definition [-Werror]
> @synthesize trait, excludedMethodNames, aliasedMethodNames, 
> skippedMethodNames, overridenMethods;
> ^
> Source/NSObject+Trait.m:203:1: note: method declared here
> + (void) load
> ^
> Source/NSObject+Trait.m:208:1: error: property implementation declaration 
> after method or function definition [-Werror]
> @synthesize trait, excludedMethodNames, aliasedMethodNames, 
> skippedMethodNames, overridenMethods;
> ^
> Source/NSObject+Trait.m:203:1: note: method declared here
> + (void) load
> ^
> Source/NSObject+Trait.m:208:1: error: property implementation declaration 
> after method or function definition [-Werror]
> @synthesize trait, excludedMethodNames, aliasedMethodNames, 
> skippedMethodNames, overridenMethods;
> ^
> Source/NSObject+Trait.m:203:1: note: method declared here
> + (void) load
> ^
> Source/NSObject+Trait.m:208:1: error: property implementation declaration 
> after method or function definition [-Werror]
> @synthesize trait, excludedMethodNames, aliasedMethodNames, 
> skippedMethodNames, overridenMethods;
> ^
> Source/NSObject+Trait.m:203:1: note: method declared here
> + (void) load
> ^
> 5 errors generated.
> _______________________________________________
> Etoile-dev mailing list
> Etoile-dev@gna.org
> https://mail.gna.org/listinfo/etoile-dev


-- Sent from my STANTEC-ZEBRA


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

Reply via email to