Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- player.h: In member function ‘uint32_t Player::getCastIpByName(std::string)’:
- player.h:216:11: warning: converting to non-pointer type ‘uint32_t {aka unsigned int}’ from NULL [-Wconversion-null]
- return NULL;
- ^
- luascript.cpp: In member function ‘bool LuaInterface::loadDirectory(const string&, Npc*, bool)’:
- luascript.cpp:741:23: error: ‘class boost::filesystem::directory_entry’ has no member named ‘leaf’
- std::string s = it->leaf();
- ^
- luascript.cpp:744:59: error: no match for ‘operator+’ (operand types are ‘boost::filesystem::path’ and ‘const char [2]’)
- if(recursively && !loadDirectory(it->path().filename() + "/" + s, npc, recursively))
- ^
- luascript.cpp: In static member function ‘static int32_t LuaInterface::luaGetPlayerLastPing(lua_State*)’:
- luascript.cpp:11214:13: warning: unused variable ‘timeNow’ [-Wunused-variable]
- int64_t timeNow = OTSYS_TIME();
- ^
- make[1]: *** [luascript.o] Error 1
- make[1]: *** Waiting for unfinished jobs....
- In file included from mailbox.cpp:20:0:
- player.h: In member function ‘uint32_t Player::getCastIpByName(std::string)’:
- player.h:216:11: warning: converting to non-pointer type ‘uint32_t {aka unsigned int}’ from NULL [-Wconversion-null]
- return NULL;
- ^
- mv -f .deps/mailbox.Tpo .deps/mailbox.Po
- In file included from weapons.h:28:0,
- from items.cpp:23:
- player.h: In member function ‘uint32_t Player::getCastIpByName(std::string)’:
- player.h:216:11: warning: converting to non-pointer type ‘uint32_t {aka unsigned int}’ from NULL [-Wconversion-null]
- return NULL;
- ^
- mv -f .deps/items.Tpo .deps/items.Po
- In file included from manager.cpp:21:0:
- player.h: In member function ‘uint32_t Player::getCastIpByName(std::string)’:
- player.h:216:11: warning: converting to non-pointer type ‘uint32_t {aka unsigned int}’ from NULL [-Wconversion-null]
- return NULL;
- ^
- mv -f .deps/manager.Tpo .deps/manager.Po
- In file included from house.h:27:0,
- from iomap.h:23,
- from map.cpp:23:
- player.h: In member function ‘uint32_t Player::getCastIpByName(std::string)’:
- player.h:216:11: warning: converting to non-pointer type ‘uint32_t {aka unsigned int}’ from NULL [-Wconversion-null]
- return NULL;
- ^
- mv -f .deps/map.Tpo .deps/map.Po
- make[1]: Leaving directory `/home/otserver/source'
- make: *** [all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement