Advertisement

AS 2.2.1 WIP 1 compilation troubles (gnuc)

Started by June 13, 2005 06:46 AM
1 comment, last by afa_guru 19 years, 5 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?
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

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

This topic is closed to new replies.

Advertisement