Jump to content

  • Log In with Google      Sign In   
  • Create Account

- - - - -

Visual Studio 2012: angelscript x64 Debug compiler error fix


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 Salty Boyscouts   Members   -  Reputation: 155

Like
0Likes
Like

Posted 28 October 2013 - 09:00 PM

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 Cassella



Sponsor:

#2 Andreas Jonsson   Moderators   -  Reputation: 3365

Like
0Likes
Like

Posted 30 October 2013 - 04:12 PM

Thanks. This has already been fixed in the SVN revision


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




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS