VS2010 Unable to compile world
Posted: Sat Nov 09, 2013 1:37 pm
I know we had a problem with your fancy algorithms in Linux, but this is the first time I've seen another Windows box fail.
btw, doesn't seem to be a problem in VS2012
The EQ2TC box won't compile after the last pull from SVN. Any ideas?1> Combat.cpp
1>..\..\source\WorldServer\Combat.cpp(211): error C2668: 'floor' : ambiguous call to overloaded function
1> C:\Program Files\Microsoft Visual Studio 10.0\VC\include\math.h(567): could be 'long double floor(long double)'
1> C:\Program Files\Microsoft Visual Studio 10.0\VC\include\math.h(519): or 'float floor(float)'
1> C:\Program Files\Microsoft Visual Studio 10.0\VC\include\math.h(136): or 'double floor(double)'
1> while trying to match the argument list '(int8)'
1>..\..\source\WorldServer\Combat.cpp(313): error C2668: 'floor' : ambiguous call to overloaded function
1> C:\Program Files\Microsoft Visual Studio 10.0\VC\include\math.h(567): could be 'long double floor(long double)'
1> C:\Program Files\Microsoft Visual Studio 10.0\VC\include\math.h(519): or 'float floor(float)'
1> C:\Program Files\Microsoft Visual Studio 10.0\VC\include\math.h(136): or 'double floor(double)'
1> while trying to match the argument list '(int8)'
btw, doesn't seem to be a problem in VS2012