View Single Post
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 05-01-2018 , 07:56   Re: [EXTENSION] Late Downloads
Reply With Quote #32

ok, sorry. I forgot recursive flag when clone sm.

But there are another errors, I'm not sure I can handle this time:
Quote:
In file included from /home/alex/dev/hl2sdk-csgo/public/tier0/commonmacros.h:15:0,
from /home/alex/dev/hl2sdk-csgo/public/tier0/basetypes.h:11,
from /home/alex/dev/hl2sdk-csgo/public/tier0/dbg.h:15,
from /home/alex/dev/hl2sdk-csgo/public/tier1/convar.h:19,
from /home/alex/dev/hl2sdk-csgo/public/eiface.h:16,
from /home/alex/dev/metamod-source-master/core/ISmmAPI.h:45,
from /home/alex/dev/metamod-source-master/core/ISmmPlugin.h9,
from /home/alex/dev/sm/sourcemod/public/smsdk_ext.h:100,
from /home/alex/dev/latedl-master/extension.h:40,
from /home/alex/dev/latedl-master/extension.cpp2:
/home/alex/dev/hl2sdk-csgo/public/tier0/platform.h:727:0: error: "_stricmp" redefined [-Werror]
#define _stricmp stricmp
^
<command-line>:0:0: note: this is the location of the previous definition
/home/alex/dev/latedl-master/extension.cpp: In member function ‘virtual void CExtension::OnGameFrame(bool)’:
/home/alex/dev/latedl-master/extension.cpp:194:66: error: no matching function for call to ‘INetChannel::SendFile(const char*&, int, bool)’
resendSuccess = chan->SendFile(filename, g_TransferID++, false);
^
In file included from /home/alex/dev/latedl-master/extension.cpp6:0:
/home/alex/dev/hl2sdk-csgo/public/inetchannel.h:50:15: note: candidate: virtual bool INetChannel::SendFile(const char*, unsigned int)
virtual bool SendFile(const char *filename, unsigned int transferID) = 0;
^
/home/alex/dev/hl2sdk-csgo/public/inetchannel.h:50:15: note: candidate expects 2 arguments, 3 provided
/home/alex/dev/latedl-master/extension.cpp: In function ‘int SendFiles(const CUtlVector<const char*>&, int)’:
/home/alex/dev/latedl-master/extension.cpp29:52: error: no matching function for call to ‘INetChannel::SendFile(const char*&, int&, bool)’
if (chan->SendFile(filename, g_TransferID, false)) {
^
In file included from /home/alex/dev/latedl-master/extension.cpp6:0:
/home/alex/dev/hl2sdk-csgo/public/inetchannel.h:50:15: note: candidate: virtual bool INetChannel::SendFile(const char*, unsigned int)
virtual bool SendFile(const char *filename, unsigned int transferID) = 0;
^
/home/alex/dev/hl2sdk-csgo/public/inetchannel.h:50:15: note: candidate expects 2 arguments, 3 provided
cc1plus: all warnings being treated as errors
Quote:
In file included from /home/alex/dev/hl2sdk-csgo/public/tier0/commonmacros.h:15:0,
from /home/alex/dev/hl2sdk-csgo/public/tier0/basetypes.h:11,
from /home/alex/dev/hl2sdk-csgo/public/tier0/dbg.h:15,
from /home/alex/dev/hl2sdk-csgo/public/tier1/convar.h:19,
from /home/alex/dev/hl2sdk-csgo/public/eiface.h:16,
from /home/alex/dev/metamod-source-master/core/ISmmAPI.h:45,
from /home/alex/dev/metamod-source-master/core/ISmmPlugin.h9,
from /home/alex/dev/sm/sourcemod/public/smsdk_ext.h:100,
from /home/alex/dev/sm/sourcemod/public/smsdk_ext.cpp4:
/home/alex/dev/hl2sdk-csgo/public/tier0/platform.h:727:0: error: "_stricmp" redefined [-Werror]
#define _stricmp stricmp
^
<command-line>:0:0: note: this is the location of the previous definition
cc1plus: all warnings being treated as errors
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline