iOSOpenDev icon indicating copy to clipboard operation
iOSOpenDev copied to clipboard

Cast of an Objective-C pointer to 'char *' is disallowed with ARC

Open i0sa opened this issue 12 years ago • 1 comments

Build fails with error /opt/iOSOpenDev/include/substrate.h:168:41: Cast of an Objective-C pointer to 'char *' is disallowed with ARC coming from this line void *pointer(ivar == NULL ? NULL : reinterpret_cast<char *>(self) + ivar_getOffset(ivar));

i followed this solution to skip the error : http://stackoverflow.com/questions/10452109/using-reinterpret-cast-with-arc-enabled

and this error originally came from MsHookIvar, now when i use MsHookIvar it crashes the app/springboard, is there any quick fix for this ?

i0sa avatar May 28 '13 13:05 i0sa

@i0sa this is #15 rearing it's head again. Just replace substrate.h with the one provided there.

jridgewell avatar May 28 '13 16:05 jridgewell