Ir para conteúdo
  • Cadastre-se

Programação Problema para compilar Distro no ubuntu 16.04


Posts Recomendados

Boa tarde Senhores,

 

Estou tendo problemas ao tentar compilar uma distro OTHIRE  na minha maquina ubuntu 16.04, ao tentar compilar da o seguinte error:

 

Distro usada: https://github.com/eubrunomiguel/D2-Game-Server-Emulator-7.4

 

Alguem sabe como eu  resolvo esse erro ?

 

 

Citar

> make[1]: Entering directory '/home/otmanager/compilar/source'
> g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1  -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/otserv\" -D_THREAD_SAFE -D__OLD_GUILD_SYSTEM__ -D_REENTRANT -Wall -g -O2 -MT databasemysql.o -MD -MP -MF .deps/databasemysql.Tpo -c -o databasemysql.o databasemysql.cpp
> g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1  -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/otserv\" -D_THREAD_SAFE -D__OLD_GUILD_SYSTEM__ -D_REENTRANT -Wall -g -O2 -MT map.o -MD -MP -MF .deps/map.Tpo -c -o map.o map.cpp
> g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1  -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/otserv\" -D_THREAD_SAFE -D__OLD_GUILD_SYSTEM__ -D_REENTRANT -Wall -g -O2 -MT rsa.o -MD -MP -MF .deps/rsa.Tpo -c -o rsa.o rsa.cpp
> g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1  -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/otserv\" -D_THREAD_SAFE -D__OLD_GUILD_SYSTEM__ -D_REENTRANT -Wall -g -O2 -MT actions.o -MD -MP -MF .deps/actions.Tpo -c -o actions.o actions.cpp
> In file included from creatureevent.h:27:0,
>                  from creature.h:34,
>                  from monsters.h:25,
>                  from monster.h:27,
>                  from spawn.h:28,
>                  from iomap.h:28,
>                  from map.cpp:23:
> baseevents.h: In constructor ‘EventLog::EventLog(std::__cxx11::string)’:
> baseevents.h:121:13: warning: ‘EventLog::_time’ will be initialized after [-Wreorder]
>      int64_t _time;
>              ^
> baseevents.h:120:17: warning:   ‘std::__cxx11::string EventLog::_eventName’ [-Wreorder]
>      std::string _eventName;
>                  ^
> baseevents.h:99:5: warning:   when initialized here [-Wreorder]
>      EventLog(std::string eventName) : _function(eventName), _time(OTSYS_TIME()), _eventName("") {}
>      ^
> In file included from actions.h:28:0,
>                  from actions.cpp:22:
> baseevents.h: In constructor ‘EventLog::EventLog(std::__cxx11::string)’:
> baseevents.h:121:13: warning: ‘EventLog::_time’ will be initialized after [-Wreorder]
>      int64_t _time;
>              ^
> baseevents.h:120:17: warning:   ‘std::__cxx11::string EventLog::_eventName’ [-Wreorder]
>      std::string _eventName;
>                  ^
> baseevents.h:99:5: warning:   when initialized here [-Wreorder]
>      EventLog(std::string eventName) : _function(eventName), _time(OTSYS_TIME()), _eventName("") {}
>      ^
> mv -f .deps/databasemysql.Tpo .deps/databasemysql.Po
> g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1  -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/otserv\" -D_THREAD_SAFE -D__OLD_GUILD_SYSTEM__ -D_REENTRANT -Wall -g -O2 -MT md5.o -MD -MP -MF .deps/md5.Tpo -c -o md5.o md5.cpp
> mv -f .deps/rsa.Tpo .deps/rsa.Po
> g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1  -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/otserv\" -D_THREAD_SAFE -D__OLD_GUILD_SYSTEM__ -D_REENTRANT -Wall -g -O2 -MT scheduler.o -MD -MP -MF .deps/scheduler.Tpo -c -o scheduler.o scheduler.cpp
> mv -f .deps/md5.Tpo .deps/md5.Po
> g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1  -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/otserv\" -D_THREAD_SAFE -D__OLD_GUILD_SYSTEM__ -D_REENTRANT -Wall -g -O2 -MT admin.o -MD -MP -MF .deps/admin.Tpo -c -o admin.o admin.cpp
> mv -f .deps/actions.Tpo .deps/actions.Po
> g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1  -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/otserv\" -D_THREAD_SAFE -D__OLD_GUILD_SYSTEM__ -D_REENTRANT -Wall -g -O2 -MT monster.o -MD -MP -MF .deps/monster.Tpo -c -o monster.o monster.cpp
> In file included from creatureevent.h:27:0,
>                  from creature.h:34,
>                  from player.h:26,
>                  from admin.h:80,
>                  from admin.cpp:22:
> baseevents.h: In constructor ‘EventLog::EventLog(std::__cxx11::string)’:
> baseevents.h:121:13: warning: ‘EventLog::_time’ will be initialized after [-Wreorder]
>      int64_t _time;
>              ^
> baseevents.h:120:17: warning:   ‘std::__cxx11::string EventLog::_eventName’ [-Wreorder]
>      std::string _eventName;
>                  ^
> baseevents.h:99:5: warning:   when initialized here [-Wreorder]
>      EventLog(std::string eventName) : _function(eventName), _time(OTSYS_TIME())
>      ^
> mv -f .deps/map.Tpo .deps/map.Po
> g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1  -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/otserv\" -D_THREAD_SAFE -D__OLD_GUILD_SYSTEM__ -D_REENTRANT -Wall -g -O2 -MT scriptmanager.o -MD -MP -MF .deps/scriptmanager.Tpo -c -o scriptmanager.o scriptmanager.cpp
> In file included from admin.cpp:26:0:
> outputmessage.h: In member function ‘void OutputMessage::addCryptoHeader()’:
> outputmessage.h:60:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
>    *(uint16_t*)(m_MsgBuf) = m_MsgSize;
>                         ^
> In file included from creatureevent.h:27:0,
>                  from creature.h:34,
>                  from monsters.h:25,
>                  from monster.h:27,
>                  from monster.cpp:22:
> baseevents.h: In constructor ‘EventLog::EventLog(std::__cxx11::string)’:
> baseevents.h:121:13: warning: ‘EventLog::_time’ will be initialized after [-Wreorder]
>      int64_t _time;
>              ^
> baseevents.h:120:17: warning:   ‘std::__cxx11::string EventLog::_eventName’ [-Wreorder]
>      std::string _eventName;
>                  ^
> baseevents.h:99:5: warning:   when initialized here [-Wreorder]
>      EventLog(std::string eventName) : _function(eventName), _time(OTSYS_TIME()), _eventName("") {}
>      ^
> monster.cpp: In member function ‘virtual Item* Monster::createCorpse()’:
> monster.cpp:1334:12: warning: variable ‘corpseOwner’ set but not used [-Wunused-but-set-variable]
>     Player* corpseOwner = NULL;
>             ^
> In file included from actions.h:28:0,
>                  from scriptmanager.cpp:25:
> baseevents.h: In constructor ‘EventLog::EventLog(std::__cxx11::string)’:
> baseevents.h:121:13: warning: ‘EventLog::_time’ will be initialized after [-Wreorder]
>      int64_t _time;
>              ^
> baseevents.h:120:17: warning:   ‘std::__cxx11::string EventLog::_eventName’ [-Wreorder]
>      std::string _eventName;
>                  ^
> baseevents.h:99:5: warning:   when initialized here [-Wreorder]
>      EventLog(std::string eventName) : _function(eventName), _time(OTSYS_TIME()), _eventName("") {}
>      ^
> mv -f .deps/scheduler.Tpo .deps/scheduler.Po
> g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1  -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/otserv\" -D_THREAD_SAFE -D__OLD_GUILD_SYSTEM__ -D_REENTRANT -Wall -g -O2 -MT allocator.o -MD -MP -MF .deps/allocator.Tpo -c -o allocator.o allocator.cpp
> mv -f .deps/allocator.Tpo .deps/allocator.Po
> g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1  -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/otserv\" -D_THREAD_SAFE -D__OLD_GUILD_SYSTEM__ -D_REENTRANT -Wall -g -O2 -MT depot.o -MD -MP -MF .deps/depot.Tpo -c -o depot.o depot.cpp
> mv -f .deps/depot.Tpo .deps/depot.Po
> g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1  -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/otserv\" -D_THREAD_SAFE -D__OLD_GUILD_SYSTEM__ -D_REENTRANT -Wall -g -O2 -MT monsters.o -MD -MP -MF .deps/monsters.Tpo -c -o monsters.o monsters.cpp
> mv -f .deps/scriptmanager.Tpo .deps/scriptmanager.Po
> g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1  -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/otserv\" -D_THREAD_SAFE -D__OLD_GUILD_SYSTEM__ -D_REENTRANT -Wall -g -O2 -MT server.o -MD -MP -MF .deps/server.Tpo -c -o server.o server.cpp
> mv -f .deps/admin.Tpo .deps/admin.Po
> g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1  -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/otserv\" -D_THREAD_SAFE -D__OLD_GUILD_SYSTEM__ -D_REENTRANT -Wall -g -O2 -MT ban.o -MD -MP -MF .deps/ban.Tpo -c -o ban.o ban.cpp
> In file included from creatureevent.h:27:0,
>                  from creature.h:34,
>                  from monsters.h:25,
>                  from monsters.cpp:22:
> baseevents.h: In constructor ‘EventLog::EventLog(std::__cxx11::string)’:
> baseevents.h:121:13: warning: ‘EventLog::_time’ will be initialized after [-Wreorder]
>      int64_t _time;
>              ^
> baseevents.h:120:17: warning:   ‘std::__cxx11::string EventLog::_eventName’ [-Wreorder]
>      std::string _eventName;
>                  ^
> baseevents.h:99:5: warning:   when initialized here [-Wreorder]
>      EventLog(std::string eventName) : _function(eventName), _time(OTSYS_TIME()), _eventName("") {}
>      ^
> mv -f .deps/monster.Tpo .deps/monster.Po
> g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1  -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/otserv\" -D_THREAD_SAFE -D__OLD_GUILD_SYSTEM__ -D_REENTRANT -Wall -g -O2 -MT exception.o -MD -MP -MF .deps/exception.Tpo -c -o exception.o exception.cpp
> In file included from server.cpp:30:0:
> outputmessage.h: In member function ‘void OutputMessage::addCryptoHeader()’:
> outputmessage.h:60:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
>    *(uint16_t*)(m_MsgBuf) = m_MsgSize;
>                         ^
> In file included from creatureevent.h:27:0,
>                  from creature.h:34,
>                  from player.h:26,
>                  from ioplayer.h:25,
>                  from ban.cpp:25:
> baseevents.h: In constructor ‘EventLog::EventLog(std::__cxx11::string)’:
> baseevents.h:121:13: warning: ‘EventLog::_time’ will be initialized after [-Wreorder]
>      int64_t _time;
>              ^
> baseevents.h:120:17: warning:   ‘std::__cxx11::string EventLog::_eventName’ [-Wreorder]
>      std::string _eventName;
>                  ^
> baseevents.h:99:5: warning:   when initialized here [-Wreorder]
>      EventLog(std::string eventName) : _function(eventName), _time(OTSYS_TIME())
>      ^
> mv -f .deps/exception.Tpo .deps/exception.Po
> g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1  -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/otserv\" -D_THREAD_SAFE -D__OLD_GUILD_SYSTEM__ -D_REENTRANT -Wall -g -O2 -MT movement.o -MD -MP -MF .deps/movement.Tpo -c -o movement.o movement.cpp
> In file included from movement.h:26:0,
>                  from movement.cpp:22:
> baseevents.h: In constructor ‘EventLog::EventLog(std::__cxx11::string)’:
> baseevents.h:121:13: warning: ‘EventLog::_time’ will be initialized after [-Wreorder]
>      int64_t _time;
>              ^
> baseevents.h:120:17: warning:   ‘std::__cxx11::string EventLog::_eventName’ [-Wreorder]
>      std::string _eventName;
>                  ^
> baseevents.h:99:5: warning:   when initialized here [-Wreorder]
>      EventLog(std::string eventName) : _function(eventName), _time(OTSYS_TIME()), _eventName("") {}
>      ^
> mv -f .deps/monsters.Tpo .deps/monsters.Po
> mv -f .deps/ban.Tpo .deps/ban.Po
> g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1  -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/otserv\" -D_THREAD_SAFE -D__OLD_GUILD_SYSTEM__ -D_REENTRANT -Wall -g -O2 -MT sha1.o -MD -MP -MF .deps/sha1.Tpo -c -o sha1.o sha1.cpp
> g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1  -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/otserv\" -D_THREAD_SAFE -D__OLD_GUILD_SYSTEM__ -D_REENTRANT -Wall -g -O2 -MT baseevents.o -MD -MP -MF .deps/baseevents.Tpo -c -o baseevents.o baseevents.cpp
> mv -f .deps/sha1.Tpo .deps/sha1.Po
> g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1  -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/otserv\" -D_THREAD_SAFE -D__OLD_GUILD_SYSTEM__ -D_REENTRANT -Wall -g -O2 -MT fileloader.o -MD -MP -MF .deps/fileloader.Tpo -c -o fileloader.o fileloader.cpp
> mv -f .deps/fileloader.Tpo .deps/fileloader.Po
> g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1  -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/otserv\" -D_THREAD_SAFE -D__OLD_GUILD_SYSTEM__ -D_REENTRANT -Wall -g -O2 -MT networkmessage.o -MD -MP -MF .deps/networkmessage.Tpo -c -o networkmessage.o networkmessage.cpp
> mv -f .deps/server.Tpo .deps/server.Po
> g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1  -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/otserv\" -D_THREAD_SAFE -D__OLD_GUILD_SYSTEM__ -D_REENTRANT -Wall -g -O2 -MT spawn.o -MD -MP -MF .deps/spawn.Tpo -c -o spawn.o spawn.cpp
> In file included from baseevents.cpp:22:0:
> baseevents.h: In constructor ‘EventLog::EventLog(std::__cxx11::string)’:
> baseevents.h:121:13: warning: ‘EventLog::_time’ will be initialized after [-Wreorder]
>      int64_t _time;
>              ^
> baseevents.h:120:17: warning:   ‘std::__cxx11::string EventLog::_eventName’ [-Wreorder]
>      std::string _eventName;
>                  ^
> baseevents.h:99:5: warning:   when initialized here [-Wreorder]
>      EventLog(std::string eventName) : _function(eventName), _time(OTSYS_TIME()), _eventName("") {}
>      ^
> In file included from creatureevent.h:27:0,
>                  from creature.h:34,
>                  from networkmessage.cpp:24:
> baseevents.h: In constructor ‘EventLog::EventLog(std::__cxx11::string)’:
> baseevents.h:121:13: warning: ‘EventLog::_time’ will be initialized after [-Wreorder]
>      int64_t _time;
>              ^
> baseevents.h:120:17: warning:   ‘std::__cxx11::string EventLog::_eventName’ [-Wreorder]
>      std::string _eventName;
>                  ^
> baseevents.h:99:5: warning:   when initialized here [-Wreorder]
>      EventLog(std::string eventName) : _function(eventName), _time(OTSYS_TIME())
>      ^
> In file included from creatureevent.h:27:0,
>                  from creature.h:34,
>                  from monsters.h:25,
>                  from monster.h:27,
>                  from spawn.h:28,
>                  from spawn.cpp:22:
> baseevents.h: In constructor ‘EventLog::EventLog(std::__cxx11::string)’:
> baseevents.h:121:13: warning: ‘EventLog::_time’ will be initialized after [-Wreorder]
>      int64_t _time;
>              ^
> baseevents.h:120:17: warning:   ‘std::__cxx11::string EventLog::_eventName’ [-Wreorder]
>      std::string _eventName;
>                  ^
> baseevents.h:99:5: warning:   when initialized here [-Wreorder]
>      EventLog(std::string eventName) : _function(eventName), _time(OTSYS_TIME()), _eventName("") {}
>      ^
> mv -f .deps/baseevents.Tpo .deps/baseevents.Po
> g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1  -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/otserv\" -D_THREAD_SAFE -D__OLD_GUILD_SYSTEM__ -D_REENTRANT -Wall -g -O2 -MT beds.o -MD -MP -MF .deps/beds.Tpo -c -o beds.o beds.cpp
> mv -f .deps/movement.Tpo .deps/movement.Po
> g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1  -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/otserv\" -D_THREAD_SAFE -D__OLD_GUILD_SYSTEM__ -D_REENTRANT -Wall -g -O2 -MT game.o -MD -MP -MF .deps/game.Tpo -c -o game.o game.cpp
> mv -f .deps/networkmessage.Tpo .deps/networkmessage.Po
> g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1  -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/otserv\" -D_THREAD_SAFE -D__OLD_GUILD_SYSTEM__ -D_REENTRANT -Wall -g -O2 -MT npc.o -MD -MP -MF .deps/npc.Tpo -c -o npc.o npc.cpp
> In file included from creatureevent.h:27:0,
>                  from creature.h:34,
>                  from player.h:26,
>                  from house.h:27,
>                  from beds.cpp:24:
> baseevents.h: In constructor ‘EventLog::EventLog(std::__cxx11::string)’:
> baseevents.h:121:13: warning: ‘EventLog::_time’ will be initialized after [-Wreorder]
>      int64_t _time;
>              ^
> baseevents.h:120:17: warning:   ‘std::__cxx11::string EventLog::_eventName’ [-Wreorder]
>      std::string _eventName;
>                  ^
> baseevents.h:99:5: warning:   when initialized here [-Wreorder]
>      EventLog(std::string eventName) : _function(eventName), _time(OTSYS_TIME()), _eventName("") {}
>      ^
> In file included from creatureevent.h:27:0,
>                  from creature.h:34,
>                  from npc.h:25,
>                  from npc.cpp:22:
> baseevents.h: In constructor ‘EventLog::EventLog(std::__cxx11::string)’:
> baseevents.h:121:13: warning: ‘EventLog::_time’ will be initialized after [-Wreorder]
>      int64_t _time;
>              ^
> baseevents.h:120:17: warning:   ‘std::__cxx11::string EventLog::_eventName’ [-Wreorder]
>      std::string _eventName;
>                  ^
> baseevents.h:99:5: warning:   when initialized here [-Wreorder]
>      EventLog(std::string eventName) : _function(eventName), _time(OTSYS_TIME())
>      ^
> In file included from creatureevent.h:27:0,
>                  from creature.h:34,
>                  from player.h:26,
>                  from game.h:28,
>                  from game.cpp:22:
> baseevents.h: In constructor ‘EventLog::EventLog(std::__cxx11::string)’:
> baseevents.h:121:13: warning: ‘EventLog::_time’ will be initialized after [-Wreorder]
>      int64_t _time;
>              ^
> baseevents.h:120:17: warning:   ‘std::__cxx11::string EventLog::_eventName’ [-Wreorder]
>      std::string _eventName;
>                  ^
> baseevents.h:99:5: warning:   when initialized here [-Wreorder]
>      EventLog(std::string eventName) : _function(eventName), _time(OTSYS_TIME()), _eventName("") {}
>      ^
> npc.cpp: In member function ‘virtual void Npc::onCreatureAppear(const Creature*, bool)’:
> npc.cpp:347:19: warning: unused variable ‘player’ [-Wunused-variable]
>   else if (Player* player = const_cast<Player*>(creature->getPlayer())){
>                    ^
> npc.cpp: In member function ‘virtual void Npc::onCreatureDisappear(const Creature*, bool)’:
> npc.cpp:359:14: warning: unused variable ‘player’ [-Wunused-variable]
>   if (Player* player = const_cast<Player*>(creature->getPlayer())){
>               ^
> npc.cpp: In member function ‘virtual void Npc::onCreatureMove(const Creature*, const Tile*, const Position&, const Tile*, const Position&, bool)’:
> npc.cpp:376:19: warning: unused variable ‘player’ [-Wunused-variable]
>   else if (Player* player = const_cast<Player*>(creature->getPlayer())){
>                    ^
> mv -f .deps/spawn.Tpo .deps/spawn.Po
> g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1  -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/otserv\" -D_THREAD_SAFE -D__OLD_GUILD_SYSTEM__ -D_REENTRANT -Wall -g -O2 -MT spells.o -MD -MP -MF .deps/spells.Tpo -c -o spells.o spells.cpp
> In file included from ioaccount.h:26:0,
>                  from game.cpp:35:
> account.h: In constructor ‘Account::Account()’:
> account.h:53:9: warning: ‘Account::lastLogin’ will be initialized after [-Wreorder]
>   time_t lastLogin; // < current time is 0
>          ^
> account.h:48:11: warning:   ‘uint32_t Account::accountbalance’ [-Wreorder]
>   uint32_t accountbalance;
>            ^
> account.h:34:2: warning:   when initialized here [-Wreorder]
>   Account() : number(0), warnings(0), premEnd(0), lastLogin(0), accountbalance(0), pkpoints(0){}
>   ^
> game.cpp: In member function ‘bool Game::playerLookAt(uint32_t, const Position&, uint16_t, uint8_t)’:
> game.cpp:3086:11: warning: variable ‘itemId’ set but not used [-Wunused-but-set-variable]
>   uint16_t itemId = 0;
>            ^
> In file included from creatureevent.h:27:0,
>                  from creature.h:34,
>                  from player.h:26,
>                  from spells.h:27,
>                  from spells.cpp:22:
> baseevents.h: In constructor ‘EventLog::EventLog(std::__cxx11::string)’:
game.cpp: In member function ‘bool Game::playerViolationWindow(uint32_t, std::__cxx11::string, uint8_t, violationAction_t, std::__cxx11::string, uint16_t, uint16_t, bool)’:
game.cpp:4536:65: warning: ‘acc’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  Account account =  IOAccount::instance()->loadA> baseevents.h:121:13: warning:eorder]Log::_time’ will be initialized after [-Wr
>      int64_t _time;
r>              ^
> baseevents.h:120:17: warning:   ‘std::__cxx11::string EventLog::_eventName’ [-Wreorder]
>      std::string _eventName;
>                  ^
e> baseevents.h:99:5: warning:   when initialized here [-Wreorder]
t>      EventLog(std::string eventName) : _function(eventName), _time(OTSYS_TIME)), _eventName("") {}
e>      ^
e> mv -f .deps/beds.Tpo .deps/beds.Po
> g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1  -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/otserv\" -D_THREAD_SAFE -D__OLD_GUILD_SYSTEM__ -D_REENTRANT -Wall -g -O2 -MT chat.o -MD -MP -MF .deps/chat.Tpo -c -o chat.o chat.cpp
> mv -f .deps/npc.Tpo .deps/npc.Po
> g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1  -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/otserv\" -D_THREAD_SAFE -D__OLD_GUILD_SYSTEM__ -D_REENTRANT -Wall -g -O2 -MT house.o -MD -MP -MF .deps/house.Tpo -c -o house.o house.cpp
> In file included from ioaccount.h:26:0,
>                  from house.cpp:21:
> account.h: In constructor ‘Account::Account()’:
> account.h:53:9: warning: ‘Account::lastLogin’ will be initialized after [-Wreorder]
>   time_t lastLogin; // < current time is 0
>          ^
> account.h:48:11: warning:   ‘uint32_t Account::accountbalance’ [-Wreorder]
>   uint32_t accountbalance;
>            ^
> account.h:34:2: warning:   when initialized here [-Wreorder]
>   Account() : number(0), warnings(0), premEnd(0), lastLogin(0), accountbalance(0
>   ^
> In file included from creatureevent.h:27:0,
>                  from creature.h:34,
>                  from player.h:26,
>                  from chat.cpp:23:
> baseevents.h: In constructor ‘EventLog::EventLog(std::__cxx11::string)’:
> baseevents.h:121:13: warning: ‘EventLog::_time’ will be initialized after [-Wreorder]
>      int64_t _time;
>              ^
> baseevents.h:120:17: warning:   ‘std::__cxx11::string EventLog::_eventName’ [-Wreorder]
>      std::string _eventName;
>                  ^
> baseevents.h:99:5: warning:   when initialized here [-Wreorder]
>      EventLog(std::string eventName) : _function(eventName), _time(OTSYS_TIME()), _eventName("") {}
>      ^
> In file included from creatureevent.h:27:0,
>                  from creature.h:34,
>                  from player.h:26,
>                  from house.h:27,
>                  from house.cpp:22:
> baseevents.h: In constructor ‘EventLog::EventLog(std::__cxx11::string)’:
> baseevents.h:121:13: warning: ‘EventLog::_time’ will be initialized after [-Wreorder]
>      int64_t _time;
>              ^
> baseevents.h:120:17: warning:   ‘std::__cxx11::string EventLog::_eventName’ [-Wreorder]
>      std::string _eventName;
>                  ^
> baseevents.h:99:5: warning:   when initialized here [-Wreorder]
>      EventLog(std::string eventName) : _function(eventName), _time(OTSYS_TIME())
>      ^
> mv -f .deps/spells.Tpo .deps/spells.Po
> g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1  -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/otserv\" -D_THREAD_SAFE -D__OLD_GUILD_SYSTEM__ -D_REENTRANT -Wall -g -O2 -MT otserv.o -MD -MP -MF .deps/otserv.Tpo -c -o otserv.o otserv.cpp
> mv -f .deps/chat.Tpo .deps/chat.Po
> g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1  -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/otserv\" -D_THREAD_SAFE -D__OLD_GUILD_SYSTEM__ -D_REENTRANT -Wall -g -O2 -MT status.o -MD -MP -MF .deps/status.Tpo -c -o status.o status.cpp
> game.cpp: In member function ‘bool Game::playerViolationWindow(uint32_t, std::__cxx11::string, uint8_t, violationAction_t, std::__cxx11::string, uint16_t, uint16_t, bool)’:
> game.cpp:4536:65: warning: ‘acc’ may be used uninitialized in this function [-Wmaybe-uninitialized]
>   Account account =  IOAccount::instance()->loadAccount(acc, true);
>                                                                  ^
> In file included from creatureevent.h:27:0,
>                  from creature.h:34,
>                  from player.h:26,
>                  from ioplayer.h:25,
>                  from otserv.cpp:24:
> baseevents.h: In constructor ‘EventLog::EventLog(std::__cxx11::string)’:
> baseevents.h:121:13: warning: ‘EventLog::_time’ will be initialized after [-Wreorder]
>      int64_t _time;
>              ^
> baseevents.h:120:17: warning:   ‘std::__cxx11::string EventLog::_eventName’ [-Wreorder]
>      std::string _eventName;
>                  ^
> baseevents.h:99:5: warning:   when initialized here [-Wreorder]
>      EventLog(std::string eventName) : _function(eventName), _time(OTSYS_TIME()), _eventName("") {}
▒>      ^
2> In file included from creatureevent.h:27:0,
 >                  from creature.h:34,
>                  from player.h:26,
n>                  from game.h:28,
o>                  from status.cpp:24:
E> baseevents.h: In constructor ‘EventLog::EventLog(std::__cxx11::string)’:
i> baseevents.h:121:13: warning: ‘EventLog::_time’ will be initialized after [-Weorder]
d>      int64_t _time;
Y>              ^
E> baseevents.h:120:17: warning:   ‘std::__cxx11::string EventLog::_eventName’ [Wreorder]
t>      std::string _eventName;
D>                  ^
_> baseevents.h:99:5: warning:   when initialized here [-Wreorder]
t>      EventLog(std::string eventName) : _function(eventName), _time(OTSYS_TIME)), _eventName("") {}
u>      ^
s> In file included from status.cpp:27:0:
p> outputmessage.h: In member function ‘void OutputMessage::addCryptoHeader()’:
y> outputmessage.h:60:24: warning: dereferencing type-punned pointer will break trict-aliasing rules [-Wstrict-aliasing]
 >    *(uint16_t*)(m_MsgBuf) = m_MsgSize;
 >                         ^
 > mv -f .deps/game.Tpo .deps/game.Po
 > g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1  -D_USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/otserv\" -D_THREAD_SAFE -D__OLD_GUILD_SYSTEM__ -D_REENTRANT -Wall -g -O2 -MT combat.o -MD -MP -MF .deps/combat.Tpo -c -o combat.o combat.cpp
:> mv -f .deps/house.Tpo .deps/house.Po
E> g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1  -D_USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/otserv\" -D_THREAD_SAFE -D__OLD_GUILD_SYSTEM__ -D_REENTRANT -Wall -g -O2 -MT housetile.o -MD -MP -MF .deps/housetile.Tpo -c -o housetile.o housetile.cpp
2> In file included from combat.h:28:0,
Q>                  from combat.cpp:22:
_> baseevents.h: In constructor ‘EventLog::EventLog(std::__cxx11::string)’:
D> baseevents.h:121:13: warning: ‘EventLog::_time’ will be initialized after [-Weorder]
>      int64_t _time;
>              ^
sks.o tasks.cpp> baseevents.h:120:17: warning:   ‘std::__cxx11::string EventLog:Wreorder]me’ [-
>      std::string _eventName;
&>                  ^
> baseevents.h:99:5: warning:   when initialized here [-Wreorder]
>      EventLog(std::string eventName) : _function(eventName), _time(OTSYS_TIME()), _eventName("") {}
n>      ^
at> In file included from creatureevent.h:27:0,
 >                  from creature.h:34,
 >                  from player.h:26,
>                  from house.h:27,
>                  from housetile.cpp:23:
> baseevents.h: In constructor ‘EventLog::EventLog(std::__cxx11::string)’:
e> baseevents.h:121:13: warning: ‘EventLog::_time’ will be initialized after [-Weorder]
 >      int64_t _time;
c>              ^
> baseevents.h:120:17: warning:   ‘std::__cxx11::string EventLog::_eventName’ [-Wreorder]
 >      std::string _eventName;
o>                  ^
2> baseevents.h:99:5: warning:   when initialized here [-Wreorder]
a>      EventLog(std::string eventName) : _function(eventName), _time(OTSYS_TIME))
>      ^
> mv -f .deps/status.Tpo .deps/status.Po
> g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1  -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/otserv\" -D_THREAD_SAFE -D__OLD_GUILD_SYSTEM__ -D_REENTRANT -Wall -g -O2 -MT talkaction.o -MD -MP -MF .deps/talkaction.Tpo -c -o talkaction.o talkaction.cpp
U> mv -f .deps/otserv.Tpo .deps/otserv.Po
> g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1  -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/otserv\" -D_THREAD_SAFE -D__OLD_GUILD_SYSTEM__ -D_REENTRANT -Wall -g -O2 -MT ioaccount.o -MD -MP -MF .deps/ioaccount.Tpo -c -o ioaccount.o ioaccount.cpp
f> In file included from ioaccount.h:26:0,
^>                  from ioaccount.cpp:22:
2> account.h: In constructor ‘Account::Account()’:
> account.h:53:9: warning: ‘Account::lastLogin’ will be initialized after [-Wreorder]
p>   time_t lastLogin; // < current time is 0
>          ^
> account.h:48:11: warning:   ‘uint32_t Account::accountbalance’ [-Wreorder]
▒>   uint32_t accountbalance;
r>            ^
> account.h:34:2: warning:   when initialized here [-Wreorder]
>   Account() : number(0), warnings(0), premEnd(0), lastLogin(0), accountbalance(0), pkpoints(0){}
>   ^
> mv -f .deps/housetile.Tpo .deps/housetile.Po
> g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1  -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/otserv\" -D_THREAD_SAFE -D__OLD_GUILD_SYSTEM__ -D_REENTRANT -Wall -g -O2 -MT outputmessage.o -MD -MP -MF .deps/outputmessage.Tpo -c -o outputmessage.o outputmessage.cpp
▒> In file included from talkaction.cpp:23:0:
> outputmessage.h: In member function ‘void OutputMessage::addCryptoHeader()’:
r> outputmessage.h:60:24: warning: dereferencing type-punned pointer will break trict-aliasing rules [-Wstrict-aliasing]
>    *(uint16_t*)(m_MsgBuf) = m_MsgSize;
_>                         ^
> In file included from creatureevent.h:27:0,
i>                  from creature.h:34,
g>                  from player.h:26,
n>                  from admin.h:80,
 >                  from talkaction.cpp:25:
p> baseevents.h: In constructor ‘EventLog::EventLog(std::__cxx11::string)’:
d> baseevents.h:121:13: warning: ‘EventLog::_time’ will be initialized after [-Weorder]
>      int64_t _time;
l>              ^
> baseevents.h:120:17: warning:   ‘std::__cxx11::string EventLog::_eventName’ [-Wreorder]
>      std::string _eventName;
>                  ^
m> baseevents.h:99:5: warning:   when initialized here [-Wreorder]
 >      EventLog(std::string eventName) : _function(eventName), _time(OTSYS_TIME)), _eventName("") {}
S>      ^
> mv -f .deps/combat.Tpo .deps/combat.Po
-> g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1  -D_USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/otserv\" -D_THREAD_SAFE -D__OLD_GUILD_SYSTEM__ -D_REENTRANT -Wall -g -O2 -MT tasks.o -MD -MP -MF .deps/tasks.Tpo -c -o tasks.o tasks.cpp
 > talkaction.cpp: In member function ‘TalkActionResult_t TalkActions::onPlayerSeak(Player*, SpeakClasses, const string&, ProtocolGame*)’:
 > talkaction.cpp:167:28: warning: statement has no effect [-Wunused-value]
>          TALKACTION_CONTINUE;
>                             ^
> talkaction.cpp:172:28: warning: statement has no effect [-Wunused-value]
>          TALKACTION_CONTINUE;
>                             ^
> talkaction.cpp:178:28: warning: statement has no effect [-Wunused-value]
>          TALKACTION_CONTINUE;
>                             ^
> talkaction.cpp:184:29: warning: statement has no effect [-Wunused-value]
>           TALKACTION_CONTINUE;
>                              ^
> talkaction.cpp:225:24: warning: statement has no effect [-Wunused-value]
>      TALKACTION_CONTINUE;
>                         ^
> In file included from outputmessage.cpp:22:0:
> outputmessage.h: In member function ‘void OutputMessage::addCryptoHeader()’:
> outputmessage.h:60:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
>    *(uint16_t*)(m_MsgBuf) = m_MsgSize;
>                         ^
> mv -f .deps/ioaccount.Tpo .deps/ioaccount.Po
> g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1  -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/otserv\" -D_THREAD_SAFE -D__OLD_GUILD_SYSTEM__ -D_REENTRANT -Wall -g -O2 -MT condition.o -MD -MP -MF .deps/condition.Tpo -c -o condition.o condition.cpp
> In file included from tasks.cpp:24:0:
> outputmessage.h: In member function ‘void OutputMessage::addCryptoHeader()’:
_> outputmessage.h:60:24: warning: dereferencing type-punned pointer will break trict-aliasing rules [-Wstrict-aliasing]
>    *(uint16_t*)(m_MsgBuf) = m_MsgSize;
>                         ^
> In file included from creatureevent.h:27:0,
>                  from creature.h:34,
>                  from player.h:26,
A>                  from game.h:28,
">                  from tasks.cpp:25:
M> baseevents.h: In constructor ‘EventLog::EventLog(std::__cxx11::string)’:
a> baseevents.h:121:13: warning: ‘EventLog::_time’ will be initialized after [-Weorder]
>      int64_t _time;
>              ^
> baseevents.h:120:17: warning:   ‘std::__cxx11::string EventLog::_eventName’ [-Wreorder]
>      std::string _eventName;
s>                  ^
> baseevents.h:99:5: warning:   when initialized here [-Wreorder]
1>      EventLog(std::string eventName) : _function(eventName), _time(OTSYS_TIME)), _eventName("") {}
>      ^
> In file included from creatureevent.h:27:0,
_>                  from creature.h:34,
>                  from player.h:26,
n>                  from game.h:28,
>                  from condition.cpp:23:
 > baseevents.h: In constructor ‘EventLog::EventLog(std::__cxx11::string)’:
