050DR3 compile
Anyone else having issues with compiling zone?
I get several errors from client_process.cpp as follows:
client_process.cpp: In member function `int Client::HandlePacket(const
APPLAYER*)':
client_process.cpp:991: warning: comparison is always true due to limited range
of data type
client_process.cpp:1177: warning: comparison between signed and unsigned
integer expressions
client_process.cpp:2150: warning: unused variable `bool cancast'
client_process.cpp:2614: warning: unused variable `TradeRequest_Struct*msg'
client_process.cpp:2783: warning: cast from `const char*' to `char*' discards
qualifiers from pointer target type
client_process.cpp:3376: warning: comparison between signed and unsigned
integer expressions
client_process.cpp:3521: warning: assignment to `int' from `double'
client_process.cpp:3521: warning: argument to `int' from `double'
client_process.cpp:3523: warning: passing `double' for argument 1 of `void
Client::AddMoneyToPP(unsigned int, bool)'
client_process.cpp:3562: warning: assignment to `int' from `double'
client_process.cpp:3562: warning: argument to `int' from `double'
client_process.cpp:3564: warning: passing `double' for argument 1 of `void
Client::AddMoneyToPP(unsigned int, bool)'
client_process.cpp:3514: warning: unused variable `Item_Struct*item2'
client_process.cpp:4145: warning: suggest parentheses around assignment used as
truth value
client_process.cpp:4333: cannot allocate an object of type `const ItemInst'
client_process.cpp:4333: because the following virtual functions are
abstract:
../common/Item.h:308: virtual ItemInst* ItemInst::Clone() const
client_process.cpp:4753: warning: comparison between signed and unsigned
integer expressions
client_process.cpp: In member function `bool
Client::FinishConnState2(DBAsyncWork*)':
client_process.cpp:5136: warning: assignment of negative value `-1' to `int16'
client_process.cpp:5136: warning: argument of negative value `-1' to `short
unsigned int'
client_process.cpp:5140: warning: comparison between signed and unsigned
integer expressions
client_process.cpp:5149: warning: assignment of negative value `-1' to `int16'
client_process.cpp:5149: warning: argument of negative value `-1' to `short
unsigned int'
client_process.cpp:5151: warning: assignment of negative value `-1' to `int32'
client_process.cpp:5151: warning: argument of negative value `-1' to `unsigned
int'
client_process.cpp:5206: warning: unused variable `int bp'
client_process.cpp: In member function `void Client::OPMemorizeSpell(const
APPLAYER*)':
client_process.cpp:6049: warning: comparison between signed and unsigned
integer expressions
make: *** [client_process.o] Error 1
|