You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BitBoards.h:4334:29: error: cannot convert ‘long unsigned int*’ to ‘unsigned int*’ for argument ‘1’ to ‘unsigned char _BitScanForward64(unsigned int*, long long unsigned int)’
BitBoards.h:4343:29: error: cannot convert ‘long unsigned int*’ to ‘unsigned int*’ for argument ‘1’ to ‘unsigned char _BitScanReverse64(unsigned int*, long long unsigned int)’
Compiling under MSYS2 gcc we have errors like:
BitBoards.h:4334:29: error: cannot convert ‘long unsigned int*’ to ‘unsigned int*’ for argument ‘1’ to ‘unsigned char _BitScanForward64(unsigned int*, long long unsigned int)’
BitBoards.h:4343:29: error: cannot convert ‘long unsigned int*’ to ‘unsigned int*’ for argument ‘1’ to ‘unsigned char _BitScanReverse64(unsigned int*, long long unsigned int)’
This is wrong due to for example:
https://msdn.microsoft.com/en-us/library/wfd9z0bb.aspx
unsigned char _BitScanForward64(
unsigned long * Index,
unsigned __int64 Mask
);
right is unsigned long, not uint in 1st argument...
MINGW64 from msys2 doesn't have such bugs...
So... other old problem is that we can't to use "GetTickCount64" for mingw or msys:
'GetTickCount64' was not declared in this scope
We can use "GetTickCount" only...
The text was updated successfully, but these errors were encountered: