Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- make
- Scanning dependencies of target bot
- [ 0%] Building CXX object modules/bot/CMakeFiles/bot.dir/playerbot/AiFactory.cpp.o
- [ 0%] Building CXX object modules/bot/CMakeFiles/bot.dir/playerbot/ChatFilter.cpp.o
- /home/doc/source/azcore-playerbots/modules/bot/playerbot/ChatFilter.cpp:170:23: warning: using
- the result of an assignment as a condition without parentheses [-Wparentheses]
- if (found |= isRti)
- ~~~~~~^~~~~~~~
- /home/doc/source/azcore-playerbots/modules/bot/playerbot/ChatFilter.cpp:170:23: note: place
- parentheses around the assignment to silence this warning
- if (found |= isRti)
- ^
- ( )
- /home/doc/source/azcore-playerbots/modules/bot/playerbot/ChatFilter.cpp:170:23: note: use '!=' to
- turn this compound assignment into an inequality comparison
- if (found |= isRti)
- ^~
- !=
- /home/doc/source/azcore-playerbots/modules/bot/playerbot/ChatFilter.cpp:212:23: warning: using
- the result of an assignment as a condition without parentheses [-Wparentheses]
- if (found |= isClass)
- ~~~~~~^~~~~~~~~~
- /home/doc/source/azcore-playerbots/modules/bot/playerbot/ChatFilter.cpp:212:23: note: place
- parentheses around the assignment to silence this warning
- if (found |= isClass)
- ^
- ( )
- /home/doc/source/azcore-playerbots/modules/bot/playerbot/ChatFilter.cpp:212:23: note: use '!=' to
- turn this compound assignment into an inequality comparison
- if (found |= isClass)
- ^~
- !=
- 2 warnings generated.
- [ 1%] Building CXX object modules/bot/CMakeFiles/bot.dir/playerbot/ChatHelper.cpp.o
- /home/doc/source/azcore-playerbots/modules/bot/playerbot/ChatHelper.cpp:286:13: warning: 49
- enumeration values not handled in switch: 'CHAT_MSG_SYSTEM', 'CHAT_MSG_SAY',
- 'CHAT_MSG_OFFICER'... [-Wswitch]
- switch (chat)
- ^
- 1 warning generated.
- [ 1%] Building CXX object modules/bot/CMakeFiles/bot.dir/playerbot/FleeManager.cpp.o
- [ 1%] Building CXX object modules/bot/CMakeFiles/bot.dir/playerbot/GuildTaskMgr.cpp.o
- [ 1%] Building CXX object modules/bot/CMakeFiles/bot.dir/playerbot/Helpers.cpp.o
- [ 1%] Building CXX object modules/bot/CMakeFiles/bot.dir/playerbot/LootObjectStack.cpp.o
- In file included from /home/doc/source/azcore-playerbots/modules/bot/playerbot/LootObjectStack.cpp:3:
- In file included from /home/doc/source/azcore-playerbots/modules/bot/playerbot/LootObjectStack.h:3:
- In file included from /home/doc/source/azcore-playerbots/src/server/game/Accounts/../Entities/Player/Player.h:10:
- In file included from /home/doc/source/azcore-playerbots/src/server/game/DataStores/DBCStores.h:11:
- In file included from /home/doc/source/azcore-playerbots/src/common/DataStores/DBCStore.h:12:
- In file included from /home/doc/source/azcore-playerbots/src/common/Database/Field.h:13:
- In file included from /home/doc/source/azcore-playerbots/src/common/Database/DatabaseEnv.h:15:
- /home/doc/source/azcore-playerbots/src/common/Database/QueryResult.h:34:9: error: unknown type
- name 'Field'
- Field* Fetch() const { return _currentRow; }
- ^
- /home/doc/source/azcore-playerbots/src/common/Database/QueryResult.h:35:15: error: unknown type
- name 'Field'
- const Field & operator [] (uint32 index) const
- ^
- /home/doc/source/azcore-playerbots/src/common/Database/QueryResult.h:43:9: error: unknown type
- name 'Field'
- Field* _currentRow;
- ^
- /home/doc/source/azcore-playerbots/src/common/Database/QueryResult.h:64:9: error: unknown type
- name 'Field'
- Field* Fetch() const
- ^
- /home/doc/source/azcore-playerbots/src/common/Database/QueryResult.h:70:15: error: unknown type
- name 'Field'
- const Field & operator [] (uint32 index) const
- ^
- /home/doc/source/azcore-playerbots/src/common/Database/QueryResult.h:78:21: error: use of
- undeclared identifier 'Field'
- std::vector<Field*> m_rows;
- ^
- /home/doc/source/azcore-playerbots/src/common/Database/QueryResult.h:78:27: error: expected
- expression
- std::vector<Field*> m_rows;
- ^
- /home/doc/source/azcore-playerbots/modules/bot/playerbot/LootObjectStack.cpp:53:59: warning:
- implicit conversion of NULL constant to 'uint32' (aka 'unsigned int') [-Wnull-conversion]
- : guid(), skillId(SKILL_NONE), reqSkillValue(0), reqItem(NULL)
- ~^~~~
- 0
- /home/doc/source/azcore-playerbots/modules/bot/playerbot/LootObjectStack.cpp:62:15: warning:
- implicit conversion of NULL constant to 'uint32' (aka 'unsigned int') [-Wnull-conversion]
- reqItem = NULL;
- ~ ^~~~
- 0
- 2 warnings and 7 errors generated.
- make[2]: *** [modules/bot/CMakeFiles/bot.dir/build.make:141: modules/bot/CMakeFiles/bot.dir/playerbot/LootObjectStack.cpp.o] Error 1
- make[1]: *** [CMakeFiles/Makefile2:123: modules/bot/CMakeFiles/bot.dir/all] Error 2
- make: *** [Makefile:130: all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement