[solved]Field server build
Hi every one, I have work on partial source code to get working all build but I have a last error remaining on field server build.
I come here to ask if someone know a way to fix this error:
Code:
Compiling...
FieldIOCPSocket2.cpp
C:\prog\SourceCode\GameServer\FieldServer\Main\FieldIOCPSocket2.cpp(40521) : warning C4305: 'initializing' : truncation from 'int' to 'short'
C:\prog\SourceCode\GameServer\FieldServer\Main\FieldIOCPSocket2.cpp(40521) : warning C4309: 'initializing' : truncation of constant value
f:\microsoft visual studio\vc98\include\xmemory(34) : error C2660: 'new' : function does not take 2 parameters
f:\microsoft visual studio\vc98\include\xmemory(66) : see reference to function template instantiation 'void __cdecl std::_Construct(struct ActionInfo *,const struct ActionInfo &)' being compiled
Error executing cl.exe.
FieldServer.exe - 1 error(s), 2 warning(s)
it's the first time I see this kind of error, after some search it's appear to be in relation with overload of operator new and use of stl container, but after some search I don't find the source of this issue.
if someone have an idea of the way to follow th patch this error I will be happy to read him.
Re: [solved]Field server build
than you do soemthing wrong it works >:)
Re: [solved]Field server build
Post what you've done and we can see if it's correct or not. Simple.
Re: [solved]Field server build
I fixed it.. Thank everyone so much..!!
Re: [solved]Field server build
Helps to say whether it is was using this fix or not seeing as you didn't fix it initially.