Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

substrate.h error ``` arc restrictions #35

Closed
gitpc988 opened this issue Nov 17, 2012 · 4 comments
Closed

substrate.h error ``` arc restrictions #35

gitpc988 opened this issue Nov 17, 2012 · 4 comments

Comments

@gitpc988
Copy link

template
static inline Type_ &MSHookIvar(id self, const char *name) {
Ivar ivar(class_getInstanceVariable(object_getClass(self), name));
void *pointer(ivar == NULL ? NULL : reinterpret_cast<char *>(self) + ivar_getOffset(ivar));
return *reinterpret_cast<Type_ *>(pointer);
}

/opt/iOSOpenDev/include/substrate.h:167:41: Cast of an Objective-C pointer to 'char *' is disallowed with ARC

@tyilo
Copy link
Contributor

tyilo commented Nov 17, 2012

See issue #15.
I have reported and fixed this issue 3 months ago, however kokoabim doesn't want to fix it. I don't know why.

@kokoabim
Copy link
Owner

"doesn't want to"? I never said that; please do not attempt to speak on my
behalf. There is an underlining reason.

@tyilo
Copy link
Contributor

tyilo commented Nov 17, 2012

Why haven't you then told me this reason?

@gitpc988
Copy link
Author

thank you `` solve that..

underlining reason.?? what's mean?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants