In cpSpace.cpp the filterArbiterByCallback function fails to compile properly due to the way the stack is being dynamically allocated. Has anyone run into this issue and been able to fix it?
cpSpace.cpp currently reads:
Code: Select all
filterArbiterByCallback(cpSpace *space)
{
int num = space->arbiters->num;
cpArbiter *ary[num];
I changed it slightly to fix the problem but I still cannot compile (due to a casting error):
Code: Select all
filterArbiterByCallBack(cpSpace *space)
{
int num = space->arbiters->num;
cpArbiter** ary = (cpArbiter *)_alloca(sizeof(cpArbiter*) * num);
Again any ideas?