I use MSVC 7.1 to build planeshift and get the error:
in libpsrpgrules.psmoney.cpp
error C2065: 'INT_MAX' : undeclared identifier
so I add
#include <limits.h>
in psconfig.h
And it rebuilds all again
.
then, another error happens:
\planeshift\src\server\command.cpp(162) : error C2666: “pow” :7 overloads have similar conversions
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\math.h(620): maybe “long double pow(long double,int)”
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\math.h(618): or “long double pow(long double,long double)”
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\math.h(572): or “float pow(float,int)”
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\math.h(570): or “float pow(float,float)”
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\math.h(534): or “double pow(int,int)”
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\math.h(532): or “double pow(double,int)”
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\math.h(195): or “double pow(double,double)”
it's the only error, please tell me to use which one?? Thanks.