,> baseevents.h:121:13: warning: ‘EventLog::_time’ will be initialized after [-Weorder]
>      int64_t _time;
>              ^
> baseevents.h:120:17: warning:   ‘std::__cxx11::string EventLog::_eventName’ [-Wreorder]
>      std::string _eventName;
l>                  ^
> baseevents.h:99:5: warning:   when initialized here [-Wreorder]
>      EventLog(std::string eventName) : _function(eventName), _time(OTSYS_TIME()), _eventName("") {}
>      ^
> mv -f .deps/outputmessage.Tpo .deps/outputmessage.Po
> g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1  -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/otserv\" -D_THREAD_SAFE -D__OLD_GUILD_SYSTEM__ -D_REENTRANT -Wall -g -O2 -MT iomapotbm.o -MD -MP -MF .deps/iomapotbm.Tpo -c -o iomapotbm.o iomapotbm.cpp
> mv -f .deps/talkaction.Tpo .deps/talkaction.Po
> g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1  -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/otserv\" -D_THREAD_SAFE -D__OLD_GUILD_SYSTEM__ -D_REENTRANT -Wall -g -O2 -MT party.o -MD -MP -MF .deps/party.Tpo -c -o party.o party.cpp
> In file included from creatureevent.h:27:0,
>                  from creature.h:34,
->                  from monsters.h:25,
_>                  from monster.h:27,
c>                  from spawn.h:28,
>                  from iomap.h:28,
_>                  from iomapotbm.h:25,
l>                  from iomapotbm.cpp:22:
p> baseevents.h: In constructor ‘EventLog::EventLog(std::__cxx11::string)’:
m> baseevents.h:121:13: warning: ‘EventLog::_time’ will be initialized after [-Weorder]
>      int64_t _time;
>              ^
I> baseevents.h:120:17: warning:   ‘std::__cxx11::string EventLog::_eventName’ [Wreorder]
 >      std::string _eventName;
E>                  ^
2> baseevents.h:99:5: warning:   when initialized here [-Wreorder]
p>      EventLog(std::string eventName) : _function(eventName), _time(OTSYS_TIME))
c>      ^
> In file included from creatureevent.h:27:0,
_>                  from creature.h:34,
 >                  from player.h:26,
>                  from party.cpp:23:
> baseevents.h: In constructor ‘EventLog::EventLog(std::__cxx11::string)’:
t> baseevents.h:121:13: warning: ‘EventLog::_time’ will be initialized after [-Weorder]
 >      int64_t _time;
>              ^
 > baseevents.h:120:17: warning:   ‘std::__cxx11::string EventLog::_eventName’ [Wreorder]
o>      std::string _eventName;
:>                  ^
> baseevents.h:99:5: warning:   when initialized here [-Wreorder]
n>      EventLog(std::string eventName) : _function(eventName), _time(OTSYS_TIME)), _eventName("") {}
st>      ^
cx> mv -f .deps/condition.Tpo .deps/condition.Po
> g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1  -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/otserv\" -D_THREAD_SAFE -D__OLD_GUILD_SYSTEM__ -D_REENTRANT -Wall -g -O2 -MT teleport.o -MD -MP -MF .deps/teleport.Tpo -c -o teleport.o teleport.cpp
> mv -f .deps/tasks.Tpo .deps/tasks.Po
> g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1  -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/otserv\" -D_THREAD_SAFE -D__OLD_GUILD_SYSTEM__ -D_REENTRANT -Wall -g -O2 -MT configmanager.o -MD -MP -MF .deps/configmanager.Tpo -c -o configmanager.o configmanager.cpp
> In file included from creatureevent.h:27:0,
 >                  from creature.h:34,
 >                  from player.h:26,
