Re: OS_OBJECT_USE_OBJC_RETAIN_RELEASE and xpc_release()
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