Gangrif
01-07-2004, 01:12 PM
When trying to compile the zoneserver... i get something to the tune of this:
StringIDs.h:91:7: warning: no newline at end of file
client.cpp: In member function `bool Client::UpdateLDoNPoints(int, unsigned
int)':
client.cpp:990: warning: comparison between signed and unsigned integer
expressions
client.cpp:999: warning: comparison between signed and unsigned integer
expressions
client.cpp:1009: warning: comparison between signed and unsigned integer
expressions
client.cpp:1019: warning: comparison between signed and unsigned integer
expressions
client.cpp:1029: warning: comparison between signed and unsigned integer
expressions
client.cpp:1039: warning: comparison between signed and unsigned integer
expressions
client.cpp: In member function `virtual sint32 Client::CalcMaxHP()':
client.cpp:1372: warning: assignment to `sint32' from `float'
client.cpp:1372: warning: argument to `int' from `float'
client.cpp:1374: warning: assignment to `sint32' from `float'
client.cpp:1374: warning: argument to `int' from `float'
client.cpp:1376: warning: assignment to `sint32' from `float'
client.cpp:1376: warning: argument to `int' from `float'
client.cpp: In member function `uint32 Client::NukeItem(unsigned int)':
client.cpp:1905: warning: unused variable `int i'
client.cpp: In member function `void Client::SendManaUpdatePacket()':
client.cpp:2037: warning: assignment to `int32' from `double'
client.cpp:2037: warning: argument to `unsigned int' from `double'
client.cpp: In member function `virtual void
Client::FillSpawnStruct(NewSpawn_Struct*, Mob*)':
client.cpp:2064: warning: comparison between signed and unsigned integer
expressions
client.cpp:2065: warning: assignment of negative value `-1' to `int8'
client.cpp:2065: warning: argument of negative value `-1' to `unsigned char'
client.cpp: In member function `void Client::SendItemLink(const ItemInst*,
bool)':
client.cpp:2295: warning: `0' flag used with `%c' printf format
client.cpp:2295: warning: `0' flag used with `%c' printf format
client.cpp:2295: warning: `0' flag used with `%c' printf format
client.cpp:2295: warning: `0' flag used with `%c' printf format
client.cpp:2295: warning: `0' flag used with `%c' printf format
client.cpp: In member function `bool Client::BindWound(Mob*, bool, bool)':
client.cpp:3280: warning: assignment to `int' from `double'
client.cpp:3280: warning: argument to `int' from `double'
client.cpp: In member function `void Client::Message_StringID(unsigned int,
unsigned int, const char*, const char*, const char*, const char*, const
char*, const char*, const char*, const char*, const char*, unsigned int)':
client.cpp:3407: warning: passing `float' for argument passing 3 of `void*
memset(void*, int, unsigned int)'
client.cpp:3407: warning: argument to `unsigned int' from `float'
client.cpp:3413: name lookup of `i' changed for new ISO `for' scoping
client.cpp:3401: using obsolete binding at `i'
client.cpp: In member function `bool Client::SwapItem(MoveItem_Struct*)':
client.cpp:3467: warning: comparison between signed and unsigned integer
expressions
client.cpp:3616: warning: comparison between signed and unsigned integer
expressions
client.cpp: In member function `uint16 Client::GetAA(unsigned char)':
client.cpp:3896: warning: comparison is always true due to limited range of
data type
client.cpp: In member function `int16 Client::FindItem(unsigned int)':
client.cpp:3904: warning: unused variable `int16 charges'
make: *** [client.o] Error 1
I'm no expert, but i;m thinking theres a problem with client.o? but honestly........ where do i go from here?
StringIDs.h:91:7: warning: no newline at end of file
client.cpp: In member function `bool Client::UpdateLDoNPoints(int, unsigned
int)':
client.cpp:990: warning: comparison between signed and unsigned integer
expressions
client.cpp:999: warning: comparison between signed and unsigned integer
expressions
client.cpp:1009: warning: comparison between signed and unsigned integer
expressions
client.cpp:1019: warning: comparison between signed and unsigned integer
expressions
client.cpp:1029: warning: comparison between signed and unsigned integer
expressions
client.cpp:1039: warning: comparison between signed and unsigned integer
expressions
client.cpp: In member function `virtual sint32 Client::CalcMaxHP()':
client.cpp:1372: warning: assignment to `sint32' from `float'
client.cpp:1372: warning: argument to `int' from `float'
client.cpp:1374: warning: assignment to `sint32' from `float'
client.cpp:1374: warning: argument to `int' from `float'
client.cpp:1376: warning: assignment to `sint32' from `float'
client.cpp:1376: warning: argument to `int' from `float'
client.cpp: In member function `uint32 Client::NukeItem(unsigned int)':
client.cpp:1905: warning: unused variable `int i'
client.cpp: In member function `void Client::SendManaUpdatePacket()':
client.cpp:2037: warning: assignment to `int32' from `double'
client.cpp:2037: warning: argument to `unsigned int' from `double'
client.cpp: In member function `virtual void
Client::FillSpawnStruct(NewSpawn_Struct*, Mob*)':
client.cpp:2064: warning: comparison between signed and unsigned integer
expressions
client.cpp:2065: warning: assignment of negative value `-1' to `int8'
client.cpp:2065: warning: argument of negative value `-1' to `unsigned char'
client.cpp: In member function `void Client::SendItemLink(const ItemInst*,
bool)':
client.cpp:2295: warning: `0' flag used with `%c' printf format
client.cpp:2295: warning: `0' flag used with `%c' printf format
client.cpp:2295: warning: `0' flag used with `%c' printf format
client.cpp:2295: warning: `0' flag used with `%c' printf format
client.cpp:2295: warning: `0' flag used with `%c' printf format
client.cpp: In member function `bool Client::BindWound(Mob*, bool, bool)':
client.cpp:3280: warning: assignment to `int' from `double'
client.cpp:3280: warning: argument to `int' from `double'
client.cpp: In member function `void Client::Message_StringID(unsigned int,
unsigned int, const char*, const char*, const char*, const char*, const
char*, const char*, const char*, const char*, const char*, unsigned int)':
client.cpp:3407: warning: passing `float' for argument passing 3 of `void*
memset(void*, int, unsigned int)'
client.cpp:3407: warning: argument to `unsigned int' from `float'
client.cpp:3413: name lookup of `i' changed for new ISO `for' scoping
client.cpp:3401: using obsolete binding at `i'
client.cpp: In member function `bool Client::SwapItem(MoveItem_Struct*)':
client.cpp:3467: warning: comparison between signed and unsigned integer
expressions
client.cpp:3616: warning: comparison between signed and unsigned integer
expressions
client.cpp: In member function `uint16 Client::GetAA(unsigned char)':
client.cpp:3896: warning: comparison is always true due to limited range of
data type
client.cpp: In member function `int16 Client::FindItem(unsigned int)':
client.cpp:3904: warning: unused variable `int16 charges'
make: *** [client.o] Error 1
I'm no expert, but i;m thinking theres a problem with client.o? but honestly........ where do i go from here?