All pastes #593536 Raw Edit

Anonymous

public text v1 · immutable
#593536 ·published 2007-06-28 12:00 UTC
rendered paste body
Compiling...
HkInit.cpp
c:\program files\microsoft games\asgard v5 alpha 1\flhook1.5.5\flhook1.5.5\flhook1.5.5src\source\hkinit.cpp(297) : error C2065: 'i' : undeclared identifier
c:\program files\microsoft games\asgard v5 alpha 1\flhook1.5.5\flhook1.5.5\flhook1.5.5src\source\hkinit.cpp(299) : error C2228: left of '.iConnects' must have class/struct/union
HkCbChat.cpp
c:\program files\microsoft games\asgard v5 alpha 1\flhook1.5.5\flhook1.5.5\flhook1.5.5src\source\hkcbchat.cpp(17) : error C2664: 'BinaryRDLReader::extract_text_from_buffer' : cannot convert parameter 1 from 'wchar_t [1024]' to 'unsigned short *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
HkCbDeath.cpp
c:\program files\microsoft games\asgard v5 alpha 1\flhook1.5.5\flhook1.5.5\flhook1.5.5src\source\hkcbdeath.cpp(10) : warning C4996: 'wcscpy' was declared deprecated
        c:\program files\microsoft visual studio 8\vc\include\string.h(250) : see declaration of 'wcscpy'
        Message: 'This function or variable may be unsafe. Consider using wcscpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
c:\program files\microsoft games\asgard v5 alpha 1\flhook1.5.5\flhook1.5.5\flhook1.5.5src\source\hkcbdeath.cpp(11) : warning C4996: 'swprintf' was declared deprecated
        c:\program files\microsoft visual studio 8\vc\include\swprintf.inl(85) : see declaration of 'swprintf'
        Message: 'swprintf has been changed to conform with the ISO C standard, adding an extra character count parameter. To use traditional Microsoft swprintf, set _CRT_NON_CONFORMING_SWPRINTFS.'
c:\program files\microsoft games\asgard v5 alpha 1\flhook1.5.5\flhook1.5.5\flhook1.5.5src\source\hkcbdeath.cpp(131) : warning C4996: 'swprintf' was declared deprecated
        c:\program files\microsoft visual studio 8\vc\include\swprintf.inl(85) : see declaration of 'swprintf'
        Message: 'swprintf has been changed to conform with the ISO C standard, adding an extra character count parameter. To use traditional Microsoft swprintf, set _CRT_NON_CONFORMING_SWPRINTFS.'
c:\program files\microsoft games\asgard v5 alpha 1\flhook1.5.5\flhook1.5.5\flhook1.5.5src\source\hkcbdeath.cpp(139) : error C2440: 'initializing' : cannot convert from 'const unsigned short *' to 'std::basic_string<_Elem,_Traits,_Ax>'
        with
        [
            _Elem=wchar_t,
            _Traits=std::char_traits,
            _Ax=std::allocator
        ]
        No constructor could take the source type, or constructor overload resolution was ambiguous
c:\program files\microsoft games\asgard v5 alpha 1\flhook1.5.5\flhook1.5.5\flhook1.5.5src\source\hkcbdeath.cpp(164) : error C2440: 'initializing' : cannot convert from 'const unsigned short *' to 'std::basic_string<_Elem,_Traits,_Ax>'
        with
        [
            _Elem=wchar_t,
            _Traits=std::char_traits,
            _Ax=std::allocator
        ]
        No constructor could take the source type, or constructor overload resolution was ambiguous
c:\program files\microsoft games\asgard v5 alpha 1\flhook1.5.5\flhook1.5.5\flhook1.5.5src\source\hkcbdeath.cpp(179) : error C2440: 'initializing' : cannot convert from 'const unsigned short *' to 'std::basic_string<_Elem,_Traits,_Ax>'
        with
        [
            _Elem=wchar_t,
            _Traits=std::char_traits,
            _Ax=std::allocator
        ]
        No constructor could take the source type, or constructor overload resolution was ambiguous
