warning: No wax_originalAllocWithZone method found
43 views
Skip to first unread message
glub32
unread,
Oct 9, 2011, 11:46:44 PM10/9/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to iPhone Wax
Hi,
I just downloaded probablycorey-wax-177533b.zip. I'm getting this
warning running a hello world lua app:
"warning: No wax_originalAllocWithZone method found"
wax_class.m:
static id allocWithZone(id self, SEL _cmd, NSZone *zone) {
lua_State *L = wax_currentLuaState();
BEGIN_STACK_MODIFY(L);
id instance = [self wax_originalAllocWithZone:zone];
Any idea how to fix it?
Thanks
Andy Bower
unread,
Sep 25, 2012, 12:55:33 PM9/25/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ipho...@googlegroups.com
Hi,
I just fixed this warning by added an interface extension declaration for NSObject immediately before the allocWithZone: method that is causing the warning. Like this: