Public feed
#887964
In file included from ../common/DataBuffer.h:28,
from Commands.h:22,
from zoneserver.cpp:29:
../common/../World/SpawnLists.h: In member function ‘void SpawnCommandList::SetCommands(SpawnCommandList*)’:
../common/../World/SpawnLists.h:56: warning: cast from type ‘const char*’ to type ‘char*’ casts away constness
../common/../World/SpawnLists.h:56: warning: cast from type ‘const char*’ to type ‘char*’ casts away constness
In file included from Commands.h:22,
from zoneserver.cpp:29:
../common/DataBuffer.h: In member function ‘void DataBuffer::AddDataCommandList(SpawnCommandList*)’:
../common/DataBuffer.h:221: warning: comparison between signed and unsigned integer expressions
In file included from zoneserver.cpp:53:
../common/servertalk.h: In member function ‘std::string TableQuery::GetQueriesString()’:
../common/servertalk.h:381: warning: comparison between signed and unsigned integer expressions
../common/servertalk.h: In destructor ‘TableDataQuery::~TableDataQuery()’:
../common/servertalk.h:460: warning: comparison between signed and unsigned integer expressions
In file included from WorldDatabase.h:32,
from zoneserver.cpp:55:
../common/database.h: In member function ‘char* Query::GetQuery()’:
../common/database.h:87: warning: cast from type ‘const char*’ to type ‘char*’ casts away constness
In file included from zoneserver.h:32,
from client.h:26,
from WorldDatabase.h:36,
from zoneserver.cpp:55:
net.h: In member function ‘char* ZoneAuthRequest::GetCharacterName()’:
net.h:104: warning: cast from type ‘const char*’ to type ‘char*’ casts away constness
In file included from ../common/ConfigReader.h:23,
from Spawn.h:33,
from Player.h:23,
from zoneserver.h:33,
from client.h:26,
from WorldDatabase.h:36,
from zoneserver.cpp:55:
../common/PacketStruct.h: In member function ‘void PacketStruct::setArrayAddToPacketByName(char*, bool, int16, int16)’:
../common/PacketStruct.h:159: warning: cast from type ‘const char*’ to type ‘char*’ casts away constness
../common/PacketStruct.h: In member function ‘char* PacketStruct::GetName()’:
../common/PacketStruct.h:352: warning: cast from type ‘const char*’ to type ‘char*’ casts away constness
zoneserver.h: In constructor ‘ZoneServer::ZoneServer(char*)’:
zoneserver.h:171: warning: ‘ZoneServer::shutdownTimer’ will be initialized after
zoneserver.h:165: warning: ‘Timer ZoneServer::movement_timer’
zoneserver.cpp:89: warning: when initialized here
zoneserver.h:165: warning: ‘ZoneServer::movement_timer’ will be initialized after
zoneserver.h:143: warning: ‘Timer ZoneServer::regenTimer’
zoneserver.cpp:89: warning: when initialized here
zoneserver.h:170: warning: ‘ZoneServer::charsheet_changes’ will be initialized after
zoneserver.h:169: warning: ‘Timer ZoneServer::client_save’
zoneserver.cpp:89: warning: when initialized here
zoneserver.h:169: warning: ‘ZoneServer::client_save’ will be initialized after
zoneserver.h:167: warning: ‘Timer ZoneServer::spawn_check_remove’
zoneserver.cpp:89: warning: when initialized here
zoneserver.cpp: In member function ‘void ZoneServer::CheckRemoveSpawnFromClient()’:
zoneserver.cpp:184: warning: unused variable ‘index’
zoneserver.cpp: In member function ‘Spawn* ZoneServer::FindSpawn(Player*, char*)’:
zoneserver.cpp:290: error: ‘stricmp’ was not declared in this scope
zoneserver.cpp: In member function ‘void ZoneServer::HandleChatMessage(Client*, char*, int16, char*, float, char*)’:
zoneserver.cpp:419: warning: deprecated conversion from string constant to ‘char*’
zoneserver.cpp:422: warning: deprecated conversion from string constant to ‘char*’
zoneserver.cpp:424: warning: deprecated conversion from string constant to ‘char*’
zoneserver.cpp:425: warning: deprecated conversion from string constant to ‘char*’
zoneserver.cpp:427: warning: deprecated conversion from string constant to ‘char*’
zoneserver.cpp:429: warning: deprecated conversion from string constant to ‘char*’
zoneserver.cpp:430: warning: deprecated conversion from string constant to ‘char*’
zoneserver.cpp:431: warning: deprecated conversion from string constant to ‘char*’
zoneserver.cpp:432: warning: deprecated conversion from string constant to ‘char*’
zoneserver.cpp:433: warning: deprecated conversion from string constant to ‘char*’
zoneserver.cpp:435: warning: deprecated conversion from string constant to ‘char*’
zoneserver.cpp: In member function ‘void ZoneServer::SendRemoveSpawn(Client*, Spawn*, PacketStruct*)’:
zoneserver.cpp:650: warning: deprecated conversion from string constant to ‘char*’
zoneserver.cpp:654: warning: deprecated conversion from string constant to ‘char*’
zoneserver.cpp: In member function ‘void ZoneServer::RemoveSpawn(Spawn*, bool)’:
zoneserver.cpp:662: warning: unused variable ‘outapp’
zoneserver.cpp: In member function ‘void ZoneServer::SendCalculatedXP(Player*, Spawn*)’:
zoneserver.cpp:678: warning: deprecated conversion from string constant to ‘char*’
zoneserver.cpp: In member function ‘void ZoneServer::KillSpawn(Spawn*, Spawn*)’:
zoneserver.cpp:706: warning: deprecated conversion from string constant to ‘char*’
zoneserver.cpp:710: warning: deprecated conversion from string constant to ‘char*’
zoneserver.cpp:711: warning: deprecated conversion from string constant to ‘char*’
zoneserver.cpp: In member function ‘void ZoneServer::SendDamagePacket(Spawn*, Spawn*, int8, int8, int8, int16, char*)’:
zoneserver.cpp:749: warning: deprecated conversion from string constant to ‘char*’
zoneserver.cpp:752: warning: deprecated conversion from string constant to ‘char*’
zoneserver.cpp:756: warning: deprecated conversion from string constant to ‘char*’
zoneserver.cpp:762: warning: deprecated conversion from string constant to ‘char*’
zoneserver.cpp:765: warning: deprecated conversion from string constant to ‘char*’
zoneserver.cpp:769: warning: deprecated conversion from string constant to ‘char*’
zoneserver.cpp:779: warning: deprecated conversion from string constant to ‘char*’
zoneserver.cpp:779: warning: deprecated conversion from string constant to ‘char*’
zoneserver.cpp:780: warning: deprecated conversion from string constant to ‘char*’
zoneserver.cpp:780: warning: deprecated conversion from string constant to ‘char*’
zoneserver.cpp:781: warning: deprecated conversion from string constant to ‘char*’
zoneserver.cpp:781: warning: deprecated conversion from string constant to ‘char*’
zoneserver.cpp:782: warning: deprecated conversion from string constant to ‘char*’
zoneserver.cpp:782: warning: deprecated conversion from string constant to ‘char*’
zoneserver.cpp:783: warning: deprecated conversion from string constant to ‘char*’
zoneserver.cpp:784: warning: deprecated conversion from string constant to ‘char*’
zoneserver.cpp:786: warning: deprecated conversion from string constant to ‘char*’
zoneserver.cpp: In member function ‘void ZoneServer::SendCastSpellPacket(int32, int32)’:
zoneserver.cpp:807: warning: deprecated conversion from string constant to ‘char*’
zoneserver.cpp:811: warning: deprecated conversion from string constant to ‘char*’
zoneserver.cpp:812: warning: deprecated conversion from string constant to ‘char*’
zoneserver.cpp:813: warning: deprecated conversion from string constant to ‘char*’
zoneserver.cpp:814: warning: deprecated conversion from string constant to ‘char*’
zoneserver.cpp:815: warning: deprecated conversion from string constant to ‘char*’
zoneserver.cpp: In member function ‘EQ2Packet* ZoneServer::GetZoneInfoPacket(Client*)’:
zoneserver.cpp:880: warning: deprecated conversion from string constant to ‘char*’
zoneserver.cpp:881: warning: deprecated conversion from string constant to ‘char*’
zoneserver.cpp:882: warning: deprecated conversion from string constant to ‘char*’
zoneserver.cpp:883: warning: deprecated conversion from string constant to ‘char*’
zoneserver.cpp:883: warning: deprecated conversion from string constant to ‘char*’
zoneserver.cpp:884: warning: deprecated conversion from string constant to ‘char*’
zoneserver.cpp:885: warning: deprecated conversion from string constant to ‘char*’
zoneserver.cpp:885: warning: deprecated conversion from string constant to ‘char*’
zoneserver.cpp:886: warning: deprecated conversion from string constant to ‘char*’
zoneserver.cpp:886: warning: deprecated conversion from string constant to ‘char*’
zoneserver.cpp:887: warning: cast from type ‘const char*’ to type ‘char*’ casts away constness
zoneserver.cpp:887: warning: deprecated conversion from string constant to ‘char*’
zoneserver.cpp:888: warning: cast from type ‘const char*’ to type ‘char*’ casts away constness
zoneserver.cpp:888: warning: deprecated conversion from string constant to ‘char*’
zoneserver.cpp:889: warning: cast from type ‘const char*’ to type ‘char*’ casts away constness
zoneserver.cpp:889: warning: deprecated conversion from string constant to ‘char*’
zoneserver.cpp:890: warning: deprecated conversion from string constant to ‘char*’
zoneserver.cpp:893: warning: deprecated conversion from string constant to ‘char*’
zoneserver.cpp:895: warning: deprecated conversion from string constant to ‘char*’
zoneserver.cpp:896: warning: deprecated conversion from string constant to ‘char*’
zoneserver.cpp:897: warning: deprecated conversion from string constant to ‘char*’
../common/PacketStruct.h: In member function ‘void PacketStruct::setSubstructDataByName(char*, char*, Data, int16, int16) [with Data = unsigned char]’:
zoneserver.cpp:779: instantiated from here
../common/PacketStruct.h:123: warning: cast from type ‘const char*’ to type ‘char*’ casts away constness
../common/PacketStruct.h: In member function ‘void PacketStruct::setSubstructDataByName(char*, char*, Data, int16, int16) [with Data = unsigned int]’:
zoneserver.cpp:781: instantiated from here
../common/PacketStruct.h:123: warning: cast from type ‘const char*’ to type ‘char*’ casts away constness
make: *** [zoneserver.o] Error 1