# AS 2.2.1 WIP 1 compilation troubles (gnuc)

This topic is 4725 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

I just tried to compile the lates WIP. Got this error:
gcc -g -Wall -o obj/as_callfunc_x86.o -c ../../source/as_callfunc_x86.cpp
../../source/as_callfunc_x86.cpp: In function int CallSystemFunction(int,
asCContext*, void*)':
../../source/as_callfunc_x86.cpp:469: error: 'class asCObjectType' has no
member named 'idx'
Maybe something is wrong with the #defines in the gnuc makefile?

##### Share on other sites
No, there is nothing wrong with the #defines, the problem is that I didn't do enough testing before releasing this WIP. Sorry, about that.

You should be able to fix this error by changing the line that causes the compilation error to:

engine->CallFree(descr->parameterTypes[n].GetObjectType(), obj);`

Just remove the ->idx, property access.

Thanks for letting me know about the problem.

Regards,
Andreas

##### Share on other sites
heh :) thanks again for a very quick reply and fix. keep up the marvellous work!

• 10
• 18
• 14
• 18
• 15