gnustep-dev
[Top][All Lists]
Advanced

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

Re: Should -base be built with -fobjc-gc


From: David Chisnall
Subject: Re: Should -base be built with -fobjc-gc
Date: Fri, 31 May 2013 19:30:07 +0100

On 31 May 2013, at 17:48, Frank Rehwinkel <address@hidden> wrote:

> Well, I want to use ARC for my code but I understand that doesn't require the 
> libraries be built with ARC.  So no -fobj-arc for gnustep libraries.

Correct. 

> I though if arc was not used, then gc was needed

Why would you think that?  Objective-C survived quite happily for 20 years with 
neither GC nor ARC.

> , so that would mean compiling with -fobjc-gc, but you say it has been 
> deprecated on OS X for some time.  

EFQ

> Does this mean I should be building gnustep without -fobjc-gc too?

Yes.

>  Then I'm back to my first problem.  What to do about the _weak macro being 
> redefined?

The weak macro should not be defined by the compiler when building with neither 
GC nor ARC.

> Is it a warning I can safely ignore?

Yes.

David




reply via email to

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