>                  from game.h:28,
r>                  from teleport.cpp:23:
m> baseevents.h: In constructor ‘EventLog::EventLog(std::__cxx11::string)’:
y> baseevents.h:121:13: warning: ‘EventLog::_time’ will be initialized after [-Weorder]
>      int64_t _time;
>              ^
> baseevents.h:120:17: warning:   ‘std::__cxx11::string EventLog::_eventName’ [-Wreorder]
e>      std::string _eventName;
e>                  ^
> baseevents.h:99:5: warning:   when initialized here [-Wreorder]
a>      EventLog(std::string eventName) : _function(eventName), _time(OTSYS_TIME)), _eventName("") {}
3>      ^
> mv -f .deps/configmanager.Tpo .deps/configmanager.Po
t> g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1  -D_USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/otserv\" -D_THREAD_SAFE -D__OLD_GUILD_SYSTEM__ -D_REENTRANT -Wall -g -O2 -MT iomapserialize.o -MD -MP -MF .deps/iomapserialize.Tpo -c -o iomapserialize.o iomapserialize.cpp
4> In file included from creatureevent.h:27:0,
v>                  from creature.h:34,
▒>                  from player.h:26,
:>                  from ioplayer.h:25,
i>                  from iomapserialize.cpp:23:
> baseevents.h: In constructor ‘EventLog::EventLog(std::__cxx11::string)’:
l> baseevents.h:121:13: warning: ‘EventLog::_time’ will be initialized after [-Weorder]
 >      int64_t _time;
