Guest User

Untitled

a guest
Aug 24th, 2019
806
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.44 KB | None | 0 0
  1. root@ubuntu:/TFS 0.4 Rev3996/source# ./build.sh
  2. TheForgottenServer build script- seems to speed things up ALOT.
  3. CCache: OK
  4. CCache binaries located in /usr/lib/ccache
  5. Building on 4 cores, using 5 processes
  6. make all-am
  7. make[1]: Entering directory `/TFS 0.4 Rev3996/source'
  8. g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fomit-frame-pointer -D__USE_SQLITE__ -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Werror -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT actions.o -MD -MP -MF .deps/actions.Tpo -c -o actions.o actions.cpp
  9. g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fomit-frame-pointer -D__USE_SQLITE__ -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Werror -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT allocator.o -MD -MP -MF .deps/allocator.Tpo -c -o allocator.o allocator.cpp
  10. g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fomit-frame-pointer -D__USE_SQLITE__ -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Werror -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT baseevents.o -MD -MP -MF .deps/baseevents.Tpo -c -o baseevents.o baseevents.cpp
  11. g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fomit-frame-pointer -D__USE_SQLITE__ -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Werror -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT beds.o -MD -MP -MF .deps/beds.Tpo -c -o beds.o beds.cpp
  12. g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fomit-frame-pointer -D__USE_SQLITE__ -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Werror -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT chat.o -MD -MP -MF .deps/chat.Tpo -c -o chat.o chat.cpp
  13. mv -f .deps/allocator.Tpo .deps/allocator.Po
  14. g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fomit-frame-pointer -D__USE_SQLITE__ -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Werror -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT combat.o -MD -MP -MF .deps/combat.Tpo -c -o combat.o combat.cpp
  15. In file included from actions.cpp:23:0:
  16. player.h: In member function ‘uint32_t Player::getCastIpByName(std::string)’:
  17. player.h:216:11: error: converting to non-pointer type ‘uint32_t {aka unsigned int}’ from NULL [-Werror=conversion-null]
  18. return NULL;
  19. ^
  20. player.h: In member function ‘void Player::kickCastViewers()’:
  21. player.h:237:34: error: cannot call constructor ‘PlayerCast::PlayerCast’ directly [-fpermissive]
  22. cast = PlayerCast::PlayerCast();
  23. ^
  24. player.h:237:34: error: for a function-style cast, remove the redundant ‘::PlayerCast’ [-fpermissive]
  25. In file included from actions.cpp:23:0:
  26. player.h: In member function ‘bool Player::addCastBan(std::string)’:
  27. player.h:263:46: error: cannot call constructor ‘CastBan::CastBan’ directly [-fpermissive]
  28. cast.bans.push_back(CastBan::CastBan(n, ip));
  29. ^
  30. player.h:263:46: error: for a function-style cast, remove the redundant ‘::CastBan’ [-fpermissive]
  31. player.h: In member function ‘bool Player::addCastMute(std::string)’:
  32. player.h:284:47: error: cannot call constructor ‘CastBan::CastBan’ directly [-fpermissive]
  33. cast.muted.push_back(CastBan::CastBan(n, ip));
  34. ^
  35. player.h:284:47: error: for a function-style cast, remove the redundant ‘::CastBan’ [-fpermissive]
  36. In file included from house.h:27:0,
  37. from beds.cpp:20:
  38. player.h: In member function ‘uint32_t Player::getCastIpByName(std::string)’:
  39. player.h:216:11: error: converting to non-pointer type ‘uint32_t {aka unsigned int}’ from NULL [-Werror=conversion-null]
  40. return NULL;
  41. ^
  42. player.h: In member function ‘void Player::kickCastViewers()’:
  43. player.h:237:34: error: cannot call constructor ‘PlayerCast::PlayerCast’ directly [-fpermissive]
  44. cast = PlayerCast::PlayerCast();
  45. ^
  46. player.h:237:34: error: for a function-style cast, remove the redundant ‘::PlayerCast’ [-fpermissive]
  47. In file included from house.h:27:0,
  48. from beds.cpp:20:
  49. player.h: In member function ‘bool Player::addCastBan(std::string)’:
  50. player.h:263:46: error: cannot call constructor ‘CastBan::CastBan’ directly [-fpermissive]
  51. cast.bans.push_back(CastBan::CastBan(n, ip));
  52. ^
  53. player.h:263:46: error: for a function-style cast, remove the redundant ‘::CastBan’ [-fpermissive]
  54. player.h: In member function ‘bool Player::addCastMute(std::string)’:
  55. player.h:284:47: error: cannot call constructor ‘CastBan::CastBan’ directly [-fpermissive]
  56. cast.muted.push_back(CastBan::CastBan(n, ip));
  57. ^
  58. player.h:284:47: error: for a function-style cast, remove the redundant ‘::CastBan’ [-fpermissive]
  59. In file included from party.h:20:0,
  60. from chat.h:24,
  61. from chat.cpp:18:
  62. player.h: In member function ‘uint32_t Player::getCastIpByName(std::string)’:
  63. player.h:216:11: error: converting to non-pointer type ‘uint32_t {aka unsigned int}’ from NULL [-Werror=conversion-null]
  64. return NULL;
  65. ^
  66. player.h: In member function ‘void Player::kickCastViewers()’:
  67. player.h:237:34: error: cannot call constructor ‘PlayerCast::PlayerCast’ directly [-fpermissive]
  68. cast = PlayerCast::PlayerCast();
  69. ^
  70. player.h:237:34: error: for a function-style cast, remove the redundant ‘::PlayerCast’ [-fpermissive]
  71. In file included from party.h:20:0,
  72. from chat.h:24,
  73. from chat.cpp:18:
  74. player.h: In member function ‘bool Player::addCastBan(std::string)’:
  75. player.h:263:46: error: cannot call constructor ‘CastBan::CastBan’ directly [-fpermissive]
  76. cast.bans.push_back(CastBan::CastBan(n, ip));
  77. ^
  78. player.h:263:46: error: for a function-style cast, remove the redundant ‘::CastBan’ [-fpermissive]
  79. player.h: In member function ‘bool Player::addCastMute(std::string)’:
  80. player.h:284:47: error: cannot call constructor ‘CastBan::CastBan’ directly [-fpermissive]
  81. cast.muted.push_back(CastBan::CastBan(n, ip));
  82. ^
  83. player.h:284:47: error: for a function-style cast, remove the redundant ‘::CastBan’ [-fpermissive]
  84. In file included from game.h:31:0,
  85. from combat.cpp:23:
  86. player.h: In member function ‘uint32_t Player::getCastIpByName(std::string)’:
  87. player.h:216:11: error: converting to non-pointer type ‘uint32_t {aka unsigned int}’ from NULL [-Werror=conversion-null]
  88. return NULL;
  89. ^
  90. player.h: In member function ‘void Player::kickCastViewers()’:
  91. player.h:237:34: error: cannot call constructor ‘PlayerCast::PlayerCast’ directly [-fpermissive]
  92. cast = PlayerCast::PlayerCast();
  93. ^
  94. player.h:237:34: error: for a function-style cast, remove the redundant ‘::PlayerCast’ [-fpermissive]
  95. In file included from game.h:31:0,
  96. from combat.cpp:23:
  97. player.h: In member function ‘bool Player::addCastBan(std::string)’:
  98. player.h:263:46: error: cannot call constructor ‘CastBan::CastBan’ directly [-fpermissive]
  99. cast.bans.push_back(CastBan::CastBan(n, ip));
  100. ^
  101. player.h:263:46: error: for a function-style cast, remove the redundant ‘::CastBan’ [-fpermissive]
  102. player.h: In member function ‘bool Player::addCastMute(std::string)’:
  103. player.h:284:47: error: cannot call constructor ‘CastBan::CastBan’ directly [-fpermissive]
  104. cast.muted.push_back(CastBan::CastBan(n, ip));
  105. ^
  106. player.h:284:47: error: for a function-style cast, remove the redundant ‘::CastBan’ [-fpermissive]
  107. chat.cpp: In member function ‘ChatChannel* Chat::getChannel(Player*, uint16_t)’:
  108. chat.cpp:1144:10: error: converting ‘false’ to pointer type ‘ChatChannel*’ [-Werror=conversion-null]
  109. return false;
  110. ^
  111. cc1plus: all warnings being treated as errors
  112. cc1plus: all warnings being treated as errors
  113. make[1]: *** [actions.o] Error 1
  114. make[1]: *** Waiting for unfinished jobs....
  115. make[1]: *** [beds.o] Error 1
  116. cc1plus: all warnings being treated as errors
  117. make[1]: *** [combat.o] Error 1
  118. cc1plus: all warnings being treated as errors
  119. make[1]: *** [chat.o] Error 1
  120. mv -f .deps/baseevents.Tpo .deps/baseevents.Po
  121. make[1]: Leaving directory `/TFS 0.4 Rev3996/source'
  122. make: *** [all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment