===> Cleaning for fairymax-5.0b ===> Found saved configuration for fairymax-5.0b ===> fairymax-5.0b depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by fairymax-5.0b for building ===> Extracting for fairymax-5.0b => SHA256 Checksum OK for fairymax-f7a7847.tar.gz. ===> Patching for fairymax-5.0b ===> fairymax-5.0b depends on executable: gmake - found ===> fairymax-5.0b depends on package: perl5>=5.20<5.21 - found ===> Configuring for fairymax-5.0b ===> Building for fairymax-5.0b gmake[2]: Entering directory '/.DATA_SSD/poudriere_SSD/ports/default/games/fairymax/work/fairymax-f7a7847' 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 */ ^ ( ) 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; ^ ( ) maxqi.c:244:20: note: place parentheses around the | expression to evaluate it first Fifty = t|p<3?0:Fifty+1; ^ ( ) 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*/ ^ 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 fairymax.c:176:1: warning: if(a->K-Z|z&S&&(X=8)|| /* miss: other pos. or empty*/type specifier missing, defaults to 'int' [-Wimplicit-int] ^ ( ) fairymax.c:185:11:D(k,q,l,e,E,z,n) /* recursive minimax search, k=moving side, n=depth*/ warning: '&' within '|' [-Wbitwise-op-parentheses] ^ !(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 !(m<=q|X&4&&m>=l|X&2)) /* or window incompatible */ ^ ( ) fairymax.c:185:21: warning: '&' within '|' [-Wbitwise-op-parentheses] !(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:13fairymax.c:184:15: warning: '&&' within '||' [-Wlogical-op-parentheses] : warning: '&' within '|' [-Wbitwise-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 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*/ ^ ( ) 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.c:185:11: note: fairymax.cplace parentheses around the '&' expression to silence this warning: 191:13: warning: '&&' within '||' [-Wlogical-op-parentheses] !(m<=q|X&4&&m>=l|X&2)) /* or window incompatible */ ^ ( ) fairymax.c:185:21: warning: '&' within '|' [-Wbitwise-op-parentheses] !(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 z&S&&K==I&&(GetTickCount()-Ticks=l|X&2)) /* or window incompatible */ ^ ( ) fairymax.c:191:13:fairymax.c 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*/ ~~~~~~~~~~^~~~~~~~~ fairymax.c:184:15: 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:203:20: warning: & has lower precedence than <; < will be evaluated first [-Wparentheses] fairymax.c:191:13: warning: '&&' within '||' [-Wlogical-op-parentheses] if(hill&&w[p]<0&b[769+x])m=I,d=98; /* King on the hill: we won */ ~~~~~~^ fairymax.c:203: z&S&&K==I&&(GetTickCount()-Ticks>9^511)?H:z&S-1; /* shift capt.sqr. H if e.p.*/: : ~~~^356warning :: 1using the result of an assignment as a condition without parentheses [-Wparentheses]:fairymax.c :warning222: :type specifier missing, defaults to 'int' [-Wimplicit-int]13 : note: place parentheses around the '<' expression to silence this warning W(r=o[++j]) /* loop over directions o[] */ ~^~~~~~~ InitGame() ^~~~~~~~fairymax.c :205:8: note: place parentheses around the assignment to silence this warning 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: W(r=o[++j]) /* loop over directions o[] */ ^ ( ) place parentheses around the & expression to evaluate it first fairymax.c:205:8: note: use '==' to turn this assignment into an equality comparison if(p<3&flag)H=(y^E)&(E>>9^511)?H:z&S-1; /* shift capt.sqr. H if e.p.*/ ^ ( ) W(r=o[++j]) /* loop over directions o[] */ ^ == fairymax.c:228:13: warning: & has lower precedence than !=; != will be evaluated first [-Wparentheses] 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: maxqi.cplace parentheses around the & expression to evaluate it first: 370:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ t>>3&kk!=H&kk!=S||(kk=H,i=-i,0)))m=I,d=98;/* or duple check: cutoff*/ ^ ( ) fairymax.c:222: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.*/ ~~~^ fairymax.c:222:13: note: place parentheses around the '<' expression to silence this warning 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 evaluate it first if(p<3&flag)H=(y^E)&(E>>9^511)?H:z&S-1; /* shift capt.sqr. H if e.p.*/ ^ ( ) fairymax.c:228:13: warning: & has lower precedence than !=; != will be evaluated first [-Wparentheses] fairymax.c:242:18: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] t>>3&kk!=H&kk!=S||(kk=H,i=-i,0)))m=I,d=98;/* or duple check: cutoff*/ ^~~~~~ fairymax.c:228:13: +(R-76>>2); /* end-game Pawn-push bonus */ ~^~~~~ note: place parentheses around the '!=' expression to silence this warningfairymax.c :242:18: 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 +(R-76>>2); /* end-game Pawn-push bonus */ ^ ( ) t>>3&kk!=H&kk!=S||(kk=H,i=-i,0)))m=I,d=98;/* or duple check: cutoff*/ ^ ( ) 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: note: place parentheses around the & expression to evaluate it first if(GamePtr<6&Randomize)v+=(Rand()>>10&31)-16; /* randomize */ ^ ( ) 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:256:15: warning: | has lower precedence than <; < will be evaluated first [-Wparentheses] fairymax.c:249:22: 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 if(GamePtr<6&Randomize)v+=(Rand()>>10&31)-16; /* randomize */ ~~~~~~~~~^ fairymax.c:249:22: note: C=R0?C:d; /* extend 1 ply if in-check */place parentheses around the '<' expression to silence this warning ~~~~^ fairymax.c:256:15: note: place parentheses around the | expression to evaluate it first if(GamePtr<6&Randomize)v+=(Rand()>>10&31)-16; /* randomize */ ^ ( ) fairymax.c:249:22: note: C=R0?C:d; /* extend 1 ply if in-check */place parentheses around the & expression to evaluate it first ~~^~~~ fairymax.c:256:26: warning: '&&' within '||' [-Wlogical-op-parentheses] if(GamePtr<6&Randomize)v+=(Rand()>>10&31)-16; /* randomize */ ^ ( ) 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 */ ^ ( ) maxqi.c:450:97: warning: '/*' within block comment [-Wcomment] fairymax.c:264:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] W(*sp++=*p++); ~~~~~^~~~~ /* 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 ^: fairymax.c256::26415::17 :warning : note| has lower precedence than <; < will be evaluated first [-Wparentheses]: place parentheses around the assignment to silence this warning W(*sp++=*p++); ^ ( ) fairymax.c:264 C=R0?C:d; /* extend 1 ply if in-check */: 17 ~~~~^: note: use '==' to turn this assignment into an equality comparison fairymax.c:256:15: W(*sp++=*p++);note : ^place parentheses around the '<' expression to silence this warning == 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:26: warning: '&&' within '||' [-Wlogical-op-parentheses] C=R0?C:d; /* extend 1 ply if in-check */ ~~~^~~~~~~~ fairymax.c:256:26: note: place parentheses around the '&&' expression to silence this warning fairymax.c:275:20: warning: | has lower precedence than <; < will be evaluated first [-Wparentheses] C=R0?C:d; /* extend 1 ply if in-check */ ^ ( ) 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: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 fairymax.c W(*sp++=*p++);: 284 ^: 19 ( ): warning: & has lower precedence than ==; == will be evaluated first [-Wparentheses]fairymax.c :264:17: note: use '==' to turn this assignment into an equality comparison 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: place parentheses around the '&' expression to silence this warning s=t&&2&~rg|~t&16^k;v=r^flag>>RBITS; /* platform & toggled vector*/ ^ ( ) fairymax.c:307:21: warning: '&' within '|' [-Wbitwise-op-parentheses] 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 fairymax.c:295:22: warning: '&' within '|' [-Wbitwise-op-parentheses] if(flag&15^4|u&vf|| /* no double or moved before*/ ^ ( ) fairymax.c:308:13: warning: m=v,X=x,Y=y|S&F; /* mark non-double with S */& has lower precedence than >; > will be evaluated first [-Wparentheses] ~~^~ fairymax.c:295:22: 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 m=v,X=x,Y=y|S&F; /* mark non-double with S */ ^ ( ) p>2&!(flag&128)&& /* no P & no virgin jump, */ ^ ( ) 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:309:17: warning: '&' within '|' [-Wbitwise-op-parentheses] ((b[G=x&~15|(r>0)*(BW-1)]^32)<33 /* no virgin R in corner G, */ ~^~~~~ fairymax.cfairymax.c::306309::1317:: warningnote: : '&' within '|' [-Wbitwise-op-parentheses]place parentheses around the '&' expression to silence this warning maxqi.c :661:46: warning: operator '>>' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses] s=t&&2&~rg|~t&16^k;v=r^flag>>RBITS; /* platform & toggled vector*/ ((b[G=x&~15|(r>0)*(BW-1)]^32)<33 /* no virgin R in corner G, */ ~^~~~~ ^ MovesLeft = -(GamePtr+(Side==WHITE)>>1); ( )fairymax.c : ~~~~~~~^~~~~~~~~~~~~~~~306 :13: note: place parentheses around the '&' expression to silence this warning maxqi.c:661:46: note: place parentheses around the '+' expression to silence this warning fairymax.c s=t&&2&~rg|~t&16^k;v=r^flag>>RBITS; /* platform & toggled vector*/: 308 ^ MovesLeft = -(GamePtr+(Side==WHITE)>>1);: 25 ( ): ^ warning ( ): '&&' within '||' [-Wlogical-op-parentheses] fairymax.c:307:21: 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 if(flag&15^4|u&vf|| /* no double or moved before*/ ~~^~~ fairymax.c:307:21: note: p>2&!(flag&128)&& /* no P & no virgin jump, */ place parentheses around the '&' expression to silence this warning ^ if(flag&15^4|u&vf|| /* no double or moved before*/ ^ ( ) fairymax.cmaxqi.c::308677::1348:: warningwarning: : & has lower precedence than >; > will be evaluated first [-Wparentheses]'&&' within '||' [-Wlogical-op-parentheses] fairymax.c:314:19: warning: if (!strcmp(command, "undo") && (nr=1) ||'&&' within '||' [-Wlogical-op-parentheses] p>2&!(flag&128)&& /* no P & no virgin jump, */ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ~~ ~~~^ fairymax.cmaxqi.c::308677 if(s&&flag&8&&!(y=rg&1?y-r:y,t=0) /* hoppers go to next phase */: :13 ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~48: : notenotefairymax.c: : :place parentheses around the '>' expression to silence this warningplace parentheses around the '&&' expression to silence this warning314 :19: note: place parentheses around the '&&' expression to silence this warning if (!strcmp(command, "undo") && (nr=1) || ^ ( ) 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 */ maxqi.c ( ): ^ 678 :fairymax.c ( ):48 308:: fairymax.c13warning::: 315 '&&' within '||' [-Wlogical-op-parentheses]:note 23: :place parentheses around the & expression to evaluate it first warning: '&&' within '||' [-Wlogical-op-parentheses] !strcmp(command, "remove") && (nr=2) ) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ maxqi.c:678:48 p>2&!(flag&128)&& /* no P & no virgin jump, */ : ||!(flag&128)&&!rg--) /* zig-zag piece? (w. delay)*/ ^ ~~~~~~~~~~~~~^~~~~~~note ( ) : place parentheses around the '&&' expression to silence this warningfairymax.c :315:23: note: place parentheses around the '&&' expression to silence this warning fairymax.c:309:17 !strcmp(command, "remove") && (nr=2) ) {: ^warning : ( ) ||!(flag&128)&&!rg--) /* zig-zag piece? (w. delay)*/'&' within '|' [-Wbitwise-op-parentheses] ^ ( ) ((b[G=x&~15|(r>0)*(BW-1)]^32)<33 /* no virgin R in corner G, */ ~^~~~~ fairymax.c: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:321:18: warning: | has lower precedence than ==; == will be evaluated first [-Wparentheses] fairymax.c:308:25: C:FMAX( m=m+stale|P==I?m:(X=Y=0); ) /* if stalemate, draw-score */warning : ^~~~~'&&' within '||' [-Wlogical-op-parentheses] fairymax.c:97:21: note: expanded from macro 'FMAX' # define FMAX(x) x ^ p>2&!(flag&128)&& /* no P & no virgin jump, */ fairymax.c ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~: 321:18: note: fairymax.cplace parentheses around the '==' expression to silence this warning: 308:25: 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' p>2&!(flag&128)&& /* no P & no virgin jump, */ ^ # 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:314:19: warning: '&&' within '||' [-Wlogical-op-parentheses] if(s&&flag&8&&!(y=rg&1?y-r:y,t=0) /* hoppers go to next phase */ ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ fairymax.c:314:19: 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 */ ^ ( ) 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: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: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: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: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: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] fairymax.c:874:46: if (!strcmp(command, "undo") && (nr=1) || warning ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ~~: operator '>>' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses] fairymax.c:890:48: note: place parentheses around the '&&' expression to silence this warning MovesLeft = -(GamePtr+(Side==WHITE)>>1); ~~~~~~~^~~~~~~~~~~~~~~~ fairymax.c: if (!strcmp(command, "undo") && (nr=1) ||874 : ^46 : ( ) note: place parentheses around the '+' expression to silence this warning fairymax.c:891:48: warning: '&&' within '||' [-Wlogical-op-parentheses] MovesLeft = -(GamePtr+(Side==WHITE)>>1); ^ ( ) !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: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: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.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] != '@') ^ ( ) 20 warnings generated. 35 warnings generated. 36 warnings generated. gmake[2]: Leaving directory '/.DATA_SSD/poudriere_SSD/ports/default/games/fairymax/work/fairymax-f7a7847' ===> Staging for fairymax-5.0b ===> Generating temporary packing list gmake[2]: Entering directory '/.DATA_SSD/poudriere_SSD/ports/default/games/fairymax/work/fairymax-f7a7847' 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-f7a7847' install -m 0644 /.DATA_SSD/poudriere_SSD/ports/default/games/fairymax/work/fairymax-f7a7847/changelog /.DATA_SSD/poudriere_SSD/ports/default/games/fairymax/work/fairymax-f7a7847/copyright /.DATA_SSD/poudriere_SSD/ports/default/games/fairymax/work/fairymax-f7a7847/CVfairy.html /.DATA_SSD/poudriere_SSD/ports/default/games/fairymax/work/fairymax-f7a7847/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