gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: @property without @synthesize and variable declaration


From: Charalampos Emmanouilidis
Subject: Re: @property without @synthesize and variable declaration
Date: Tue, 11 Dec 2012 19:51:07 +0100

Great!

adding the flags "-Xclang -fobjc-default-synthesize-properties"  did the trick 




On Dec 11, 2012, at 10:44 AM, David Chisnall <address@hidden> wrote:

> Yes.
> 
> Anything that XCode can do in terms of Objective-C compilation, you can do 
> without XCode, because XCode uses an older version of the same compiler as 
> us.  The option to pass to clang is:
> 
> -Xclang -fobjc-default-synthesize-properties
> 
> I'm not sure why this isn't the default, but it probably should be.
> 
> David
> 
> On 11 Dec 2012, at 06:48, Charalampos Chrysovalantis Emmanouilidis wrote:
> 
>> Is it possible to let properties be synthesized automatically, just like 
>> Xcode does since 4.4?
>> 
>> I want to port the ObjectiveC Framework Objective-Git (wrapper of libgit2) 
>> to build and run with GNUstep.
>> 
>> https://github.com/libgit2/objective-git
>> 
>> Objective-Git makes heavy use of automatically synthesized properties. There 
>> is no @synthesize and no variable declaration in Objective-Git.
>> 
>> 
>> _______________________________________________
>> Gnustep-dev mailing list
>> address@hidden
>> https://lists.gnu.org/mailman/listinfo/gnustep-dev
> 
> -- Send from my Jacquard Loom
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]