ClientManager.h:200:29: error: 'TEventManagerData' was not declared in this scope
200 | std::map<BYTE, std::vector<TEventManagerData>> m_EventManager;
| ^~~~~~~~~~~~~~~~~
ClientManager.h:200:29: error: template argument 1 is invalid
ClientManager.h:200:29: error: template argument 2 is invalid
ClientManager.h:200:46: error: template argument 2 is invalid
200 | std::map<BYTE, std::vector<TEventManagerData>> m_EventManager;
| ^~
ClientManager.h:200:46: error: template argument 4 is invalid
In file included from Main.cpp:5:
ClientManager.h:200:29: error: 'TEventManagerData' was not declared in this scope
200 | std::map<BYTE, std::vector<TEventManagerData>> m_EventManager;
| ^~~~~~~~~~~~~~~~~
compiling ClientManagerEventFlag.cpp
In file included from Cache.cpp:6:
ClientManager.h:200:29: error: 'TEventManagerData' was not declared in this scope
200 | std::map<BYTE, std::vector<TEventManagerData>> m_EventManager;
| ^~~~~~~~~~~~~~~~~
ClientManager.h:200:29: error: template argument 1 is invalid
ClientManager.h:200:29: error: template argument 2 is invalid
ClientManager.h:200:46: error: template argument 2 is invalid
200 | std::map<BYTE, std::vector<TEventManagerData>> m_EventManager;
| ^~
ClientManager.h:200:46: error: template argument 4 is invalid
ClientManager.h:200:29: error: template argument 1 is invalid
ClientManager.h:200:29: error: template argument 2 is invalid
ClientManager.h:200:46: error: template argument 2 is invalid
200 | std::map<BYTE, std::vector<TEventManagerData>> m_EventManager;
| ^~
ClientManager.h:200:46: error: template argument 4 is invalid
compiling Marriage.cpp
In file included from NetBase.cpp:4:
ClientManager.h:200:29: error: 'TEventManagerData' was not declared in this scope
200 | std::map<BYTE, std::vector<TEventManagerData>> m_EventManager;
| ^~~~~~~~~~~~~~~~~
ClientManager.h:200:29: error: template argument 1 is invalid
ClientManager.h:200:29: error: template argument 2 is invalid
ClientManager.h:200:46: error: template argument 2 is invalid
200 | std::map<BYTE, std::vector<TEventManagerData>> m_EventManager;
| ^~
compiling Monarch.cpp
ClientManager.h:200:46: error: template argument 4 is invalid
In file included from LoginData.cpp:3:
ClientManager.h:200:29: error: 'TEventManagerData' was not declared in this scope
200 | std::map<BYTE, std::vector<TEventManagerData>> m_EventManager;
| ^~~~~~~~~~~~~~~~~
ClientManager.h:200:29: error: template argument 1 is invalid
In file included from ClientManagerPlayer.cpp:4:
ClientManager.h:200:29: error: 'TEventManagerData' was not declared in this scope
200 | std::map<BYTE, std::vector<TEventManagerData>> m_EventManager;
| ^~~~~~~~~~~~~~~~~
ClientManager.h:200:29: error: template argument 2 is invalid
ClientManager.h:200:29: error: template argument 1 is invalid
ClientManager.h:200:46: error: template argument 2 is invalid
200 | std::map<BYTE, std::vector<TEventManagerData>> m_EventManager;
| ^~
ClientManager.h:200:29: error: template argument 2 is invalid
ClientManager.h:200:46: error: template argument 2 is invalid
200 | std::map<BYTE, std::vector<TEventManagerData>> m_EventManager;
| ^~
ClientManager.h:200:46: error: template argument 4 is invalid
ClientManager.h:200:46: error: template argument 4 is invalid
compiling BlockCountry.cpp
In file included from ClientManager.cpp:10:
ClientManager.h:200:29: error: 'TEventManagerData' was not declared in this scope
200 | std::map<BYTE, std::vector<TEventManagerData>> m_EventManager;
| ^~~~~~~~~~~~~~~~~
ClientManager.h:200:29: error: template argument 1 is invalid
ClientManager.h:200:29: error: template argument 2 is invalid
ClientManager.h:200:46: error: template argument 2 is invalid
200 | std::map<BYTE, std::vector<TEventManagerData>> m_EventManager;
| ^~
gmake[1]: *** [Makefile:107: .obj/Cache.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
gmake[1]: *** [Makefile:107: .obj/DBManager.o] Error 1
ClientManager.h:200:46: error: template argument 4 is invalid
In file included from ClientManagerBoot.cpp:3:
ClientManager.h:200:29: error: 'TEventManagerData' was not declared in this scope
200 | std::map<BYTE, std::vector<TEventManagerData>> m_EventManager;
| ^~~~~~~~~~~~~~~~~
ClientManager.h:200:29: error: template argument 1 is invalid
ClientManager.h:200:29: error: template argument 2 is invalid
ClientManager.h:200:46: error: template argument 2 is invalid
200 | std::map<BYTE, std::vector<TEventManagerData>> m_EventManager;
| ^~
ClientManager.h:200:46: error: template argument 4 is invalid
gmake[1]: *** [Makefile:107: .obj/NetBase.o] Error 1
gmake[1]: *** [Makefile:107: .obj/Main.o] Error 1
gmake[1]: *** [Makefile:107: .obj/LoginData.o] Error 1
In file included from ClientManagerGuild.cpp:3:
ClientManager.h:200:29: error: 'TEventManagerData' was not declared in this scope
200 | std::map<BYTE, std::vector<TEventManagerData>> m_EventManager;
| ^~~~~~~~~~~~~~~~~
ClientManager.h:200:29: error: template argument 1 is invalid
ClientManager.h:200:29: error: template argument 2 is invalid
ClientManager.h:200:46: error: template argument 2 is invalid
200 | std::map<BYTE, std::vector<TEventManagerData>> m_EventManager;
| ^~
ClientManager.h:200:46: error: template argument 4 is invalid
In file included from ClientManagerParty.cpp:3:
ClientManager.h:200:29: error: 'TEventManagerData' was not declared in this scope
200 | std::map<BYTE, std::vector<TEventManagerData>> m_EventManager;
| ^~~~~~~~~~~~~~~~~
ClientManager.h:200:29: error: template argument 1 is invalid
ClientManager.h:200:29: error: template argument 2 is invalid
ClientManager.h:200:46: error: template argument 2 is invalid
200 | std::map<BYTE, std::vector<TEventManagerData>> m_EventManager;
| ^~
ClientManager.h:200:46: error: template argument 4 is invalid
In file included from ClientManagerLogin.cpp:5:
ClientManager.h:200:29: error: 'TEventManagerData' was not declared in this scope
200 | std::map<BYTE, std::vector<TEventManagerData>> m_EventManager;
| ^~~~~~~~~~~~~~~~~
ClientManager.h:200:29: error: template argument 1 is invalid
ClientManager.h:200:29: error: template argument 2 is invalid
ClientManager.h:200:46: error: template argument 2 is invalid
200 | std::map<BYTE, std::vector<TEventManagerData>> m_EventManager;
| ^~
ClientManager.h:200:46: error: template argument 4 is invalid
gmake[1]: *** [Makefile:107: .obj/ClientManagerPlayer.o] Error 1
In file included from GuildManager.cpp:4:
ClientManager.h:200:29: error: 'TEventManagerData' was not declared in this scope
200 | std::map<BYTE, std::vector<TEventManagerData>> m_EventManager;
| ^~~~~~~~~~~~~~~~~
ClientManager.h:200:29: error: template argument 1 is invalid
ClientManager.h:200:29: error: template argument 2 is invalid
ClientManager.h:200:46: error: template argument 2 is invalid
200 | std::map<BYTE, std::vector<TEventManagerData>> m_EventManager;
| ^~
ClientManager.h:200:46: error: template argument 4 is invalid
In file included from PrivManager.cpp:3:
ClientManager.h:200:29: error: 'TEventManagerData' was not declared in this scope
200 | std::map<BYTE, std::vector<TEventManagerData>> m_EventManager;
| ^~~~~~~~~~~~~~~~~
ClientManager.h:200:29: error: template argument 1 is invalid
ClientManager.h:200:29: error: template argument 2 is invalid
gmake[1]: *** [Makefile:107: .obj/ClientManagerLogin.o] Error 1
ClientManager.h:200:46: error: template argument 2 is invalid
200 | std::map<BYTE, std::vector<TEventManagerData>> m_EventManager;
| ^~
gmake[1]: *** [Makefile:107: .obj/ClientManagerGuild.o] Error 1
ClientManager.h:200:46: error: template argument 4 is invalid
gmake[1]: *** [Makefile:107: .obj/ClientManagerParty.o] Error 1
In file included from MoneyLog.cpp:3:
ClientManager.h:200:29: error: 'TEventManagerData' was not declared in this scope
200 | std::map<BYTE, std::vector<TEventManagerData>> m_EventManager;
| ^~~~~~~~~~~~~~~~~
ClientManager.cpp: In member function 'void CClientManager::ProcessPackets(CPeer*)':
ClientManager.cpp:3116:8: error: 'HEADER_GD_EVENT_MANAGER' was not declared in this scope; did you mean 'HEADER_GD_ELECT_MONARCH'?
3116 | case HEADER_GD_EVENT_MANAGER:
| ^~~~~~~~~~~~~~~~~~~~~~~
| HEADER_GD_ELECT_MONARCH
ClientManager.h:200:29: error: template argument 1 is invalid
ClientManager.h:200:29: error: template argument 2 is invalid
ClientManager.h:200:46: error: template argument 2 is invalid
200 | std::map<BYTE, std::vector<TEventManagerData>> m_EventManager;
| ^~
ClientManager.h:200:46: error: template argument 4 is invalid
ClientManager.cpp: In function 'bool IsDontHaveEndTimeEvent(BYTE)':
ClientManager.cpp:4836:8: error: 'EMPIRE_WAR_EVENT' was not declared in this scope
4836 | case EMPIRE_WAR_EVENT:
| ^~~~~~~~~~~~~~~~
ClientManager.cpp:4837:8: error: 'TOURNAMENT_EVENT' was not declared in this scope
4837 | case TOURNAMENT_EVENT:
| ^~~~~~~~~~~~~~~~
In file included from ItemAwardManager.cpp:7:
ClientManager.h:200:29: error: 'TEventManagerData' was not declared in this scope
200 | std::map<BYTE, std::vector<TEventManagerData>> m_EventManager;
| ^~~~~~~~~~~~~~~~~
ClientManager.h:200:29: error: template argument 1 is invalid
ClientManager.h:200:29: error: template argument 2 is invalid
ClientManager.h:200:46: error: template argument 2 is invalid
200 | std::map<BYTE, std::vector<TEventManagerData>> m_EventManager;
| ^~
ClientManager.cpp: In member function 'void CClientManager::RecvEventManagerPacket(const char*)':
ClientManager.cpp:4847:18: error: 'EVENT_MANAGER_UPDATE' was not declared in this scope
4847 | if (subIndex == EVENT_MANAGER_UPDATE)
| ^~~~~~~~~~~~~~~~~~~~
ClientManager.h:200:46: error: template argument 4 is invalid
In file included from ClientManagerEventFlag.cpp:3:
ClientManager.h:200:29: error: 'TEventManagerData' was not declared in this scope
200 | std::map<BYTE, std::vector<TEventManagerData>> m_EventManager;
| ^~~~~~~~~~~~~~~~~
ClientManager.h:200:29: error: template argument 1 is invalid
ClientManager.cpp:4849:23: error: 'EVENT_MANAGER_REMOVE_EVENT' was not declared in this scope
4849 | else if (subIndex == EVENT_MANAGER_REMOVE_EVENT)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
ClientManager.h:200:29: error: template argument 2 is invalid
ClientManager.h:200:46: error: template argument 2 is invalid
200 | std::map<BYTE, std::vector<TEventManagerData>> m_EventManager;
| ^~
ClientManager.cpp:4854:22: error: request for member 'size' in '((CClientManager*)this)->CClientManager::m_EventManager', which is of non-class type 'int'
4854 | if (m_EventManager.size())
| ^~~~
gmake[1]: *** [Makefile:107: .obj/ClientManagerBoot.o] Error 1
ClientManager.h:200:46: error: template argument 4 is invalid
ClientManager.cpp:4856:34: error: request for member 'begin' in '((CClientManager*)this)->CClientManager::m_EventManager', which is of non-class type 'int'
4856 | for (auto it = m_EventManager.begin(); it != m_EventManager.end(); ++it)
| ^~~~~
ClientManager.cpp:4856:64: error: request for member 'end' in '((CClientManager*)this)->CClientManager::m_EventManager', which is of non-class type 'int'
4856 | for (auto it = m_EventManager.begin(); it != m_EventManager.end(); ++it)
| ^~~
ClientManager.cpp:4860:6: error: 'TEventManagerData' was not declared in this scope; did you mean 'm_EventManager'?
4860 | TEventManagerData& eventPtr = it->second[j];
| ^~~~~~~~~~~~~~~~~
| m_EventManager
ClientManager.cpp:4860:25: error: 'eventPtr' was not declared in this scope
4860 | TEventManagerData& eventPtr = it->second[j];
| ^~~~~~~~
ClientManager.cpp: In member function 'void CClientManager::UpdateEventManager()':
ClientManager.cpp:4879:33: error: request for member 'find' in '((CClientManager*)this)->CClientManager::m_EventManager', which is of non-class type 'int'
4879 | const auto it = m_EventManager.find(vKey.tm_mday);
| ^~~~
ClientManager.cpp:4880:27: error: request for member 'end' in '((CClientManager*)this)->CClientManager::m_EventManager', which is of non-class type 'int'
4880 | if (it != m_EventManager.end())
| ^~~
ClientManager.cpp:4886:5: error: 'TEventManagerData' was not declared in this scope; did you mean 'm_EventManager'?
4886 | TEventManagerData& pData = it->second[j];
| ^~~~~~~~~~~~~~~~~
| m_EventManager
In file included from Marriage.cpp:5:
ClientManager.h:200:29: error: 'TEventManagerData' was not declared in this scope
200 | std::map<BYTE, std::vector<TEventManagerData>> m_EventManager;
| ^~~~~~~~~~~~~~~~~
ClientManager.h:200:29: error: template argument 1 is invalid
ClientManager.h:200:29: error: template argument 2 is invalid
ClientManager.h:200:46: error: template argument 2 is invalid
200 | std::map<BYTE, std::vector<TEventManagerData>> m_EventManager;
| ^~
ClientManager.h:200:46: error: template argument 4 is invalid
ClientManager.cpp:4886:24: error: 'pData' was not declared in this scope
4886 | TEventManagerData& pData = it->second[j];
| ^~~~~
ClientManager.cpp:4905:28: error: 'EVENT_MANAGER_EVENT_STATUS' was not declared in this scope
4905 | const BYTE subIndex = EVENT_MANAGER_EVENT_STATUS;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
ClientManager.cpp:4911:20: error: 'HEADER_DG_EVENT_MANAGER' was not declared in this scope; did you mean 'HEADER_DG_ELECT_MONARCH'?
4911 | ForwardPacket(HEADER_DG_EVENT_MANAGER, buf.read_peek(), buf.size());
| ^~~~~~~~~~~~~~~~~~~~~~~
| HEADER_DG_ELECT_MONARCH
ClientManager.cpp: At global scope:
ClientManager.cpp:4918:25: error: 'TEventManagerData' does not name a type
4918 | bool SortWithTime(const TEventManagerData& a, const TEventManagerData& b)
| ^~~~~~~~~~~~~~~~~
gmake[1]: *** [Makefile:108: .obj/PrivManager.o] Error 1
ClientManager.cpp:4918:53: error: 'TEventManagerData' does not name a type
4918 | bool SortWithTime(const TEventManagerData& a, const TEventManagerData& b)
| ^~~~~~~~~~~~~~~~~
ClientManager.cpp: In function 'bool SortWithTime(const int&, const int&)':
ClientManager.cpp:4920:12: error: request for member 'startTime' in 'a', which is of non-class type 'const int'
4920 | return (a.startTime < b.startTime);
| ^~~~~~~~~
gmake[1]: *** [Makefile:109: .obj/MoneyLog.o] Error 1
ClientManager.cpp:4920:26: error: request for member 'startTime' in 'b', which is of non-class type 'const int'
4920 | return (a.startTime < b.startTime);
| ^~~~~~~~~
ClientManager.cpp: In member function 'bool CClientManager::InitializeEventManager(bool)':
ClientManager.cpp:4924:17: error: request for member 'clear' in '((CClientManager*)this)->CClientManager::m_EventManager', which is of non-class type 'int'
4924 | m_EventManager.clear();
| ^~~~~
ClientManager.cpp:4938:4: error: 'TEventManagerData' was not declared in this scope; did you mean 'm_EventManager'?
4938 | TEventManagerData p;
| ^~~~~~~~~~~~~~~~~
| m_EventManager
ClientManager.cpp:4939:18: error: 'p' was not declared in this scope
4939 | str_to_number(p.eventID, row[col++]);
| ^
ClientManager.cpp:4965:36: error: request for member 'find' in '((CClientManager*)this)->CClientManager::m_EventManager', which is of non-class type 'int'
4965 | const auto it = m_EventManager.find(vEventStartKey.tm_mday);
| ^~~~
ClientManager.cpp:4966:30: error: request for member 'end' in '((CClientManager*)this)->CClientManager::m_EventManager', which is of non-class type 'int'
4966 | if (it != m_EventManager.end())
| ^~~
ClientManager.cpp:4970:35: error: template argument 2 is invalid
4970 | std::vector<TEventManagerData> m_vec;
| ^
ClientManager.cpp:4971:12: error: request for member 'emplace_back' in 'm_vec', which is of non-class type 'int'
4971 | m_vec.emplace_back(p);
| ^~~~~~~~~~~~
ClientManager.cpp:4972:21: error: request for member 'emplace' in '((CClientManager*)this)->CClientManager::m_EventManager', which is of non-class type 'int'
4972 | m_EventManager.emplace(vEventStartKey.tm_mday, m_vec);
| ^~~~~~~
ClientManager.cpp:4977:36: error: request for member 'find' in '((CClientManager*)this)->CClientManager::m_EventManager', which is of non-class type 'int'
4977 | const auto it = m_EventManager.find(vEventEndKey.tm_mday);
| ^~~~
ClientManager.cpp:4978:30: error: request for member 'end' in '((CClientManager*)this)->CClientManager::m_EventManager', which is of non-class type 'int'
4978 | if (it != m_EventManager.end())
| ^~~
ClientManager.cpp:4982:35: error: template argument 2 is invalid
4982 | std::vector<TEventManagerData> m_vec;
| ^
ClientManager.cpp:4983:12: error: request for member 'emplace_back' in 'm_vec', which is of non-class type 'int'
4983 | m_vec.emplace_back(p);
| ^~~~~~~~~~~~
ClientManager.cpp:4984:21: error: request for member 'emplace' in '((CClientManager*)this)->CClientManager::m_EventManager', which is of non-class type 'int'
4984 | m_EventManager.emplace(vEventEndKey.tm_mday, m_vec);
| ^~~~~~~
ClientManager.cpp:4988:22: error: request for member 'size' in '((CClientManager*)this)->CClientManager::m_EventManager', which is of non-class type 'int'
4988 | if (m_EventManager.size())
| ^~~~
ClientManager.cpp:4990:34: error: request for member 'begin' in '((CClientManager*)this)->CClientManager::m_EventManager', which is of non-class type 'int'
4990 | for (auto it = m_EventManager.begin(); it != m_EventManager.end(); ++it)
| ^~~~~
ClientManager.cpp:4990:64: error: request for member 'end' in '((CClientManager*)this)->CClientManager::m_EventManager', which is of non-class type 'int'
4990 | for (auto it = m_EventManager.begin(); it != m_EventManager.end(); ++it)
| ^~~
ClientManager.cpp: In member function 'void CClientManager::SendEventData(CPeer*, bool)':
ClientManager.cpp:5000:24: error: 'EVENT_MANAGER_LOAD' was not declared in this scope
5000 | const BYTE subIndex = EVENT_MANAGER_LOAD;
| ^~~~~~~~~~~~~~~~~~
ClientManager.cpp:5001:39: error: request for member 'size' in '((CClientManager*)this)->CClientManager::m_EventManager', which is of non-class type 'int'
5001 | const BYTE dayCount = m_EventManager.size();
| ^~~~
ClientManager.cpp:5007:19: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
5007 | for (const auto& [dayIndex, dayData] : m_EventManager)
| ^
ClientManager.cpp:5007:41: error: 'begin' was not declared in this scope; did you mean 'std::begin'?
5007 | for (const auto& [dayIndex, dayData] : m_EventManager)
| ^~~~~~~~~~~~~~
| std::begin
In file included from /usr/local/lib/gcc10/include/c++/string:54,
from ../../../Extern/include/msl/utils.h:18,
from ../../common/utils.h:1,
from stdafx.h:16,
from ClientManager.cpp:2:
/usr/local/lib/gcc10/include/c++/bits/range_access.h:108:37: note: 'std::begin' declared here
108 | template<typename _Tp> const _Tp* begin(const valarray<_Tp>&);
| ^~~~~
ClientManager.cpp:5007:41: error: 'end' was not declared in this scope; did you mean 'std::end'?
5007 | for (const auto& [dayIndex, dayData] : m_EventManager)
| ^~~~~~~~~~~~~~
| std::end
In file included from /usr/local/lib/gcc10/include/c++/string:54,
from ../../../Extern/include/msl/utils.h:18,
from ../../common/utils.h:1,
from stdafx.h:16,
from ClientManager.cpp:2:
/usr/local/lib/gcc10/include/c++/bits/range_access.h:110:37: note: 'std::end' declared here
110 | template<typename _Tp> const _Tp* end(const valarray<_Tp>&);
| ^~~
ClientManager.cpp:5013:53: error: 'TEventManagerData' was not declared in this scope; did you mean 'm_EventManager'?
5013 | buf.write(dayData.data(), dayEventCount * sizeof(TEventManagerData));
| ^~~~~~~~~~~~~~~~~
| m_EventManager
ClientManager.cpp:5018:24: error: 'HEADER_DG_EVENT_MANAGER' was not declared in this scope; did you mean 'HEADER_DG_ELECT_MONARCH'?
5018 | pkPeer->EncodeHeader(HEADER_DG_EVENT_MANAGER, 0, buf.size());
| ^~~~~~~~~~~~~~~~~~~~~~~
| HEADER_DG_ELECT_MONARCH
ClientManager.cpp:5022:17: error: 'HEADER_DG_EVENT_MANAGER' was not declared in this scope; did you mean 'HEADER_DG_ELECT_MONARCH'?
5022 | ForwardPacket(HEADER_DG_EVENT_MANAGER, buf.read_peek(), buf.size());
| ^~~~~~~~~~~~~~~~~~~~~~~
| HEADER_DG_ELECT_MONARCH
gmake[1]: *** [Makefile:106: .obj/GuildManager.o] Error 1
gmake[1]: *** [Makefile:106: .obj/ClientManagerEventFlag.o] Error 1
gmake[1]: *** [Makefile:106: .obj/ItemAwardManager.o] Error 1
gmake[1]: *** [Makefile:106: .obj/Marriage.o] Error 1
gmake[1]: *** [Makefile:106: .obj/ClientManager.o] Error 1
gmake[1]: Leaving directory '/usr/src/game/Server/db/src'
gmake: *** [Makefile:117: all] Error 2