Jump to content
  • Advertisement
Sign in to follow this  

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.

If you intended to correct an error in the post then please contact us.

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 this post


Link to post
Share on other sites
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


Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!