syzygy/tbprobe.cpp
Fix warnings on MinGW gcc 8.1.0
Changing memset(this, 0, sizeof(WDLEntry)); to memset(static_cast<void*>(this), 0, sizeof(WDLEntry));
and so on
position.h position.cpp endgame.cpp
Fix honor's rules counting for real game
Leave rule50_count() count 50 moves as normal chess.
But using counting_limit() and honor_rule_count() to take care about honor's rule counting for the real game.
misc.cpp Fix warning on MinGW gcc 8.1.0 #1619 https://github.com/official-stockfish/Stockfish/issues/1619 Changing
(fun1_t)
to(fun1_t)(void(*)())
and so onsyzygy/tbprobe.cpp Fix warnings on MinGW gcc 8.1.0 Changing
memset(this, 0, sizeof(WDLEntry));
tomemset(static_cast<void*>(this), 0, sizeof(WDLEntry));
and so onposition.h position.cpp endgame.cpp Fix honor's rules counting for real game
Leave
rule50_count()
count 50 moves as normal chess.But using
counting_limit()
andhonor_rule_count()
to take care about honor's rule counting for the real game.