- [ 85%] Building CXX object src/server/scripts/CMakeFiles/scripts.dir/Outland/Auchindoun/AuchenaiCrypts/boss_exarch_maladaar.cpp.o
- [ 85%] Building CXX object src/server/scripts/CMakeFiles/scripts.dir/Outland/Auchindoun/AuchenaiCrypts/boss_shirrak_the_dead_watcher.cpp.o
- /home/grad/tbc/src/server/scripts/Outland/shadowmoon_valley.cpp: In member function ‘bool npcs_flanis_swiftwing_and_kagrosh::OnGossipSelect(Player*, Creature*, uint32, uint32)’:
- /home/grad/tbc/src/server/scripts/Outland/shadowmoon_valley.cpp:383:86: error: cannot convert ‘bool’ to ‘uint32*’ {aka ‘unsigned int*’}
- 383 | uint8 msg = player->CanStoreNewItem(NULL_BAG, NULL_SLOT, dest, 30658, 1, false);
- | ^~~~~
- | |
- | bool
- In file included from /home/grad/tbc/src/server/game/GridNotifiers.h:12,
- from /home/grad/tbc/src/server/scripts/ScriptPCH.h:13,
- from /home/grad/tbc/build/src/server/scripts/cotire/scripts_CXX_prefix.cxx:4,
- from /home/grad/tbc/build/src/server/scripts/cotire/scripts_CXX_prefix.hxx:4,
- from <command-line>:
- /home/grad/tbc/src/server/game/Entities/Player/Player.h:1308:123: note: initializing argument 6 of ‘InventoryResult Player::CanStoreNewItem(uint8, uint8, ItemPosCountVec&, uint32, uint32, uint32*, const ItemTemplate*) const’
- 1308 | InventoryResult CanStoreNewItem( uint8 bag, uint8 slot, ItemPosCountVec& dest, uint32 item, uint32 count, uint32* no_space_count = nullptr, ItemTemplate const* proto = nullptr ) const
- | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
- /home/grad/tbc/src/server/scripts/Outland/shadowmoon_valley.cpp:393:86: error: cannot convert ‘bool’ to ‘uint32*’ {aka ‘unsigned int*’}
- 393 | uint8 msg = player->CanStoreNewItem(NULL_BAG, NULL_SLOT, dest, 30659, 1, false);
- | ^~~~~
- | |
- | bool
- In file included from /home/grad/tbc/src/server/game/GridNotifiers.h:12,
- from /home/grad/tbc/src/server/scripts/ScriptPCH.h:13,
- from /home/grad/tbc/build/src/server/scripts/cotire/scripts_CXX_prefix.cxx:4,
- from /home/grad/tbc/build/src/server/scripts/cotire/scripts_CXX_prefix.hxx:4,
- from <command-line>:
- /home/grad/tbc/src/server/game/Entities/Player/Player.h:1308:123: note: initializing argument 6 of ‘InventoryResult Player::CanStoreNewItem(uint8, uint8, ItemPosCountVec&, uint32, uint32, uint32*, const ItemTemplate*) const’
- 1308 | InventoryResult CanStoreNewItem( uint8 bag, uint8 slot, ItemPosCountVec& dest, uint32 item, uint32 count, uint32* no_space_count = nullptr, ItemTemplate const* proto = nullptr ) const
- | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
- [ 85%] Building CXX object src/server/scripts/CMakeFiles/scripts.dir/Outland/Auchindoun/AuchenaiCrypts/instance_auchenai_crypts.cpp.o
- [ 85%] Building CXX object src/server/scripts/CMakeFiles/scripts.dir/Outland/Auchindoun/ManaTombs/boss_nexusprince_shaffar.cpp.o
- [ 85%] Building CXX object src/server/scripts/CMakeFiles/scripts.dir/Outland/Auchindoun/ManaTombs/boss_pandemonius.cpp.o
- make[2]: *** [src/server/scripts/CMakeFiles/scripts.dir/build.make:4619: src/server/scripts/CMakeFiles/scripts.dir/Outland/shadowmoon_valley.cpp.o] Ошибка 1
- make[2]: *** Ожидание завершения заданий…
- /home/grad/tbc/src/server/scripts/Outland/zangarmarsh.cpp: In member function ‘bool npc_elder_kuruti::OnGossipSelect(Player*, Creature*, uint32, uint32)’:
- /home/grad/tbc/src/server/scripts/Outland/zangarmarsh.cpp:205:105: error: cannot convert ‘bool’ to ‘uint32*’ {aka ‘unsigned int*’}
- 205 | InventoryResult msg = player->CanStoreNewItem(NULL_BAG, NULL_SLOT, dest, itemId, 1, false);
- | ^~~~~
- | |
- | bool
- In file included from /home/grad/tbc/src/server/game/GridNotifiers.h:12,
- from /home/grad/tbc/src/server/scripts/ScriptPCH.h:13,
- from /home/grad/tbc/build/src/server/scripts/cotire/scripts_CXX_prefix.cxx:4,
- from /home/grad/tbc/build/src/server/scripts/cotire/scripts_CXX_prefix.hxx:4,
- from <command-line>:
- /home/grad/tbc/src/server/game/Entities/Player/Player.h:1308:123: note: initializing argument 6 of ‘InventoryResult Player::CanStoreNewItem(uint8, uint8, ItemPosCountVec&, uint32, uint32, uint32*, const ItemTemplate*) const’
- 1308 | InventoryResult CanStoreNewItem( uint8 bag, uint8 slot, ItemPosCountVec& dest, uint32 item, uint32 count, uint32* no_space_count = nullptr, ItemTemplate const* proto = nullptr ) const
- | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
- make[2]: *** [src/server/scripts/CMakeFiles/scripts.dir/build.make:4661: src/server/scripts/CMakeFiles/scripts.dir/Outland/zangarmarsh.cpp.o] Ошибка 1
- make[1]: *** [CMakeFiles/Makefile2:1167: src/server/scripts/CMakeFiles/scripts.dir/all] Ошибка 2
- make: *** [Makefile:149: all] Ошибка 2
- grad@mh001:~/tbc/build$