AS 2.2.1 WIP 1 compilation troubles (gnuc)

Started by
1 comment, last by afa_guru 18 years, 10 months ago
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?
Advertisement
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


AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

heh :) thanks again for a very quick reply and fix. keep up the marvellous work!

This topic is closed to new replies.

Advertisement