Since no one has responded to you, yet, I'll go ahead and throw my 2
cents.  I'm the "maintainer" of corebase, but I have no idea how to
interface ARC with corebase's retain count system.

That said, where does corebase reference object pointers in structures?  CF
uses void * extensively in structures, but I don't remember seeing actual
object pointers anywhere.


On Fri, Jan 24, 2014 at 1:21 PM, artware <[email protected]> wrote:

> Hi everyone,
>
> I'm developing a server application that uses ARC, and I'm trying to
> figure out how to mesh with corebase and/or another CF implementation.
>
> I haven't done much with mixing ARC and non-ARC code, but from
> everything I've read, it seems like I should be able to use the
> static, non-ARC corebase framework in my project. So the only problem
> is that with ARC on, clang looks at the corebase headers and doesn't
> like to see object pointers in structs.
>
> How dangerous would it be to add __unsafe_unretained to these pointers
> and cross my fingers? I was able to get the server compiled in this
> way, but I know how problematic it is to leave dangling pointers to
> objects.
>
> Thanks,
> Ben
>
> _______________________________________________
> Discuss-gnustep mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/discuss-gnustep
>
_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to