HkCbIServerImpl.cpp
c:\program files\microsoft games\asgard v5 alpha 1\flhook1.5.5\flhook1.5.5\flhook1.5.5src\source\hkcbiserverimpl.cpp(97) : error C2664: 'BinaryRDLReader::extract_text_from_buffer' : cannot convert parameter 1 from 'wchar_t [1024]' to 'unsigned short *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\program files\microsoft games\asgard v5 alpha 1\flhook1.5.5\flhook1.5.5\flhook1.5.5src\source\hkcbiserverimpl.cpp(122) : error C2679: binary '=' : no operator found which takes a right-hand operand of type 'const unsigned short *' (or there is no acceptable conversion)
        c:\program files\microsoft visual studio 8\vc\include\xstring(875): could be 'std::basic_string<_Elem,_Traits,_Ax> &std::basic_string<_Elem,_Traits,_Ax>::operator =(const std::basic_string<_Elem,_Traits,_Ax> &)'
        with
        [
            _Elem=wchar_t,
            _Traits=std::char_traits,
            _Ax=std::allocator
        ]
        c:\program files\microsoft visual studio 8\vc\include\xstring(880): or 'std::basic_string<_Elem,_Traits,_Ax> &std::basic_string<_Elem,_Traits,_Ax>::operator =(const _Elem *)'
        with
        [
            _Elem=wchar_t,
            _Traits=std::char_traits,
            _Ax=std::allocator
        ]
        c:\program files\microsoft visual studio 8\vc\include\xstring(885): or 'std::basic_string<_Elem,_Traits,_Ax> &std::basic_string<_Elem,_Traits,_Ax>::operator =(_Elem)'
        with
        [
            _Elem=wchar_t,
            _Traits=std::char_traits,
            _Ax=std::allocator
        ]
        while trying to match the argument list '(std::wstring, const unsigned short *)'
c:\program files\microsoft games\asgard v5 alpha 1\flhook1.5.5\flhook1.5.5\flhook1.5.5src\source\hkcbiserverimpl.cpp(136) : error C2679: binary '+=' : no operator found which takes a right-hand operand of type 'const unsigned short *' (or there is no acceptable conversion)
        c:\program files\microsoft visual studio 8\vc\include\xstring(890): could be 'std::basic_string<_Elem,_Traits,_Ax> &std::basic_string<_Elem,_Traits,_Ax>::operator +=(const std::basic_string<_Elem,_Traits,_Ax> &)'
        with
        [
            _Elem=wchar_t,
            _Traits=std::char_traits,
            _Ax=std::allocator
        ]
        c:\program files\microsoft visual studio 8\vc\include\xstring(895): or 'std::basic_string<_Elem,_Traits,_Ax> &std::basic_string<_Elem,_Traits,_Ax>::operator +=(const _Elem *)'
        with
        [
            _Elem=wchar_t,
            _Traits=std::char_traits,
            _Ax=std::allocator
        ]
        c:\program files\microsoft visual studio 8\vc\include\xstring(900): or 'std::basic_string<_Elem,_Traits,_Ax> &std::basic_string<_Elem,_Traits,_Ax>::operator +=(_Elem)'
        with
        [
            _Elem=wchar_t,
            _Traits=std::char_traits,
            _Ax=std::allocator
        ]
        while trying to match the argument list '(std::wstring, const unsigned short *)'
c:\program files\microsoft games\asgard v5 alpha 1\flhook1.5.5\flhook1.5.5\flhook1.5.5src\source\hkcbiserverimpl.cpp(153) : error C2679: binary '+=' : no operator found which takes a right-hand operand of type 'const unsigned short *' (or there is no acceptable conversion)
        c:\program files\microsoft visual studio 8\vc\include\xstring(890): could be 'std::basic_string<_Elem,_Traits,_Ax> &std::basic_string<_Elem,_Traits,_Ax>::operator +=(const std::basic_string<_Elem,_Traits,_Ax> &)'
        with
        [
            _Elem=wchar_t,
            _Traits=std::char_traits,
            _Ax=std::allocator
        ]
        c:\program files\microsoft visual studio 8\vc\include\xstring(895): or 'std::basic_string<_Elem,_Traits,_Ax> &std::basic_string<_Elem,_Traits,_Ax>::operator +=(const _Elem *)'
        with
        [
            _Elem=wchar_t,
            _Traits=std::char_traits,
            _Ax=std::allocator
        ]
        c:\program files\microsoft visual studio 8\vc\include\xstring(900): or 'std::basic_string<_Elem,_Traits,_Ax> &std::basic_string<_Elem,_Traits,_Ax>::operator +=(_Elem)'
        with
        [
            _Elem=wchar_t,
            _Traits=std::char_traits,
            _Ax=std::allocator
        ]
        while trying to match the argument list '(std::wstring, const unsigned short *)'
