Koncord
10-29-2012, 04:25 PM
Dear Recycler and VAULT-TEC Multiplayer team.
When I compile vaultmp, I get a series of errors:
||=== vaultmp, Release ===|
C:\Users\Koncord\Desktop\Foxtacles-vaultmp-852fb2f\source\RakNet\GetTime.cpp||In function 'RakNet::TimeUS GetTimeUS_Windows()':|
C:\Users\Koncord\Desktop\Foxtacles-vaultmp-852fb2f\source\RakNet\GetTime.cpp|143|error: cannot convert 'DWORD* {aka long unsigned int*}' to 'PDWORD_PTR {aka long long unsigned int*}' for argument '2' to 'WINBOOL GetProcessAffinityMask(HANDLE, PDWORD_PTR, PDWORD_PTR)'|
||=== Build finished: 1 errors, 0 warnings ===|
C:\Users\Koncord\Desktop\Foxtacles-vaultmp-852fb2f\source\API.cpp||In constructor 'API::op_Arg5::op_Arg5()':|
C:\Users\Koncord\Desktop\Foxtacles-vaultmp-852fb2f\source\API.cpp|162|error: cast from 'char**' to 'unsigned int' loses precision [-fpermissive]|
C:\Users\Koncord\Desktop\Foxtacles-vaultmp-852fb2f\source\API.cpp|162|error: cast from 'unsigned int*' to 'unsigned int' loses precision [-fpermissive]|
C:\Users\Koncord\Desktop\Foxtacles-vaultmp-852fb2f\source\API.cpp|162|warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]|
C:\Users\Koncord\Desktop\Foxtacles-vaultmp-852fb2f\source\API.cpp|163|error: cast from 'unsigned int**' to 'unsigned int' loses precision [-fpermissive]|
C:\Users\Koncord\Desktop\Foxtacles-vaultmp-852fb2f\source\API.cpp|163|error: cast from 'unsigned int*' to 'unsigned int' loses precision [-fpermissive]|
C:\Users\Koncord\Desktop\Foxtacles-vaultmp-852fb2f\source\API.cpp|163|warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]|
C:\Users\Koncord\Desktop\Foxtacles-vaultmp-852fb2f\source\API.cpp|164|error: cast from 'char**' to 'unsigned int' loses precision [-fpermissive]|
C:\Users\Koncord\Desktop\Foxtacles-vaultmp-852fb2f\source\API.cpp|164|error: cast from 'unsigned int*' to 'unsigned int' loses precision [-fpermissive]|
C:\Users\Koncord\Desktop\Foxtacles-vaultmp-852fb2f\source\API.cpp|164|warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]|
C:\Users\Koncord\Desktop\Foxtacles-vaultmp-852fb2f\source\API.cpp|899|error: cast from 'char*' to 'unsigned int' loses precision [-fpermissive]|
C:\Users\Koncord\Desktop\Foxtacles-vaultmp-852fb2f\source\API.cpp|899|error: cast from 'char*' to 'unsigned int' loses precision [-fpermissive]|
C:\Users\Koncord\Desktop\Foxtacles-vaultmp-852fb2f\source\API.cpp|902|error: cast from 'char*' to 'unsigned int' loses precision [-fpermissive]|
C:\Users\Koncord\Desktop\Foxtacles-vaultmp-852fb2f\source\API.cpp|902|error: cast from 'char*' to 'unsigned int' loses precision [-fpermissive]|
C:\Users\Koncord\Desktop\Foxtacles-vaultmp-852fb2f\source\Game.cpp|139|error: cast from 'double*' to 'unsigned int' loses precision [-fpermissive]|
C:\Users\Koncord\Desktop\Foxtacles-vaultmp-852fb2f\source\Game.cpp|140|error: cast from 'double*' to 'unsigned int' loses precision [-fpermissive]|
C:\Users\Koncord\Desktop\Foxtacles-vaultmp-852fb2f\source\Game.cpp|141|error: cast from 'double*' to 'unsigned int' loses precision [-fpermissive]|
||=== Build finished: 14 errors, 3 warnings ===|
C:\Users\Koncord\Desktop\Foxtacles-vaultmp-852fb2f\source\Game.cpp|142|error: cast from 'double*' to 'unsigned int' loses precision [-fpermissive]|
||=== Build finished: 15 errors, 3 warnings ===|
Why will not you use the new style code?
If this overcome compilation step, I can try to implement versions and plugin synchronization.
Excuse me for my english ^_^
When I compile vaultmp, I get a series of errors:
||=== vaultmp, Release ===|
C:\Users\Koncord\Desktop\Foxtacles-vaultmp-852fb2f\source\RakNet\GetTime.cpp||In function 'RakNet::TimeUS GetTimeUS_Windows()':|
C:\Users\Koncord\Desktop\Foxtacles-vaultmp-852fb2f\source\RakNet\GetTime.cpp|143|error: cannot convert 'DWORD* {aka long unsigned int*}' to 'PDWORD_PTR {aka long long unsigned int*}' for argument '2' to 'WINBOOL GetProcessAffinityMask(HANDLE, PDWORD_PTR, PDWORD_PTR)'|
||=== Build finished: 1 errors, 0 warnings ===|
C:\Users\Koncord\Desktop\Foxtacles-vaultmp-852fb2f\source\API.cpp||In constructor 'API::op_Arg5::op_Arg5()':|
C:\Users\Koncord\Desktop\Foxtacles-vaultmp-852fb2f\source\API.cpp|162|error: cast from 'char**' to 'unsigned int' loses precision [-fpermissive]|
C:\Users\Koncord\Desktop\Foxtacles-vaultmp-852fb2f\source\API.cpp|162|error: cast from 'unsigned int*' to 'unsigned int' loses precision [-fpermissive]|
C:\Users\Koncord\Desktop\Foxtacles-vaultmp-852fb2f\source\API.cpp|162|warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]|
C:\Users\Koncord\Desktop\Foxtacles-vaultmp-852fb2f\source\API.cpp|163|error: cast from 'unsigned int**' to 'unsigned int' loses precision [-fpermissive]|
C:\Users\Koncord\Desktop\Foxtacles-vaultmp-852fb2f\source\API.cpp|163|error: cast from 'unsigned int*' to 'unsigned int' loses precision [-fpermissive]|
C:\Users\Koncord\Desktop\Foxtacles-vaultmp-852fb2f\source\API.cpp|163|warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]|
C:\Users\Koncord\Desktop\Foxtacles-vaultmp-852fb2f\source\API.cpp|164|error: cast from 'char**' to 'unsigned int' loses precision [-fpermissive]|
C:\Users\Koncord\Desktop\Foxtacles-vaultmp-852fb2f\source\API.cpp|164|error: cast from 'unsigned int*' to 'unsigned int' loses precision [-fpermissive]|
C:\Users\Koncord\Desktop\Foxtacles-vaultmp-852fb2f\source\API.cpp|164|warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]|
C:\Users\Koncord\Desktop\Foxtacles-vaultmp-852fb2f\source\API.cpp|899|error: cast from 'char*' to 'unsigned int' loses precision [-fpermissive]|
C:\Users\Koncord\Desktop\Foxtacles-vaultmp-852fb2f\source\API.cpp|899|error: cast from 'char*' to 'unsigned int' loses precision [-fpermissive]|
C:\Users\Koncord\Desktop\Foxtacles-vaultmp-852fb2f\source\API.cpp|902|error: cast from 'char*' to 'unsigned int' loses precision [-fpermissive]|
C:\Users\Koncord\Desktop\Foxtacles-vaultmp-852fb2f\source\API.cpp|902|error: cast from 'char*' to 'unsigned int' loses precision [-fpermissive]|
C:\Users\Koncord\Desktop\Foxtacles-vaultmp-852fb2f\source\Game.cpp|139|error: cast from 'double*' to 'unsigned int' loses precision [-fpermissive]|
C:\Users\Koncord\Desktop\Foxtacles-vaultmp-852fb2f\source\Game.cpp|140|error: cast from 'double*' to 'unsigned int' loses precision [-fpermissive]|
C:\Users\Koncord\Desktop\Foxtacles-vaultmp-852fb2f\source\Game.cpp|141|error: cast from 'double*' to 'unsigned int' loses precision [-fpermissive]|
||=== Build finished: 14 errors, 3 warnings ===|
C:\Users\Koncord\Desktop\Foxtacles-vaultmp-852fb2f\source\Game.cpp|142|error: cast from 'double*' to 'unsigned int' loses precision [-fpermissive]|
||=== Build finished: 15 errors, 3 warnings ===|
Why will not you use the new style code?
If this overcome compilation step, I can try to implement versions and plugin synchronization.
Excuse me for my english ^_^