gnustep-dev
[Top][All Lists]
Advanced

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

Re: GNUstep CoreBase and ARC


From: Stefan Bidigaray
Subject: Re: GNUstep CoreBase and ARC
Date: Fri, 13 Mar 2015 11:03:44 -0400

This incompatibility came up last month, too.  I wanted to consult David C., who wrote the GNUstep runtime (where the ARC code is) just to double check that it was as straight forward as it seems.  But after some thought, I think this is an easy enough fix.  The code is only the way it is because of some historic reasons, anyway.  I won't have time to do anything with it today, but will check on it this weekend.  I'll let you know when its done and you can check the code out again from SVN.

On Fri, Mar 13, 2015 at 6:49 AM, 陈北宗 <address@hidden> wrote:
I was trying to compile some existing OS X code, in which made heavy use of Toll-Free bridging between CoreFoundation and Foundation and is written using ARC. It doesn’t compile on GNUstep at all.

The culprit is that the toll-free bridging code typedef’d Foundation types to CF types. This is not allowed in ARC.

Is there any workaround possible? Or should we consider rewriting CoreBase into some more Apple like fashion?


_______________________________________________
Gnustep-dev mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/gnustep-dev



reply via email to

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