I got the foll output--
C:\djgpp\openproj1\gnuchess-5.04\src>make
gcc -c -o atak.o atak.c
In file included from common.h:638,
from atak.c:29:
inlines.h: In function `leadz':
inlines.h:43: warning: right shift count >= width of type
inlines.h:43: warning: right shift count >= width of type
inlines.h:44: warning: right shift count >= width of type
inlines.h:44: warning: right shift count >= width of type
inlines.h: In function `nbits':
inlines.h:57: warning: right shift count >= width of type
inlines.h:57: warning: right shift count >= width of type
--------------------------------------------------------------
make stops here .................
I dont understand the foll code & it doesnt work in DJGPP.
--------------inlines.h-----------------------! -------
static inline unsigned char leadz (BitBoard b)
/********
*
* Returns the leading bit in a bitboard.
*Leftmost bit is 0 and
* rightmost bit is 63. Thanks to Robert Hyatt for
*this algorithm.
*
****/
{
if (b >> 48) return lzArray[b >> 48];
if (b >> 32) return lzArray[b >> 32] + 16;
if (b >> 16) return lzArray[b >> 16] + 32;
return lzArray[b] + 48;
}
----------------EOF----------------------------------- ANy help please ??