I'm trying to write something like TBS game, but when I tried to compile it gived me back a huge error list with errors in a file with name "xmemory0" but I even don't know what is this. The code is divided in several files, so I could give a GitHub link if somebody need it. Here is a part of the Error List:
Error 1 error C2516: '_Alloc' : is not a legal base class c:\program files (x86)\microsoft visual studio 12.0\vc\include\xmemory0 749 1 ConsoleGame
Error 2 error C2825: '_Alloc': must be a class or namespace when followed by '::' c:\program files (x86)\microsoft visual studio 12.0\vc\include\xmemory0 419 1 ConsoleGame
Error 3 error C2039: 'value_type' : is not a member of '`global namespace'' c:\program files (x86)\microsoft visual studio 12.0\vc\include\xmemory0 419 1 ConsoleGame
Error 4 error C2146: syntax error : missing ';' before identifier 'value_type' c:\program files (x86)\microsoft visual studio 12.0\vc\include\xmemory0 419 1 ConsoleGame
Error 5 error C2602: 'std::allocator_traits<_Alloc>::value_type' is not a member of a base class of 'std::allocator_traits<_Alloc>' c:\program files (x86)\microsoft visual studio 12.0\vc\include\xmemory0 419 1 ConsoleGame
Error 6 error C2868: 'std::allocator_traits<_Alloc>::value_type' : illegal syntax for using-declaration; expected qualified-name c:\program files (x86)\microsoft visual studio 12.0\vc\include\xmemory0 419 1 ConsoleGame
Error 7 error C2825: '_Ty': must be a class or namespace when followed by '::' c:\program files (x86)\microsoft visual studio 12.0\vc\include\xmemory0 242 1 ConsoleGame
Error 8 error C2039: 'value_type' : is not a member of '`global namespace'' c:\program files (x86)\microsoft visual studio 12.0\vc\include\xmemory0 242 1 ConsoleGame
Error 9 error C2146: syntax error : missing ',' before identifier 'value_type' c:\program files (x86)\microsoft visual studio 12.0\vc\include\xmemory0 242 1 ConsoleGame
Error 10 error C2065: 'value_type' : undeclared identifier c:\program files (x86)\microsoft visual studio 12.0\vc\include\xmemory0 242 1 ConsoleGame
Error 11 error C2059: syntax error : '>' c:\program files (x86)\microsoft visual studio 12.0\vc\include\xmemory0 242 1 ConsoleGame
Error 12 error C2893: Failed to specialize function template 'std::_Identity<ptrdiff_t> std::_Get_pointer_type<_Alloc>::_Fn(std::_Wrap_int)' c:\program files (x86)\microsoft visual studio 12.0\vc\include\xmemory0 242 1 ConsoleGame
Error 13 error C2770: invalid explicit template argument(s) for 'std::_Identity<_Uty::pointer> std::_Get_pointer_type<_Alloc>::_Fn(int)' c:\program files (x86)\microsoft visual studio 12.0\vc\include\xmemory0 242 1 ConsoleGame
Error 14 error C2825: 'std::_Get_pointer_type<_Alloc>::_Decltype': must be a class or namespace when followed by '::' c:\program files (x86)\microsoft visual studio 12.0\vc\include\xmemory0 242 1 ConsoleGame
Error 15 error C2039: 'type' : is not a member of '`global namespace'' c:\program files (x86)\microsoft visual studio 12.0\vc\include\xmemory0 242 1 ConsoleGame
Error 16 error C2146: syntax error : missing ';' before identifier 'type' c:\program files (x86)\microsoft visual studio 12.0\vc\include\xmemory0 242 1 ConsoleGame
Error 17 error C2602: 'std::_Get_pointer_type<_Alloc>::type' is not a member of a base class of 'std::_Get_pointer_type<_Alloc>' c:\program files (x86)\microsoft visual studio 12.0\vc\include\xmemory0 242 1 ConsoleGame
Error 18 error C2868: 'std::_Get_pointer_type<_Alloc>::type' : illegal syntax for using-declaration; expected qualified-name c:\program files (x86)\microsoft visual studio 12.0\vc\include\xmemory0 242 1 ConsoleGame
Error 19 error C2770: invalid explicit template argument(s) for 'std::_Identity<_Get_first_parameter<_Uty>::type> std::_Get_element_type<_Ty>::_Fn(std::_Wrap_int)' c:\program files (x86)\microsoft visual studio 12.0\vc\include\xmemory0 181 1 ConsoleGame
Error 20 error C2770: invalid explicit template argument(s) for 'std::_Identity<_Uty::element_type> std::_Get_element_type<_Ty>::_Fn(int)' c:\program files (x86)\microsoft visual studio 12.0\vc\include\xmemory0 181 1 ConsoleGame