===> Cleaning for fairymax-5.0b.20160316.1 ===> Found saved configuration for fairymax-5.0b ===> fairymax-5.0b.20160316.1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by fairymax-5.0b.20160316.1 for building ===> Extracting for fairymax-5.0b.20160316.1 => SHA256 Checksum OK for fairymax-67cee03.tar.gz. ===> Patching for fairymax-5.0b.20160316.1 ===> fairymax-5.0b.20160316.1 depends on executable: gmake - found ===> fairymax-5.0b.20160316.1 depends on package: perl5>=5.20<5.21 - found ===> Configuring for fairymax-5.0b.20160316.1 ===> Building for fairymax-5.0b.20160316.1 gmake[2]: Entering directory '/.DATA_SSD/poudriere_SSD/ports/default/games/fairymax/work/fairymax-67cee03' cc -O2 -pipe -fstack-protector -fno-strict-aliasing -fstack-protector -DFAIRYDIR=\"/usr/local/share/fairymax\" fairymax.c -o fairymax cc -O2 -pipe -fstack-protector -fno-strict-aliasing -fstack-protector -DFAIRYDIR=\"/usr/local/share/fairymax\" -DSHATRANJ fairymax.c -o shamax cc -O2 -pipe -fstack-protector -fno-strict-aliasing -fstack-protector -DINI_FILE=\"/usr/local/share/fairymax/qmax.ini\" maxqi.c -o maxqi pod2man -s 6 fairymax.pod | gzip -9n > fairymax.6.gz maxqi.c:176:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] pboard() ^~~~~~ maxqi.c:179:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ maxqi.c:181:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] D(k,q,l,e,z,n) /* recursive minimax search, k=moving side, n=depth*/ ^ maxqi.c:191:13: warning: '&' within '|' [-Wbitwise-op-parentheses] if(a->K-Z|z&S | /* miss: other pos. or empty*/ ~~^~ maxqi.c:191:13: note: place parentheses around the '&' expression to silence this warning if(a->K-Z|z&S | /* miss: other pos. or empty*/ ^ ( ) maxqi.c:192:11: warning: '&' within '|' [-Wbitwise-op-parentheses] !(m<=q|F&8&&m>=l|F&S)) /* or window incompatible */ ~~^~ maxqi.c:192:11: note: place parentheses around the '&' expression to silence this warning !(m<=q|F&8&&m>=l|F&S)) /* or window incompatible */ ^ ( ) maxqi.c:192:21: warning: '&' within '|' [-Wbitwise-op-parentheses] !(m<=q|F&8&&m>=l|F&S)) /* or window incompatible */ ~~^~ maxqi.c:192:21: note: place parentheses around the '&' expression to silence this warning !(m<=q|F&8&&m>=l|F&S)) /* or window incompatible */ ^ ( ) maxqi.c:195:13: warning: '&&' within '||' [-Wlogical-op-parentheses] z&S&&K==I&&(GetTickCount()-Ticks>10&zn[y])break; /* capture own or bad zone */ ~^~~~~~~~~~~~~ maxqi.c:216:12: note: place parentheses around the '&&' expression to silence this warning {if(t&&(t&16)==k||flag>>10&zn[y])break; /* capture own or bad zone */ ^ ( ) maxqi.c:234:15: warning: | has lower precedence than <; < will be evaluated first [-Wparentheses] C=R<10|P-I|d<3||t&&p-3?C:d; /* extend 1 ply if in-check */ ~~~~^ maxqi.c:234:15: note: place parentheses around the '<' expression to silence this warning C=R<10|P-I|d<3||t&&p-3?C:d; /* extend 1 ply if in-check */ ^ ( ) maxqi.c:234:15: note: place parentheses around the | expression to evaluate it first C=R<10|P-I|d<3||t&&p-3?C:d; /* extend 1 ply if in-check */ ^ ( ) maxqi.c:234:26: warning: '&&' within '||' [-Wlogical-op-parentheses] C=R<10|P-I|d<3||t&&p-3?C:d; /* extend 1 ply if in-check */ ~~~^~~~~ maxqi.c:234:26: note: place parentheses around the '&&' expression to silence this warning C=R<10|P-I|d<3||t&&p-3?C:d; /* extend 1 ply if in-check */ ^ ( ) fairymax.c:176:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] D(k,q,l,e,E,z,n) /* recursive minimax search, k=moving side, n=depth*/ ^ maxqi.c:244:20: warning: | has lower precedence than <; < will be evaluated first [-Wparentheses] Fifty = t|p<3?0:Fifty+1; ^~~~ maxqi.c:244:20: note: place parentheses around the '<' expression to silence this warning Fifty = t|p<3?0:Fifty+1; ^ ( ) fairymax.cmaxqi.c:176:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] :244:20: note: place parentheses around the | expression to evaluate it first Fifty = t|p<3?0:Fifty+1; ^ ( ) D(k,q,l,e,E,z,n) /* recursive minimax search, k=moving side, n=depth*/ ^ fairymax.c:184:13: warning: '&' within '|' [-Wbitwise-op-parentheses] if(a->K-Z|z&S&&(X=8)|| /* miss: other pos. or empty*/ ~~^~ fairymax.c:184:13: note: place parentheses around the '&' expression to silence this warning if(a->K-Z|z&S&&(X=8)|| /* miss: other pos. or empty*/ ^ ( ) fairymax.c:185:11: warning: '&' within '|' [-Wbitwise-op-parentheses] !(m<=q|X&4&&m>=l|X&2)) /* or window incompatible */ ~~^~ fairymax.cfairymax.c:185:11: note: place parentheses around the '&' expression to silence this warning :184:13: warning: '&' within '|' [-Wbitwise-op-parentheses] !(m<=q|X&4&&m>=l|X&2)) /* or window incompatible */ ^ ( ) if(a->K-Z|z&S&&(X=8)|| /* miss: other pos. or empty*/ ~~^~ fairymax.c:185:21:fairymax.c:184:13: note: place parentheses around the '&' expression to silence this warning warning: '&' within '|' [-Wbitwise-op-parentheses] if(a->K-Z|z&S&&(X=8)|| /* miss: other pos. or empty*/ ^ ( ) !(m<=q|X&4&&m>=l|X&2)) /* or window incompatible */ ~~^~ fairymax.c:185:21fairymax.c:185:11: warning: '&' within '|' [-Wbitwise-op-parentheses] : note: place parentheses around the '&' expression to silence this warning !(m<=q|X&4&&m>=l|X&2)) /* or window incompatible */ ~~^~ !(m<=q|X&4&&m>=l|X&2)) /* or window incompatible */ ^ ( ) fairymax.c:185:11: note: place parentheses around the '&' expression to silence this warning fairymax.c:184:15: warning: '&&' within '||' [-Wlogical-op-parentheses] !(m<=q|X&4&&m>=l|X&2)) /* or window incompatible */ ^ ( ) if(a->K-Z|z&S&&(X=8)|| /* miss: other pos. or empty*/ ~~~~~~~~~~^~~~~~~~~ fairymax.c:185fairymax.c:184:15: note: place parentheses around the '&&' expression to silence this warning :21: warning: '&' within '|' [-Wbitwise-op-parentheses] if(a->K-Z|z&S&&(X=8)|| /* miss: other pos. or empty*/ ^ ( ) !(m<=q|X&4&&m>=l|X&2)) /* or window incompatible */ ~~^~ fairymax.c:185:21: note: place parentheses around the '&' expression to silence this warning !(m<=q|X&4&&m>=l|X&2)) /* or window incompatible */ ^ ( ) fairymax.c:184:15: warning: '&&' within '||' [-Wlogical-op-parentheses] fairymax.c:191:13: warning: '&&' within '||' [-Wlogical-op-parentheses] if(a->K-Z|z&S&&(X=8)|| /* miss: other pos. or empty*/ ~~~~~~~~~~^~~~~~~~~ fairymax.c:184:15: note: place parentheses around the '&&' expression to silence this warning z&S&&K==I&&(GetTickCount()-TicksK-Z|z&S&&(X=8)|| /* miss: other pos. or empty*/: ^note : ( )place parentheses around the '&&' expression to silence this warning z&S&&K==I&&(GetTickCount()-Ticks>9^511)?H:z&S-1; /* shift capt.sqr. H if e.p.*/ ~~~^ fairymax.c:222:13: note: place parentheses around the '<' expression to silence this warning maxqi.c:348:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] if(p<3&flag)H=(y^E)&(E>>9^511)?H:z&S-1; /* shift capt.sqr. H if e.p.*/ ^fairymax.c InitEngine(): ( )222 :13:fairymax.c :warning222: :& has lower precedence than <; < will be evaluated first [-Wparentheses]^~~~~~~~~~13 : note: place parentheses around the & expression to evaluate it first if(p<3&flag)H=(y^E)&(E>>9^511)?H:z&S-1; /* shift capt.sqr. H if e.p.*/ ~~~^ if(p<3&flag)H=(y^E)&(E>>9^511)?H:z&S-1; /* shift capt.sqr. H if e.p.*/ ^ ( ) fairymax.c:222:13: note: place parentheses around the '<' expression to silence this warning maxqi.c if(p<3&flag)H=(y^E)&(E>>9^511)?H:z&S-1; /* shift capt.sqr. H if e.p.*/: 354 ^: 1 ( ): warning: control reaches end of non-void function [-Wreturn-type] fairymax.c} ^ :222:13: note: place parentheses around the & expression to evaluate it first fairymax.c:228:13: warning: & has lower precedence than !=; != will be evaluated first [-Wparentheses] if(p<3&flag)H=(y^E)&(E>>9^511)?H:z&S-1; /* shift capt.sqr. H if e.p.*/ ^ ( ) t>>3&kk!=H&kk!=S||(kk=H,i=-i,0)))m=I,d=98;/* or duple check: cutoff*/ ^~~~~~ fairymax.c:228:13: note: place parentheses around the '!=' expression to silence this warning maxqi.c:356:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] InitGame() t>>3&kk!=H&kk!=S||(kk=H,i=-i,0)))m=I,d=98;/* or duple check: cutoff*/ ^~~~~~~~ ^ ( ) fairymax.cfairymax.c:228:13: :warning228: :& has lower precedence than !=; != will be evaluated first [-Wparentheses]13 : note: place parentheses around the & expression to evaluate it first t>>3&kk!=H&kk!=S||(kk=H,i=-i,0)))m=I,d=98;/* or duple check: cutoff*/ ^~~~~~ t>>3&kk!=H&kk!=S||(kk=H,i=-i,0)))m=I,d=98;/* or duple check: cutoff*/ ^ ( ) fairymax.c:228:13: note: place parentheses around the '!=' expression to silence this warning t>>3&kk!=H&kk!=S||(kk=H,i=-i,0)))m=I,d=98;/* or duple check: cutoff*/ ^ ( ) fairymax.c:228:13: note: place parentheses around the & expression to evaluate it first t>>3&kk!=H&kk!=S||(kk=H,i=-i,0)))m=I,d=98;/* or duple check: cutoff*/ ^ ( ) maxqi.c:370:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ fairymax.c:242:18: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] +(R-76>>2); /* end-game Pawn-push bonus */ ~^~~~~ fairymax.c:242:18: note: place parentheses around the '-' expression to silence this warning +(R-76>>2); /* end-game Pawn-push bonus */ ^ ( )fairymax.c :242:18: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] +(R-76>>2); /* end-game Pawn-push bonus */ ~^~~~~ fairymax.c:242:18: note: place parentheses around the '-' expression to silence this warning +(R-76>>2); /* end-game Pawn-push bonus */ ^ ( ) fairymax.c:249:22: warning: & has lower precedence than <; < will be evaluated first [-Wparentheses] if(GamePtr<6&Randomize)v+=(Rand()>>10&31)-16; /* randomize */ ~~~~~~~~~^ fairymax.c:249:22: note: place parentheses around the '<' expression to silence this warning if(GamePtr<6&Randomize)v+=(Rand()>>10&31)-16; /* randomize */ ^ fairymax.c ( ): 249:22: warning: fairymax.c& has lower precedence than <; < will be evaluated first [-Wparentheses]: 249:22: note: place parentheses around the & expression to evaluate it first if(GamePtr<6&Randomize)v+=(Rand()>>10&31)-16; /* randomize */ ~~~~~~~~~^ fairymax.c if(GamePtr<6&Randomize)v+=(Rand()>>10&31)-16; /* randomize */: 249 ^: 22 ( ): note: place parentheses around the '<' expression to silence this warning if(GamePtr<6&Randomize)v+=(Rand()>>10&31)-16; /* randomize */ ^ ( ) fairymax.c:249:22: note: place parentheses around the & expression to evaluate it first if(GamePtr<6&Randomize)v+=(Rand()>>10&31)-16; /* randomize */ ^ ( ) fairymax.c:256:15: warning: | has lower precedence than <; < will be evaluated first [-Wparentheses] C=R0?C:d; /* extend 1 ply if in-check */ ~~~~^ fairymax.c:256:15: note: place parentheses around the '<' expression to silence this warning fairymax.c:256:15: warning: | has lower precedence than <; < will be evaluated first [-Wparentheses] C=R0?C:d; /* extend 1 ply if in-check */ ~~~~^ fairymax.c:256:15: note: place parentheses around the | expression to evaluate it first C=R0?C:d; /* extend 1 ply if in-check */ ~~~~^ fairymax.c:256:15: C=R0?C:d; /* extend 1 ply if in-check */ note ~~^~~~: place parentheses around the '<' expression to silence this warning fairymax.c:256:26: C=R0?C:d; /* extend 1 ply if in-check */warning : ~~~~^'&&' within '||' [-Wlogical-op-parentheses] fairymax.c:256:15: note: place parentheses around the | expression to evaluate it first C=R0?C:d; /* extend 1 ply if in-check */ ~~~^~~~~~~~ fairymax.c:256: C=R0?C:d; /* extend 1 ply if in-check */26 : ~~^~~~ note: place parentheses around the '&&' expression to silence this warning fairymax.c:256:26: warning: '&&' within '||' [-Wlogical-op-parentheses] C=R0?C:d; /* extend 1 ply if in-check */ ^ ( ) C=R0?C:d; /* extend 1 ply if in-check */ ~~~^~~~~~~~ fairymax.c:256:26: note: place parentheses around the '&&' expression to silence this warning C=R0?C:d; /* extend 1 ply if in-check */ ^ ( ) fairymax.c:264:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] W(*sp++=*p++); ~~~~~^~~~~ fairymax.c:264:17: note: place parentheses around the assignment to silence this warning W(*sp++=*p++); ^ ( ) fairymax.cfairymax.c::264264::1717:: warningnote: : using the result of an assignment as a condition without parentheses [-Wparentheses]use '==' to turn this assignment into an equality comparison W(*sp++=*p++); W(*sp++=*p++); ~~~~~^~~~~ ^ == fairymax.c:264:17: note: place parentheses around the assignment to silence this warning W(*sp++=*p++); ^ ( ) fairymax.c:264:17: note: use '==' to turn this assignment into an equality comparison maxqi.c:450 W(*sp++=*p++);: 97 ^: ==warning : '/*' within block comment [-Wcomment] /* printf("tell c='%c' i=%d od[i]=%d j=%d (%3d,%8x)\n",c,i,od[i],j,o[j-1],of[j-1]); /**/ ^ fairymax.c:275:20: warning: | has lower precedence than <; < will be evaluated first [-Wparentheses] Fifty = t|p<3?0:Fifty+1; ^~~~ fairymax.c:275:20: note: place parentheses around the '<' expression to silence this warning Fifty = t|p<3?0:Fifty+1; ^ ( ) fairymax.c:275:20: fairymax.cnote:: 275place parentheses around the | expression to evaluate it first: 20: warning: | has lower precedence than <; < will be evaluated first [-Wparentheses] Fifty = t|p<3?0:Fifty+1; ^ ( ) Fifty = t|p<3?0:Fifty+1; ^~~~ fairymax.c:275:20: note: place parentheses around the '<' expression to silence this warning Fifty = t|p<3?0:Fifty+1; ^ ( ) fairymax.c:275:20: note: place parentheses around the | expression to evaluate it first Fifty = t|p<3?0:Fifty+1; ^ ( ) fairymax.c:284:19: warning: & has lower precedence than ==; == will be evaluated first [-Wparentheses] if(z&S&&!ab&K==I&d>2&v>V&v2&v>V&v2&v>V&v2&v>V&v2&v>V&v2&v>V&v>RBITS; /* platform & toggled vector*/ ~^~~~~ fairymax.c:306:13: note: fairymax.cplace parentheses around the '&' expression to silence this warning: 306:13: warning: '&' within '|' [-Wbitwise-op-parentheses] s=t&&2&~rg|~t&16^k;v=r^flag>>RBITS; /* platform & toggled vector*/ ^ ( ) s=t&&2&~rg|~t&16^k;v=r^flag>>RBITS; /* platform & toggled vector*/ fairymax.c ~^~~~~: 307:21: fairymax.cwarning:: 306'&' within '|' [-Wbitwise-op-parentheses]: 13: note: place parentheses around the '&' expression to silence this warning if(flag&15^4|u&vf|| /* no double or moved before*/ ~~^~~ s=t&&2&~rg|~t&16^k;v=r^flag>>RBITS; /* platform & toggled vector*/ fairymax.c ^: 307 ( ): 21: note: place parentheses around the '&' expression to silence this warning fairymax.c if(flag&15^4|u&vf|| /* no double or moved before*/: 307 ^: 21 ( ): warning: '&' within '|' [-Wbitwise-op-parentheses] fairymax.c:308:13: warning: & has lower precedence than >; > will be evaluated first [-Wparentheses] if(flag&15^4|u&vf|| /* no double or moved before*/ ~~^~~ fairymax.c:307:21: note: place parentheses around the '&' expression to silence this warning p>2&!(flag&128)&& /* no P & no virgin jump, */ ~~~^ fairymax.c:308:13: note: place parentheses around the '>' expression to silence this warning if(flag&15^4|u&vf|| /* no double or moved before*/ ^ ( ) fairymax.c p>2&!(flag&128)&& /* no P & no virgin jump, */: 308 ^: 13 ( ): warning: & has lower precedence than >; > will be evaluated first [-Wparentheses]fairymax.c :308:13: note: place parentheses around the & expression to evaluate it first p>2&!(flag&128)&& /* no P & no virgin jump, */ ~~~^ fairymax.c:308:13: note: place parentheses around the '>' expression to silence this warning p>2&!(flag&128)&& /* no P & no virgin jump, */ ^ ( ) p>2&!(flag&128)&& /* no P & no virgin jump, */ fairymax.c ^: 309 ( ): 17: warning: fairymax.c'&' within '|' [-Wbitwise-op-parentheses]: 308:13: note: place parentheses around the & expression to evaluate it first ((b[G=x&~15|(r>0)*(BW-1)]^32)<33 /* no virgin R in corner G, */ ~^~~~~ fairymax.c p>2&!(flag&128)&& /* no P & no virgin jump, */: 309 ^: 17 ( ): note: place parentheses around the '&' expression to silence this warning ((b[G=x&~15|(r>0)*(BW-1)]^32)<33 /* no virgin R in corner G, */ ^fairymax.c ( ) fairymax.c:308:25: warning: '&&' within '||' [-Wlogical-op-parentheses] :309:17: warning p>2&!(flag&128)&& /* no P & no virgin jump, */ : ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'&' within '|' [-Wbitwise-op-parentheses] fairymax.c:308:25: note: place parentheses around the '&&' expression to silence this warning maxqi.c ((b[G=x&~15|(r>0)*(BW-1)]^32)<33 /* no virgin R in corner G, */ ~^~~~~ :661:46: p>2&!(flag&128)&& /* no P & no virgin jump, */fairymax.c warning: ^: 309 operator '>>' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses]: 17: note: place parentheses around the '&' expression to silence this warning MovesLeft = -(GamePtr+(Side==WHITE)>>1); ~~~~~~~^~~~~~~~~~~~~~~~ ((b[G=x&~15|(r>0)*(BW-1)]^32)<33 /* no virgin R in corner G, */ ^maxqi.c : ( )661 :46: note: place parentheses around the '+' expression to silence this warning MovesLeft = -(GamePtr+(Side==WHITE)>>1); ^ ( ) fairymax.cfairymax.c::314308::1925:: warningwarning: : '&&' within '||' [-Wlogical-op-parentheses]'&&' within '||' [-Wlogical-op-parentheses] if(s&&flag&8&&!(y=rg&1?y-r:y,t=0) /* hoppers go to next phase */ p>2&!(flag&128)&& /* no P & no virgin jump, */ ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fairymax.cfairymax.c:308:25: :note314: :place parentheses around the '&&' expression to silence this warning19 : note: place parentheses around the '&&' expression to silence this warning maxqi.c:677:48 p>2&!(flag&128)&& /* no P & no virgin jump, */: if(s&&flag&8&&!(y=rg&1?y-r:y,t=0) /* hoppers go to next phase */ ^ warning ^: '&&' within '||' [-Wlogical-op-parentheses] ( ) fairymax.c:315:23: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!strcmp(command, "undo") && (nr=1) || ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ~~ maxqi.c:677:48: ||!(flag&128)&&!rg--) /* zig-zag piece? (w. delay)*/ ~~~~~~~~~~~~~^~~~~~~ note: fairymax.cplace parentheses around the '&&' expression to silence this warning: 315:23: note: place parentheses around the '&&' expression to silence this warning fairymax.c: if (!strcmp(command, "undo") && (nr=1) || 314 ^: 19 ( ): ||!(flag&128)&&!rg--) /* zig-zag piece? (w. delay)*/ warning ^maxqi.c: :'&&' within '||' [-Wlogical-op-parentheses] ( )678 :48: warning: '&&' within '||' [-Wlogical-op-parentheses] if(s&&flag&8&&!(y=rg&1?y-r:y,t=0) /* hoppers go to next phase */ ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ !strcmp(command, "remove") && (nr=2) ) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ fairymax.c:314:19: maxqi.cnote:: 678place parentheses around the '&&' expression to silence this warning: 48: note: place parentheses around the '&&' expression to silence this warning if(s&&flag&8&&!(y=rg&1?y-r:y,t=0) /* hoppers go to next phase */ ^ ( ) !strcmp(command, "remove") && (nr=2) ) { ^ ( ) fairymax.c:315:23: warning: '&&' within '||' [-Wlogical-op-parentheses] ||!(flag&128)&&!rg--) /* zig-zag piece? (w. delay)*/ ~~~~~~~~~~~~~^~~~~~~ fairymax.c:315:23: note: place parentheses around the '&&' expression to silence this warning ||!(flag&128)&&!rg--) /* zig-zag piece? (w. delay)*/ ^ ( ) fairymax.c:321:18: warning: | has lower precedence than ==; == will be evaluated first [-Wparentheses] C:FMAX( m=m+stale|P==I?m:(X=Y=0); ) /* if stalemate, draw-score */ ^~~~~ fairymax.c:97:21: note: expanded from macro 'FMAX' # define FMAX(x) x ^ fairymax.c:321:18: note: place parentheses around the '==' expression to silence this warning C:FMAX( m=m+stale|P==I?m:(X=Y=0); ) /* if stalemate, draw-score */ ^~~~~ fairymax.c:97:21: note: expanded from macro 'FMAX' # define FMAX(x) x ^ fairymax.c:321:18: note: place parentheses around the | expression to evaluate it first C:FMAX( m=m+stale|P==I?m:(X=Y=0); ) /* if stalemate, draw-score */ ~~~~~~~^~ fairymax.c:97:21: note: expanded from macro 'FMAX' # define FMAX(x) x ^ fairymax.c:518:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(f = fopen(hashfile, "r")) { ~~^~~~~~~~~~~~~~~~~~~~~~ fairymax.c:518:14: note: place parentheses around the assignment to silence this warning if(f = fopen(hashfile, "r")) { ^ ( ) fairymax.c:518:14: note: use '==' to turn this assignment into an equality comparison if(f = fopen(hashfile, "r")) { ^ == fairymax.c:582:100: warning: '/*' within block comment [-Wcomment] /* printf("# c='%c' i=%d od[i]=%d j=%d (%3d,%8x)\n",c?c:' ',i,od[i],j,o[j-1],of[j-1]); /**/ ^ fairymax.c:639:22: warning: | has lower precedence than ==; == will be evaluated first [-Wparentheses] if(!K|K==BW-1&&!L|L==BH-1&&b[513+bareL]) ^~~~~~~~ fairymax.c:639:22: note: place parentheses around the '==' expression to silence this warning if(!K|K==BW-1&&!L|L==BH-1&&b[513+bareL]) ^ ( ) fairymax.c:639:22: note: place parentheses around the | expression to evaluate it first if(!K|K==BW-1&&!L|L==BH-1&&b[513+bareL]) ^ ( ) fairymax.c:639:34: warning: | has lower precedence than ==; == will be evaluated first [-Wparentheses] if(!K|K==BW-1&&!L|L==BH-1&&b[513+bareL]) ^~~~~~~~ fairymax.c:639:34: note: place parentheses around the '==' expression to silence this warning if(!K|K==BW-1&&!L|L==BH-1&&b[513+bareL]) ^ ( ) fairymax.c:639:34: note: place parentheses around the | expression to evaluate it first if(!K|K==BW-1&&!L|L==BH-1&&b[513+bareL]) ^ ( ) fairymax.c:518:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(f = fopen(hashfile, "r")) { ~~^~~~~~~~~~~~~~~~~~~~~~ fairymax.c:518:14: note: place parentheses around the assignment to silence this warning if(f = fopen(hashfile, "r")) { ^ ( ) fairymax.c:518:14: note: use '==' to turn this assignment into an equality comparison if(f = fopen(hashfile, "r")) { ^ == fairymax.c:582:100: warning: '/*' within block comment [-Wcomment] /* printf("# c='%c' i=%d od[i]=%d j=%d (%3d,%8x)\n",c?c:' ',i,od[i],j,o[j-1],of[j-1]); /**/ ^ fairymax.c:874:46: warning: operator '>>' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses] MovesLeft = -(GamePtr+(Side==WHITE)>>1); ~~~~~~~^~~~~~~~~~~~~~~~ fairymax.c:874:46: note: place parentheses around the '+' expression to silence this warning MovesLeft = -(GamePtr+(Side==WHITE)>>1); ^ ( ) fairymax.c:890:48: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!strcmp(command, "undo") && (nr=1) || ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ~~ fairymax.c:890:48: note: place parentheses around the '&&' expression to silence this warning if (!strcmp(command, "undo") && (nr=1) || ^ ( ) fairymax.c:891:48: warning: '&&' within '||' [-Wlogical-op-parentheses] !strcmp(command, "remove") && (nr=2) ) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ fairymax.c:891:48: note: place parentheses around the '&&' expression to silence this warning !strcmp(command, "remove") && (nr=2) ) { ^ ( ) fairymax.c:639:fairymax.c22::972 :warning36: :| has lower precedence than ==; == will be evaluated first [-Wparentheses] warning: '&&' within '||' [-Wlogical-op-parentheses] if(!K|K==BW-1&&!L|L==BH-1&&b[513+bareL]) ^~~~~~~~ fairymax.c: if(color==BLACK && m<0x10 && p==oo[m+16] || // but make virgin on original square639 : ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ~~22 : note: place parentheses around the '==' expression to silence this warning fairymax.c:972:36: note: place parentheses around the '&&' expression to silence this warning if(!K|K==BW-1&&!L|L==BH-1&&b[513+bareL]) ^ ( ) fairymax.c:639:22: note: place parentheses around the | expression to evaluate it first if(color==BLACK && m<0x10 && p==oo[m+16] || // but make virgin on original square ^ ( ) fairymax.c:973: if(!K|K==BW-1&&!L|L==BH-1&&b[513+bareL])77 : ^ warning ( ): '&&' within '||' [-Wlogical-op-parentheses] fairymax.c:639:34: warning: | has lower precedence than ==; == will be evaluated first [-Wparentheses] color==WHITE && m>=16*(BH-1) && p==oo[m-16*(BH-1)]) b[m] -= 32; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ if(!K|K==BW-1&&!L|L==BH-1&&b[513+bareL]) fairymax.c ^~~~~~~~: 973:77: fairymax.cnote:: 639place parentheses around the '&&' expression to silence this warning: 34: note: place parentheses around the '==' expression to silence this warning if(!K|K==BW-1&&!L|L==BH-1&&b[513+bareL]) ^ ( ) color==WHITE && m>=16*(BH-1) && p==oo[m-16*(BH-1)]) b[m] -= 32; ^ ( ) fairymax.c:639:34: note: place parentheses around the | expression to evaluate it first if(!K|K==BW-1&&!L|L==BH-1&&b[513+bareL]) ^ ( ) fairymax.c:1004:23: warning: & has lower precedence than !=; != will be evaluated first [-Wparentheses] if (m & line[1] != '@') ^~~~~~~~~~~~~~~~ fairymax.c:1004:23: note: place parentheses around the '!=' expression to silence this warning if (m & line[1] != '@') ^ ( ) fairymax.c:1004:23: note: place parentheses around the & expression to evaluate it first if (m & line[1] != '@') ^ ( ) fairymax.c:874:46: warning: operator '>>' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses] MovesLeft = -(GamePtr+(Side==WHITE)>>1); ~~~~~~~^~~~~~~~~~~~~~~~ fairymax.c:874:46: note: place parentheses around the '+' expression to silence this warning MovesLeft = -(GamePtr+(Side==WHITE)>>1); ^ ( ) fairymax.c:890:48: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!strcmp(command, "undo") && (nr=1) || ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ~~ fairymax.c:890:48: note: place parentheses around the '&&' expression to silence this warning if (!strcmp(command, "undo") && (nr=1) || ^ ( ) fairymax.c:891:48: warning: '&&' within '||' [-Wlogical-op-parentheses] !strcmp(command, "remove") && (nr=2) ) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ fairymax.c:891:48: note: place parentheses around the '&&' expression to silence this warning !strcmp(command, "remove") && (nr=2) ) { ^ ( ) fairymax.c:972:36: warning: '&&' within '||' [-Wlogical-op-parentheses] if(color==BLACK && m<0x10 && p==oo[m+16] || // but make virgin on original square ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ~~ fairymax.c:972:36: note: place parentheses around the '&&' expression to silence this warning if(color==BLACK && m<0x10 && p==oo[m+16] || // but make virgin on original square ^ ( ) fairymax.c:973:77: warning: '&&' within '||' [-Wlogical-op-parentheses] color==WHITE && m>=16*(BH-1) && p==oo[m-16*(BH-1)]) b[m] -= 32; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ fairymax.c:973:77: note: place parentheses around the '&&' expression to silence this warning color==WHITE && m>=16*(BH-1) && p==oo[m-16*(BH-1)]) b[m] -= 32; ^ ( ) fairymax.c:1004:23: warning: & has lower precedence than !=; != will be evaluated first [-Wparentheses] if (m & line[1] != '@') ^~~~~~~~~~~~~~~~ fairymax.c:1004:23: note: place parentheses around the '!=' expression to silence this warning if (m & line[1] != '@') ^ ( ) fairymax.c:1004:23: note: place parentheses around the & expression to evaluate it first if (m & line[1] != '@') ^ ( ) fairymax.pod around line 188: You forgot a '=back' before '=head1' fairymax.pod around line 190: '=item' outside of any '=over' POD document had syntax errors at /usr/local/bin/pod2man line 71. 20 warnings generated. 35 warnings generated. 36 warnings generated. gmake[2]: Leaving directory '/.DATA_SSD/poudriere_SSD/ports/default/games/fairymax/work/fairymax-67cee03' ===> Staging for fairymax-5.0b.20160316.1 ===> Generating temporary packing list gmake[2]: Entering directory '/.DATA_SSD/poudriere_SSD/ports/default/games/fairymax/work/fairymax-67cee03' install -d -m0755 /.DATA_SSD/poudriere_SSD/ports/default/games/fairymax/work/stage/usr/local/bin install -s -m 555 ./fairymax ./shamax ./maxqi /.DATA_SSD/poudriere_SSD/ports/default/games/fairymax/work/stage/usr/local/bin install -d -m0755 /.DATA_SSD/poudriere_SSD/ports/default/games/fairymax/work/stage/usr/local/share/fairymax install -m 0644 ./data/*.ini /.DATA_SSD/poudriere_SSD/ports/default/games/fairymax/work/stage/usr/local/share/fairymax install -m 0644 ./data/*.hash /.DATA_SSD/poudriere_SSD/ports/default/games/fairymax/work/stage/usr/local/share/fairymax install -d -m0755 /.DATA_SSD/poudriere_SSD/ports/default/games/fairymax/work/stage/usr/local/man/man6 install -m 444 ./fairymax.6.gz /.DATA_SSD/poudriere_SSD/ports/default/games/fairymax/work/stage/usr/local/man/man6 install -d -m0755 /.DATA_SSD/poudriere_SSD/ports/default/games/fairymax/work/stage/usr/local/share/games/plugins/logos install -m 0644 ./data/logo.png /.DATA_SSD/poudriere_SSD/ports/default/games/fairymax/work/stage/usr/local/share/games/plugins/logos/fairymax.png install -m 0644 ./data/logo.png /.DATA_SSD/poudriere_SSD/ports/default/games/fairymax/work/stage/usr/local/share/games/plugins/logos/shamax.png install -m 0644 ./data/logo.png /.DATA_SSD/poudriere_SSD/ports/default/games/fairymax/work/stage/usr/local/share/games/plugins/logos/maxqi.png install -d -m0755 /.DATA_SSD/poudriere_SSD/ports/default/games/fairymax/work/stage/usr/local/share/games/plugins/xboard install -m 0644 ./data/*.eng /.DATA_SSD/poudriere_SSD/ports/default/games/fairymax/work/stage/usr/local/share/games/plugins/xboard gmake[2]: Leaving directory '/.DATA_SSD/poudriere_SSD/ports/default/games/fairymax/work/fairymax-67cee03' install -m 0644 /.DATA_SSD/poudriere_SSD/ports/default/games/fairymax/work/fairymax-67cee03/changelog /.DATA_SSD/poudriere_SSD/ports/default/games/fairymax/work/fairymax-67cee03/copyright /.DATA_SSD/poudriere_SSD/ports/default/games/fairymax/work/fairymax-67cee03/CVfairy.html /.DATA_SSD/poudriere_SSD/ports/default/games/fairymax/work/fairymax-67cee03/README /.DATA_SSD/poudriere_SSD/ports/default/games/fairymax/work/stage/usr/local/share/doc/fairymax ====> Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) ====> Checking for pkg-plist issues (check-plist) ===> Parsing plist ===> Checking for items in STAGEDIR missing from pkg-plist ===> Checking for items in pkg-plist which are not in STAGEDIR ===> No pkg-plist issues found (check-plist) ====> Running Q/A tests (stage-qa) ===> Building package for fairymax-5.0b.20160316.1