c:\program files\microsoft games\asgard v5 alpha 1\flhook1.5.5\flhook1.5.5\flhook1.5.5src\source\hkcbiserverimpl.cpp(198) : error C2440: 'initializing' : cannot convert from 'const unsigned short *' to 'std::basic_string<_Elem,_Traits,_Ax>'
        with
        [
            _Elem=wchar_t,
            _Traits=std::char_traits,
            _Ax=std::allocator
        ]
        No constructor could take the source type, or constructor overload resolution was ambiguous
c:\program files\microsoft games\asgard v5 alpha 1\flhook1.5.5\flhook1.5.5\flhook1.5.5src\source\hkcbiserverimpl.cpp(336) : error C2440: 'initializing' : cannot convert from 'const unsigned short *' to 'const wchar_t *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\program files\microsoft games\asgard v5 alpha 1\flhook1.5.5\flhook1.5.5\flhook1.5.5src\source\hkcbiserverimpl.cpp(337) : error C2446: ':' : no conversion from 'const wchar_t *' to 'const unsigned short *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\program files\microsoft games\asgard v5 alpha 1\flhook1.5.5\flhook1.5.5\flhook1.5.5src\source\hkcbiserverimpl.cpp(347) : error C2440: 'initializing' : cannot convert from 'const unsigned short *' to 'std::basic_string<_Elem,_Traits,_Ax>'
        with
        [
            _Elem=wchar_t,
            _Traits=std::char_traits,
            _Ax=std::allocator
        ]
        No constructor could take the source type, or constructor overload resolution was ambiguous
c:\program files\microsoft games\asgard v5 alpha 1\flhook1.5.5\flhook1.5.5\flhook1.5.5src\source\hkcbiserverimpl.cpp(435) : error C2440: 'initializing' : cannot convert from 'const unsigned short *' to 'std::basic_string<_Elem,_Traits,_Ax>'
        with
        [
            _Elem=wchar_t,
            _Traits=std::char_traits,
            _Ax=std::allocator
        ]
        No constructor could take the source type, or constructor overload resolution was ambiguous
c:\program files\microsoft games\asgard v5 alpha 1\flhook1.5.5\flhook1.5.5\flhook1.5.5src\source\hkcbiserverimpl.cpp(480) : error C2440: 'initializing' : cannot convert from 'const unsigned short *' to 'const wchar_t *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\program files\microsoft games\asgard v5 alpha 1\flhook1.5.5\flhook1.5.5\flhook1.5.5src\source\hkcbiserverimpl.cpp(537) : error C2440: 'initializing' : cannot convert from 'const unsigned short *' to 'const wchar_t *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\program files\microsoft games\asgard v5 alpha 1\flhook1.5.5\flhook1.5.5\flhook1.5.5src\source\hkcbiserverimpl.cpp(656) : error C2440: 'initializing' : cannot convert from 'const unsigned short *' to 'const wchar_t *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
HkUserCmd.cpp
c:\program files\microsoft games\asgard v5 alpha 1\flhook1.5.5\flhook1.5.5\flhook1.5.5src\source\hkusercmd.cpp(25) : warning C4996: '_vsnwprintf' was declared deprecated
        c:\program files\microsoft visual studio 8\vc\include\stdio.h(450) : see declaration of '_vsnwprintf'
        Message: 'This function or variable may be unsafe. Consider using _vsnwprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
c:\program files\microsoft games\asgard v5 alpha 1\flhook1.5.5\flhook1.5.5\flhook1.5.5src\source\hkusercmd.cpp(282) : error C2440: 'initializing' : cannot convert from 'const unsigned short *' to 'std::basic_string<_Elem,_Traits,_Ax>'
        with
        [
            _Elem=wchar_t,
            _Traits=std::char_traits,
            _Ax=std::allocator
        ]
        No constructor could take the source type, or constructor overload resolution was ambiguous
c:\program files\microsoft games\asgard v5 alpha 1\flhook1.5.5\flhook1.5.5\flhook1.5.5src\source\hkusercmd.cpp(536) : error C2440: 'initializing' : cannot convert from 'const unsigned short *' to 'std::basic_string<_Elem,_Traits,_Ax>'
        with
        [
            _Elem=wchar_t,
            _Traits=std::char_traits,
            _Ax=std::allocator
        ]
        No constructor could take the source type, or constructor overload resolution was ambiguous
