discuss-gnustep
[Top][All Lists]
Advanced

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

Re: CoreBase parse errors with ARC enabled


From: Stefan Bidigaray
Subject: Re: CoreBase parse errors with ARC enabled
Date: Wed, 28 Jan 2015 11:19:13 -0600

Hi Jens,
I'm the (somewhat part-time) maintainer of CoreBase, so I can best speak to it.  Your best bet would be to use the current SVN code, as version 0.1 is sorely outdated.  The code compiles and tests (except for a few that are testing unimplemented functionality) work on all my platforms (ARM, x86 and AMD64 with GNU/Linux).

Please keep in mind, CF will probably be where you hit the most problems as it is still work-in-progress by all definitions.

Additionally, it is unaware of the ARC mechanism as I just haven't had time test against Clang with ARC.  I want to add this functionality, so I would gladly patch any bugs you might find.  I would likely get David's OK before doing so, though, as he's the most knowledgeable of the system since he wrote it.

Stef

On Wed, Jan 28, 2015 at 11:08 AM, Jens Alfke <jens@couchbase.com> wrote:
Now that I've gotten ARC enabled (thanks, David!) the next roadblock is that it seems incompatible with CoreFoundation, or rather, CoreBase 0.1. See error below.

Not sure what's going on with this error — it looks like ARC is trying to manage refcounting of CF objects, which does not happen in Apple's implementation, even though it's the same compiler…

—Jens

In file included from /usr/local/include/CoreFoundation/CoreFoundation.h:36:
In file included from /usr/local/include/CoreFoundation/CFBundle.h:31:
In file included from /usr/local/include/CoreFoundation/CFURL.h:34:
/usr/local/include/CoreFoundation/CFString.h:552:8: error: 'theString' is unavailable: this system field has
      retaining ownership
  buf->theString = str;
       ^
/usr/local/include/CoreFoundation/CFString.h:540:15: note: 'theString' has been explicitly marked unavailable
      here
  CFStringRef theString;
              ^


_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep


reply via email to

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