Open tissatussa opened 1 month ago
@tissatussa see the file egdb/platform.h for a Windows and Linux wrapper for this function: https://github.com/eygilbert/egdb_intl/blob/eacf10797e8f6c81d618caa7af1eba05df139ac7/egdb/platform.h#L373 https://github.com/eygilbert/egdb_intl/blob/eacf10797e8f6c81d618caa7af1eba05df139ac7/egdb/platform.h#L435
thanks, it looks like a solution, but i get this error :
error: too many arguments to function ‘int bit_scan_forward64(uint64_t)’
indeed the original function has two parameters, yours has one !?
in the code of some chess engine i find the part below. it contains the function
_BitScanForward64
which seems Windows specific .. i'm on Linux though, so i would like to use alternative code .. i found your #1 and that may hold an answer. Can you help ?btw. the
<intrin.h>
seems Windows specific also .. i tried to replace it by<x86intrin.h>
but the problem remains.