MantisBT - VCMI
View Issue Details
0000997VCMIGUI - Battlespublic2012-06-09 11:452014-05-30 17:41
Warmonger 
Tow 
normalblockalways
closedfixed 
PCWindows 7SP1
0.89 
 
0000997: Can't compile std::vector<CClickableHex> bfield; in revision 2746
Didn't compile VCMI for like two weeks now and found out that it doesn't want to compile at all in MVS. Error message feels quite odd.
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\xutility(2514): error C2582: 'operator =' function is unavailable in 'CClickableHex'
1> c:\program files (x86)\microsoft visual studio 10.0\vc\include\xutility(2535) : see reference to function template instantiation '_OutIt std::_Move<_InIt,_OutIt>(_InIt,_InIt,_OutIt,std::_Nonscalar_ptr_iterator_tag)' being compiled
1> with
1> [
1> _OutIt=CClickableHex *,
1> _InIt=CClickableHex *
1> ]
1> c:\program files (x86)\microsoft visual studio 10.0\vc\include\vector(1202) : see reference to function template instantiation '_OutIt std::_Move<CClickableHex*,CClickableHex*>(_InIt,_InIt,_OutIt)' being compiled
1> with
1> [
1> _OutIt=CClickableHex *,
1> _InIt=CClickableHex *
1> ]
1> c:\program files (x86)\microsoft visual studio 10.0\vc\include\vector(1190) : while compiling class template member function 'std::_Vector_iterator<_Myvec> std::vector<_Ty>::erase(std::_Vector_const_iterator<_Myvec>,std::_Vector_const_iterator<_Myvec>)'
1> with
1> [
1> _Myvec=std::_Vector_val<CClickableHex,std::allocator<CClickableHex>>,
1> _Ty=CClickableHex
1> ]
1> g:\programowanie\vcmi\vcmi\client\battleinterface\cbattleinterface.h(218) : see reference to class template instantiation 'std::vector<_Ty>' being compiled
1> with
1> [
1> _Ty=CClickableHex
1> ]
No tags attached.
Issue History
2012-06-09 11:45WarmongerNew Issue
2012-06-09 17:20TowNote Added: 0002640
2012-06-09 17:20TowStatusnew => resolved
2012-06-09 17:20TowResolutionopen => fixed
2012-06-09 17:20TowAssigned To => Tow
2014-05-30 17:41beegeeStatusresolved => closed

Notes
(0002640)
Tow   
2012-06-09 17:20   
Fixed in r2748