• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: OS_OBJECT_USE_OBJC_RETAIN_RELEASE and xpc_release()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OS_OBJECT_USE_OBJC_RETAIN_RELEASE and xpc_release()


  • Subject: Re: OS_OBJECT_USE_OBJC_RETAIN_RELEASE and xpc_release()
  • From: Jerry Krinock <email@hidden>
  • Date: Mon, 05 Nov 2012 09:56:53 -0800

Continuing.  In here…

http://opensource.apple.com/source/libdispatch/libdispatch-228.18/os/object.h

I find a maze of #define compiler directives which affect OS_OBJECT_USE_OBJC_RETAIN_RELEASE, and also there is a comment which implies that maybe I should add compiler flag -DOS_OBJECT_USE_OBJC=0 to the file which invokes xpc_release().  Indeed, doing so fixes the error.

But I don't fully understand what the effect is.  Also, my little project does not have that flag, neither as an option in the relevant source file, nor anywhere in Build Settings.  It builds fine without it.

Any clues to the intended usage of this OS_OBJECT_USE_OBJC_RETAIN_RELEASE and OS_OBJECT_USE_OBJC would be appreciated.

Thanks again,

Jerry


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: OS_OBJECT_USE_OBJC_RETAIN_RELEASE and xpc_release()
      • From: Jean-Daniel Dupas <email@hidden>
References: 
 >OS_OBJECT_USE_OBJC_RETAIN_RELEASE and xpc_release() (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: iOS kiosk mode?
  • Next by Date: Sorting NSTableView using Bindings
  • Previous by thread: Re: OS_OBJECT_USE_OBJC_RETAIN_RELEASE and xpc_release()
  • Next by thread: Re: OS_OBJECT_USE_OBJC_RETAIN_RELEASE and xpc_release()
  • Index(es):
    • Date
    • Thread