Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pal9000 ~/source/azerothcore-wotlk/build # make
- Scanning dependencies of target bot
- [ 0%] Building CXX object modules/bot/CMakeFiles/bot.dir/ahbot/AhBot.cpp.o
- In file included from /root/source/azerothcore-wotlk/modules/bot/ahbot/AhBot.cpp:7:
- /root/source/azerothcore-wotlk/modules/bot/ahbot/AhBotConfig.h:14:28: error: attempt to use a deleted function
- static AhBotConfig instance;
- ^
- /root/source/azerothcore-wotlk/modules/bot/ahbot/AhBotConfig.h:87:15: note: destructor of 'AhBotConfig' is implicitly deleted because field 'config' has an inaccessible destructor
- ConfigMgr config;
- ^
- In file included from /root/source/azerothcore-wotlk/modules/bot/ahbot/AhBot.cpp:11:
- /root/source/azerothcore-wotlk/modules/bot/ahbot/../playerbot/PlayerbotAIConfig.h:15:34: error: attempt to use a deleted function
- static PlayerbotAIConfig instance;
- ^
- /root/source/azerothcore-wotlk/modules/bot/ahbot/../playerbot/PlayerbotAIConfig.h:90:15: note: destructor of 'PlayerbotAIConfig' is implicitly deleted because field 'config' has an inaccessible destructor
- ConfigMgr config;
- ^
- /root/source/azerothcore-wotlk/modules/bot/ahbot/AhBot.cpp:294:92: warning: format specifies type 'int' but the argument has type 'int64' (aka 'long') [-Wformat]
- proto->Name1.c_str(), item->GetCount(), auctionIds[auction], curPrice, availableMoney);
- ^~~~~~~~~~~~~~
- /root/source/azerothcore-wotlk/modules/bot/ahbot/AhBot.cpp:320:82: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
- proto->Name1.c_str(), item->GetCount(), auctionIds[auction], buytime - time(0));
- ^~~~~~~~~~~~~~~~~
- /root/source/azerothcore-wotlk/modules/bot/ahbot/AhBot.cpp:473:64: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
- proto->Name1.c_str(), auctionIds[auction], sellTime - time(0));
- ^~~~~~~~~~~~~~~~~~
- /root/source/azerothcore-wotlk/modules/bot/ahbot/AhBot.cpp:479:64: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
- proto->Name1.c_str(), auctionIds[auction], time(0) - sellTime);
- ^~~~~~~~~~~~~~~~~~
- /root/source/azerothcore-wotlk/modules/bot/ahbot/AhBot.cpp:537:37: error: no member named 'GetGUIDObject' in 'Item'
- auctionEntry->item_guidlow = item->GetGUIDObject().GetCounter();
- ~~~~ ^
- /root/source/azerothcore-wotlk/modules/bot/ahbot/AhBot.cpp:637:28: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
- sLog->outBasic(out.str().c_str());
- ^~~~~~~~~~~~~~~~~
- /root/source/azerothcore-wotlk/modules/bot/ahbot/AhBot.cpp:637:28: note: treat the string as an argument to avoid this
- sLog->outBasic(out.str().c_str());
- ^
- "%s",
- /root/source/azerothcore-wotlk/modules/bot/ahbot/AhBot.cpp:915:55: warning: format specifies type 'int' but the argument has type 'std::vector::size_type' (aka 'unsigned long') [-Wformat]
- sLog->outBasic("{A=%d,H=%d,N=%d} bidders loaded", bidders[1].size(), bidders[2].size(), bidders[3].size());
- ~~ ^~~~~~~~~~~~~~~~~
- %zu
- /root/source/azerothcore-wotlk/modules/bot/ahbot/AhBot.cpp:915:74: warning: format specifies type 'int' but the argument has type 'std::vector::size_type' (aka 'unsigned long') [-Wformat]
- sLog->outBasic("{A=%d,H=%d,N=%d} bidders loaded", bidders[1].size(), bidders[2].size(), bidders[3].size());
- ~~ ^~~~~~~~~~~~~~~~~
- %zu
- /root/source/azerothcore-wotlk/modules/bot/ahbot/AhBot.cpp:915:93: warning: format specifies type 'int' but the argument has type 'std::vector::size_type' (aka 'unsigned long') [-Wformat]
- sLog->outBasic("{A=%d,H=%d,N=%d} bidders loaded", bidders[1].size(), bidders[2].size(), bidders[3].size());
- ~~ ^~~~~~~~~~~~~~~~~
- %zu
- 8 warnings and 3 errors generated.
- make[2]: *** [modules/bot/CMakeFiles/bot.dir/build.make:63: modules/bot/CMakeFiles/bot.dir/ahbot/AhBot.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