| www.delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-bounces using -f |
| From: | badri8088 AT yahoo DOT com (badri8088) |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Chess chaos! |
| Date: | 6 Apr 2002 04:54:34 -0800 |
| Organization: | http://groups.google.com/ |
| Lines: | 60 |
| Message-ID: | <2cf22887.0204060454.742703c0@posting.google.com> |
| NNTP-Posting-Host: | 202.71.145.40 |
| X-Trace: | posting.google.com 1018097674 16832 127.0.0.1 (6 Apr 2002 12:54:34 GMT) |
| X-Complaints-To: | groups-abuse AT google DOT com |
| NNTP-Posting-Date: | 6 Apr 2002 12:54:34 GMT |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
Hi
The foll. was a makefile written by me to compile gnuchess for
gcc(DJGPP).
-----------------------------GNUmakefile--------------------------------
SOURCES = atak.c book.c cmd.c epd.c eval.c genmove.c \
hash.c hung.c init.c iterate.c main.c move.c \
null.c output.c players.c pgn.c \
quiesce.c random.c repeat.c search.c solve.c \
sort.c swap.c test.c \
ttable.c util.c version.c \
common.h book.h eval.h inlines.h version.h
OBJECTS = atak.o book.o cmd.o \
epd.o eval.o genmove.o hash.o \
hung.o init.o iterate.o main.o \
move.o null.o output.o \
players.o pgn.o quiesce.o \
random.o repeat.o search.o \
solve.o sort.o swap.o test.o \
ttable.o util.o version.o
COMMON_DEPS = atak.o book.o genmove.o hash.o hung.o null.o \
output.o pgn.o quiesce.o random.o repeat.o \
solve.o sort.o swap.o test.o ttable.o util.o
$(COMMON_DEPS) : common.h
book.o pgn.o : book.h
pgn.o : version.h
chess : $(OBJECTS)
gcc -o chess $(OBJECTS)
.PHONEY : dust
dust :
-rm chess $(OBJECTS)
----------------------------------EOF---------------------------------------
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 .
what command should i give make to continue in-spite of errors &
warnings(as above) ??
whats "uint64_t" in common.h ??
thanx
badri
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |