thread.c(455): warning C4028: formal parameter 1 different from declaration
thread.c(888): warning C4028: formal parameter 1 different from declaration
utility.c(2558): warning C4477: 'printf' : format string '%llu' requires an argument of type 'unsigned __int64', but variadic argument 1 has type 'DWORD'
utility.c(2591): warning C4477: 'printf' : format string '%I64d' requires an argument of type '__int64', but variadic argument 1 has type 'ULONG'
tbprobe.c(28): fatal error C1083: Cannot open include file: 'stdatomic.h': No such file or directory
Compile halts.
Removed tb support... crafty.c (line 28) //tbprobe.c
book.c(1439): error C2440: 'function': cannot convert from 'int (__fastcall *)(const void *,const void *)' to '_CoreCrtNonSecureSearchSortCompareFunction'
book.c(1439): warning C4024: 'qsort': different types for formal and actual parameter 4
option.c(878): error C2708: '__builtin_clzll': actual parameters length in bytes differs from previous call or reference
option.c(920): error C2708: '__builtin_clzll': actual parameters length in bytes differs from previous call or reference
option.c(957): error C2708: '__builtin_clzll': actual parameters length in bytes differs from previous call or reference
Compiler halts.
--------------------------------------------------------------------------------------------------------
Warnings:
thread.c(455): warning C4028: formal parameter 1 different from declaration
Code: Select all
int ThreadSplit(TREE * tree, int ply, int depth, int alpha, int o_alpha, int done)
Code: Select all
TREE *GetBlock(TREE * RESTRICT parent, int tid) {
utility.c(2558): warning C4477: 'printf' : format string '%llu' requires an argument of type 'unsigned __int64', but variadic argument 1 has type 'DWORD'
Code: Select all
printf("Current ideal CPU is %llu\n", dwCPU);
Code: Select all
printf("Current ideal CPU is %lu\n", dwCPU);
utility.c(2591): warning C4477: 'printf' : format string '%I64d' requires an argument of type '__int64', but variadic argument 1 has type 'ULONG'
Code: Select all
printf("Starting thread on node " PRId64 " CPU mask %I64d\n", ulNumaNode,
Code: Select all
printf("Starting thread on node " PRId64 " CPU mask %ld\n", ulNumaNode,
book.c(1439): warning C4024: 'qsort': different types for formal and actual parameter 4
book.c, line 1439 seems incorrect.
Code: Select all
qsort((char *) buffer, number, sizeof(BB_POSITION), BookupCompare);
Code: Select all
hash_table_size = ((1ull) << MSB(new_hash_size)) / 16;
Code: Select all
hash_path_size = ((1ull) << MSB(new_hash_size / sizeof(HPATH_ENTRY)));
Code: Select all
1ull << MSB(new_hash_size / sizeof(PAWN_HASH_ENTRY));