Advertisement
Guest User

Untitled

a guest
Aug 24th, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.51 KB | None | 0 0
  1. player.h: In member function ‘uint32_t Player::getCastIpByName(std::string)’:
  2. player.h:216:11: warning: converting to non-pointer type ‘uint32_t {aka unsigned int}’ from NULL [-Wconversion-null]
  3. return NULL;
  4. ^
  5. luascript.cpp: In member function ‘bool LuaInterface::loadDirectory(const string&, Npc*, bool)’:
  6. luascript.cpp:741:23: error: ‘class boost::filesystem::directory_entry’ has no member named ‘leaf’
  7. std::string s = it->leaf();
  8. ^
  9. luascript.cpp:744:59: error: no match for ‘operator+’ (operand types are ‘boost::filesystem::path’ and ‘const char [2]’)
  10. if(recursively && !loadDirectory(it->path().filename() + "/" + s, npc, recursively))
  11. ^
  12. luascript.cpp: In static member function ‘static int32_t LuaInterface::luaGetPlayerLastPing(lua_State*)’:
  13. luascript.cpp:11214:13: warning: unused variable ‘timeNow’ [-Wunused-variable]
  14. int64_t timeNow = OTSYS_TIME();
  15. ^
  16. make[1]: *** [luascript.o] Error 1
  17. make[1]: *** Waiting for unfinished jobs....
  18. In file included from mailbox.cpp:20:0:
  19. player.h: In member function ‘uint32_t Player::getCastIpByName(std::string)’:
  20. player.h:216:11: warning: converting to non-pointer type ‘uint32_t {aka unsigned int}’ from NULL [-Wconversion-null]
  21. return NULL;
  22. ^
  23. mv -f .deps/mailbox.Tpo .deps/mailbox.Po
  24. In file included from weapons.h:28:0,
  25. from items.cpp:23:
  26. player.h: In member function ‘uint32_t Player::getCastIpByName(std::string)’:
  27. player.h:216:11: warning: converting to non-pointer type ‘uint32_t {aka unsigned int}’ from NULL [-Wconversion-null]
  28. return NULL;
  29. ^
  30. mv -f .deps/items.Tpo .deps/items.Po
  31. In file included from manager.cpp:21:0:
  32. player.h: In member function ‘uint32_t Player::getCastIpByName(std::string)’:
  33. player.h:216:11: warning: converting to non-pointer type ‘uint32_t {aka unsigned int}’ from NULL [-Wconversion-null]
  34. return NULL;
  35. ^
  36. mv -f .deps/manager.Tpo .deps/manager.Po
  37. In file included from house.h:27:0,
  38. from iomap.h:23,
  39. from map.cpp:23:
  40. player.h: In member function ‘uint32_t Player::getCastIpByName(std::string)’:
  41. player.h:216:11: warning: converting to non-pointer type ‘uint32_t {aka unsigned int}’ from NULL [-Wconversion-null]
  42. return NULL;
  43. ^
  44. mv -f .deps/map.Tpo .deps/map.Po
  45. make[1]: Leaving directory `/home/otserver/source'
  46. make: *** [all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement