Advertisement
DrArkaneX

bot error 4-13-19-1

Apr 13th, 2019
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.21 KB | None | 0 0
  1. make
  2. Scanning dependencies of target bot
  3. [ 0%] Building CXX object modules/bot/CMakeFiles/bot.dir/playerbot/AiFactory.cpp.o
  4. [ 0%] Building CXX object modules/bot/CMakeFiles/bot.dir/playerbot/ChatFilter.cpp.o
  5. /home/doc/source/azcore-playerbots/modules/bot/playerbot/ChatFilter.cpp:170:23: warning: using
  6. the result of an assignment as a condition without parentheses [-Wparentheses]
  7. if (found |= isRti)
  8. ~~~~~~^~~~~~~~
  9. /home/doc/source/azcore-playerbots/modules/bot/playerbot/ChatFilter.cpp:170:23: note: place
  10. parentheses around the assignment to silence this warning
  11. if (found |= isRti)
  12. ^
  13. ( )
  14. /home/doc/source/azcore-playerbots/modules/bot/playerbot/ChatFilter.cpp:170:23: note: use '!=' to
  15. turn this compound assignment into an inequality comparison
  16. if (found |= isRti)
  17. ^~
  18. !=
  19. /home/doc/source/azcore-playerbots/modules/bot/playerbot/ChatFilter.cpp:212:23: warning: using
  20. the result of an assignment as a condition without parentheses [-Wparentheses]
  21. if (found |= isClass)
  22. ~~~~~~^~~~~~~~~~
  23. /home/doc/source/azcore-playerbots/modules/bot/playerbot/ChatFilter.cpp:212:23: note: place
  24. parentheses around the assignment to silence this warning
  25. if (found |= isClass)
  26. ^
  27. ( )
  28. /home/doc/source/azcore-playerbots/modules/bot/playerbot/ChatFilter.cpp:212:23: note: use '!=' to
  29. turn this compound assignment into an inequality comparison
  30. if (found |= isClass)
  31. ^~
  32. !=
  33. 2 warnings generated.
  34. [ 1%] Building CXX object modules/bot/CMakeFiles/bot.dir/playerbot/ChatHelper.cpp.o
  35. /home/doc/source/azcore-playerbots/modules/bot/playerbot/ChatHelper.cpp:286:13: warning: 49
  36. enumeration values not handled in switch: 'CHAT_MSG_SYSTEM', 'CHAT_MSG_SAY',
  37. 'CHAT_MSG_OFFICER'... [-Wswitch]
  38. switch (chat)
  39. ^
  40. 1 warning generated.
  41. [ 1%] Building CXX object modules/bot/CMakeFiles/bot.dir/playerbot/FleeManager.cpp.o
  42. [ 1%] Building CXX object modules/bot/CMakeFiles/bot.dir/playerbot/GuildTaskMgr.cpp.o
  43. [ 1%] Building CXX object modules/bot/CMakeFiles/bot.dir/playerbot/Helpers.cpp.o
  44. [ 1%] Building CXX object modules/bot/CMakeFiles/bot.dir/playerbot/LootObjectStack.cpp.o
  45. In file included from /home/doc/source/azcore-playerbots/modules/bot/playerbot/LootObjectStack.cpp:3:
  46. In file included from /home/doc/source/azcore-playerbots/modules/bot/playerbot/LootObjectStack.h:3:
  47. In file included from /home/doc/source/azcore-playerbots/src/server/game/Accounts/../Entities/Player/Player.h:10:
  48. In file included from /home/doc/source/azcore-playerbots/src/server/game/DataStores/DBCStores.h:11:
  49. In file included from /home/doc/source/azcore-playerbots/src/common/DataStores/DBCStore.h:12:
  50. In file included from /home/doc/source/azcore-playerbots/src/common/Database/Field.h:13:
  51. In file included from /home/doc/source/azcore-playerbots/src/common/Database/DatabaseEnv.h:15:
  52. /home/doc/source/azcore-playerbots/src/common/Database/QueryResult.h:34:9: error: unknown type
  53. name 'Field'
  54. Field* Fetch() const { return _currentRow; }
  55. ^
  56. /home/doc/source/azcore-playerbots/src/common/Database/QueryResult.h:35:15: error: unknown type
  57. name 'Field'
  58. const Field & operator [] (uint32 index) const
  59. ^
  60. /home/doc/source/azcore-playerbots/src/common/Database/QueryResult.h:43:9: error: unknown type
  61. name 'Field'
  62. Field* _currentRow;
  63. ^
  64. /home/doc/source/azcore-playerbots/src/common/Database/QueryResult.h:64:9: error: unknown type
  65. name 'Field'
  66. Field* Fetch() const
  67. ^
  68. /home/doc/source/azcore-playerbots/src/common/Database/QueryResult.h:70:15: error: unknown type
  69. name 'Field'
  70. const Field & operator [] (uint32 index) const
  71. ^
  72. /home/doc/source/azcore-playerbots/src/common/Database/QueryResult.h:78:21: error: use of
  73. undeclared identifier 'Field'
  74. std::vector<Field*> m_rows;
  75. ^
  76. /home/doc/source/azcore-playerbots/src/common/Database/QueryResult.h:78:27: error: expected
  77. expression
  78. std::vector<Field*> m_rows;
  79. ^
  80. /home/doc/source/azcore-playerbots/modules/bot/playerbot/LootObjectStack.cpp:53:59: warning:
  81. implicit conversion of NULL constant to 'uint32' (aka 'unsigned int') [-Wnull-conversion]
  82. : guid(), skillId(SKILL_NONE), reqSkillValue(0), reqItem(NULL)
  83. ~^~~~
  84. 0
  85. /home/doc/source/azcore-playerbots/modules/bot/playerbot/LootObjectStack.cpp:62:15: warning:
  86. implicit conversion of NULL constant to 'uint32' (aka 'unsigned int') [-Wnull-conversion]
  87. reqItem = NULL;
  88. ~ ^~~~
  89. 0
  90. 2 warnings and 7 errors generated.
  91. make[2]: *** [modules/bot/CMakeFiles/bot.dir/build.make:141: modules/bot/CMakeFiles/bot.dir/playerbot/LootObjectStack.cpp.o] Error 1
  92. make[1]: *** [CMakeFiles/Makefile2:123: modules/bot/CMakeFiles/bot.dir/all] Error 2
  93. make: *** [Makefile:130: all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement