OrionVeteran
Deity
I received the following SDK error, when compiling my new DLL. I did make any changes to the file CvXMLLoadUtility.cpp, but did make changes in the CvXMLLoadUtility.h and CvXMLLoadUtilitySet.cpp files. Any ideas?
Code:
1>CvXMLLoadUtility.cpp
1>CvXMLLoadUtility.cpp(180) : error C2668: 'CvXMLLoadUtility::LoadGlobalClassInfo' : ambiguous call to overloaded function
1> c:\SDK\CvGameCoreDLL\CvXMLLoadUtility.h(379): could be 'void CvXMLLoadUtility::LoadGlobalClassInfo<CvEffectInfo>(std::vector<_Ty> &,const char *,const char *,const char *,bool,CvCacheObject *(__thiscall CvDLLUtilityIFaceBase::* )(const TCHAR *))'
1> with
1> [
1> _Ty=CvEffectInfo *
1> ]
1> c:\SDK\CvGameCoreDLL\CvXMLLoadUtility.h(365): or 'void CvXMLLoadUtility::LoadGlobalClassInfo<CvEffectInfo>(std::vector<_Ty> &,const char *,const char *,const char *,bool,CvCacheObject *(__thiscall CvDLLUtilityIFaceBase::* )(const TCHAR *),bool)'
1> with
1> [
1> _Ty=CvEffectInfo *
1> ]
1> while trying to match the argument list '(std::vector<_Ty>, const char [16], const char [5], const char [39], bool, bool)'
1> with
1> [
1> _Ty=CvEffectInfo *
1> ]
1>NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual C++ Toolkit 2003/bin/cl.exe"' : return code '0x2'
1>Stop.