Thread: Compile Errors
View Single Post
  #2  
Old 12-05-2014, 01:38 AM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,743
Default

What version of Visual Studio?

Assuming it's this line:
Code:
zone_script += std::to_string(zone->GetInstanceVersion());
you can probably make it work by casting it to an unsigned int. I assume that was one of the candidates listed in the part of the error message you didn't paste. I tried using to_string on an unsigned short in Visual Studio 2013 and didn't have a problem.

Last edited by lerxst2112; 12-05-2014 at 01:44 AM.. Reason: added details, recommendation.
Reply With Quote