Visual C++ 6.0 build errors
Posted: 15.11.2004, 00:09
Does anyone know how to rid the latest HEAD source of the following problems in celengine/render.cpp and celengine/stardb.cpp compiles?
render.cpp
c:\program files\microsoft visual studio\vc98\include\algorithm(583) : error C2784: 'bool __cdecl std::operator <(const class std::multimap<_K,_Ty,_Pr,_A> &,const class std::multimap<_K,_Ty,_Pr,_A> &)' : could not deduce template argument for 'const
class std::multimap<_K,_Ty,_Pr,_A> &' from 'Renderer::Label'
c:\program files\microsoft visual studio\vc98\include\algorithm(548) : see reference to function template instantiation 'void __cdecl std::_Unguarded_insert(Renderer::Label *,Renderer::Label)' being compiled
.
.
.
c:\program files\microsoft visual studio\vc98\include\algorithm(583) : error C2676: binary '<' : 'Renderer::Label' does not define this operator or a conversion to a type acceptable to the predefined operator
c:\program files\microsoft visual studio\vc98\include\algorithm(548) : see reference to function template instantiation 'void __cdecl std::_Unguarded_insert(Renderer::Label *,Renderer::Label)' being compiled
and for stardb.cpp
c:\program files\microsoft visual studio\vc98\include\algorithm(856) : error C2784: 'bool __cdecl std::operator <(const class std::multimap<_K,_Ty,_Pr,_A> &,const class std::multimap<_K,_Ty,_Pr,_A> &)' : could not deduce template argument for 'const
class std::multimap<_K,_Ty,_Pr,_A> &' from 'struct StarDatabase::CrossIndexEntry'
c:\program files\microsoft visual studio\vc98\include\algorithm(847) : see reference to function template instantiation 'struct StarDatabase::CrossIndexEntry *__cdecl std::_Lower_bound(struct StarDatabase::CrossIndexEntry *,struct StarDataba
se::CrossIndexEntry *,const struct StarDatabase::CrossIndexEntry &,int *)' being compiled
.
.
.
c:\program files\microsoft visual studio\vc98\include\algorithm(856) : error C2676: binary '<' : 'struct StarDatabase::CrossIndexEntry' does not define this operator or a conversion to a type acceptable to the predefined operator
c:\program files\microsoft visual studio\vc98\include\algorithm(847) : see reference to function template instantiation 'struct StarDatabase::CrossIndexEntry *__cdecl std::_Lower_bound(struct StarDatabase::CrossIndexEntry *,struct StarDataba
se::CrossIndexEntry *,const struct StarDatabase::CrossIndexEntry &,int *)' being compiled
I have the latest updates for VC 6.0++. Was wondering if anyone knew of a work around. I don't have the funds to move to the latest VC# compiler or such.
TIA,
Solstice
render.cpp
c:\program files\microsoft visual studio\vc98\include\algorithm(583) : error C2784: 'bool __cdecl std::operator <(const class std::multimap<_K,_Ty,_Pr,_A> &,const class std::multimap<_K,_Ty,_Pr,_A> &)' : could not deduce template argument for 'const
class std::multimap<_K,_Ty,_Pr,_A> &' from 'Renderer::Label'
c:\program files\microsoft visual studio\vc98\include\algorithm(548) : see reference to function template instantiation 'void __cdecl std::_Unguarded_insert(Renderer::Label *,Renderer::Label)' being compiled
.
.
.
c:\program files\microsoft visual studio\vc98\include\algorithm(583) : error C2676: binary '<' : 'Renderer::Label' does not define this operator or a conversion to a type acceptable to the predefined operator
c:\program files\microsoft visual studio\vc98\include\algorithm(548) : see reference to function template instantiation 'void __cdecl std::_Unguarded_insert(Renderer::Label *,Renderer::Label)' being compiled
and for stardb.cpp
c:\program files\microsoft visual studio\vc98\include\algorithm(856) : error C2784: 'bool __cdecl std::operator <(const class std::multimap<_K,_Ty,_Pr,_A> &,const class std::multimap<_K,_Ty,_Pr,_A> &)' : could not deduce template argument for 'const
class std::multimap<_K,_Ty,_Pr,_A> &' from 'struct StarDatabase::CrossIndexEntry'
c:\program files\microsoft visual studio\vc98\include\algorithm(847) : see reference to function template instantiation 'struct StarDatabase::CrossIndexEntry *__cdecl std::_Lower_bound(struct StarDatabase::CrossIndexEntry *,struct StarDataba
se::CrossIndexEntry *,const struct StarDatabase::CrossIndexEntry &,int *)' being compiled
.
.
.
c:\program files\microsoft visual studio\vc98\include\algorithm(856) : error C2676: binary '<' : 'struct StarDatabase::CrossIndexEntry' does not define this operator or a conversion to a type acceptable to the predefined operator
c:\program files\microsoft visual studio\vc98\include\algorithm(847) : see reference to function template instantiation 'struct StarDatabase::CrossIndexEntry *__cdecl std::_Lower_bound(struct StarDatabase::CrossIndexEntry *,struct StarDataba
se::CrossIndexEntry *,const struct StarDatabase::CrossIndexEntry &,int *)' being compiled
I have the latest updates for VC 6.0++. Was wondering if anyone knew of a work around. I don't have the funds to move to the latest VC# compiler or such.
TIA,
Solstice