Advertisement
KoYGeR

Untitled

Sep 15th, 2019
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.20 KB | None | 0 0
  1.  
  2. compile BattleArena.cpp
  3. In file included from BattleArena.cpp:1:
  4. In file included from ./stdafx.h:37:
  5. ./typedef.h:33:9: error: no member named 'tr1' in namespace 'std'
  6. typedef TR1_NS::unordered_set<LPCHARACTER> CHARACTER_SET;
  7. ^~~~~~
  8. ./stdafx.h:28:21: note: expanded from macro 'TR1_NS'
  9. #define TR1_NS std::tr1
  10. ~~~~~^
  11. In file included from BattleArena.cpp:1:
  12. In file included from ./stdafx.h:37:
  13. ./typedef.h:61:9: error: no member named 'tr1' in namespace 'std'
  14. typedef TR1_NS::unordered_set<LPENTITY> ENTITY_SET;
  15. ^~~~~~
  16. ./stdafx.h:28:21: note: expanded from macro 'TR1_NS'
  17. #define TR1_NS std::tr1
  18. ~~~~~^
  19. In file included from BattleArena.cpp:5:
  20. ./char_manager.h:20:11: error: no member named 'tr1' in namespace 'std'
  21. typedef TR1_NS::unordered_map<std::string, LPCHARACTER> ...
  22. ^~~~~~
  23. ./stdafx.h:28:21: note: expanded from macro 'TR1_NS'
  24. #define TR1_NS std::tr1
  25. ~~~~~^
  26. In file included from BattleArena.cpp:5:
  27. ./char_manager.h:126:3: error: no member named 'tr1' in namespace 'std'
  28. TR1_NS::unordered_map<DWORD, LPCHARACTER> m_map_pkChrByVID;
  29. ^~~~~~
  30. ./stdafx.h:28:21: note: expanded from macro 'TR1_NS'
  31. #define TR1_NS std::tr1
  32. ~~~~~^
  33. In file included from BattleArena.cpp:5:
  34. ./char_manager.h:127:3: error: no member named 'tr1' in namespace 'std'
  35. TR1_NS::unordered_map<DWORD, LPCHARACTER> m_map_pkChrByPID;
  36. ^~~~~~
  37. ./stdafx.h:28:21: note: expanded from macro 'TR1_NS'
  38. #define TR1_NS std::tr1
  39. ~~~~~^
  40. In file included from BattleArena.cpp:5:
  41. ./char_manager.h:153:2: error: no member named 'tr1' in namespace 'std'
  42. TR1_NS::unordered_map<DWORD, LPCHARACTER>::iterator it;
  43. ^~~~~~
  44. ./stdafx.h:28:21: note: expanded from macro 'TR1_NS'
  45. #define TR1_NS std::tr1
  46. ~~~~~^
  47. In file included from BattleArena.cpp:5:
  48. ./char_manager.h:153:24: error: unexpected type name 'DWORD': expected
  49. expression
  50. TR1_NS::unordered_map<DWORD, LPCHARACTER>::iterator it;
  51. ^
  52. ./char_manager.h:155:7: error: use of undeclared identifier 'it'
  53. for (it = m_map_pkChrByPID.begin(); it != m_map_pkChrByPID.end(); ++it)
  54. ^
  55. ./char_manager.h:155:38: error: use of undeclared identifier 'it'
  56. for (it = m_map_pkChrByPID.begin(); it != m_map_pkChrByPID.end(); ++it)
  57. ^
  58. ./char_manager.h:155:70: error: use of undeclared identifier 'it'
  59. for (it = m_map_pkChrByPID.begin(); it != m_map_pkChrByPID.end(); ++it)
  60. ^
  61. ./char_manager.h:156:5: error: use of undeclared identifier 'it'
  62. f(it->second);
  63. ^
  64. In file included from BattleArena.cpp:6:
  65. In file included from ./char.h:7:
  66. ./entity.h:9:11: error: no member named 'tr1' in namespace 'std'
  67. typedef TR1_NS::unordered_map<LPENTITY, int> ENTITY_MAP;
  68. ^~~~~~
  69. ./stdafx.h:28:21: note: expanded from macro 'TR1_NS'
  70. #define TR1_NS std::tr1
  71. ~~~~~^
  72. In file included from BattleArena.cpp:6:
  73. ./char.h:1602:77: error: member reference base type 'CHARACTER_SET' (aka 'int')
  74. is not a structure or union
  75. ...ch) { m_setExceptChainLighting.insert(ch); }
  76. ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
  77. ./char.h:1603:91: error: member reference base type 'CHARACTER_SET' (aka 'int')
  78. is not a structure or union
  79. ...{ m_iChainLightingIndex = 0; m_setExceptChainLighting.clear(); }
  80. ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
  81. In file included from BattleArena.cpp:7:
  82. In file included from ./sectree_manager.h:4:
  83. ./sectree.h:90:29: error: no viable conversion from 'std::__1::list<SECTREE *,
  84. std::__1::allocator<SECTREE *> >::const_iterator' (aka
  85. '__list_const_iterator<SECTREE *, void *>') to 'LPSECTREE_LIST::iterator'
  86. (aka '__list_iterator<SECTREE *, void *>')
  87. ...LPSECTREE_LIST::iterator it_tree = m_neighbor_list.begin();
  88. ^ ~~~~~~~~~~~~~~~~~~~~~~~
  89. /usr/include/c++/v1/list:287:28: note: candidate constructor (the implicit copy
  90. constructor) not viable: no known conversion from 'std::__1::list<SECTREE
  91. *, std::__1::allocator<SECTREE *> >::const_iterator' (aka
  92. '__list_const_iterator<SECTREE *, void *>') to 'const
  93. std::__1::__list_iterator<SECTREE *, void *> &' for 1st argument
  94. class _LIBCPP_TEMPLATE_VIS __list_iterator
  95. ^
  96. /usr/include/c++/v1/list:287:28: note: candidate constructor (the implicit move
  97. constructor) not viable: no known conversion from 'std::__1::list<SECTREE
  98. *, std::__1::allocator<SECTREE *> >::const_iterator' (aka
  99. '__list_const_iterator<SECTREE *, void *>') to
  100. 'std::__1::__list_iterator<SECTREE *, void *> &&' for 1st argument
  101. In file included from BattleArena.cpp:7:
  102. In file included from ./sectree_manager.h:4:
  103. ./sectree.h:94:5: error: 'ENTITY_SET' (aka 'int') is not a class, namespace, or
  104. enumeration
  105. ENTITY_SET::iterator it_entity = (*it_tr...
  106. ^
  107. ./sectree.h:142:4: error: member reference base type 'ENTITY_SET' (aka 'int') is
  108. not a structure or union
  109. itertype(m_set_entity) it = m_set_entity.begin();
  110. ^~~~~~~~~~~~~~~~~~~~~~
  111. ./typedef.h:105:31: note: expanded from macro 'itertype'
  112. #define itertype(v) typeof((v).begin())
  113. ~~~^~~~~~
  114. In file included from BattleArena.cpp:7:
  115. In file included from ./sectree_manager.h:4:
  116. ./sectree.h:144:11: error: use of undeclared identifier 'it'
  117. while (it != m_set_entity.end())
  118. ^
  119. ./sectree.h:144:29: error: member reference base type 'ENTITY_SET' (aka 'int')
  120. is not a structure or union
  121. while (it != m_set_entity.end())
  122. ~~~~~~~~~~~~^~~~
  123. fatal error: too many errors emitted, stopping now [-ferror-limit=]
  124. 20 errors generated.
  125. gmake: *** [Makefile:111: OBJDIR/BattleArena.o] Error 1
  126. root@xenox:/usr/src/mainline/Xenox2/game/src # gmake
  127. compile BattleArena.cpp
  128. In file included from BattleArena.cpp:7:
  129. In file included from ./sectree_manager.h:4:
  130. ./sectree.h:90:29: error: no viable conversion from 'std::__1::list<SECTREE *,
  131. std::__1::allocator<SECTREE *> >::const_iterator' (aka
  132. '__list_const_iterator<SECTREE *, void *>') to 'LPSECTREE_LIST::iterator'
  133. (aka '__list_iterator<SECTREE *, void *>')
  134. ...LPSECTREE_LIST::iterator it_tree = m_neighbor_list.begin();
  135. ^ ~~~~~~~~~~~~~~~~~~~~~~~
  136. /usr/include/c++/v1/list:287:28: note: candidate constructor (the implicit copy
  137. constructor) not viable: no known conversion from 'std::__1::list<SECTREE
  138. *, std::__1::allocator<SECTREE *> >::const_iterator' (aka
  139. '__list_const_iterator<SECTREE *, void *>') to 'const
  140. std::__1::__list_iterator<SECTREE *, void *> &' for 1st argument
  141. class _LIBCPP_TEMPLATE_VIS __list_iterator
  142. ^
  143. /usr/include/c++/v1/list:287:28: note: candidate constructor (the implicit move
  144. constructor) not viable: no known conversion from 'std::__1::list<SECTREE
  145. *, std::__1::allocator<SECTREE *> >::const_iterator' (aka
  146. '__list_const_iterator<SECTREE *, void *>') to
  147. 'std::__1::__list_iterator<SECTREE *, void *> &&' for 1st argument
  148. In file included from BattleArena.cpp:7:
  149. In file included from ./sectree_manager.h:4:
  150. ./sectree.h:142:4: error: use of undeclared identifier 'typeof'; did you mean
  151. 'typeid'?
  152. itertype(m_set_entity) it = m_set_entity.begin();
  153. ^
  154. ./typedef.h:105:21: note: expanded from macro 'itertype'
  155. #define itertype(v) typeof((v).begin())
  156. ^
  157. In file included from BattleArena.cpp:7:
  158. In file included from ./sectree_manager.h:4:
  159. ./sectree.h:144:11: error: use of undeclared identifier 'it'
  160. while (it != m_set_entity.end())
  161. ^
  162. ./sectree.h:147:16: error: use of undeclared identifier 'it'
  163. if ( func(*it++) )
  164. ^
  165. ./sectree.h:189:4: error: use of undeclared identifier 'typeof'; did you mean
  166. 'typeid'?
  167. itertype(m_set_entity) it = m_set_entity.begin();
  168. ^
  169. ./typedef.h:105:21: note: expanded from macro 'itertype'
  170. #define itertype(v) typeof((v).begin())
  171. ^
  172. In file included from BattleArena.cpp:7:
  173. In file included from ./sectree_manager.h:4:
  174. ./sectree.h:190:12: error: use of undeclared identifier 'it'
  175. for ( ; it != m_set_entity.end(); ++it) {
  176. ^
  177. ./sectree.h:190:40: error: use of undeclared identifier 'it'
  178. for ( ; it != m_set_entity.end(); ++it) {
  179. ^
  180. ./sectree.h:191:24: error: use of undeclared identifier 'it'
  181. LPENTITY entity = *it;
  182. ^
  183. ./sectree.h:195:25: error: use of undeclared identifier 'it'
  184. m_set_entity.erase(it);
  185. ^
  186. 9 errors generated.
  187. gmake: *** [Makefile:111: OBJDIR/BattleArena.o] Error 1
  188. root@xenox:/usr/src/mainline/Xenox2/game/src # gmake clean
  189. root@xenox:/usr/src/mainline/Xenox2/game/src # gmake
  190. compile BattleArena.cpp
  191. In file included from BattleArena.cpp:7:
  192. In file included from ./sectree_manager.h:4:
  193. ./sectree.h:90:29: error: no viable conversion from 'std::__1::list<SECTREE *,
  194. std::__1::allocator<SECTREE *> >::const_iterator' (aka
  195. '__list_const_iterator<SECTREE *, void *>') to 'LPSECTREE_LIST::iterator'
  196. (aka '__list_iterator<SECTREE *, void *>')
  197. ...LPSECTREE_LIST::iterator it_tree = m_neighbor_list.begin();
  198. ^ ~~~~~~~~~~~~~~~~~~~~~~~
  199. /usr/include/c++/v1/list:287:28: note: candidate constructor (the implicit copy
  200. constructor) not viable: no known conversion from 'std::__1::list<SECTREE
  201. *, std::__1::allocator<SECTREE *> >::const_iterator' (aka
  202. '__list_const_iterator<SECTREE *, void *>') to 'const
  203. std::__1::__list_iterator<SECTREE *, void *> &' for 1st argument
  204. class _LIBCPP_TEMPLATE_VIS __list_iterator
  205. ^
  206. /usr/include/c++/v1/list:287:28: note: candidate constructor (the implicit move
  207. constructor) not viable: no known conversion from 'std::__1::list<SECTREE
  208. *, std::__1::allocator<SECTREE *> >::const_iterator' (aka
  209. '__list_const_iterator<SECTREE *, void *>') to
  210. 'std::__1::__list_iterator<SECTREE *, void *> &&' for 1st argument
  211. In file included from BattleArena.cpp:7:
  212. In file included from ./sectree_manager.h:4:
  213. ./sectree.h:142:4: error: use of undeclared identifier 'typeof'; did you mean
  214. 'typeid'?
  215. itertype(m_set_entity) it = m_set_entity.begin();
  216. ^
  217. ./typedef.h:105:21: note: expanded from macro 'itertype'
  218. #define itertype(v) typeof((v).begin())
  219. ^
  220. In file included from BattleArena.cpp:7:
  221. In file included from ./sectree_manager.h:4:
  222. ./sectree.h:144:11: error: use of undeclared identifier 'it'
  223. while (it != m_set_entity.end())
  224. ^
  225. ./sectree.h:147:16: error: use of undeclared identifier 'it'
  226. if ( func(*it++) )
  227. ^
  228. ./sectree.h:189:4: error: use of undeclared identifier 'typeof'; did you mean
  229. 'typeid'?
  230. itertype(m_set_entity) it = m_set_entity.begin();
  231. ^
  232. ./typedef.h:105:21: note: expanded from macro 'itertype'
  233. #define itertype(v) typeof((v).begin())
  234. ^
  235. In file included from BattleArena.cpp:7:
  236. In file included from ./sectree_manager.h:4:
  237. ./sectree.h:190:12: error: use of undeclared identifier 'it'
  238. for ( ; it != m_set_entity.end(); ++it) {
  239. ^
  240. ./sectree.h:190:40: error: use of undeclared identifier 'it'
  241. for ( ; it != m_set_entity.end(); ++it) {
  242. ^
  243. ./sectree.h:191:24: error: use of undeclared identifier 'it'
  244. LPENTITY entity = *it;
  245. ^
  246. ./sectree.h:195:25: error: use of undeclared identifier 'it'
  247. m_set_entity.erase(it);
  248. ^
  249. 9 errors generated.
  250. gmake: *** [Makefile:111: OBJDIR/BattleArena.o] Error 1
  251. root@xenox:/usr/src/mainline/Xenox2/game/src # gmake
  252. compile BattleArena.cpp
  253. In file included from BattleArena.cpp:7:
  254. In file included from ./sectree_manager.h:4:
  255. ./sectree.h:90:29: error: no viable conversion from 'std::__1::list<SECTREE *,
  256. std::__1::allocator<SECTREE *> >::const_iterator' (aka
  257. '__list_const_iterator<SECTREE *, void *>') to 'LPSECTREE_LIST::iterator'
  258. (aka '__list_iterator<SECTREE *, void *>')
  259. ...LPSECTREE_LIST::iterator it_tree = m_neighbor_list.begin();
  260. ^ ~~~~~~~~~~~~~~~~~~~~~~~
  261. /usr/include/c++/v1/list:287:28: note: candidate constructor (the implicit copy
  262. constructor) not viable: no known conversion from 'std::__1::list<SECTREE
  263. *, std::__1::allocator<SECTREE *> >::const_iterator' (aka
  264. '__list_const_iterator<SECTREE *, void *>') to 'const
  265. std::__1::__list_iterator<SECTREE *, void *> &' for 1st argument
  266. class _LIBCPP_TEMPLATE_VIS __list_iterator
  267. ^
  268. /usr/include/c++/v1/list:287:28: note: candidate constructor (the implicit move
  269. constructor) not viable: no known conversion from 'std::__1::list<SECTREE
  270. *, std::__1::allocator<SECTREE *> >::const_iterator' (aka
  271. '__list_const_iterator<SECTREE *, void *>') to
  272. 'std::__1::__list_iterator<SECTREE *, void *> &&' for 1st argument
  273. 1 error generated.
  274. gmake: *** [Makefile:111: OBJDIR/BattleArena.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement