Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- compile OXEvent.cpp
- In file included from OXEvent.cpp:12:
- In file included from ./desc.h:7:
- ./cipher.h:31:28: error: use of undeclared identifier 'byte'
- encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
- ^
- ./cipher.h:31:33: error: expected expression
- encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
- ^
- ./cipher.h:31:49: error: unknown type name 'byte'; did you mean 'sbyte'?
- encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
- ^~~~
- sbyte
- ./../../libthecore/include/typedef.h:6:33: note: 'sbyte' declared here
- typedef signed char sbyte;
- ^
- In file included from OXEvent.cpp:12:
- In file included from ./desc.h:7:
- ./cipher.h:39:28: error: use of undeclared identifier 'byte'
- decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
- ^
- ./cipher.h:39:33: error: expected expression
- decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
- ^
- ./cipher.h:39:49: error: unknown type name 'byte'; did you mean 'sbyte'?
- decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
- ^~~~
- sbyte
- ./../../libthecore/include/typedef.h:6:33: note: 'sbyte' declared here
- typedef signed char sbyte;
- ^
- OXEvent.cpp:269:2: error: use of undeclared identifier 'typeof'; did you mean
- 'typeid'?
- itertype(m_map_attender) iter = m_map_attender.begin();
- ^
- ./typedef.h:105:21: note: expanded from macro 'itertype'
- #define itertype(v) typeof((v).begin())
- ^
- OXEvent.cpp:270:2: error: use of undeclared identifier 'typeof'; did you mean
- 'typeid'?
- itertype(m_map_attender) iter_tmp;
- ^
- ./typedef.h:105:21: note: expanded from macro 'itertype'
- #define itertype(v) typeof((v).begin())
- ^
- OXEvent.cpp:292:9: error: use of undeclared identifier 'iter'
- for (; iter != m_map_attender.end();)
- ^
- OXEvent.cpp:294:52: error: use of undeclared identifier 'iter'
- pkChar = CHARACTER_MANAGER::instance().FindByPID(iter->second);
- ^
- OXEvent.cpp:302:5: error: use of undeclared identifier 'iter_tmp'
- iter_tmp = iter;
- ^
- OXEvent.cpp:302:16: error: use of undeclared identifier 'iter'; did you mean
- 'Enter'?
- iter_tmp = iter;
- ^~~~
- Enter
- OXEvent.cpp:89:23: note: 'Enter' declared here
- bool COXEventManager::Enter(LPCHARACTER pkChar)
- ^
- OXEvent.cpp:303:5: error: use of undeclared identifier 'iter'
- iter++;
- ^
- OXEvent.cpp:304:26: error: use of undeclared identifier 'iter_tmp'
- m_map_attender.erase(iter_tmp);
- ^
- OXEvent.cpp:335:7: error: use of undeclared identifier 'iter'
- ++iter;
- ^
- OXEvent.cpp:340:4: error: use of undeclared identifier 'typeof'; did you mean
- 'typeid'?
- itertype(m_map_char) err = m_map_char.find(iter->first);
- ^
- ./typedef.h:105:21: note: expanded from macro 'itertype'
- #define itertype(v) typeof((v).begin())
- ^
- OXEvent.cpp:341:8: error: use of undeclared identifier 'err'; did you mean
- 'erf'?
- if (err != m_map_char.end()) m_map_char.erase(err);
- ^~~
- erf
- /usr/include/c++/v1/math.h:1139:1: note: 'erf' declared here
- erf(_A1 __lcpp_x) _NOEXCEPT {return ::erf((double)__lcpp_x);}
- ^
- OXEvent.cpp:341:8: error: reference to overloaded function could not be
- resolved; did you mean to call it?
- if (err != m_map_char.end()) m_map_char.erase(err);
- ^~~
- /usr/include/c++/v1/math.h:1139:1: note: possible target for call
- erf(_A1 __lcpp_x) _NOEXCEPT {return ::erf((double)__lcpp_x);}
- ^
- /usr/include/c++/v1/map:827:10: note: candidate function not viable: no overload
- of 'erf' matching 'const
- std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type<unsigned
- int, unsigned int>, std::__1::__tree_node<std::__1::__value_type<unsigned
- int, unsigned int>, void *> *, int> >' for 1st argument
- bool operator!=(const __map_iterator& __x, const __map_iterator& __y)
- ^
- /usr/include/c++/v1/complex:781:1: note: candidate function [with _Tp =
- std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type<unsigned
- int, unsigned int>, std::__1::__tree_node<std::__1::__value_type<unsigned
- int, unsigned int>, void *> *, int> >] not viable: no overload of 'erf'
- matching 'const
- complex<std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type<unsigned
- int, unsigned int>, std::__1::__tree_node<std::__1::__value_type<unsigned
- int, unsigned int>, void *> *, int> > >' for 1st argument
- operator!=(const complex<_Tp>& __x, const _Tp& __y)
- ^
- /usr/include/c++/v1/__tree:860:14: note: candidate function not viable: no
- overload of 'erf' matching 'const
- std::__1::__tree_iterator<std::__1::__value_type<unsigned int, unsigned
- int>, std::__1::__tree_node<std::__1::__value_type<unsigned int, unsigned
- int>, void *> *, int>' for 1st argument
- bool operator!=(const __tree_iterator& __x, const __tree_iterator& __y)
- ^
- /usr/include/c++/v1/system_error:420:1: note: candidate function not viable: no
- overload of 'erf' matching 'const std::__1::error_code' for 1st argument
- operator!=(const error_code& __x, const error_code& __y) _NOEXCEPT
- ^
- /usr/include/c++/v1/system_error:425:1: note: candidate function not viable: no
- overload of 'erf' matching 'const std::__1::error_code' for 1st argument
- operator!=(const error_code& __x, const error_condition& __y) _NOEXCEPT
- ^
- /usr/include/c++/v1/system_error:430:1: note: candidate function not viable: no
- overload of 'erf' matching 'const std::__1::error_condition' for 1st
- argument
- operator!=(const error_condition& __x, const error_code& __y) _NOEXCEPT
- ^
- /usr/include/c++/v1/system_error:435:1: note: candidate function not viable: no
- overload of 'erf' matching 'const std::__1::error_condition' for 1st
- argument
- operator!=(const error_condition& __x, const error_condition& __y) _NOEXCEPT
- ^
- /usr/include/c++/v1/variant:1565:16: note: candidate function not viable: no
- overload of 'erf' matching 'std::__1::monostate' for 1st argument
- constexpr bool operator!=(monostate, monostate) noexcept { return false; }
- ^
- ./affect_flag.h:64:13: note: candidate function not viable: no overload of 'erf'
- matching 'const TAffectFlag' for 1st argument
- inline bool operator != (const TAffectFlag& lhs, const TAffectFlag& rhs)
- ^
- /usr/include/c++/v1/memory:3016:1: note: candidate template ignored: couldn't
- infer template argument '_T1'
- operator!=(const unique_ptr<_T1, _D1>& __x, nullptr_t) _NOEXCEPT
- ^
- /usr/include/c++/v1/memory:4866:1: note: candidate template ignored: couldn't
- infer template argument '_Tp'
- operator!=(const shared_ptr<_Tp>& __x, nullptr_t) _NOEXCEPT
- ^
- /usr/include/c++/v1/functional:2390:1: note: candidate template ignored:
- couldn't infer template argument '_Rp'
- operator!=(const function<_Rp(_ArgTypes...)>& __f, nullptr_t) _NOEXCEPT ...
- ^
- /usr/include/c++/v1/optional:1138:1: note: candidate template ignored: couldn't
- infer template argument '_Tp'
- operator!=(const optional<_Tp>& __x, nullopt_t) noexcept
- ^
- /usr/include/c++/v1/optional:1247:1: note: candidate template ignored: couldn't
- infer template argument '_Tp'
- operator!=(const optional<_Tp>& __x, const _Up& __v)
- ^
- /usr/include/c++/v1/string_view:652:6: note: candidate template ignored:
- couldn't infer template argument '_CharT'
- bool operator!=(basic_string_view<_CharT, _Traits> __lhs,
- ^
- /usr/include/c++/v1/utility:588:1: note: candidate template ignored: could not
- match 'pair' against '__map_iterator'
- operator!=(const pair<_T1,_T2>& __x, const pair<_T1,_T2>& __y)
- ^
- /usr/include/c++/v1/iterator:728:1: note: candidate template ignored: could not
- match 'reverse_iterator' against '__map_iterator'
- operator!=(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_...
- ^
- /usr/include/c++/v1/iterator:950:1: note: candidate template ignored: could not
- match 'istream_iterator' against '__map_iterator'
- operator!=(const istream_iterator<_Tp, _CharT, _Traits, _Distance>& __x,
- ^
- /usr/include/c++/v1/iterator:1051:6: note: candidate template ignored: could not
- match 'istreambuf_iterator' against '__map_iterator'
- bool operator!=(const istreambuf_iterator<_CharT,_Traits>& __a,
- ^
- /usr/include/c++/v1/iterator:1169:1: note: candidate template ignored: could not
- match 'move_iterator' against '__map_iterator'
- operator!=(const move_iterator<_Iter1>& __x, const move_iterator<_Iter2>& __y)
- ^
- /usr/include/c++/v1/iterator:1545:1: note: candidate template ignored: could not
- match '__wrap_iter' against '__map_iterator'
- operator!=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __...
- ^
- /usr/include/c++/v1/iterator:1577:1: note: candidate template ignored: could not
- match '__wrap_iter' against '__map_iterator'
- operator!=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __...
- ^
- /usr/include/c++/v1/tuple:1130:1: note: candidate template ignored: could not
- match 'tuple' against '__map_iterator'
- operator!=(const tuple<_Tp...>& __x, const tuple<_Up...>& __y)
- ^
- /usr/include/c++/v1/memory:1991:6: note: candidate template ignored: could not
- match 'allocator' against '__map_iterator'
- bool operator!=(const allocator<_Tp>&, const allocator<_Up>&) _NOEXCEPT ...
- ^
- /usr/include/c++/v1/memory:2969:1: note: candidate template ignored: could not
- match 'unique_ptr' against '__map_iterator'
- operator!=(const unique_ptr<_T1, _D1>& __x, const unique_ptr<_T2, _D2>& ...
- ^
- /usr/include/c++/v1/memory:3024:1: note: candidate template ignored: could not
- match 'unique_ptr' against '__map_iterator'
- operator!=(nullptr_t, const unique_ptr<_T1, _D1>& __x) _NOEXCEPT
- ^
- /usr/include/c++/v1/memory:4804:1: note: candidate template ignored: could not
- match 'shared_ptr' against '__map_iterator'
- operator!=(const shared_ptr<_Tp>& __x, const shared_ptr<_Up>& __y) _NOEXCEPT
- ^
- /usr/include/c++/v1/memory:4874:1: note: candidate template ignored: could not
- match 'shared_ptr' against '__map_iterator'
- operator!=(nullptr_t, const shared_ptr<_Tp>& __x) _NOEXCEPT
- ^
- /usr/include/c++/v1/functional:2395:1: note: candidate template ignored: could
- not match 'function' against '__map_iterator'
- operator!=(nullptr_t, const function<_Rp(_ArgTypes...)>& __f) _NOEXCEPT ...
- ^
- /usr/include/c++/v1/list:2420:1: note: candidate template ignored: could not
- match 'list' against '__map_iterator'
- operator!=(const list<_Tp, _Alloc>& __x, const list<_Tp, _Alloc>& __y)
- ^
- /usr/include/c++/v1/optional:1045:1: note: candidate template ignored: could not
- match 'optional' against '__map_iterator'
- operator!=(const optional<_Tp>& __x, const optional<_Up>& __y)
- ^
- /usr/include/c++/v1/optional:1146:1: note: candidate template ignored: could not
- match 'optional' against '__map_iterator'
- operator!=(nullopt_t, const optional<_Tp>& __x) noexcept
- ^
- /usr/include/c++/v1/optional:1259:1: note: candidate template ignored: could not
- match 'optional' against '__map_iterator'
- operator!=(const _Tp& __v, const optional<_Up>& __x)
- ^
- /usr/include/c++/v1/map:1581:1: note: candidate template ignored: could not
- match 'map' against '__map_iterator'
- operator!=(const map<_Key, _Tp, _Compare, _Allocator>& __x,
- ^
- /usr/include/c++/v1/map:2126:1: note: candidate template ignored: could not
- match 'multimap' against '__map_iterator'
- operator!=(const multimap<_Key, _Tp, _Compare, _Allocator>& __x,
- ^
- /usr/include/c++/v1/set:877:1: note: candidate template ignored: could not match
- 'set' against '__map_iterator'
- operator!=(const set<_Key, _Compare, _Allocator>& __x,
- ^
- /usr/include/c++/v1/set:1365:1: note: candidate template ignored: could not
- match 'multiset' against '__map_iterator'
- operator!=(const multiset<_Key, _Compare, _Allocator>& __x,
- ^
- /usr/include/c++/v1/deque:2890:1: note: candidate template ignored: could not
- match 'deque' against '__map_iterator'
- operator!=(const deque<_Tp, _Allocator>& __x, const deque<_Tp, _Allocator>& __y)
- ^
- /usr/include/c++/v1/vector:3370:1: note: candidate template ignored: could not
- match 'vector' against '__map_iterator'
- operator!=(const vector<_Tp, _Allocator>& __x, const vector<_Tp, _Alloca...
- ^
- /usr/include/c++/v1/queue:379:1: note: candidate template ignored: could not
- match 'queue' against '__map_iterator'
- operator!=(const queue<_Tp, _Container>& __x,const queue<_Tp, _Container>& __y)
- ^
- /usr/include/c++/v1/string_view:643:6: note: candidate template ignored: could
- not match 'basic_string_view' against '__map_iterator'
- bool operator!=(basic_string_view<_CharT, _Traits> __lhs, basic_string_v...
- ^
- /usr/include/c++/v1/string_view:662:6: note: candidate template ignored: could
- not match 'basic_string_view' against '__map_iterator'
- bool operator!=(typename common_type<basic_string_view<_CharT, _Traits> ...
- ^
- /usr/include/c++/v1/string:569:6: note: candidate template ignored: could not
- match 'fpos' against '__map_iterator'
- bool operator!=(const fpos<_StateT>& __x, const fpos<_StateT>& __y)
- ^
- /usr/include/c++/v1/string:3902:1: note: candidate template ignored: could not
- match 'basic_string' against '__map_iterator'
- operator!=(const basic_string<_CharT,_Traits,_Allocator>& __lhs,
- ^
- /usr/include/c++/v1/string:3911:1: note: candidate template ignored: could not
- match 'basic_string' against '__map_iterator'
- operator!=(const _CharT* __lhs,
- ^
- /usr/include/c++/v1/string:3920:1: note: candidate template ignored: could not
- match 'const _CharT *' against 'std::__1::map<unsigned int, unsigned int,
- std::__1::less<unsigned int>, std::__1::allocator<std::__1::pair<const
- unsigned int, unsigned int> > >::iterator' (aka
- '__map_iterator<__tree_iterator<std::__1::__value_type<unsigned int,
- unsigned int>, std::__1::__tree_node<std::__1::__value_type<unsigned int,
- unsigned int>, void *> *, int> >')
- operator!=(const basic_string<_CharT, _Traits, _Allocator>& __lhs,
- ^
- /usr/include/c++/v1/tr1/unordered_map:1664:1: note: candidate template ignored:
- could not match 'unordered_map' against '__map_iterator'
- operator!=(const unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __x,
- ^
- /usr/include/c++/v1/tr1/unordered_map:2292:1: note: candidate template ignored:
- could not match 'unordered_multimap' against '__map_iterator'
- operator!=(const unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __x,
- ^
- /usr/include/c++/v1/tr1/unordered_set:973:1: note: candidate template ignored:
- could not match 'unordered_set' against '__map_iterator'
- operator!=(const unordered_set<_Value, _Hash, _Pred, _Alloc>& __x,
- ^
- /usr/include/c++/v1/tr1/unordered_set:1547:1: note: candidate template ignored:
- could not match 'unordered_multiset' against '__map_iterator'
- operator!=(const unordered_multiset<_Value, _Hash, _Pred, _Alloc>& __x,
- ^
- /usr/include/c++/v1/array:380:1: note: candidate template ignored: could not
- match 'array' against '__map_iterator'
- operator!=(const array<_Tp, _Size>& __x, const array<_Tp, _Size>& __y)
- ^
- /usr/include/c++/v1/variant:1473:16: note: candidate template ignored: could not
- match 'variant' against '__map_iterator'
- constexpr bool operator!=(const variant<_Types...>& __lhs,
- ^
- /usr/include/c++/v1/complex:773:1: note: candidate template ignored: could not
- match 'complex' against '__map_iterator'
- operator!=(const complex<_Tp>& __x, const complex<_Tp>& __y)
- ^
- /usr/include/c++/v1/complex:789:1: note: candidate template ignored: could not
- match 'complex' against '__map_iterator'
- operator!=(const _Tp& __x, const complex<_Tp>& __y)
- ^
- /usr/include/c++/v1/stack:273:1: note: candidate template ignored: could not
- match 'stack' against '__map_iterator'
- operator!=(const stack<_Tp, _Container>& __x, const stack<_Tp, _Container>& __y)
- ^
- OXEvent.cpp:341:50: error: use of undeclared identifier 'err'
- if (err != m_map_char.end()) m_map_char.erase(err);
- ^
- fatal error: too many errors emitted, stopping now [-ferror-limit=]
- 20 errors generated.
- gmake: *** [Makefile:111: OBJDIR/OXEvent.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement