Код
9>c:\users\nummer\documents\github\olr-3.0\src\xray\xrcore\xrMemory_subst_msvc.h(87): error C2664: 'CVertex<_data_type,_vertex_id_type,CGraphAbstract<_data_type,_edge_weight_type,_vertex_id_type>>::CVertex(const CVertex<_data_type,_vertex_id_type,CGraphAbstract<_data_type,_edge_weight_type,_vertex_id_type>> &)' : cannot convert argument 3 from 'unsigned int *const ' to 'size_t *'
9> with
9> [
9> _data_type=CPatrolPoint
9> , _vertex_id_type=u32
9> , _edge_weight_type=float
9> ]
9> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
9> c:\users\nummer\documents\github\olr-3.0\src\xray\xr_3da\xrgame\graph_abstract_inline.h(39) : see reference to function template instantiation 'T *xr_new<CVertex<_data_type,_vertex_id_type,CGraphAbstract<_data_type,_edge_weight_type,_vertex_id_type>>,_data_type,_vertex_id_type,u32*>(const P1 &,const P2 &,const P3 &)' being compiled
9> with
9> [
9> T=CVertex<CPatrolPoint,u32,CGraphAbstract<CPatrolPoint,float,u32>>
9> , _data_type=CPatrolPoint
9> , _vertex_id_type=u32
9> , _edge_weight_type=float
9> , P1=CPatrolPoint
9> , P2=u32
9> , P3=u32 *
9> ]
9> c:\users\nummer\documents\github\olr-3.0\src\xray\xr_3da\xrgame\graph_abstract_inline.h(37) : while compiling class template member function 'void CGraphAbstract<_data_type,_edge_weight_type,_vertex_id_type>::add_vertex(const _data_type &,const _vertex_id_type &)'
9> with
9> [
9> _data_type=CPatrolPoint
9> , _edge_weight_type=float
9> , _vertex_id_type=u32
9> ]
9> c:\users\nummer\documents\github\olr-3.0\src\xray\xr_3da\xrgame\graph_abstract_inline.h(284) : see reference to function template instantiation 'void CGraphAbstract<_data_type,_edge_weight_type,_vertex_id_type>::add_vertex(const _data_type &,const _vertex_id_type &)' being compiled
9> with
9> [
9> _data_type=CPatrolPoint
9> , _edge_weight_type=float
9> , _vertex_id_type=u32
9> ]
9> c:\users\nummer\documents\github\olr-3.0\src\xray\xr_3da\xrgame\graph_abstract_inline.h(31) : while compiling class template member function 'CGraphAbstract<_data_type,_edge_weight_type,_vertex_id_type>::~CGraphAbstract(void)'
9> with
9> [
9> _data_type=CPatrolPoint
9> , _edge_weight_type=float
9> , _vertex_id_type=u32
9> ]
9> c:\users\nummer\documents\github\olr-3.0\src\xray\xr_3da\xrgame\graph_abstract.h(78) : see reference to class template instantiation 'CGraphAbstract<_data_type,_edge_weight_type,_vertex_id_type>' being compiled
9> with
9> [
9> _data_type=CPatrolPoint
9> , _edge_weight_type=float
9> , _vertex_id_type=u32
9> ]
9> c:\users\nummer\documents\github\olr-3.0\src\xray\xr_3da\xrgame\patrol_path.h(14) : see reference to class template instantiation 'CGraphAbstractSerialize<CPatrolPoint,float,u32>' being compiled
9> particle_params.cpp
9> patrol_path.cpp
9>c:\users\nummer\documents\github\olr-3.0\src\xray\xrcore\xrMemory_subst_msvc.h(87): error C2664: 'CVertex<_data_type,_vertex_id_type,CGraphAbstract<_data_type,_edge_weight_type,_vertex_id_type>>::CVertex(const CVertex<_data_type,_vertex_id_type,CGraphAbstract<_data_type,_edge_weight_type,_vertex_id_type>> &)' : cannot convert argument 3 from 'unsigned int *const ' to 'size_t *'
9> with
9> [
9> _data_type=CPatrolPoint
9> , _vertex_id_type=u32
9> , _edge_weight_type=float
9> ]
9> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
9> c:\users\nummer\documents\github\olr-3.0\src\xray\xr_3da\xrgame\graph_abstract_inline.h(39) : see reference to function template instantiation 'T *xr_new<CVertex<_data_type,_vertex_id_type,CGraphAbstract<_data_type,_edge_weight_type,_vertex_id_type>>,_data_type,_vertex_id_type,u32*>(const P1 &,const P2 &,const P3 &)' being compiled
9> with
9> [
9> T=CVertex<CPatrolPoint,u32,CGraphAbstract<CPatrolPoint,float,u32>>
9> , _data_type=CPatrolPoint
9> , _vertex_id_type=u32
9> , _edge_weight_type=float
9> , P1=CPatrolPoint
9> , P2=u32
9> , P3=u32 *
9> ]
9> c:\users\nummer\documents\github\olr-3.0\src\xray\xr_3da\xrgame\graph_abstract_inline.h(37) : while compiling class template member function 'void CGraphAbstract<_data_type,_edge_weight_type,_vertex_id_type>::add_vertex(const _data_type &,const _vertex_id_type &)'
9> with
9> [
9> _data_type=CPatrolPoint
9> , _edge_weight_type=float
9> , _vertex_id_type=u32
9> ]
9> patrol_path.cpp(27) : see reference to function template instantiation 'void CGraphAbstract<_data_type,_edge_weight_type,_vertex_id_type>::add_vertex(const _data_type &,const _vertex_id_type &)' being compiled
9> with
9> [
9> _data_type=CPatrolPoint
9> , _edge_weight_type=float
9> , _vertex_id_type=u32
9> ]
9> c:\users\nummer\documents\github\olr-3.0\src\xray\xr_3da\xrgame\graph_abstract.h(78) : see reference to class template instantiation 'CGraphAbstract<_data_type,_edge_weight_type,_vertex_id_type>' being compiled
9> with
9> [
9> _data_type=CPatrolPoint
9> , _edge_weight_type=float
9> , _vertex_id_type=u32
9> ]
9> c:\users\nummer\documents\github\olr-3.0\src\xray\xr_3da\xrgame\patrol_path.h(14) : see reference to class template instantiation 'CGraphAbstractSerialize<CPatrolPoint,float,u32>' being compiled
9> patrol_path_storage.cpp
9>c:\users\nummer\documents\github\olr-3.0\src\xray\xrcore\xrMemory_subst_msvc.h(87): error C2664: 'CVertex<_data_type,_vertex_id_type,CGraphAbstract<_data_type,_edge_weight_type,_vertex_id_type>>::CVertex(const CVertex<_data_type,_vertex_id_type,CGraphAbstract<_data_type,_edge_weight_type,_vertex_id_type>> &)' : cannot convert argument 3 from 'unsigned int *const ' to 'size_t *'
9> with
9> [
9> _data_type=CPatrolPoint
9> , _vertex_id_type=u32
9> , _edge_weight_type=float
9> ]
9> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
9> c:\users\nummer\documents\github\olr-3.0\src\xray\xr_3da\xrgame\graph_abstract_inline.h(39) : see reference to function template instantiation 'T *xr_new<CVertex<_data_type,_vertex_id_type,CGraphAbstract<_data_type,_edge_weight_type,_vertex_id_type>>,_data_type,_vertex_id_type,u32*>(const P1 &,const P2 &,const P3 &)' being compiled
9> with
9> [
9> T=CVertex<CPatrolPoint,u32,CGraphAbstract<CPatrolPoint,float,u32>>
9> , _data_type=CPatrolPoint
9> , _vertex_id_type=u32
9> , _edge_weight_type=float
9> , P1=CPatrolPoint
9> , P2=u32
9> , P3=u32 *
9> ]
9> c:\users\nummer\documents\github\olr-3.0\src\xray\xr_3da\xrgame\graph_abstract_inline.h(37) : while compiling class template member function 'void CGraphAbstract<_data_type,_edge_weight_type,_vertex_id_type>::add_vertex(const _data_type &,const _vertex_id_type &)'
9> with
9> [
9> _data_type=CPatrolPoint
9> , _edge_weight_type=float
9> , _vertex_id_type=u32
9> ]
9> c:\users\nummer\documents\github\olr-3.0\src\xray\xr_3da\xrgame\graph_abstract_inline.h(284) : see reference to function template instantiation 'void CGraphAbstract<_data_type,_edge_weight_type,_vertex_id_type>::add_vertex(const _data_type &,const _vertex_id_type &)' being compiled
9> with
9> [
9> _data_type=CPatrolPoint
9> , _edge_weight_type=float
9> , _vertex_id_type=u32
9> ]
9> c:\users\nummer\documents\github\olr-3.0\src\xray\xr_3da\xrgame\graph_abstract_inline.h(31) : while compiling class template member function 'CGraphAbstract<_data_type,_edge_weight_type,_vertex_id_type>::~CGraphAbstract(void)'
9> with
9> [
9> _data_type=CPatrolPoint
9> , _edge_weight_type=float
9> , _vertex_id_type=u32
9> ]
9> c:\users\nummer\documents\github\olr-3.0\src\xray\xr_3da\xrgame\graph_abstract.h(78) : see reference to class template instantiation 'CGraphAbstract<_data_type,_edge_weight_type,_vertex_id_type>' being compiled
9> with
9> [
9> _data_type=CPatrolPoint
9> , _edge_weight_type=float
9> , _vertex_id_type=u32
9> ]
9> c:\users\nummer\documents\github\olr-3.0\src\xray\xr_3da\xrgame\patrol_path.h(14) : see reference to class template instantiation 'CGraphAbstractSerialize<CPatrolPoint,float,u32>' being compiled