From Stained Crane, 3 Years ago, written in Plain Text.
Embed
  1. [ 85%] Building CXX object src/server/scripts/CMakeFiles/scripts.dir/Outland/Auchindoun/AuchenaiCrypts/boss_exarch_maladaar.cpp.o
  2. [ 85%] Building CXX object src/server/scripts/CMakeFiles/scripts.dir/Outland/Auchindoun/AuchenaiCrypts/boss_shirrak_the_dead_watcher.cpp.o
  3. /home/grad/tbc/src/server/scripts/Outland/shadowmoon_valley.cpp: In member function ‘bool npcs_flanis_swiftwing_and_kagrosh::OnGossipSelect(Player*, Creature*, uint32, uint32)’:
  4. /home/grad/tbc/src/server/scripts/Outland/shadowmoon_valley.cpp:383:86: error: cannot convert ‘bool’ to ‘uint32*’ {aka ‘unsigned int*’}
  5.   383 |             uint8 msg = player->CanStoreNewItem(NULL_BAG, NULL_SLOT, dest, 30658, 1, false);
  6.       |                                                                                      ^~~~~
  7.       |                                                                                      |
  8.       |                                                                                      bool
  9. In file included from /home/grad/tbc/src/server/game/GridNotifiers.h:12,
  10.                  from /home/grad/tbc/src/server/scripts/ScriptPCH.h:13,
  11.                  from /home/grad/tbc/build/src/server/scripts/cotire/scripts_CXX_prefix.cxx:4,
  12.                  from /home/grad/tbc/build/src/server/scripts/cotire/scripts_CXX_prefix.hxx:4,
  13.                  from <command-line>:
  14. /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’
  15.  1308 |         InventoryResult CanStoreNewItem( uint8 bag, uint8 slot, ItemPosCountVec& dest, uint32 item, uint32 count, uint32* no_space_count = nullptr, ItemTemplate const* proto = nullptr ) const
  16.       |                                                                                                                   ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
  17. /home/grad/tbc/src/server/scripts/Outland/shadowmoon_valley.cpp:393:86: error: cannot convert ‘bool’ to ‘uint32*’ {aka ‘unsigned int*’}
  18.   393 |             uint8 msg = player->CanStoreNewItem(NULL_BAG, NULL_SLOT, dest, 30659, 1, false);
  19.       |                                                                                      ^~~~~
  20.       |                                                                                      |
  21.       |                                                                                      bool
  22. In file included from /home/grad/tbc/src/server/game/GridNotifiers.h:12,
  23.                  from /home/grad/tbc/src/server/scripts/ScriptPCH.h:13,
  24.                  from /home/grad/tbc/build/src/server/scripts/cotire/scripts_CXX_prefix.cxx:4,
  25.                  from /home/grad/tbc/build/src/server/scripts/cotire/scripts_CXX_prefix.hxx:4,
  26.                  from <command-line>:
  27. /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’
  28.  1308 |         InventoryResult CanStoreNewItem( uint8 bag, uint8 slot, ItemPosCountVec& dest, uint32 item, uint32 count, uint32* no_space_count = nullptr, ItemTemplate const* proto = nullptr ) const
  29.       |                                                                                                                   ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
  30. [ 85%] Building CXX object src/server/scripts/CMakeFiles/scripts.dir/Outland/Auchindoun/AuchenaiCrypts/instance_auchenai_crypts.cpp.o
  31. [ 85%] Building CXX object src/server/scripts/CMakeFiles/scripts.dir/Outland/Auchindoun/ManaTombs/boss_nexusprince_shaffar.cpp.o
  32. [ 85%] Building CXX object src/server/scripts/CMakeFiles/scripts.dir/Outland/Auchindoun/ManaTombs/boss_pandemonius.cpp.o
  33. make[2]: *** [src/server/scripts/CMakeFiles/scripts.dir/build.make:4619: src/server/scripts/CMakeFiles/scripts.dir/Outland/shadowmoon_valley.cpp.o] Ошибка 1
  34. make[2]: *** Ожидание завершения заданий…
  35. /home/grad/tbc/src/server/scripts/Outland/zangarmarsh.cpp: In member function ‘bool npc_elder_kuruti::OnGossipSelect(Player*, Creature*, uint32, uint32)’:
  36. /home/grad/tbc/src/server/scripts/Outland/zangarmarsh.cpp:205:105: error: cannot convert ‘bool’ to ‘uint32*’ {aka ‘unsigned int*’}
  37.   205 |                     InventoryResult msg = player->CanStoreNewItem(NULL_BAG, NULL_SLOT, dest, itemId, 1, false);
  38.       |                                                                                                         ^~~~~
  39.       |                                                                                                         |
  40.       |                                                                                                         bool
  41. In file included from /home/grad/tbc/src/server/game/GridNotifiers.h:12,
  42.                  from /home/grad/tbc/src/server/scripts/ScriptPCH.h:13,
  43.                  from /home/grad/tbc/build/src/server/scripts/cotire/scripts_CXX_prefix.cxx:4,
  44.                  from /home/grad/tbc/build/src/server/scripts/cotire/scripts_CXX_prefix.hxx:4,
  45.                  from <command-line>:
  46. /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’
  47.  1308 |         InventoryResult CanStoreNewItem( uint8 bag, uint8 slot, ItemPosCountVec& dest, uint32 item, uint32 count, uint32* no_space_count = nullptr, ItemTemplate const* proto = nullptr ) const
  48.       |                                                                                                                   ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
  49. make[2]: *** [src/server/scripts/CMakeFiles/scripts.dir/build.make:4661: src/server/scripts/CMakeFiles/scripts.dir/Outland/zangarmarsh.cpp.o] Ошибка 1
  50. make[1]: *** [CMakeFiles/Makefile2:1167: src/server/scripts/CMakeFiles/scripts.dir/all] Ошибка 2
  51. make: *** [Makefile:149: all] Ошибка 2
  52. grad@mh001:~/tbc/build$
  53.