Advertisement
Gregori

Build Game warning log

Sep 24th, 2016
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.23 KB | None | 0 0
  1. ../../common/VnumHelper.h:59:32: warning: no newline at end of file
  2. shop_manager.h:40:7: warning: no newline at end of file
  3. PetSystem.h:163:31: warning: no newline at end of file
  4. char.cpp:7221: warning: this decimal constant is unsigned only in ISO C90
  5. char.cpp: In member function 'void CHARACTER::PointChange(BYTE, int, bool, bool)':
  6. char.cpp:3088: warning: comparison between signed and unsigned integer expressions
  7. shop_manager.h:40:7: warning: no newline at end of file
  8. ../../common/VnumHelper.h:59:32: warning: no newline at end of file
  9. ../../common/VnumHelper.h:59:32: warning: no newline at end of file
  10. belt_inventory_helper.h:108:42: warning: no newline at end of file
  11. belt_inventory_helper.h: In static member function 'static BYTE CBeltInventoryHelper::GetBeltGradeByRefineLevel(int)':
  12. belt_inventory_helper.h:28: warning: comparison between signed and unsigned integer expressions
  13. char_item.cpp: In member function 'bool CHARACTER::IsEmptyItemGrid(TItemPos, BYTE, int) const':
  14. char_item.cpp:640: warning: comparison is always false due to limited range of data type
  15. char_item.cpp:666: warning: comparison is always false due to limited range of data type
  16. char_item.cpp: In member function 'bool CHARACTER::UseItemEx(CItem*, TItemPos)':
  17. char_item.cpp:2387: warning: format '%d' expects type 'int', but argument 6 has type 'long int'
  18. char_item.cpp:2391: warning: format '%d' expects type 'int', but argument 6 has type 'long int'
  19. char_item.cpp:2403: warning: format '%d' expects type 'int', but argument 5 has type 'long int'
  20. char_item.cpp:2407: warning: format '%d' expects type 'int', but argument 5 has type 'long int'
  21. char_item.cpp:2434: warning: format '%d' expects type 'int', but argument 6 has type 'long int'
  22. char_item.cpp:2442: warning: format '%d' expects type 'int', but argument 5 has type 'long int'
  23. char_item.cpp:5087: warning: comparison between signed and unsigned integer expressions
  24. char_item.cpp: In member function 'bool CHARACTER::UseItem(TItemPos, TItemPos)':
  25. char_item.cpp:5159: warning: unused variable 'wDestCell'
  26. char_item.cpp:5160: warning: unused variable 'bDestInven'
  27. char_item.cpp: In member function 'bool CHARACTER::EquipItem(CItem*, int)':
  28. char_item.cpp:6160: warning: array subscript has type 'char'
  29. char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_AddBuffsFromItem(CItem*)':
  30. char_item.cpp:6224: warning: comparison between signed and unsigned integer expressions
  31. char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_RemoveBuffsFromItem(CItem*)':
  32. char_item.cpp:6236: warning: comparison between signed and unsigned integer expressions
  33. char_item.cpp: In member function 'bool CHARACTER::CanEquipNow(CItem*, const TItemPos&, const TItemPos&)':
  34. char_item.cpp:7422: warning: unused variable 'itemType'
  35. char_item.cpp:7423: warning: unused variable 'itemSubType'
  36. char_item.cpp: In member function 'bool CHARACTER::IsEmptyItemGrid(TItemPos, BYTE, int) const':
  37. char_item.cpp:679: warning: control reaches end of non-void function
  38. char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_ValueChange(BYTE, BYTE, BYTE)':
  39. char_item.cpp:6271: warning: 'pBuff' may be used uninitialized in this function
  40. ../../common/VnumHelper.h:59:32: warning: no newline at end of file
  41. char_state.cpp: In member function 'virtual void CHARACTER::StateMove()':
  42. char_state.cpp:901: warning: unused variable 'rider'
  43. PetSystem.h:163:31: warning: no newline at end of file
  44. ../../common/VnumHelper.h:59:32: warning: no newline at end of file
  45. PetSystem.cpp:637:2: warning: no newline at end of file
  46. PetSystem.cpp: In member function 'virtual bool CPetActor::_UpdateFollowAI()':
  47. PetSystem.cpp:246: warning: unused variable 'bDoMoveAlone'
  48. PetSystem.cpp: In member function 'CPetActor* CPetSystem::Summon(DWORD, CItem*, const char*, bool, DWORD)':
  49. PetSystem.cpp:552: warning: unused variable 'petVID'
  50. ../../common/VnumHelper.h:59:32: warning: no newline at end of file
  51. cmd_gm.cpp: In function 'void do_set_stat(CHARACTER*, const char*, int, int)':
  52. cmd_gm.cpp:3935: warning: NULL used in arithmetic
  53. constants.cpp:291: warning: this decimal constant is unsigned only in ISO C90
  54. constants.cpp:292: warning: this decimal constant is unsigned only in ISO C90
  55. constants.cpp:293: warning: this decimal constant is unsigned only in ISO C90
  56. constants.cpp:294: warning: this decimal constant is unsigned only in ISO C90
  57. constants.cpp:295: warning: this decimal constant is unsigned only in ISO C90
  58. constants.cpp:296: warning: this decimal constant is unsigned only in ISO C90
  59. constants.cpp:297: warning: this decimal constant is unsigned only in ISO C90
  60. constants.cpp:298: warning: this decimal constant is unsigned only in ISO C90
  61. constants.cpp:299: warning: this decimal constant is unsigned only in ISO C90
  62. constants.cpp:300: warning: this decimal constant is unsigned only in ISO C90
  63. constants.cpp:301: warning: this decimal constant is unsigned only in ISO C90
  64. constants.cpp:302: warning: this decimal constant is unsigned only in ISO C90
  65. constants.cpp:303: warning: this decimal constant is unsigned only in ISO C90
  66. constants.cpp:304: warning: this decimal constant is unsigned only in ISO C90
  67. constants.cpp:305: warning: this decimal constant is unsigned only in ISO C90
  68. constants.cpp:306: warning: this decimal constant is unsigned only in ISO C90
  69. constants.cpp:307: warning: this decimal constant is unsigned only in ISO C90
  70. constants.cpp:308: warning: this decimal constant is unsigned only in ISO C90
  71. constants.cpp:309: warning: this decimal constant is unsigned only in ISO C90
  72. constants.cpp:310: warning: this decimal constant is unsigned only in ISO C90
  73. constants.cpp:311: warning: this decimal constant is unsigned only in ISO C90
  74. check_server.h: In static member function 'static bool CheckServer::CheckIp(const char*)':
  75. check_server.h:24: warning: comparison between signed and unsigned integer expressions
  76. config.cpp: In function 'void config_init(const std::string&)':
  77. config.cpp:435: warning: NULL used in arithmetic
  78. config.cpp:459: warning: NULL used in arithmetic
  79. config.cpp:483: warning: NULL used in arithmetic
  80. config.cpp:505: warning: unused variable 'line'
  81. cmd_gm.cpp: In function 'void do_use_item(CHARACTER*, const char*, int, int)':
  82. cmd_gm.cpp:4357: warning: 'cell' may be used uninitialized in this function
  83. cmd_gm.cpp: In function 'void do_set_stat(CHARACTER*, const char*, int, int)':
  84. cmd_gm.cpp:3977: warning: 'n' may be used uninitialized in this function
  85. cmd_gm.cpp: In function 'void do_mob_ld(CHARACTER*, const char*, int, int)':
  86. cmd_gm.cpp:855: warning: 'x' may be used uninitialized in this function
  87. cmd_gm.cpp:855: warning: 'y' may be used uninitialized in this function
  88. cube.cpp: In function 'bool Cube_make(CHARACTER*)':
  89. cube.cpp:544: warning: comparison between signed and unsigned integer expressions
  90. cube.cpp: In function 'void Cube_MakeCubeInformationText()':
  91. cube.cpp:716: warning: unused variable 'npcVNUM'
  92. cube.cpp: In function 'bool Cube_InformationInitialize()':
  93. cube.cpp:783: warning: comparison between signed and unsigned integer expressions
  94. ClientPackageCryptInfo.h:117:41: warning: no newline at end of file
  95. desc_client.cpp: In member function 'void CLIENT_DESC::UpdateChannelStatus(DWORD, bool)':
  96. desc_client.cpp:299: warning: comparison between signed and unsigned integer expressions
  97. shop_manager.h:40:7: warning: no newline at end of file
  98. input_db.cpp:2722:2: warning: no newline at end of file
  99. input_auth.cpp: In member function 'int CInputAuth::auth_OpenID(const char*, const char*, char*)':
  100. input_auth.cpp:467: warning: unused variable 'last'
  101. shop_manager.h:40:7: warning: no newline at end of file
  102. belt_inventory_helper.h:108:42: warning: no newline at end of file
  103. ../../common/VnumHelper.h:59:32: warning: no newline at end of file
  104. item.cpp:2084:2: warning: no newline at end of file
  105. belt_inventory_helper.h: In static member function 'static BYTE CBeltInventoryHelper::GetBeltGradeByRefineLevel(int)':
  106. belt_inventory_helper.h:28: warning: comparison between signed and unsigned integer expressions
  107. item.h: In constructor 'CItem::CItem(DWORD)':
  108. item.h:286: warning: 'CItem::m_pkRealTimeExpireEvent' will be initialized after
  109. item.h:283: warning: 'LPEVENT CItem::m_pkExpireEvent'
  110. item.cpp:25: warning: when initialized here
  111. item.cpp: In function 'const bool CanPutIntoRing(CItem*, CItem*)':
  112. item.cpp:1725: warning: unused variable 'vnum'
  113. item.cpp: In member function 'bool CItem::CanPutInto(CItem*)':
  114. item.cpp:1758: warning: comparison between signed and unsigned integer expressions
  115. item.cpp: In member function 'int CItem::GiveMoreTime_Per(float)':
  116. item.cpp:2014: warning: comparison between signed and unsigned integer expressions
  117. item.cpp:2016: warning: comparison between signed and unsigned integer expressions
  118. item.cpp: In member function 'int CItem::GiveMoreTime_Fix(DWORD)':
  119. item.cpp:2038: warning: comparison between signed and unsigned integer expressions
  120. item.cpp: In member function 'int CItem::GetDuration()':
  121. item.cpp:2069: warning: array subscript has type 'char'
  122. ../../common/VnumHelper.h:59:32: warning: no newline at end of file
  123. item_manager.cpp: In member function 'TItemTable* ITEM_MANAGER::GetTable(DWORD)':
  124. item_manager.cpp:604: warning: comparison between signed and unsigned integer expressions
  125. monarch.cpp:276:2: warning: no newline at end of file
  126. questlua.cpp: In member function 'bool quest::FPartyCheckFlagLt::operator()(CHARACTER*)':
  127. questlua.cpp:78: warning: 'returnBool' may be used uninitialized in this function
  128. PetSystem.h:163:31: warning: no newline at end of file
  129. questlua_pet.cpp:157:2: warning: no newline at end of file
  130. shop_manager.h:40:7: warning: no newline at end of file
  131. questlua_npc.cpp: In function 'int quest::npc_get_vid_attack_mul(lua_State*)':
  132. questlua_npc.cpp:293: warning: unused variable 'q'
  133. questlua_npc.cpp: In function 'int quest::npc_set_vid_attack_mul(lua_State*)':
  134. questlua_npc.cpp:309: warning: unused variable 'q'
  135. questlua_npc.cpp: In function 'int quest::npc_get_vid_damage_mul(lua_State*)':
  136. questlua_npc.cpp:324: warning: unused variable 'q'
  137. questlua_npc.cpp: In function 'int quest::npc_set_vid_damage_mul(lua_State*)':
  138. questlua_npc.cpp:340: warning: unused variable 'q'
  139. questnpc.cpp: In member function 'bool quest::NPC::HandleEvent(quest::PC&, int)':
  140. questnpc.cpp:500: warning: unused variable 'pPC'
  141. shop.cpp: In member function 'virtual bool CShop::IsSellingItem(DWORD)':
  142. shop.cpp:576: warning: comparison between signed and unsigned integer expressions
  143. shop_manager.h:40:7: warning: no newline at end of file
  144. utils.cpp: In function 'bool WildCaseCmp(const char*, const char*)':
  145. utils.cpp:243: warning: NULL used in arithmetic
  146. utils.cpp:255: warning: NULL used in arithmetic
  147. utils.cpp:269: warning: NULL used in arithmetic
  148. FileMonitor_FreeBSD.cpp:136:2: warning: no newline at end of file
  149. ClientPackageCryptInfo.h:117:41: warning: no newline at end of file
  150. ClientPackageCryptInfo.h: In constructor 'CClientPackageCryptInfo::CClientPackageCryptInfo()':
  151. ClientPackageCryptInfo.h:50: warning: 'CClientPackageCryptInfo::m_pSerializedCryptKeyStream' will be initialized after
  152. ClientPackageCryptInfo.h:48: warning: 'int CClientPackageCryptInfo::m_nCryptKeyPackageCnt'
  153. ClientPackageCryptInfo.cpp:9: warning: when initialized here
  154. ../../../Extern/include/cryptopp/algparam.h: In constructor 'CryptoPP::ConstByteArrayParameter::ConstByteArrayParameter(const T&, bool) [with T = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]':
  155. ../../../Extern/include/cryptopp/filters.h:793: instantiated from here
  156. ../../../Extern/include/cryptopp/algparam.h:26: warning: unused variable 'cryptopp_assert_26'
  157. ../../../Extern/include/cryptopp/algparam.h: In member function 'void CryptoPP::AlgorithmParametersTemplate<T>::MoveInto(void*) const [with T = CryptoPP::RandomNumberGenerator*]':
  158. cipher.cpp:397: instantiated from here
  159. ../../../Extern/include/cryptopp/algparam.h:322: warning: unused variable 'p'
  160. buff_on_attributes.cpp: In member function 'void CBuffOnAttributes::ChangeBuffValue(BYTE)':
  161. buff_on_attributes.cpp:113: warning: unused variable 'old_value'
  162. buff_on_attributes.cpp:114: warning: unused variable 'new_value'
  163. check_server.h: In static member function 'static bool CheckServer::CheckIp(const char*)':
  164. check_server.h:24: warning: comparison between signed and unsigned integer expressions
  165. dragon_soul_table.h:74:7: warning: no newline at end of file
  166. dragon_soul_table.h:74:7: warning: no newline at end of file
  167. dragon_soul_table.cpp: In member function 'bool DragonSoulTable::ReadAdditionalApplys()':
  168. dragon_soul_table.cpp:223: warning: comparison between signed and unsigned integer expressions
  169. dragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckApplyNumSettings()':
  170. dragon_soul_table.cpp:283: warning: comparison between signed and unsigned integer expressions
  171. dragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckWeightTables()':
  172. dragon_soul_table.cpp:311: warning: comparison between signed and unsigned integer expressions
  173. dragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckRefineGradeTables()':
  174. dragon_soul_table.cpp:343: warning: comparison between signed and unsigned integer expressions
  175. dragon_soul_table.cpp:372: warning: comparison between signed and unsigned integer expressions
  176. dragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckRefineStepTables()':
  177. dragon_soul_table.cpp:397: warning: comparison between signed and unsigned integer expressions
  178. dragon_soul_table.cpp:427: warning: comparison between signed and unsigned integer expressions
  179. dragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckRefineStrengthTables()':
  180. dragon_soul_table.cpp:453: warning: comparison between signed and unsigned integer expressions
  181. dragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckDragonHeartExtTables()':
  182. dragon_soul_table.cpp:494: warning: comparison between signed and unsigned integer expressions
  183. dragon_soul_table.cpp:513: warning: comparison between signed and unsigned integer expressions
  184. dragon_soul_table.cpp:522: warning: comparison between signed and unsigned integer expressions
  185. dragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckDragonSoulExtTables()':
  186. dragon_soul_table.cpp:545: warning: comparison between signed and unsigned integer expressions
  187. group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(const std::string&, T&) const [with T = std::string]':
  188. dragon_soul_table.cpp:129: instantiated from here
  189. group_text_parse_tree.h:220: warning: comparison between signed and unsigned integer expressions
  190. group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(const std::string&, T&) const [with T = BYTE]':
  191. dragon_soul_table.cpp:134: instantiated from here
  192. group_text_parse_tree.h:220: warning: comparison between signed and unsigned integer expressions
  193. group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(const std::string&, T&) const [with T = int]':
  194. dragon_soul_table.cpp:201: instantiated from here
  195. group_text_parse_tree.h:220: warning: comparison between signed and unsigned integer expressions
  196. group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(const std::string&, T&) const [with T = float]':
  197. dragon_soul_table.cpp:260: instantiated from here
  198. group_text_parse_tree.h:220: warning: comparison between signed and unsigned integer expressions
  199. group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(int, T&) const [with T = float]':
  200. dragon_soul_table.cpp:828: instantiated from here
  201. group_text_parse_tree.h:228: warning: comparison between signed and unsigned integer expressions
  202. group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(int, T&) const [with T = int]':
  203. group_text_parse_tree.h:159: instantiated from 'bool CGroupNode::GetValue(const std::string&, const std::string&, T&) const [with T = int]'
  204. group_text_parse_tree.h:203: instantiated from 'bool CGroupNode::GetGroupValue(const std::string&, const std::string&, const std::string&, T&) const [with T = int]'
  205. dragon_soul_table.cpp:612: instantiated from here
  206. group_text_parse_tree.h:228: warning: comparison between signed and unsigned integer expressions
  207. group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(int, T&) const [with T = unsigned int]':
  208. group_text_parse_tree.h:159: instantiated from 'bool CGroupNode::GetValue(const std::string&, const std::string&, T&) const [with T = unsigned int]'
  209. group_text_parse_tree.h:203: instantiated from 'bool CGroupNode::GetGroupValue(const std::string&, const std::string&, const std::string&, T&) const [with T = unsigned int]'
  210. dragon_soul_table.cpp:884: instantiated from here
  211. group_text_parse_tree.h:228: warning: comparison between signed and unsigned integer expressions
  212. DragonSoul.cpp: In function 'int Gamble(std::vector<float, std::allocator<float> >&)':
  213. DragonSoul.cpp:19: warning: comparison between signed and unsigned integer expressions
  214. DragonSoul.cpp:25: warning: comparison between signed and unsigned integer expressions
  215. DragonSoul.cpp: In member function 'bool DSManager::RefreshItemAttributes(CItem*)':
  216. DragonSoul.cpp:203: warning: comparison between signed and unsigned integer expressions
  217. DragonSoul.cpp: In member function 'bool DSManager::PutAttributes(CItem*)':
  218. DragonSoul.cpp:273: warning: comparison between signed and unsigned integer expressions
  219. DragonSoul.cpp: In member function 'bool DSManager::ExtractDragonHeart(CHARACTER*, CItem*, CItem*)':
  220. DragonSoul.cpp:350: warning: unused variable 'sum'
  221. DragonSoul.cpp: In member function 'bool DSManager::PullOut(CHARACTER*, TItemPos, CItem*&, CItem*)':
  222. DragonSoul.cpp:435: warning: unused variable 'dwVnum'
  223. DragonSoul.cpp:469: warning: format '%d' expects type 'int', but argument 3 has type 'double'
  224. DragonSoul.cpp:469: warning: format '%d' expects type 'int', but argument 4 has type 'double'
  225. DragonSoul.cpp: In member function 'bool DSManager::DoRefineGrade(CHARACTER*, TItemPos (&)[15])':
  226. DragonSoul.cpp:555: warning: unused variable 'prob_sum'
  227. DragonSoul.cpp: In member function 'bool DSManager::DoRefineStep(CHARACTER*, TItemPos (&)[15])':
  228. DragonSoul.cpp:763: warning: unused variable 'sum'
  229. group_text_parse_tree.h: In constructor 'CGroupTextParseTreeLoader::CGroupTextParseTreeLoader()':
  230. group_text_parse_tree.h:93: warning: 'CGroupTextParseTreeLoader::m_dwcurLineIndex' will be initialized after
  231. group_text_parse_tree.h:91: warning: 'CGroupNode* CGroupTextParseTreeLoader::m_pRootGroupNode'
  232. group_text_parse_tree.cpp:5: warning: when initialized here
  233. group_text_parse_tree.cpp: In member function 'bool CGroupTextParseTreeLoader::LoadGroup(CGroupNode*)':
  234. group_text_parse_tree.cpp:99: warning: comparison between signed and unsigned integer expressions
  235. group_text_parse_tree.cpp: In member function 'bool CGroupNode::GetRow(int, const CGroupNode::CGroupNodeRow**) const':
  236. group_text_parse_tree.cpp:206: warning: comparison between signed and unsigned integer expressions
  237. char_dragonsoul.cpp:143:2: warning: no newline at end of file
  238. char_dragonsoul.cpp: In member function 'bool CHARACTER::DragonSoul_ActivateDeck(int)':
  239. char_dragonsoul.cpp:91: warning: control reaches end of non-void function
  240. shop_manager.h:40:7: warning: no newline at end of file
  241. ../../../Extern/include/cryptopp/misc.h: At global scope:
  242. ../../../Extern/include/cryptopp/misc.h:548: warning: 'std::string CryptoPP::StringNarrow(const wchar_t*, bool)' defined but not used
  243. shop_manager.cpp: In function 'bool ConvertToShopItemTable(CGroupNode*, TShopTableEx&)':
  244. shop_manager.cpp:473: warning: comparison between signed and unsigned integer expressions
  245. group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(int, T&) const [with T = unsigned int]':
  246. group_text_parse_tree.h:175: instantiated from 'bool CGroupNode::GetValue(const std::string&, int, T&) const [with T = DWORD]'
  247. shop_manager.cpp:381: instantiated from here
  248. group_text_parse_tree.h:228: warning: comparison between signed and unsigned integer expressions
  249. group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(int, T&) const [with T = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]':
  250. group_text_parse_tree.h:175: instantiated from 'bool CGroupNode::GetValue(const std::string&, int, T&) const [with T = std::string]'
  251. shop_manager.cpp:387: instantiated from here
  252. group_text_parse_tree.h:228: warning: comparison between signed and unsigned integer expressions
  253. group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(int, T&) const [with T = unsigned char]':
  254. group_text_parse_tree.h:136: instantiated from 'bool CGroupNode::GetValue(size_t, const std::string&, T&) const [with T = BYTE]'
  255. shop_manager.cpp:442: instantiated from here
  256. group_text_parse_tree.h:228: warning: comparison between signed and unsigned integer expressions
  257. shopEx.cpp: In member function 'virtual int CShopEx::Buy(CHARACTER*, BYTE)':
  258. shopEx.cpp:159: warning: comparison between signed and unsigned integer expressions
  259. item_manager_read_tables.cpp: In member function 'bool ITEM_MANAGER::ReadMonsterDropItemGroup(const char*)':
  260. item_manager_read_tables.cpp:637: warning: unused variable 'pkGroup'
  261. item_manager_read_tables.cpp:627: warning: 'pkGroup' may be used uninitialized in this function
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement