• Advertisement
Sign in to follow this  

Visual Studio 2012: angelscript x64 Debug compiler error fix

This topic is 1544 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

Compiling angelscript x64 Debug in Visual Studio 2012 returns an error in as_gc.cpp on line 154:

1>..\..\source\as_gc.cpp(154): error C2220: warning treated as error - no 'object' file generated
1>..\..\source\as_gc.cpp(154): warning C4267: 'initializing' : conversion from 'size_t' to 'asUINT', possible loss of data

I managed to fix this by putting an explicit conversion to asUINT before gcNewObjects.GetLength();

 

Happy coding!

 

Will

Edited by Salty Boyscouts

Share this post


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

  • Advertisement