Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- compile BattleArena.cpp
- In file included from BattleArena.cpp:1:
- In file included from ./stdafx.h:37:
- ./typedef.h:33:9: error: no member named 'tr1' in namespace 'std'
- typedef TR1_NS::unordered_set<LPCHARACTER> CHARACTER_SET;
- ^~~~~~
- ./stdafx.h:28:21: note: expanded from macro 'TR1_NS'
- #define TR1_NS std::tr1
- ~~~~~^
- In file included from BattleArena.cpp:1:
- In file included from ./stdafx.h:37:
- ./typedef.h:61:9: error: no member named 'tr1' in namespace 'std'
- typedef TR1_NS::unordered_set<LPENTITY> ENTITY_SET;
- ^~~~~~
- ./stdafx.h:28:21: note: expanded from macro 'TR1_NS'
- #define TR1_NS std::tr1
- ~~~~~^
- In file included from BattleArena.cpp:5:
- ./char_manager.h:20:11: error: no member named 'tr1' in namespace 'std'
- typedef TR1_NS::unordered_map<std::string, LPCHARACTER> ...
- ^~~~~~
- ./stdafx.h:28:21: note: expanded from macro 'TR1_NS'
- #define TR1_NS std::tr1
- ~~~~~^
- In file included from BattleArena.cpp:5:
- ./char_manager.h:126:3: error: no member named 'tr1' in namespace 'std'
- TR1_NS::unordered_map<DWORD, LPCHARACTER> m_map_pkChrByVID;
- ^~~~~~
- ./stdafx.h:28:21: note: expanded from macro 'TR1_NS'
- #define TR1_NS std::tr1
- ~~~~~^
- In file included from BattleArena.cpp:5:
- ./char_manager.h:127:3: error: no member named 'tr1' in namespace 'std'
- TR1_NS::unordered_map<DWORD, LPCHARACTER> m_map_pkChrByPID;
- ^~~~~~
- ./stdafx.h:28:21: note: expanded from macro 'TR1_NS'
- #define TR1_NS std::tr1
- ~~~~~^
- In file included from BattleArena.cpp:5:
- ./char_manager.h:153:2: error: no member named 'tr1' in namespace 'std'
- TR1_NS::unordered_map<DWORD, LPCHARACTER>::iterator it;
- ^~~~~~
- ./stdafx.h:28:21: note: expanded from macro 'TR1_NS'
- #define TR1_NS std::tr1
- ~~~~~^
- In file included from BattleArena.cpp:5:
- ./char_manager.h:153:24: error: unexpected type name 'DWORD': expected
- expression
- TR1_NS::unordered_map<DWORD, LPCHARACTER>::iterator it;
- ^
- ./char_manager.h:155:7: error: use of undeclared identifier 'it'
- for (it = m_map_pkChrByPID.begin(); it != m_map_pkChrByPID.end(); ++it)
- ^
- ./char_manager.h:155:38: error: use of undeclared identifier 'it'
- for (it = m_map_pkChrByPID.begin(); it != m_map_pkChrByPID.end(); ++it)
- ^
- ./char_manager.h:155:70: error: use of undeclared identifier 'it'
- for (it = m_map_pkChrByPID.begin(); it != m_map_pkChrByPID.end(); ++it)
- ^
- ./char_manager.h:156:5: error: use of undeclared identifier 'it'
- f(it->second);
- ^
- In file included from BattleArena.cpp:6:
- In file included from ./char.h:7:
- ./entity.h:9:11: error: no member named 'tr1' in namespace 'std'
- typedef TR1_NS::unordered_map<LPENTITY, int> ENTITY_MAP;
- ^~~~~~
- ./stdafx.h:28:21: note: expanded from macro 'TR1_NS'
- #define TR1_NS std::tr1
- ~~~~~^
- In file included from BattleArena.cpp:6:
- ./char.h:1602:77: error: member reference base type 'CHARACTER_SET' (aka 'int')
- is not a structure or union
- ...ch) { m_setExceptChainLighting.insert(ch); }
- ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
- ./char.h:1603:91: error: member reference base type 'CHARACTER_SET' (aka 'int')
- is not a structure or union
- ...{ m_iChainLightingIndex = 0; m_setExceptChainLighting.clear(); }
- ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
- In file included from BattleArena.cpp:7:
- In file included from ./sectree_manager.h:4:
- ./sectree.h:90:29: error: no viable conversion from 'std::__1::list<SECTREE *,
- std::__1::allocator<SECTREE *> >::const_iterator' (aka
- '__list_const_iterator<SECTREE *, void *>') to 'LPSECTREE_LIST::iterator'
- (aka '__list_iterator<SECTREE *, void *>')
- ...LPSECTREE_LIST::iterator it_tree = m_neighbor_list.begin();
- ^ ~~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/c++/v1/list:287:28: note: candidate constructor (the implicit copy
- constructor) not viable: no known conversion from 'std::__1::list<SECTREE
- *, std::__1::allocator<SECTREE *> >::const_iterator' (aka
- '__list_const_iterator<SECTREE *, void *>') to 'const
- std::__1::__list_iterator<SECTREE *, void *> &' for 1st argument
- class _LIBCPP_TEMPLATE_VIS __list_iterator
- ^
- /usr/include/c++/v1/list:287:28: note: candidate constructor (the implicit move
- constructor) not viable: no known conversion from 'std::__1::list<SECTREE
- *, std::__1::allocator<SECTREE *> >::const_iterator' (aka
- '__list_const_iterator<SECTREE *, void *>') to
- 'std::__1::__list_iterator<SECTREE *, void *> &&' for 1st argument
- In file included from BattleArena.cpp:7:
- In file included from ./sectree_manager.h:4:
- ./sectree.h:94:5: error: 'ENTITY_SET' (aka 'int') is not a class, namespace, or
- enumeration
- ENTITY_SET::iterator it_entity = (*it_tr...
- ^
- ./sectree.h:142:4: error: member reference base type 'ENTITY_SET' (aka 'int') is
- not a structure or union
- itertype(m_set_entity) it = m_set_entity.begin();
- ^~~~~~~~~~~~~~~~~~~~~~
- ./typedef.h:105:31: note: expanded from macro 'itertype'
- #define itertype(v) typeof((v).begin())
- ~~~^~~~~~
- In file included from BattleArena.cpp:7:
- In file included from ./sectree_manager.h:4:
- ./sectree.h:144:11: error: use of undeclared identifier 'it'
- while (it != m_set_entity.end())
- ^
- ./sectree.h:144:29: error: member reference base type 'ENTITY_SET' (aka 'int')
- is not a structure or union
- while (it != m_set_entity.end())
- ~~~~~~~~~~~~^~~~
- fatal error: too many errors emitted, stopping now [-ferror-limit=]
- 20 errors generated.
- gmake: *** [Makefile:111: OBJDIR/BattleArena.o] Error 1
- root@xenox:/usr/src/mainline/Xenox2/game/src # gmake
- compile BattleArena.cpp
- In file included from BattleArena.cpp:7:
- In file included from ./sectree_manager.h:4:
- ./sectree.h:90:29: error: no viable conversion from 'std::__1::list<SECTREE *,
- std::__1::allocator<SECTREE *> >::const_iterator' (aka
- '__list_const_iterator<SECTREE *, void *>') to 'LPSECTREE_LIST::iterator'
- (aka '__list_iterator<SECTREE *, void *>')
- ...LPSECTREE_LIST::iterator it_tree = m_neighbor_list.begin();
- ^ ~~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/c++/v1/list:287:28: note: candidate constructor (the implicit copy
- constructor) not viable: no known conversion from 'std::__1::list<SECTREE
- *, std::__1::allocator<SECTREE *> >::const_iterator' (aka
- '__list_const_iterator<SECTREE *, void *>') to 'const
- std::__1::__list_iterator<SECTREE *, void *> &' for 1st argument
- class _LIBCPP_TEMPLATE_VIS __list_iterator
- ^
- /usr/include/c++/v1/list:287:28: note: candidate constructor (the implicit move
- constructor) not viable: no known conversion from 'std::__1::list<SECTREE
- *, std::__1::allocator<SECTREE *> >::const_iterator' (aka
- '__list_const_iterator<SECTREE *, void *>') to
- 'std::__1::__list_iterator<SECTREE *, void *> &&' for 1st argument
- In file included from BattleArena.cpp:7:
- In file included from ./sectree_manager.h:4:
- ./sectree.h:142:4: error: use of undeclared identifier 'typeof'; did you mean
- 'typeid'?
- itertype(m_set_entity) it = m_set_entity.begin();
- ^
- ./typedef.h:105:21: note: expanded from macro 'itertype'
- #define itertype(v) typeof((v).begin())
- ^
- In file included from BattleArena.cpp:7:
- In file included from ./sectree_manager.h:4:
- ./sectree.h:144:11: error: use of undeclared identifier 'it'
- while (it != m_set_entity.end())
- ^
- ./sectree.h:147:16: error: use of undeclared identifier 'it'
- if ( func(*it++) )
- ^
- ./sectree.h:189:4: error: use of undeclared identifier 'typeof'; did you mean
- 'typeid'?
- itertype(m_set_entity) it = m_set_entity.begin();
- ^
- ./typedef.h:105:21: note: expanded from macro 'itertype'
- #define itertype(v) typeof((v).begin())
- ^
- In file included from BattleArena.cpp:7:
- In file included from ./sectree_manager.h:4:
- ./sectree.h:190:12: error: use of undeclared identifier 'it'
- for ( ; it != m_set_entity.end(); ++it) {
- ^
- ./sectree.h:190:40: error: use of undeclared identifier 'it'
- for ( ; it != m_set_entity.end(); ++it) {
- ^
- ./sectree.h:191:24: error: use of undeclared identifier 'it'
- LPENTITY entity = *it;
- ^
- ./sectree.h:195:25: error: use of undeclared identifier 'it'
- m_set_entity.erase(it);
- ^
- 9 errors generated.
- gmake: *** [Makefile:111: OBJDIR/BattleArena.o] Error 1
- root@xenox:/usr/src/mainline/Xenox2/game/src # gmake clean
- root@xenox:/usr/src/mainline/Xenox2/game/src # gmake
- compile BattleArena.cpp
- In file included from BattleArena.cpp:7:
- In file included from ./sectree_manager.h:4:
- ./sectree.h:90:29: error: no viable conversion from 'std::__1::list<SECTREE *,
- std::__1::allocator<SECTREE *> >::const_iterator' (aka
- '__list_const_iterator<SECTREE *, void *>') to 'LPSECTREE_LIST::iterator'
- (aka '__list_iterator<SECTREE *, void *>')
- ...LPSECTREE_LIST::iterator it_tree = m_neighbor_list.begin();
- ^ ~~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/c++/v1/list:287:28: note: candidate constructor (the implicit copy
- constructor) not viable: no known conversion from 'std::__1::list<SECTREE
- *, std::__1::allocator<SECTREE *> >::const_iterator' (aka
- '__list_const_iterator<SECTREE *, void *>') to 'const
- std::__1::__list_iterator<SECTREE *, void *> &' for 1st argument
- class _LIBCPP_TEMPLATE_VIS __list_iterator
- ^
- /usr/include/c++/v1/list:287:28: note: candidate constructor (the implicit move
- constructor) not viable: no known conversion from 'std::__1::list<SECTREE
- *, std::__1::allocator<SECTREE *> >::const_iterator' (aka
- '__list_const_iterator<SECTREE *, void *>') to
- 'std::__1::__list_iterator<SECTREE *, void *> &&' for 1st argument
- In file included from BattleArena.cpp:7:
- In file included from ./sectree_manager.h:4:
- ./sectree.h:142:4: error: use of undeclared identifier 'typeof'; did you mean
- 'typeid'?
- itertype(m_set_entity) it = m_set_entity.begin();
- ^
- ./typedef.h:105:21: note: expanded from macro 'itertype'
- #define itertype(v) typeof((v).begin())
- ^
- In file included from BattleArena.cpp:7:
- In file included from ./sectree_manager.h:4:
- ./sectree.h:144:11: error: use of undeclared identifier 'it'
- while (it != m_set_entity.end())
- ^
- ./sectree.h:147:16: error: use of undeclared identifier 'it'
- if ( func(*it++) )
- ^
- ./sectree.h:189:4: error: use of undeclared identifier 'typeof'; did you mean
- 'typeid'?
- itertype(m_set_entity) it = m_set_entity.begin();
- ^
- ./typedef.h:105:21: note: expanded from macro 'itertype'
- #define itertype(v) typeof((v).begin())
- ^
- In file included from BattleArena.cpp:7:
- In file included from ./sectree_manager.h:4:
- ./sectree.h:190:12: error: use of undeclared identifier 'it'
- for ( ; it != m_set_entity.end(); ++it) {
- ^
- ./sectree.h:190:40: error: use of undeclared identifier 'it'
- for ( ; it != m_set_entity.end(); ++it) {
- ^
- ./sectree.h:191:24: error: use of undeclared identifier 'it'
- LPENTITY entity = *it;
- ^
- ./sectree.h:195:25: error: use of undeclared identifier 'it'
- m_set_entity.erase(it);
- ^
- 9 errors generated.
- gmake: *** [Makefile:111: OBJDIR/BattleArena.o] Error 1
- root@xenox:/usr/src/mainline/Xenox2/game/src # gmake
- compile BattleArena.cpp
- In file included from BattleArena.cpp:7:
- In file included from ./sectree_manager.h:4:
- ./sectree.h:90:29: error: no viable conversion from 'std::__1::list<SECTREE *,
- std::__1::allocator<SECTREE *> >::const_iterator' (aka
- '__list_const_iterator<SECTREE *, void *>') to 'LPSECTREE_LIST::iterator'
- (aka '__list_iterator<SECTREE *, void *>')
- ...LPSECTREE_LIST::iterator it_tree = m_neighbor_list.begin();
- ^ ~~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/c++/v1/list:287:28: note: candidate constructor (the implicit copy
- constructor) not viable: no known conversion from 'std::__1::list<SECTREE
- *, std::__1::allocator<SECTREE *> >::const_iterator' (aka
- '__list_const_iterator<SECTREE *, void *>') to 'const
- std::__1::__list_iterator<SECTREE *, void *> &' for 1st argument
- class _LIBCPP_TEMPLATE_VIS __list_iterator
- ^
- /usr/include/c++/v1/list:287:28: note: candidate constructor (the implicit move
- constructor) not viable: no known conversion from 'std::__1::list<SECTREE
- *, std::__1::allocator<SECTREE *> >::const_iterator' (aka
- '__list_const_iterator<SECTREE *, void *>') to
- 'std::__1::__list_iterator<SECTREE *, void *> &&' for 1st argument
- 1 error generated.
- gmake: *** [Makefile:111: OBJDIR/BattleArena.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement