Hopefully I've fixed the bad bugs I introduced in the last version. It still remains to be fully tested, however. Hope I got it right this time.
Linux + Windows binaries:
http://www.ironcode.com/data/Natwarlal011-bin.zip
Source:
http://www.ironcode.com/data/Natwarlal011-src.zip
Main Changes:
1. Two really huge bugs fixed in count_checks(), which were introduced in
version 0.10.
(a) 8/3r4/8/2R1Ppk1/1K6/8/8/8 w - f6 0 2
[diag]8/3r4/8/2R1Ppk1/1K6/8/8/8 w - f6 0 2[/diag]
In this position, if white played the EP capture, the discovered
check by the rook was counted twice.
(b) rn1k3r/ppp2ppp/5n2/6B1/8/4PN2/PPP2PPP/R3K2R w KQ - 0 1
[diag]rn1k3r/ppp2ppp/5n2/6B1/8/4PN2/PPP2PPP/R3K2R w KQ - 0 1[/diag]
In this position, if white castled queen side, the king was taken as the
piece giving check, while it should have been the Rook.
2. Added IID - Dosen't seem very useful.
3. Added mate distance pruning - yet to be tested

Pallav