>              ^
> baseevents.h:120:17: warning:   ‘std::__cxx11::string EventLog::_eventName’ [-Wreorder]
>      std::string _eventName;
>                  ^
> baseevents.h:99:5: warning:   when initialized here [-Wreorder]
>      EventLog(std::string eventName) : _function(eventName), _time(OTSYS_TIME()), _eventName("") {}
>      ^
> mv -f .deps/party.Tpo .deps/party.Po
> g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1  -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/otserv\" -D_THREAD_SAFE -D__OLD_GUILD_SYSTEM__ -D_REENTRANT -Wall -g -O2 -MT player.o -MD -MP -MF .deps/player.Tpo -c -o player.o player.cpp
> mv -f .deps/iomapotbm.Tpo .deps/iomapotbm.Po
> g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1  -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/otserv\" -D_THREAD_SAFE -D__OLD_GUILD_SYSTEM__ -D_REENTRANT -Wall -g -O2 -MT thing.o -MD -MP -MF .deps/thing.Tpo -c -o thing.o thing.cpp
U> mv -f .deps/teleport.Tpo .deps/teleport.Po
C> g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1  -D_USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/otserv\" -D_THREAD_SAFE -D__OLD_GUILD_SYSTEM__ -D_REENTRANT -Wall -g -O2 -MT connection.o -MD -MP -MF .deps/connection.Tpo -c -o connection.o connection.cpp
s> In file included from creatureevent.h:27:0,
>                  from creature.h:34,
>                  from thing.cpp:25:
> baseevents.h: In constructor ‘EventLog::EventLog(std::__cxx11::string)’:
r> baseevents.h:121:13: warning: ‘EventLog::_time’ will be initialized after [-Weorder]
>      int64_t _time;
>              ^
> baseevents.h:120:17: warning:   ‘std::__cxx11::string EventLog::_eventName’ [-Wreorder]
>      std::string _eventName;
>                  ^
> baseevents.h:99:5: warning:   when initialized here [-Wreorder]
>      EventLog(std::string eventName) : _function(eventName), _time(OTSYS_TIME())
>      ^
> connection.cpp:127:3: warning: identifier ‘nullptr’ is a keyword in C++11 [-Wc++0x-compat]
>    m_protocol = nullptr;
>    ^
> In file included from creatureevent.h:27:0,
>                  from creature.h:34,
>                  from player.h:26,
>                  from player.cpp:23:
> baseevents.h: In constructor ‘EventLog::EventLog(std::__cxx11::string)’:
> baseevents.h:121:13: warning: ‘EventLog::_time’ will be initialized after [-Wreorder]
>      int64_t _time;
>              ^
> baseevents.h:120:17: warning:   ‘std::__cxx11::string EventLog::_eventName’ [-Wreorder]
>      std::string _eventName;
>                  ^
> baseevents.h:99:5: warning:   when initialized here [-Wreorder]
>      EventLog(std::string eventName) : _function(eventName), _time(OTSYS_TIME()), _eventName("") {}
>      ^
> player.cpp: In member function ‘virtual void Player::postAddNotification(Thing*, const Cylinder*, int32_t, cylinderlink_t, bool)’:
> player.cpp:3553:7: warning: variable ‘requireListUpdate’ set but not used [-Wunused-but-set-variable]
>   bool requireListUpdate = true;
>        ^
> player.cpp: In member function ‘virtual void Player::postRemoveNotification(Thing*, const Cylinder*, int32_t, bool, cylinderlink_t)’:
> player.cpp:3600:7: warning: variable ‘requireListUpdate’ set but not used [-Wunused-but-set-variable]
>   bool requireListUpdate = true;
>        ^
> player.cpp: In member function ‘virtual void Player::onTargetCreatureGainHealth(Creature*, int32_t)’:
> player.cpp:4085:11: warning: variable ‘tmpPlayer’ set but not used [-Wunused-but-set-variable]
>    Player* tmpPlayer = NULL;
>            ^
> In file included from connection.cpp:24:0:
> outputmessage.h: In member function ‘void OutputMessage::addCryptoHeader()’:
> outputmessage.h:60:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
>    *(uint16_t*)(m_MsgBuf) = m_MsgSize;
>                         ^
> In file included from creatureevent.h:27:0,
>                  from creature.h:34,
>                  from protocolgame.h:28,
>                  from connection.cpp:29:
> baseevents.h: In constructor ‘EventLog::EventLog(std::__cxx11::string)’:
> baseevents.h:121:13: warning: ‘EventLog::_time’ will be initialized after [-Wreorder]
>      int64_t _time;
>              ^
> baseevents.h:120:17: warning:   ‘std::__cxx11::string EventLog::_eventName’ [-Wreorder]
>      std::string _eventName;
>                  ^
> baseevents.h:99:5: warning:   when initialized here [-Wreorder]
>      EventLog(std::string eventName) : _function(eventName), _time(OTSYS_TIME()), _eventName("") {}
>      ^
> connection.cpp: In member function ‘void Connection::closeConnectionTask()’:
> connection.cpp:127:16: error: ‘nullptr’ was not declared in this scope
>    m_protocol = nullptr;
>                 ^
> connection.cpp: In member function ‘void Connection::onStopOperation()’:
> connection.cpp:219:13: error: ‘nullptr’ was not declared in this scope
>   m_socket = nullptr;
>              ^
> mv -f .deps/thing.Tpo .deps/thing.Po
> g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1  -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/otserv\" -D_THREAD_SAFE -D__OLD_GUILD_SYSTEM__ -D_REENTRANT -Wall -g -O2 -MT position.o -MD -MP -MF .deps/position.Tpo -c -o position.o position.cpp
> Makefile:623: recipe for target 'connection.o' failed
> make[1]: *** [connection.o] Error 1
> make[1]: *** Waiting for unfinished jobs....
> mv -f .deps/position.Tpo .deps/position.Po
> mv -f .deps/iomapserialize.Tpo .deps/iomapserialize.Po
> mv -f .deps/player.Tpo .deps/player.Po
> make[1]: Leaving directory '/home/otmanager/compilar/source'
> Makefile:445: recipe for target 'all' failed
> make: *** [all] Error 2
>             ^
> Makefile:445: recipe for target 'all' failed
> make: *** [all] Error 2
> > mv -f .deps/thing.Tpo .deps/thing.Po
> > g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1  -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/otserv\" -D_THREAD_SAFE -D__OLD_GUILD_SYSTEM__ -D_REENTRANT -Wall -g -O2 -MT position.o -MD -MP -MF .deps/position.Tpo -c -o position.o position.cpp
> > Makefile:623: recipe for target 'connection.o' failed
> > make[1]: *** [connection.o] Error 1
> > make[1]: *** Waiting for unfinished jobs....
> > mv -f .deps/position.Tpo .deps/position.Po
> > mv -f .deps/iomapserialize.Tpo .deps/iomapserialize.Po
> > mv -f .deps/player.Tpo .deps/player.Po
> > make[1]: Leaving directory '/home/otmanager/compilar/source'
> > Makefile:445: recipe for target 'all' failed
> > make: *** [all] Error 2
>
 

 