HkFuncLog.cpp
c:\program files\microsoft games\asgard v5 alpha 1\flhook1.5.5\flhook1.5.5\flhook1.5.5src\source\hkfunclog.cpp(11) : warning C4996: '_vsnwprintf' was declared deprecated
        c:\program files\microsoft visual studio 8\vc\include\stdio.h(450) : see declaration of '_vsnwprintf'
        Message: 'This function or variable may be unsafe. Consider using _vsnwprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
c:\program files\microsoft games\asgard v5 alpha 1\flhook1.5.5\flhook1.5.5\flhook1.5.5src\source\hkfunclog.cpp(16) : error C2440: 'initializing' : cannot convert from 'const unsigned short *' to 'std::basic_string<_Elem,_Traits,_Ax>'
        with
        [
            _Elem=wchar_t,
            _Traits=std::char_traits,
            _Ax=std::allocator
        ]
        No constructor could take the source type, or constructor overload resolution was ambiguous
c:\program files\microsoft games\asgard v5 alpha 1\flhook1.5.5\flhook1.5.5\flhook1.5.5src\source\hkfunclog.cpp(62) : error C2440: 'initializing' : cannot convert from 'const unsigned short *' to 'const wchar_t *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\program files\microsoft games\asgard v5 alpha 1\flhook1.5.5\flhook1.5.5\flhook1.5.5src\source\hkfunclog.cpp(86) : error C2440: 'initializing' : cannot convert from 'const unsigned short *' to 'const wchar_t *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
HkFuncOther.cpp
c:\program files\microsoft games\asgard v5 alpha 1\flhook1.5.5\flhook1.5.5\flhook1.5.5src\source\hkfuncother.cpp(68) : error C2440: 'initializing' : cannot convert from 'const unsigned short *' to 'const wchar_t *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
HkFuncPlayers.cpp
c:\program files\microsoft games\asgard v5 alpha 1\flhook1.5.5\flhook1.5.5\flhook1.5.5src\source\hkfuncplayers.cpp(425) : error C2679: binary '=' : no operator found which takes a right-hand operand of type 'const unsigned short *' (or there is no acceptable conversion)
        c:\program files\microsoft visual studio 8\vc\include\xstring(875): could be 'std::basic_string<_Elem,_Traits,_Ax> &std::basic_string<_Elem,_Traits,_Ax>::operator =(const std::basic_string<_Elem,_Traits,_Ax> &)'
        with
        [
            _Elem=wchar_t,
            _Traits=std::char_traits,
            _Ax=std::allocator
        ]
        c:\program files\microsoft visual studio 8\vc\include\xstring(880): or 'std::basic_string<_Elem,_Traits,_Ax> &std::basic_string<_Elem,_Traits,_Ax>::operator =(const _Elem *)'
        with
        [
            _Elem=wchar_t,
            _Traits=std::char_traits,
            _Ax=std::allocator
        ]
        c:\program files\microsoft visual studio 8\vc\include\xstring(885): or 'std::basic_string<_Elem,_Traits,_Ax> &std::basic_string<_Elem,_Traits,_Ax>::operator =(_Elem)'
        with
        [
            _Elem=wchar_t,
            _Traits=std::char_traits,
            _Ax=std::allocator
        ]
        while trying to match the argument list '(std::wstring, const unsigned short *)'
c:\program files\microsoft games\asgard v5 alpha 1\flhook1.5.5\flhook1.5.5\flhook1.5.5src\source\hkfuncplayers.cpp(954) : error C2679: binary '=' : no operator found which takes a right-hand operand of type 'const unsigned short *' (or there is no acceptable conversion)
        c:\program files\microsoft visual studio 8\vc\include\xstring(875): could be 'std::basic_string<_Elem,_Traits,_Ax> &std::basic_string<_Elem,_Traits,_Ax>::operator =(const std::basic_string<_Elem,_Traits,_Ax> &)'
        with
        [
            _Elem=wchar_t,
            _Traits=std::char_traits,
            _Ax=std::allocator
        ]
        c:\program files\microsoft visual studio 8\vc\include\xstring(880): or 'std::basic_string<_Elem,_Traits,_Ax> &std::basic_string<_Elem,_Traits,_Ax>::operator =(const _Elem *)'
        with
        [
            _Elem=wchar_t,
            _Traits=std::char_traits,
            _Ax=std::allocator
        ]
        c:\program files\microsoft visual studio 8\vc\include\xstring(885): or 'std::basic_string<_Elem,_Traits,_Ax> &std::basic_string<_Elem,_Traits,_Ax>::operator =(_Elem)'
        with
        [
            _Elem=wchar_t,
            _Traits=std::char_traits,
            _Ax=std::allocator
        ]
        while trying to match the argument list '(std::wstring, const unsigned short *)'
c:\program files\microsoft games\asgard v5 alpha 1\flhook1.5.5\flhook1.5.5\flhook1.5.5src\source\hkfuncplayers.cpp(972) : error C2440: 'initializing' : cannot convert from 'const unsigned short *' to 'const wchar_t *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\program files\microsoft games\asgard v5 alpha 1\flhook1.5.5\flhook1.5.5\flhook1.5.5src\source\hkfuncplayers.cpp(1023) : error C2440: 'initializing' : cannot convert from 'const unsigned short *' to 'const wchar_t *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
HkFuncTools.cpp
c:\program files\microsoft games\asgard v5 alpha 1\flhook1.5.5\flhook1.5.5\flhook1.5.5src\source\hkfunctools.cpp(82) : warning C4996: 'fopen' was declared deprecated
        c:\program files\microsoft visual studio 8\vc\include\stdio.h(234) : see declaration of 'fopen'
        Message: 'This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
c:\program files\microsoft games\asgard v5 alpha 1\flhook1.5.5\flhook1.5.5\flhook1.5.5src\source\hkfunctools.cpp(157) : warning C4996: 'swscanf' was declared deprecated
        c:\program files\microsoft visual studio 8\vc\include\stdio.h(542) : see declaration of 'swscanf'
        Message: 'This function or variable may be unsafe. Consider using swscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
c:\program files\microsoft games\asgard v5 alpha 1\flhook1.5.5\flhook1.5.5\flhook1.5.5src\source\hkfunctools.cpp(183) : error C2440: 'initializing' : cannot convert from 'const unsigned short *' to 'const wchar_t *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\program files\microsoft games\asgard v5 alpha 1\flhook1.5.5\flhook1.5.5\flhook1.5.5src\source\hkfunctools.cpp(255) : error C2679: binary '=' : no operator found which takes a right-hand operand of type 'const unsigned short *' (or there is no acceptable conversion)
        c:\program files\microsoft visual studio 8\vc\include\xstring(875): could be 'std::basic_string<_Elem,_Traits,_Ax> &std::basic_string<_Elem,_Traits,_Ax>::operator =(const std::basic_string<_Elem,_Traits,_Ax> &)'
        with
        [
            _Elem=wchar_t,
            _Traits=std::char_traits,
            _Ax=std::allocator
        ]
        c:\program files\microsoft visual studio 8\vc\include\xstring(880): or 'std::basic_string<_Elem,_Traits,_Ax> &std::basic_string<_Elem,_Traits,_Ax>::operator =(const _Elem *)'
        with
        [
            _Elem=wchar_t,
            _Traits=std::char_traits,
            _Ax=std::allocator
        ]
        c:\program files\microsoft visual studio 8\vc\include\xstring(885): or 'std::basic_string<_Elem,_Traits,_Ax> &std::basic_string<_Elem,_Traits,_Ax>::operator =(_Elem)'
        with
        [
            _Elem=wchar_t,
            _Traits=std::char_traits,
            _Ax=std::allocator
        ]
        while trying to match the argument list '(std::wstring, const unsigned short *)'
Settings.cpp
c:\program files\microsoft games\asgard v5 alpha 1\flhook1.5.5\flhook1.5.5\flhook1.5.5src\source\settings.cpp(138) : warning C4996: 'sprintf' was declared deprecated
        c:\program files\microsoft visual studio 8\vc\include\stdio.h(345) : see declaration of 'sprintf'
        Message: 'This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
c:\program files\microsoft games\asgard v5 alpha 1\flhook1.5.5\flhook1.5.5\flhook1.5.5src\source\settings.cpp(151) : error C2065: 'i' : undeclared identifier
Generating Code...