discuss-gnustep
[Top][All Lists]
Advanced

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

Status of ARC + corebase


From: artware
Subject: Status of ARC + corebase
Date: Fri, 24 Jan 2014 13:21:34 -0600

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



reply via email to

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