=> Bootstrap dependency digest>=20010302: found digest-20210928 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for colchess-7.0 --- chess.o --- --- moves.o --- --- comp.o --- --- tactics.o --- --- chess.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I . -Wall -DPREFIX=\"/usr/pkg\" -c chess.c --- moves.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I . -Wall -DPREFIX=\"/usr/pkg\" -c moves.c --- comp.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I . -Wall -DPREFIX=\"/usr/pkg\" -c comp.c --- tactics.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I . -Wall -DPREFIX=\"/usr/pkg\" -c tactics.c --- comp.o --- comp.c:19:0: warning: "INFINITY" redefined #define INFINITY (100000000) /* Initial value for beta & -alpha */ In file included from comp.c:3:0: /usr/include/math.h:108:0: note: this is the location of the previous definition #define INFINITY __builtin_inff() comp.c: In function 'comp': comp.c:157:3: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] memset(sq->pawnfile, 0, sizeof(sq->pawnfile)); ^~~~~~ comp.c:157:3: warning: incompatible implicit declaration of built-in function 'memset' comp.c:157:3: note: include '' or provide a declaration of 'memset' --- tactics.o --- tactics.c: In function 'tact_rook_kpr': tactics.c:694:21: warning: variable 'b' set but not used [-Wunused-but-set-variable] int sc=ROOK_SCORE,b=y,a,dpp=0; ^ --- checks.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I . -Wall -DPREFIX=\"/usr/pkg\" -c checks.c checks.c: In function 'give_direct_check': checks.c:193:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (side==BLACK && fy==ky-1 && abs(fx-kx)==1) return 1;break; ^~ checks.c:193:64: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (side==BLACK && fy==ky-1 && abs(fx-kx)==1) return 1;break; ^~~~~ checks.c:198:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ((abs(kx-fx)==abs(ky-fy)) && check_spaces(sq,fx,fy,kx,ky,1)==1) return 1;break; ^~ checks.c:198:89: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if ((abs(kx-fx)==abs(ky-fy)) && check_spaces(sq,fx,fy,kx,ky,1)==1) return 1;break; ^~~~~ --- misc.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I . -Wall -DPREFIX=\"/usr/pkg\" -c misc.c misc.c: In function 'perform_epd_test': misc.c:628:31: warning: trigraph ??- ignored, use -trigraphs to enable [-Wtrigraphs] else fprintf(stderr," ??-Incorrect-??\n"); misc.c:665:18: warning: trigraph ??- ignored, use -trigraphs to enable [-Wtrigraphs] fprintf(fout,"??-Incorrect-?? ("); misc.c:508:77: warning: variable 'i' set but not used [-Wunused-but-set-variable] int a,tlimit=5,correct=0,total=0,cm=0,side=1,ok=0,oside=0,count=0,apout=0,i; ^ misc.c:508:53: warning: variable 'oside' set but not used [-Wunused-but-set-variable] int a,tlimit=5,correct=0,total=0,cm=0,side=1,ok=0,oside=0,count=0,apout=0,i; ^~~~~ misc.c: In function 'check_opening': misc.c:1067:7: warning: variable 'i' set but not used [-Wunused-but-set-variable] int i=0,a,b,replies[100][7],nr=0,tot=0,choice=0; ^ --- mprocs.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I . -Wall -DPREFIX=\"/usr/pkg\" -c mprocs.c --- eval.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I . -Wall -DPREFIX=\"/usr/pkg\" -c eval.c --- mprocs.o --- mprocs.c: In function 'mvs': mprocs.c:20:29: warning: variable 'ky' set but not used [-Wunused-but-set-variable] int a=-1,b,c,p,opt,flg,kx,ky,nmvs=0,n; ^~ mprocs.c:20:26: warning: variable 'kx' set but not used [-Wunused-but-set-variable] int a=-1,b,c,p,opt,flg,kx,ky,nmvs=0,n; ^~ --- eval.o --- eval.c: In function 'defsc': eval.c:277:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (d>0) sc+=ATTACKED_PAWN; break; ^~ eval.c:277:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (d>0) sc+=ATTACKED_PAWN; break; ^~~~~ eval.c:279:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (enprise==1) sc+=ROOK_ENPR; break; ^~ eval.c:279:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (enprise==1) sc+=ROOK_ENPR; break; ^~~~~ eval.c:282:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (enprise==1) sc+=KNIGHT_ENPR; break; ^~ eval.c:282:46: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (enprise==1) sc+=KNIGHT_ENPR; break; ^~~~~ eval.c:286:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (enprise==1) sc+=BISHOP_ENPR; break; ^~ eval.c:286:46: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (enprise==1) sc+=BISHOP_ENPR; break; ^~~~~ eval.c:288:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (enprise==1) sc+=QUEEN_ENPR; break; ^~ eval.c:288:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (enprise==1) sc+=QUEEN_ENPR; break; ^~~~~ eval.c:294:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (enprise==1) sc-=ROOK_ENPR; break; ^~ eval.c:294:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (enprise==1) sc-=ROOK_ENPR; break; ^~~~~ eval.c:297:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (enprise==1) sc-=KNIGHT_ENPR; break; ^~ eval.c:297:46: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (enprise==1) sc-=KNIGHT_ENPR; break; ^~~~~ eval.c:300:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (enprise==1) sc-=BISHOP_ENPR; break; ^~ eval.c:300:46: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (enprise==1) sc-=BISHOP_ENPR; break; ^~~~~ eval.c:302:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (enprise==1) sc-=QUEEN_ENPR; break; ^~ eval.c:302:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (enprise==1) sc-=QUEEN_ENPR; break; ^~~~~ --- colchess --- gcc -o colchess chess.o comp.o tactics.o moves.o checks.o misc.o mprocs.o eval.o -lm