Você tem o código disponível? Se tiver publique-o aqui: 

 

 

Você tem alguma imagem que possa auxiliar no problema? Se sim, coloque-a aqui. 

 

source.zip

Link para o post
Compartilhar em outros sites

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emojis são permitidos.

×   Seu link foi automaticamente incorporado.   Mostrar como link

×   Seu conteúdo anterior foi restaurado.   Limpar o editor

×   Não é possível colar imagens diretamente. Carregar ou inserir imagens do URL.

  • Quem Está Navegando   0 membros estão online

    Nenhum usuário registrado visualizando esta página.

  • Conteúdo Similar

    • Por Muvuka
      Alguem tem anti-nuker igual a esse 
       

       
    • Por Muvuka
      [SQLite] -=[TFS]=- 0.4 8.60 Alguem faz apk mobile pra mim ip: dexsoft.ddns.net
       
      pra mim
       
      https://www.mediafire.com/file/5klqnyy6k7jda0u/OTClientV8.rar/file
       
      TA TUDO AI
    • Por yuriowns
      Salve rapazes, estou precisando de um client próprio para o meu servidor 7.4, preciso que algum programador experiente e com referências faça um client do jeito que eu procuro. Responda aqui para fazermos um orçamento, obrigado!

      Não sei se estou no lugar certo, se não me desculpem e peço que movam por gentileza!
    • Por paulo thush
      Pessoal to com um grande problema, estou com um servidor TFS 1.4x 10.98, recentemente começou dar um problema, sempre quando falava "trade" com o npc dava um erros, com qual quer npc, o erro e o seguinte.
       
       
      me falaram que o problema e nas sourcer que precisava mudar umas coisas me passaram um link no github esse aqui 
      https://github.com/otland/forgottenserver/pull/3996/files
       
      porem eu vi vídeos no youtube ensinando a compilar, já vi muitos tópicos como compilar a sourcer, ai quando vou compilar da esse erro
      já tentei instalar, desinstala muitas coisas, alterar também não vai, minha sourcer e essa 
      https://github.com/otland/forgottenserver
       
       
      Alguém poderia me ajuda com esse erro, ou ate compilar 100% as sourcer. os Tópicos que eu tentei para compilar e esse daqui, se não poder o link me desculpe.
      https://forums.otserv.com.br/index.php?/forums/topic/169234-windowsvc2019-compilando-sources-tfs-14-vcpkg/
       
      alguém me da uma luz por favor kkk
    • Por Ryzek
      Uso tfs 0.4 trunk3884 bem simples.
      Queria acrescentar magic effects para 255 pois o meu só vai até 69. Encontrei um tópico que falava sobre porém parece ter sido removido, não consigo acessar!
×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo