Advertisement
KoYGeR

Untitled

Sep 15th, 2019
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.09 KB | None | 0 0
  1. compile OXEvent.cpp
  2. In file included from OXEvent.cpp:12:
  3. In file included from ./desc.h:7:
  4. ./cipher.h:31:28: error: use of undeclared identifier 'byte'
  5. encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
  6. ^
  7. ./cipher.h:31:33: error: expected expression
  8. encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
  9. ^
  10. ./cipher.h:31:49: error: unknown type name 'byte'; did you mean 'sbyte'?
  11. encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
  12. ^~~~
  13. sbyte
  14. ./../../libthecore/include/typedef.h:6:33: note: 'sbyte' declared here
  15. typedef signed char sbyte;
  16. ^
  17. In file included from OXEvent.cpp:12:
  18. In file included from ./desc.h:7:
  19. ./cipher.h:39:28: error: use of undeclared identifier 'byte'
  20. decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
  21. ^
  22. ./cipher.h:39:33: error: expected expression
  23. decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
  24. ^
  25. ./cipher.h:39:49: error: unknown type name 'byte'; did you mean 'sbyte'?
  26. decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
  27. ^~~~
  28. sbyte
  29. ./../../libthecore/include/typedef.h:6:33: note: 'sbyte' declared here
  30. typedef signed char sbyte;
  31. ^
  32. OXEvent.cpp:269:2: error: use of undeclared identifier 'typeof'; did you mean
  33. 'typeid'?
  34. itertype(m_map_attender) iter = m_map_attender.begin();
  35. ^
  36. ./typedef.h:105:21: note: expanded from macro 'itertype'
  37. #define itertype(v) typeof((v).begin())
  38. ^
  39. OXEvent.cpp:270:2: error: use of undeclared identifier 'typeof'; did you mean
  40. 'typeid'?
  41. itertype(m_map_attender) iter_tmp;
  42. ^
  43. ./typedef.h:105:21: note: expanded from macro 'itertype'
  44. #define itertype(v) typeof((v).begin())
  45. ^
  46. OXEvent.cpp:292:9: error: use of undeclared identifier 'iter'
  47. for (; iter != m_map_attender.end();)
  48. ^
  49. OXEvent.cpp:294:52: error: use of undeclared identifier 'iter'
  50. pkChar = CHARACTER_MANAGER::instance().FindByPID(iter->second);
  51. ^
  52. OXEvent.cpp:302:5: error: use of undeclared identifier 'iter_tmp'
  53. iter_tmp = iter;
  54. ^
  55. OXEvent.cpp:302:16: error: use of undeclared identifier 'iter'; did you mean
  56. 'Enter'?
  57. iter_tmp = iter;
  58. ^~~~
  59. Enter
  60. OXEvent.cpp:89:23: note: 'Enter' declared here
  61. bool COXEventManager::Enter(LPCHARACTER pkChar)
  62. ^
  63. OXEvent.cpp:303:5: error: use of undeclared identifier 'iter'
  64. iter++;
  65. ^
  66. OXEvent.cpp:304:26: error: use of undeclared identifier 'iter_tmp'
  67. m_map_attender.erase(iter_tmp);
  68. ^
  69. OXEvent.cpp:335:7: error: use of undeclared identifier 'iter'
  70. ++iter;
  71. ^
  72. OXEvent.cpp:340:4: error: use of undeclared identifier 'typeof'; did you mean
  73. 'typeid'?
  74. itertype(m_map_char) err = m_map_char.find(iter->first);
  75. ^
  76. ./typedef.h:105:21: note: expanded from macro 'itertype'
  77. #define itertype(v) typeof((v).begin())
  78. ^
  79. OXEvent.cpp:341:8: error: use of undeclared identifier 'err'; did you mean
  80. 'erf'?
  81. if (err != m_map_char.end()) m_map_char.erase(err);
  82. ^~~
  83. erf
  84. /usr/include/c++/v1/math.h:1139:1: note: 'erf' declared here
  85. erf(_A1 __lcpp_x) _NOEXCEPT {return ::erf((double)__lcpp_x);}
  86. ^
  87. OXEvent.cpp:341:8: error: reference to overloaded function could not be
  88. resolved; did you mean to call it?
  89. if (err != m_map_char.end()) m_map_char.erase(err);
  90. ^~~
  91. /usr/include/c++/v1/math.h:1139:1: note: possible target for call
  92. erf(_A1 __lcpp_x) _NOEXCEPT {return ::erf((double)__lcpp_x);}
  93. ^
  94. /usr/include/c++/v1/map:827:10: note: candidate function not viable: no overload
  95. of 'erf' matching 'const
  96. std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type<unsigned
  97. int, unsigned int>, std::__1::__tree_node<std::__1::__value_type<unsigned
  98. int, unsigned int>, void *> *, int> >' for 1st argument
  99. bool operator!=(const __map_iterator& __x, const __map_iterator& __y)
  100. ^
  101. /usr/include/c++/v1/complex:781:1: note: candidate function [with _Tp =
  102. std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type<unsigned
  103. int, unsigned int>, std::__1::__tree_node<std::__1::__value_type<unsigned
  104. int, unsigned int>, void *> *, int> >] not viable: no overload of 'erf'
  105. matching 'const
  106. complex<std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type<unsigned
  107. int, unsigned int>, std::__1::__tree_node<std::__1::__value_type<unsigned
  108. int, unsigned int>, void *> *, int> > >' for 1st argument
  109. operator!=(const complex<_Tp>& __x, const _Tp& __y)
  110. ^
  111. /usr/include/c++/v1/__tree:860:14: note: candidate function not viable: no
  112. overload of 'erf' matching 'const
  113. std::__1::__tree_iterator<std::__1::__value_type<unsigned int, unsigned
  114. int>, std::__1::__tree_node<std::__1::__value_type<unsigned int, unsigned
  115. int>, void *> *, int>' for 1st argument
  116. bool operator!=(const __tree_iterator& __x, const __tree_iterator& __y)
  117. ^
  118. /usr/include/c++/v1/system_error:420:1: note: candidate function not viable: no
  119. overload of 'erf' matching 'const std::__1::error_code' for 1st argument
  120. operator!=(const error_code& __x, const error_code& __y) _NOEXCEPT
  121. ^
  122. /usr/include/c++/v1/system_error:425:1: note: candidate function not viable: no
  123. overload of 'erf' matching 'const std::__1::error_code' for 1st argument
  124. operator!=(const error_code& __x, const error_condition& __y) _NOEXCEPT
  125. ^
  126. /usr/include/c++/v1/system_error:430:1: note: candidate function not viable: no
  127. overload of 'erf' matching 'const std::__1::error_condition' for 1st
  128. argument
  129. operator!=(const error_condition& __x, const error_code& __y) _NOEXCEPT
  130. ^
  131. /usr/include/c++/v1/system_error:435:1: note: candidate function not viable: no
  132. overload of 'erf' matching 'const std::__1::error_condition' for 1st
  133. argument
  134. operator!=(const error_condition& __x, const error_condition& __y) _NOEXCEPT
  135. ^
  136. /usr/include/c++/v1/variant:1565:16: note: candidate function not viable: no
  137. overload of 'erf' matching 'std::__1::monostate' for 1st argument
  138. constexpr bool operator!=(monostate, monostate) noexcept { return false; }
  139. ^
  140. ./affect_flag.h:64:13: note: candidate function not viable: no overload of 'erf'
  141. matching 'const TAffectFlag' for 1st argument
  142. inline bool operator != (const TAffectFlag& lhs, const TAffectFlag& rhs)
  143. ^
  144. /usr/include/c++/v1/memory:3016:1: note: candidate template ignored: couldn't
  145. infer template argument '_T1'
  146. operator!=(const unique_ptr<_T1, _D1>& __x, nullptr_t) _NOEXCEPT
  147. ^
  148. /usr/include/c++/v1/memory:4866:1: note: candidate template ignored: couldn't
  149. infer template argument '_Tp'
  150. operator!=(const shared_ptr<_Tp>& __x, nullptr_t) _NOEXCEPT
  151. ^
  152. /usr/include/c++/v1/functional:2390:1: note: candidate template ignored:
  153. couldn't infer template argument '_Rp'
  154. operator!=(const function<_Rp(_ArgTypes...)>& __f, nullptr_t) _NOEXCEPT ...
  155. ^
  156. /usr/include/c++/v1/optional:1138:1: note: candidate template ignored: couldn't
  157. infer template argument '_Tp'
  158. operator!=(const optional<_Tp>& __x, nullopt_t) noexcept
  159. ^
  160. /usr/include/c++/v1/optional:1247:1: note: candidate template ignored: couldn't
  161. infer template argument '_Tp'
  162. operator!=(const optional<_Tp>& __x, const _Up& __v)
  163. ^
  164. /usr/include/c++/v1/string_view:652:6: note: candidate template ignored:
  165. couldn't infer template argument '_CharT'
  166. bool operator!=(basic_string_view<_CharT, _Traits> __lhs,
  167. ^
  168. /usr/include/c++/v1/utility:588:1: note: candidate template ignored: could not
  169. match 'pair' against '__map_iterator'
  170. operator!=(const pair<_T1,_T2>& __x, const pair<_T1,_T2>& __y)
  171. ^
  172. /usr/include/c++/v1/iterator:728:1: note: candidate template ignored: could not
  173. match 'reverse_iterator' against '__map_iterator'
  174. operator!=(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_...
  175. ^
  176. /usr/include/c++/v1/iterator:950:1: note: candidate template ignored: could not
  177. match 'istream_iterator' against '__map_iterator'
  178. operator!=(const istream_iterator<_Tp, _CharT, _Traits, _Distance>& __x,
  179. ^
  180. /usr/include/c++/v1/iterator:1051:6: note: candidate template ignored: could not
  181. match 'istreambuf_iterator' against '__map_iterator'
  182. bool operator!=(const istreambuf_iterator<_CharT,_Traits>& __a,
  183. ^
  184. /usr/include/c++/v1/iterator:1169:1: note: candidate template ignored: could not
  185. match 'move_iterator' against '__map_iterator'
  186. operator!=(const move_iterator<_Iter1>& __x, const move_iterator<_Iter2>& __y)
  187. ^
  188. /usr/include/c++/v1/iterator:1545:1: note: candidate template ignored: could not
  189. match '__wrap_iter' against '__map_iterator'
  190. operator!=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __...
  191. ^
  192. /usr/include/c++/v1/iterator:1577:1: note: candidate template ignored: could not
  193. match '__wrap_iter' against '__map_iterator'
  194. operator!=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __...
  195. ^
  196. /usr/include/c++/v1/tuple:1130:1: note: candidate template ignored: could not
  197. match 'tuple' against '__map_iterator'
  198. operator!=(const tuple<_Tp...>& __x, const tuple<_Up...>& __y)
  199. ^
  200. /usr/include/c++/v1/memory:1991:6: note: candidate template ignored: could not
  201. match 'allocator' against '__map_iterator'
  202. bool operator!=(const allocator<_Tp>&, const allocator<_Up>&) _NOEXCEPT ...
  203. ^
  204. /usr/include/c++/v1/memory:2969:1: note: candidate template ignored: could not
  205. match 'unique_ptr' against '__map_iterator'
  206. operator!=(const unique_ptr<_T1, _D1>& __x, const unique_ptr<_T2, _D2>& ...
  207. ^
  208. /usr/include/c++/v1/memory:3024:1: note: candidate template ignored: could not
  209. match 'unique_ptr' against '__map_iterator'
  210. operator!=(nullptr_t, const unique_ptr<_T1, _D1>& __x) _NOEXCEPT
  211. ^
  212. /usr/include/c++/v1/memory:4804:1: note: candidate template ignored: could not
  213. match 'shared_ptr' against '__map_iterator'
  214. operator!=(const shared_ptr<_Tp>& __x, const shared_ptr<_Up>& __y) _NOEXCEPT
  215. ^
  216. /usr/include/c++/v1/memory:4874:1: note: candidate template ignored: could not
  217. match 'shared_ptr' against '__map_iterator'
  218. operator!=(nullptr_t, const shared_ptr<_Tp>& __x) _NOEXCEPT
  219. ^
  220. /usr/include/c++/v1/functional:2395:1: note: candidate template ignored: could
  221. not match 'function' against '__map_iterator'
  222. operator!=(nullptr_t, const function<_Rp(_ArgTypes...)>& __f) _NOEXCEPT ...
  223. ^
  224. /usr/include/c++/v1/list:2420:1: note: candidate template ignored: could not
  225. match 'list' against '__map_iterator'
  226. operator!=(const list<_Tp, _Alloc>& __x, const list<_Tp, _Alloc>& __y)
  227. ^
  228. /usr/include/c++/v1/optional:1045:1: note: candidate template ignored: could not
  229. match 'optional' against '__map_iterator'
  230. operator!=(const optional<_Tp>& __x, const optional<_Up>& __y)
  231. ^
  232. /usr/include/c++/v1/optional:1146:1: note: candidate template ignored: could not
  233. match 'optional' against '__map_iterator'
  234. operator!=(nullopt_t, const optional<_Tp>& __x) noexcept
  235. ^
  236. /usr/include/c++/v1/optional:1259:1: note: candidate template ignored: could not
  237. match 'optional' against '__map_iterator'
  238. operator!=(const _Tp& __v, const optional<_Up>& __x)
  239. ^
  240. /usr/include/c++/v1/map:1581:1: note: candidate template ignored: could not
  241. match 'map' against '__map_iterator'
  242. operator!=(const map<_Key, _Tp, _Compare, _Allocator>& __x,
  243. ^
  244. /usr/include/c++/v1/map:2126:1: note: candidate template ignored: could not
  245. match 'multimap' against '__map_iterator'
  246. operator!=(const multimap<_Key, _Tp, _Compare, _Allocator>& __x,
  247. ^
  248. /usr/include/c++/v1/set:877:1: note: candidate template ignored: could not match
  249. 'set' against '__map_iterator'
  250. operator!=(const set<_Key, _Compare, _Allocator>& __x,
  251. ^
  252. /usr/include/c++/v1/set:1365:1: note: candidate template ignored: could not
  253. match 'multiset' against '__map_iterator'
  254. operator!=(const multiset<_Key, _Compare, _Allocator>& __x,
  255. ^
  256. /usr/include/c++/v1/deque:2890:1: note: candidate template ignored: could not
  257. match 'deque' against '__map_iterator'
  258. operator!=(const deque<_Tp, _Allocator>& __x, const deque<_Tp, _Allocator>& __y)
  259. ^
  260. /usr/include/c++/v1/vector:3370:1: note: candidate template ignored: could not
  261. match 'vector' against '__map_iterator'
  262. operator!=(const vector<_Tp, _Allocator>& __x, const vector<_Tp, _Alloca...
  263. ^
  264. /usr/include/c++/v1/queue:379:1: note: candidate template ignored: could not
  265. match 'queue' against '__map_iterator'
  266. operator!=(const queue<_Tp, _Container>& __x,const queue<_Tp, _Container>& __y)
  267. ^
  268. /usr/include/c++/v1/string_view:643:6: note: candidate template ignored: could
  269. not match 'basic_string_view' against '__map_iterator'
  270. bool operator!=(basic_string_view<_CharT, _Traits> __lhs, basic_string_v...
  271. ^
  272. /usr/include/c++/v1/string_view:662:6: note: candidate template ignored: could
  273. not match 'basic_string_view' against '__map_iterator'
  274. bool operator!=(typename common_type<basic_string_view<_CharT, _Traits> ...
  275. ^
  276. /usr/include/c++/v1/string:569:6: note: candidate template ignored: could not
  277. match 'fpos' against '__map_iterator'
  278. bool operator!=(const fpos<_StateT>& __x, const fpos<_StateT>& __y)
  279. ^
  280. /usr/include/c++/v1/string:3902:1: note: candidate template ignored: could not
  281. match 'basic_string' against '__map_iterator'
  282. operator!=(const basic_string<_CharT,_Traits,_Allocator>& __lhs,
  283. ^
  284. /usr/include/c++/v1/string:3911:1: note: candidate template ignored: could not
  285. match 'basic_string' against '__map_iterator'
  286. operator!=(const _CharT* __lhs,
  287. ^
  288. /usr/include/c++/v1/string:3920:1: note: candidate template ignored: could not
  289. match 'const _CharT *' against 'std::__1::map<unsigned int, unsigned int,
  290. std::__1::less<unsigned int>, std::__1::allocator<std::__1::pair<const
  291. unsigned int, unsigned int> > >::iterator' (aka
  292. '__map_iterator<__tree_iterator<std::__1::__value_type<unsigned int,
  293. unsigned int>, std::__1::__tree_node<std::__1::__value_type<unsigned int,
  294. unsigned int>, void *> *, int> >')
  295. operator!=(const basic_string<_CharT, _Traits, _Allocator>& __lhs,
  296. ^
  297. /usr/include/c++/v1/tr1/unordered_map:1664:1: note: candidate template ignored:
  298. could not match 'unordered_map' against '__map_iterator'
  299. operator!=(const unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __x,
  300. ^
  301. /usr/include/c++/v1/tr1/unordered_map:2292:1: note: candidate template ignored:
  302. could not match 'unordered_multimap' against '__map_iterator'
  303. operator!=(const unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __x,
  304. ^
  305. /usr/include/c++/v1/tr1/unordered_set:973:1: note: candidate template ignored:
  306. could not match 'unordered_set' against '__map_iterator'
  307. operator!=(const unordered_set<_Value, _Hash, _Pred, _Alloc>& __x,
  308. ^
  309. /usr/include/c++/v1/tr1/unordered_set:1547:1: note: candidate template ignored:
  310. could not match 'unordered_multiset' against '__map_iterator'
  311. operator!=(const unordered_multiset<_Value, _Hash, _Pred, _Alloc>& __x,
  312. ^
  313. /usr/include/c++/v1/array:380:1: note: candidate template ignored: could not
  314. match 'array' against '__map_iterator'
  315. operator!=(const array<_Tp, _Size>& __x, const array<_Tp, _Size>& __y)
  316. ^
  317. /usr/include/c++/v1/variant:1473:16: note: candidate template ignored: could not
  318. match 'variant' against '__map_iterator'
  319. constexpr bool operator!=(const variant<_Types...>& __lhs,
  320. ^
  321. /usr/include/c++/v1/complex:773:1: note: candidate template ignored: could not
  322. match 'complex' against '__map_iterator'
  323. operator!=(const complex<_Tp>& __x, const complex<_Tp>& __y)
  324. ^
  325. /usr/include/c++/v1/complex:789:1: note: candidate template ignored: could not
  326. match 'complex' against '__map_iterator'
  327. operator!=(const _Tp& __x, const complex<_Tp>& __y)
  328. ^
  329. /usr/include/c++/v1/stack:273:1: note: candidate template ignored: could not
  330. match 'stack' against '__map_iterator'
  331. operator!=(const stack<_Tp, _Container>& __x, const stack<_Tp, _Container>& __y)
  332. ^
  333. OXEvent.cpp:341:50: error: use of undeclared identifier 'err'
  334. if (err != m_map_char.end()) m_map_char.erase(err);
  335. ^
  336. fatal error: too many errors emitted, stopping now [-ferror-limit=]
  337. 20 errors generated.
  338. gmake: *** [Makefile:111: OBJDIR/OXEvent.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement