discuss-gnustep
[Top][All Lists]
Advanced

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

CoreBase parse errors with ARC enabled


From: Jens Alfke
Subject: CoreBase parse errors with ARC enabled
Date: Wed, 28 Jan 2015 09:08:47 -0800

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;
              ^




reply via email to

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