=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for delegate-9.9.1nb1 cc -DMKMKMK -DDEFCC=\"cc\" -I../gen -I../include -O2 -march=i586 -L../lib mkmkmk.c -o mkmkmk.exe In file included from mkmkmk.c:1: ./maker/mkmake.c:335:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( err = fopen("mkmake.err","a") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:335:10: note: place parentheses around the assignment to silence this warning if( err = fopen("mkmake.err","a") ){ ^ ( ) ./maker/mkmake.c:335:10: note: use '==' to turn this assignment into an equality comparison if( err = fopen("mkmake.err","a") ){ ^ == ./maker/mkmake.c:504:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(CONF,"w") ){ ~~~^~~~~~~~~~~~~~~~~ ./maker/mkmake.c:504:9: note: place parentheses around the assignment to silence this warning if( fp = fopen(CONF,"w") ){ ^ ( ) ./maker/mkmake.c:504:9: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(CONF,"w") ){ ^ == ./maker/mkmake.c:600:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(a1+3,')') ){ ~~~^~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:600:12: note: place parentheses around the assignment to silence this warning if( dp = strchr(a1+3,')') ){ ^ ( ) ./maker/mkmake.c:600:12: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(a1+3,')') ){ ^ == ./maker/mkmake.c:653:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getenv("MAKEFLAGS") ) *env = 0; ~~~~^~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:653:11: note: place parentheses around the assignment to silence this warning if( env = getenv("MAKEFLAGS") ) *env = 0; ^ ( ) ./maker/mkmake.c:653:11: note: use '==' to turn this assignment into an equality comparison if( env = getenv("MAKEFLAGS") ) *env = 0; ^ == ./maker/mkmake.c:654:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getenv("MFLAGS") ) *env = 0; ~~~~^~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:654:11: note: place parentheses around the assignment to silence this warning if( env = getenv("MFLAGS") ) *env = 0; ^ ( ) ./maker/mkmake.c:654:11: note: use '==' to turn this assignment into an equality comparison if( env = getenv("MFLAGS") ) *env = 0; ^ == ./maker/mkmake.c:976:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(ans,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:976:10: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(ans,"\r\n") ) ^ ( ) ./maker/mkmake.c:976:10: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(ans,"\r\n") ) ^ == ./maker/mkmake.c:987:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(ans,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:987:10: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(ans,"\r\n") ) ^ ( ) ./maker/mkmake.c:987:10: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(ans,"\r\n") ) ^ == ./maker/mkmake.c:1014:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( conf = fopen(CONF,"a") ){ ~~~~~^~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1014:12: note: place parentheses around the assignment to silence this warning if( conf = fopen(CONF,"a") ){ ^ ( ) ./maker/mkmake.c:1014:12: note: use '==' to turn this assignment into an equality comparison if( conf = fopen(CONF,"a") ){ ^ == ./maker/mkmake.c:1020:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( okfp = fopen(MAKEFILE_OK,"w") ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1020:11: note: place parentheses around the assignment to silence this warning if( okfp = fopen(MAKEFILE_OK,"w") ){ ^ ( ) ./maker/mkmake.c:1020:11: note: use '==' to turn this assignment into an equality comparison if( okfp = fopen(MAKEFILE_OK,"w") ){ ^ == ./maker/mkmake.c:1160:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rcode = EXECVPR(nav[0],nav) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1160:12: note: place parentheses around the assignment to silence this warning if( rcode = EXECVPR(nav[0],nav) ){ ^ ( ) ./maker/mkmake.c:1160:12: note: use '==' to turn this assignment into an equality comparison if( rcode = EXECVPR(nav[0],nav) ){ ^ == ./maker/mkmake.c:1208:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(src,'/') ){ ~~~^~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1208:10: note: place parentheses around the assignment to silence this warning if( dp = strrchr(src,'/') ){ ^ ( ) ./maker/mkmake.c:1208:10: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(src,'/') ){ ^ == ./maker/mkmake.c:1249:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( rcc = fread(buf,1,sizeof(buf),ifp) ) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1249:14: note: place parentheses around the assignment to silence this warning while( rcc = fread(buf,1,sizeof(buf),ifp) ) ^ ( ) ./maker/mkmake.c:1249:14: note: use '==' to turn this assignment into an equality comparison while( rcc = fread(buf,1,sizeof(buf),ifp) ) ^ == ./maker/mkmake.c:1270:56: warning: format specifies type 'unsigned int' but the argument has type 'const char *' [-Wformat] printf("\tcpyfile %s[%d-%d][%x-%x] > %s\n",in,ln1,ln2,ls1,ls2,out); ~~ ^~~ %s ./maker/mkmake.c:1270:60: warning: format specifies type 'unsigned int' but the argument has type 'const char *' [-Wformat] printf("\tcpyfile %s[%d-%d][%x-%x] > %s\n",in,ln1,ln2,ls1,ls2,out); ~~ ^~~ %s ./maker/mkmake.c:1274:11: warning: '&&' within '||' [-Wlogical-op-parentheses] if( ln1 && ln1 <= lnc ~~~~^~~~~~~~~~~~~ ./maker/mkmake.c:1274:11: note: place parentheses around the '&&' expression to silence this warning if( ln1 && ln1 <= lnc ^ ( ) ./maker/mkmake.c:1275:11: warning: '&&' within '||' [-Wlogical-op-parentheses] || ls1 && strncmp(line,ls1,strlen(ls1)) == 0 ) ~~ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1275:11: note: place parentheses around the '&&' expression to silence this warning || ls1 && strncmp(line,ls1,strlen(ls1)) == 0 ) ^ ( ) ./maker/mkmake.c:1302:11: warning: '&&' within '||' [-Wlogical-op-parentheses] if( ln2 && ln2 <= lnc ~~~~^~~~~~~~~~~~~ ./maker/mkmake.c:1302:11: note: place parentheses around the '&&' expression to silence this warning if( ln2 && ln2 <= lnc ^ ( ) ./maker/mkmake.c:1303:11: warning: '&&' within '||' [-Wlogical-op-parentheses] || ls2 && strncmp(line,ls2,strlen(ls2)) == 0 ){ ~~ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1303:11: note: place parentheses around the '&&' expression to silence this warning || ls2 && strncmp(line,ls2,strlen(ls2)) == 0 ){ ^ ( ) ./maker/mkmake.c:1321:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ep = wp; ec = *ep; ep++ ){ ~~~^~~~~ ./maker/mkmake.c:1321:19: note: place parentheses around the assignment to silence this warning for( ep = wp; ec = *ep; ep++ ){ ^ ( ) ./maker/mkmake.c:1321:19: note: use '==' to turn this assignment into an equality comparison for( ep = wp; ec = *ep; ep++ ){ ^ == ./maker/mkmake.c:1352:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pe = getenv("PATH") ) ~~~^~~~~~~~~~~~~~~~ ./maker/mkmake.c:1352:9: note: place parentheses around the assignment to silence this warning if( pe = getenv("PATH") ) ^ ( ) ./maker/mkmake.c:1352:9: note: use '==' to turn this assignment into an equality comparison if( pe = getenv("PATH") ) ^ == ./maker/mkmake.c:1358:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( np = (char*)strchr(dir+1,':') ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1358:10: note: place parentheses around the assignment to silence this warning if( np = (char*)strchr(dir+1,':') ) ^ ( ) ./maker/mkmake.c:1358:10: note: use '==' to turn this assignment into an equality comparison if( np = (char*)strchr(dir+1,':') ) ^ == ./maker/mkmake.c:1362:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(path,"r") ){ ~~~^~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1362:10: note: place parentheses around the assignment to silence this warning if( fp = fopen(path,"r") ){ ^ ( ) ./maker/mkmake.c:1362:10: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(path,"r") ){ ^ == ./maker/mkmake.c:1477:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = (char*)strrchr(file,'.') ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1477:9: note: place parentheses around the assignment to silence this warning if( dp = (char*)strrchr(file,'.') ) ^ ( ) ./maker/mkmake.c:1477:9: note: use '==' to turn this assignment into an equality comparison if( dp = (char*)strrchr(file,'.') ) ^ == ./maker/mkmake.c:1503:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( si = 0; src1 = srcv[si]; si++ ) ~~~~~^~~~~~~~~~ ./maker/mkmake.c:1503:20: note: place parentheses around the assignment to silence this warning for( si = 0; src1 = srcv[si]; si++ ) ^ ( ) ./maker/mkmake.c:1503:20: note: use '==' to turn this assignment into an equality comparison for( si = 0; src1 = srcv[si]; si++ ) ^ == ./maker/mkmake.c:1530:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(manifest,"r") ){ ~~~^~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1530:9: note: place parentheses around the assignment to silence this warning if( fp = fopen(manifest,"r") ){ ^ ( ) ./maker/mkmake.c:1530:9: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(manifest,"r") ){ ^ == ./maker/mkmake.c:1558:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(manifest,"w") ){ ~~~^~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1558:9: note: place parentheses around the assignment to silence this warning if( fp = fopen(manifest,"w") ){ ^ ( ) ./maker/mkmake.c:1558:9: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(manifest,"w") ){ ^ == ./maker/mkmake.c:1611:15: warning: '&&' within '||' [-Wlogical-op-parentheses] if( CPP != 0 && sym[0] == '_' ~~~~~~~~~^~~~~~~~~~~~~~~~ ./maker/mkmake.c:1611:15: note: place parentheses around the '&&' expression to silence this warning if( CPP != 0 && sym[0] == '_' ^ ( ) ./maker/mkmake.c:1683:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sfp = fopen(substlist,"r") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1683:10: note: place parentheses around the assignment to silence this warning if( sfp = fopen(substlist,"r") ){ ^ ( ) ./maker/mkmake.c:1683:10: note: use '==' to turn this assignment into an equality comparison if( sfp = fopen(substlist,"r") ){ ^ == ./maker/mkmake.c:1691:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(buf,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1691:11: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(buf,"\r\n") ) ^ ( ) ./maker/mkmake.c:1691:11: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(buf,"\r\n") ) ^ == ./maker/mkmake.c:1700:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sfp = fopen(substlist,"w") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1700:11: note: place parentheses around the assignment to silence this warning if( sfp = fopen(substlist,"w") ){ ^ ( ) ./maker/mkmake.c:1700:11: note: use '==' to turn this assignment into an equality comparison if( sfp = fopen(substlist,"w") ){ ^ == ./maker/mkmake.c:1730:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(stderr,fmt); ^~~ ./maker/mkmake.c:1805:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rcode = (*func)(file,fv,fcp) ) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1805:13: note: place parentheses around the assignment to silence this warning if( rcode = (*func)(file,fv,fcp) ) ^ ( ) ./maker/mkmake.c:1805:13: note: use '==' to turn this assignment into an equality comparison if( rcode = (*func)(file,fv,fcp) ) ^ == ./maker/mkmake.c:2153:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(HOSTNAME_FILE,"r") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:2153:10: note: place parentheses around the assignment to silence this warning if( fp = fopen(HOSTNAME_FILE,"r") ){ ^ ( ) ./maker/mkmake.c:2153:10: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(HOSTNAME_FILE,"r") ){ ^ == ./maker/mkmake.c:2161:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = popen(HOSTNAME_COM,"r") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:2161:10: note: place parentheses around the assignment to silence this warning if( fp = popen(HOSTNAME_COM,"r") ){ ^ ( ) ./maker/mkmake.c:2161:10: note: use '==' to turn this assignment into an equality comparison if( fp = popen(HOSTNAME_COM,"r") ){ ^ == In file included from mkmkmk.c:1: In file included from ./maker/mkmake.c:2217: ./maker/../rary/cksum.c:57:23: warning: expression result unused [-Wunused-value] for( li = 0; li < 4; li ){ ^~ ./maker/../rary/cksum.c:99:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(file,"r") ){ ~~~^~~~~~~~~~~~~~~~~ ./maker/../rary/cksum.c:99:9: note: place parentheses around the assignment to silence this warning if( fp = fopen(file,"r") ){ ^ ( ) ./maker/../rary/cksum.c:99:9: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(file,"r") ){ ^ == ./maker/../rary/cksum.c:107:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sum = fopen(sumfile,"w") ){ ~~~~^~~~~~~~~~~~~~~~~~~~ ./maker/../rary/cksum.c:107:11: note: place parentheses around the assignment to silence this warning if( sum = fopen(sumfile,"w") ){ ^ ( ) ./maker/../rary/cksum.c:107:11: note: use '==' to turn this assignment into an equality comparison if( sum = fopen(sumfile,"w") ){ ^ == ./maker/../rary/cksum.c:128:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ci = 0; ch = line[ci]; ci++ ){ ~~~^~~~~~~~~~ ./maker/../rary/cksum.c:128:20: note: place parentheses around the assignment to silence this warning for( ci = 0; ch = line[ci]; ci++ ){ ^ ( ) ./maker/../rary/cksum.c:128:20: note: use '==' to turn this assignment into an equality comparison for( ci = 0; ch = line[ci]; ci++ ){ ^ == ./maker/../rary/cksum.c:193:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(file,"r") ){ ~~~^~~~~~~~~~~~~~~~~ ./maker/../rary/cksum.c:193:12: note: place parentheses around the assignment to silence this warning if( fp = fopen(file,"r") ){ ^ ( ) ./maker/../rary/cksum.c:193:12: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(file,"r") ){ ^ == ./maker/../rary/cksum.c:249:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(av[ai],"r") ){ ~~~^~~~~~~~~~~~~~~~~~~ ./maker/../rary/cksum.c:249:11: note: place parentheses around the assignment to silence this warning if( fp = fopen(av[ai],"r") ){ ^ ( ) ./maker/../rary/cksum.c:249:11: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(av[ai],"r") ){ ^ == ./maker/../rary/cksum.c:251:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(line,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~~ ./maker/../rary/cksum.c:251:13: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(line,"\r\n") ) ^ ( ) ./maker/../rary/cksum.c:251:13: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(line,"\r\n") ) ^ == 41 warnings generated. "./mkmkmk.exe" -mkmkmk "cc" -I../gen -I../include -O2 -march=i586 -L../lib maker/mkmake.c -o mkmake.exe maker/mkmake.c:335:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( err = fopen("mkmake.err","a") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:335:10: note: place parentheses around the assignment to silence this warning if( err = fopen("mkmake.err","a") ){ ^ ( ) maker/mkmake.c:335:10: note: use '==' to turn this assignment into an equality comparison if( err = fopen("mkmake.err","a") ){ ^ == maker/mkmake.c:504:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(CONF,"w") ){ ~~~^~~~~~~~~~~~~~~~~ maker/mkmake.c:504:9: note: place parentheses around the assignment to silence this warning if( fp = fopen(CONF,"w") ){ ^ ( ) maker/mkmake.c:504:9: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(CONF,"w") ){ ^ == maker/mkmake.c:600:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(a1+3,')') ){ ~~~^~~~~~~~~~~~~~~~~~ maker/mkmake.c:600:12: note: place parentheses around the assignment to silence this warning if( dp = strchr(a1+3,')') ){ ^ ( ) maker/mkmake.c:600:12: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(a1+3,')') ){ ^ == maker/mkmake.c:653:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getenv("MAKEFLAGS") ) *env = 0; ~~~~^~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:653:11: note: place parentheses around the assignment to silence this warning if( env = getenv("MAKEFLAGS") ) *env = 0; ^ ( ) maker/mkmake.c:653:11: note: use '==' to turn this assignment into an equality comparison if( env = getenv("MAKEFLAGS") ) *env = 0; ^ == maker/mkmake.c:654:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getenv("MFLAGS") ) *env = 0; ~~~~^~~~~~~~~~~~~~~~~~ maker/mkmake.c:654:11: note: place parentheses around the assignment to silence this warning if( env = getenv("MFLAGS") ) *env = 0; ^ ( ) maker/mkmake.c:654:11: note: use '==' to turn this assignment into an equality comparison if( env = getenv("MFLAGS") ) *env = 0; ^ == maker/mkmake.c:976:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(ans,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:976:10: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(ans,"\r\n") ) ^ ( ) maker/mkmake.c:976:10: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(ans,"\r\n") ) ^ == maker/mkmake.c:987:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(ans,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:987:10: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(ans,"\r\n") ) ^ ( ) maker/mkmake.c:987:10: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(ans,"\r\n") ) ^ == maker/mkmake.c:1014:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( conf = fopen(CONF,"a") ){ ~~~~~^~~~~~~~~~~~~~~~~ maker/mkmake.c:1014:12: note: place parentheses around the assignment to silence this warning if( conf = fopen(CONF,"a") ){ ^ ( ) maker/mkmake.c:1014:12: note: use '==' to turn this assignment into an equality comparison if( conf = fopen(CONF,"a") ){ ^ == maker/mkmake.c:1020:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( okfp = fopen(MAKEFILE_OK,"w") ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:1020:11: note: place parentheses around the assignment to silence this warning if( okfp = fopen(MAKEFILE_OK,"w") ){ ^ ( ) maker/mkmake.c:1020:11: note: use '==' to turn this assignment into an equality comparison if( okfp = fopen(MAKEFILE_OK,"w") ){ ^ == maker/mkmake.c:1160:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rcode = EXECVPR(nav[0],nav) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:1160:12: note: place parentheses around the assignment to silence this warning if( rcode = EXECVPR(nav[0],nav) ){ ^ ( ) maker/mkmake.c:1160:12: note: use '==' to turn this assignment into an equality comparison if( rcode = EXECVPR(nav[0],nav) ){ ^ == maker/mkmake.c:1208:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(src,'/') ){ ~~~^~~~~~~~~~~~~~~~~~ maker/mkmake.c:1208:10: note: place parentheses around the assignment to silence this warning if( dp = strrchr(src,'/') ){ ^ ( ) maker/mkmake.c:1208:10: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(src,'/') ){ ^ == maker/mkmake.c:1249:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( rcc = fread(buf,1,sizeof(buf),ifp) ) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:1249:14: note: place parentheses around the assignment to silence this warning while( rcc = fread(buf,1,sizeof(buf),ifp) ) ^ ( ) maker/mkmake.c:1249:14: note: use '==' to turn this assignment into an equality comparison while( rcc = fread(buf,1,sizeof(buf),ifp) ) ^ == maker/mkmake.c:1270:56: warning: format specifies type 'unsigned int' but the argument has type 'const char *' [-Wformat] printf("\tcpyfile %s[%d-%d][%x-%x] > %s\n",in,ln1,ln2,ls1,ls2,out); ~~ ^~~ %s maker/mkmake.c:1270:60: warning: format specifies type 'unsigned int' but the argument has type 'const char *' [-Wformat] printf("\tcpyfile %s[%d-%d][%x-%x] > %s\n",in,ln1,ln2,ls1,ls2,out); ~~ ^~~ %s maker/mkmake.c:1274:11: warning: '&&' within '||' [-Wlogical-op-parentheses] if( ln1 && ln1 <= lnc ~~~~^~~~~~~~~~~~~ maker/mkmake.c:1274:11: note: place parentheses around the '&&' expression to silence this warning if( ln1 && ln1 <= lnc ^ ( ) maker/mkmake.c:1275:11: warning: '&&' within '||' [-Wlogical-op-parentheses] || ls1 && strncmp(line,ls1,strlen(ls1)) == 0 ) ~~ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:1275:11: note: place parentheses around the '&&' expression to silence this warning || ls1 && strncmp(line,ls1,strlen(ls1)) == 0 ) ^ ( ) maker/mkmake.c:1302:11: warning: '&&' within '||' [-Wlogical-op-parentheses] if( ln2 && ln2 <= lnc ~~~~^~~~~~~~~~~~~ maker/mkmake.c:1302:11: note: place parentheses around the '&&' expression to silence this warning if( ln2 && ln2 <= lnc ^ ( ) maker/mkmake.c:1303:11: warning: '&&' within '||' [-Wlogical-op-parentheses] || ls2 && strncmp(line,ls2,strlen(ls2)) == 0 ){ ~~ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:1303:11: note: place parentheses around the '&&' expression to silence this warning || ls2 && strncmp(line,ls2,strlen(ls2)) == 0 ){ ^ ( ) maker/mkmake.c:1321:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ep = wp; ec = *ep; ep++ ){ ~~~^~~~~ maker/mkmake.c:1321:19: note: place parentheses around the assignment to silence this warning for( ep = wp; ec = *ep; ep++ ){ ^ ( ) maker/mkmake.c:1321:19: note: use '==' to turn this assignment into an equality comparison for( ep = wp; ec = *ep; ep++ ){ ^ == maker/mkmake.c:1352:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pe = getenv("PATH") ) ~~~^~~~~~~~~~~~~~~~ maker/mkmake.c:1352:9: note: place parentheses around the assignment to silence this warning if( pe = getenv("PATH") ) ^ ( ) maker/mkmake.c:1352:9: note: use '==' to turn this assignment into an equality comparison if( pe = getenv("PATH") ) ^ == maker/mkmake.c:1358:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( np = (char*)strchr(dir+1,':') ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:1358:10: note: place parentheses around the assignment to silence this warning if( np = (char*)strchr(dir+1,':') ) ^ ( ) maker/mkmake.c:1358:10: note: use '==' to turn this assignment into an equality comparison if( np = (char*)strchr(dir+1,':') ) ^ == maker/mkmake.c:1362:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(path,"r") ){ ~~~^~~~~~~~~~~~~~~~~ maker/mkmake.c:1362:10: note: place parentheses around the assignment to silence this warning if( fp = fopen(path,"r") ){ ^ ( ) maker/mkmake.c:1362:10: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(path,"r") ){ ^ == maker/mkmake.c:1477:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = (char*)strrchr(file,'.') ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:1477:9: note: place parentheses around the assignment to silence this warning if( dp = (char*)strrchr(file,'.') ) ^ ( ) maker/mkmake.c:1477:9: note: use '==' to turn this assignment into an equality comparison if( dp = (char*)strrchr(file,'.') ) ^ == maker/mkmake.c:1503:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( si = 0; src1 = srcv[si]; si++ ) ~~~~~^~~~~~~~~~ maker/mkmake.c:1503:20: note: place parentheses around the assignment to silence this warning for( si = 0; src1 = srcv[si]; si++ ) ^ ( ) maker/mkmake.c:1503:20: note: use '==' to turn this assignment into an equality comparison for( si = 0; src1 = srcv[si]; si++ ) ^ == maker/mkmake.c:1530:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(manifest,"r") ){ ~~~^~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:1530:9: note: place parentheses around the assignment to silence this warning if( fp = fopen(manifest,"r") ){ ^ ( ) maker/mkmake.c:1530:9: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(manifest,"r") ){ ^ == maker/mkmake.c:1558:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(manifest,"w") ){ ~~~^~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:1558:9: note: place parentheses around the assignment to silence this warning if( fp = fopen(manifest,"w") ){ ^ ( ) maker/mkmake.c:1558:9: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(manifest,"w") ){ ^ == maker/mkmake.c:1611:15: warning: '&&' within '||' [-Wlogical-op-parentheses] if( CPP != 0 && sym[0] == '_' ~~~~~~~~~^~~~~~~~~~~~~~~~ maker/mkmake.c:1611:15: note: place parentheses around the '&&' expression to silence this warning if( CPP != 0 && sym[0] == '_' ^ ( ) maker/mkmake.c:1683:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sfp = fopen(substlist,"r") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:1683:10: note: place parentheses around the assignment to silence this warning if( sfp = fopen(substlist,"r") ){ ^ ( ) maker/mkmake.c:1683:10: note: use '==' to turn this assignment into an equality comparison if( sfp = fopen(substlist,"r") ){ ^ == maker/mkmake.c:1691:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(buf,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:1691:11: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(buf,"\r\n") ) ^ ( ) maker/mkmake.c:1691:11: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(buf,"\r\n") ) ^ == maker/mkmake.c:1700:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sfp = fopen(substlist,"w") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:1700:11: note: place parentheses around the assignment to silence this warning if( sfp = fopen(substlist,"w") ){ ^ ( ) maker/mkmake.c:1700:11: note: use '==' to turn this assignment into an equality comparison if( sfp = fopen(substlist,"w") ){ ^ == maker/mkmake.c:1730:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(stderr,fmt); ^~~ maker/mkmake.c:1805:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rcode = (*func)(file,fv,fcp) ) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:1805:13: note: place parentheses around the assignment to silence this warning if( rcode = (*func)(file,fv,fcp) ) ^ ( ) maker/mkmake.c:1805:13: note: use '==' to turn this assignment into an equality comparison if( rcode = (*func)(file,fv,fcp) ) ^ == maker/mkmake.c:2153:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(HOSTNAME_FILE,"r") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:2153:10: note: place parentheses around the assignment to silence this warning if( fp = fopen(HOSTNAME_FILE,"r") ){ ^ ( ) maker/mkmake.c:2153:10: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(HOSTNAME_FILE,"r") ){ ^ == maker/mkmake.c:2161:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = popen(HOSTNAME_COM,"r") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:2161:10: note: place parentheses around the assignment to silence this warning if( fp = popen(HOSTNAME_COM,"r") ){ ^ ( ) maker/mkmake.c:2161:10: note: use '==' to turn this assignment into an equality comparison if( fp = popen(HOSTNAME_COM,"r") ){ ^ == In file included from maker/mkmake.c:2217: maker/../rary/cksum.c:57:23: warning: expression result unused [-Wunused-value] for( li = 0; li < 4; li ){ ^~ maker/../rary/cksum.c:99:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(file,"r") ){ ~~~^~~~~~~~~~~~~~~~~ maker/../rary/cksum.c:99:9: note: place parentheses around the assignment to silence this warning if( fp = fopen(file,"r") ){ ^ ( ) maker/../rary/cksum.c:99:9: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(file,"r") ){ ^ == maker/../rary/cksum.c:107:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sum = fopen(sumfile,"w") ){ ~~~~^~~~~~~~~~~~~~~~~~~~ maker/../rary/cksum.c:107:11: note: place parentheses around the assignment to silence this warning if( sum = fopen(sumfile,"w") ){ ^ ( ) maker/../rary/cksum.c:107:11: note: use '==' to turn this assignment into an equality comparison if( sum = fopen(sumfile,"w") ){ ^ == maker/../rary/cksum.c:128:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ci = 0; ch = line[ci]; ci++ ){ ~~~^~~~~~~~~~ maker/../rary/cksum.c:128:20: note: place parentheses around the assignment to silence this warning for( ci = 0; ch = line[ci]; ci++ ){ ^ ( ) maker/../rary/cksum.c:128:20: note: use '==' to turn this assignment into an equality comparison for( ci = 0; ch = line[ci]; ci++ ){ ^ == maker/../rary/cksum.c:193:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(file,"r") ){ ~~~^~~~~~~~~~~~~~~~~ maker/../rary/cksum.c:193:12: note: place parentheses around the assignment to silence this warning if( fp = fopen(file,"r") ){ ^ ( ) maker/../rary/cksum.c:193:12: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(file,"r") ){ ^ == maker/../rary/cksum.c:249:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(av[ai],"r") ){ ~~~^~~~~~~~~~~~~~~~~~~ maker/../rary/cksum.c:249:11: note: place parentheses around the assignment to silence this warning if( fp = fopen(av[ai],"r") ){ ^ ( ) maker/../rary/cksum.c:249:11: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(av[ai],"r") ){ ^ == maker/../rary/cksum.c:251:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(line,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~~ maker/../rary/cksum.c:251:13: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(line,"\r\n") ) ^ ( ) maker/../rary/cksum.c:251:13: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(line,"\r\n") ) ^ == 41 warnings generated. sh make-init.sh rm: src/_builtin.c: No such file or directory rm: src/builtin.o: No such file or directory rm: src/version.o: No such file or directory rm: gen/bldsign.h: No such file or directory ####### -makeat: /usr/pkgsrc/work/net/delegate/work/delegate9.9.1/src searching DELEGATE_CONF ... /usr/pkgsrc/work/net/delegate/work/delegate9.9.1/mkmake.exe +r -lnconf DELEGATE_CONF #### looking for ../DELEGATE_CONF symlink ..//DELEGATE_CONF DELEGATE_CONF echo "GOT by MKMAKE=/usr/pkgsrc/work/net/delegate/work/delegate9.9.1/mkmake.exe" > CONF_IS_GOT creating Makefile.tst ... "/usr/pkgsrc/work/net/delegate/work/delegate9.9.1/mkmake.exe" -mkmake "/usr/pkg/bin/bmake" Makefile.tst "cc" "if(UNIX,OS2EMX) -O2" "if(UNIX,OS2EMX) -x c++ -DQS" "-s -Zbin-files -Zbsd-signals -L../lib" "ar ts" "-lnsl -lsocket -ldl -lutil -lpthread -lunalign WS2_32.LIB ADVAPI32.LIB OLE32.LIB SHELL32.LIB UUID.LIB USER32.LIB -MT -lpam -lstdc++" NETLIB "" "../../SSL/libcrypto.a ../../SSL/libssl.a -lcrypto -lssl ../../SSL/LIBEAY32.LIB ../../SSL/SSLEAY32.LIB" SSLLIB av[4] 'if(UNIX,OS2EMX) -O2' ==> '-O2' av[5] 'if(UNIX,OS2EMX) -x c++ -DQS' ==> '-x c++ -DQS' mkmake: _.c:2:1: error: C++ requires a type specifier for all declarations main(){ } ^~~~ 1 error generated. clang: error: no such file or directory: '_.o' [cc -c -O2 -x c++ -DQS] NONC99 = 3 #### [/usr/pkgsrc/work/net/delegate/work/delegate9.9.1/src] creating Makefile.tst cpyfile Makefile[1-0][0-804f73d] > Makefile.tst #ifdef UNIX ####################################################### #ifdef UNIX,OS2EMX ################################################ [SET] MKMAKE=/usr/pkgsrc/work/net/delegate/work/delegate9.9.1/mkmake.exe [SET] RANLIB=/usr/pkgsrc/work/net/delegate/work/.wrapper/bin/ranlib - checking availability of -lnsl [] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of -lsocket [] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of -ldl [] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of -lutil [] cpyfile DELEGATE_CONF[1-0][0-0] > _make - checking availability of -lpthread [-lutil] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of -lunalign [-lutil] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of WS2_32.LIB [-lutil] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of ADVAPI32.LIB [-lutil] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of OLE32.LIB [-lutil] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of SHELL32.LIB [-lutil] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of UUID.LIB [-lutil] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of USER32.LIB [-lutil] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of -MT [-lutil] cpyfile DELEGATE_CONF[1-0][0-0] > _make - checking availability of -lpam [-lutil -MT] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of -lstdc++ [-lutil -MT] cpyfile DELEGATE_CONF[1-0][0-0] > _make [SET] NETLIB=-lutil -MT -lstdc++ - checking availability of ../../SSL/libcrypto.a [] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of ../../SSL/libssl.a [] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of -lcrypto [] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of -lssl [] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of ../../SSL/LIBEAY32.LIB [] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of ../../SSL/SSLEAY32.LIB [] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) [SET] SSLLIB= cpyfile DELEGATE_CONF[1-0][0-0] > Makefile.tst cpyfile Makefile[0-0][804f7c0-0] > Makefile.tst #ifdef UNIX ####################################################### #ifdef UNIX,OS2EMX ################################################ "/usr/pkgsrc/work/net/delegate/work/delegate9.9.1/mkmake.exe" -makeit "/usr/pkg/bin/bmake" -f Makefile.tst check_conf SHELL="/bin/sh" /usr/pkgsrc/work/net/delegate/work/delegate9.9.1/mkmake.exe +r -ckconf Makefile.chk Makefile.tst DELEGATE_CONF "ar" "root@localhost" "" ckconf: ADMIN = 'root@localhost' /usr/pkgsrc/work/net/delegate/work/delegate9.9.1/mkmake.exe -cksum Makefile mkmkmk.c sample.shio version.c editconf.c admin.c notify.c shutter.c abort.c form2conf.c process.c vaddr.c conf.c ddi.c textconv.c auth.h syslog.c log.c svstat.c iotimeout.c misc.c msg.c yshell.c shio.c db.c hostlist.h hostlist.c cond.c script.c param.h param.c env.c delegated.c svport.c remote.c commands.c croncom.c delegate.c service.h service.c svconf.c filter.h filter.c master.c caps.c stls.c tsp.c sudo.c gacl.c access.c ident.c dgauth.c dgsign.c ccache.c cache.c distrib.c bcounter.c ipno.c inets.c uns.c rident.c utmpident.c inetd.c thruwayd.c dget.c urlfind.c mount.c url.c gopher.c icp.c icap.c http.c httpx.c httplog.c httphead.c httpd.c cgi.c ssi.c htaccept.c htccx.c htswitch.c htmlgen.c nntp.c nntplist.c nntpgw.c enews.c pop.c smtp.c telnet.c ftp.c xferlog.c X.c wais.c whois.c imap.c ldap.c smtpgate.c alias.c domain.c lpr.c sftp.c socks.c socks4.c sox.c cuseeme.c coupler.c vsap.c tcprelay.c udprelay.c ftpgw.c filetype.c embed.c builtin.c dtot.c smtp_lib.c inets_lib.c "/usr/pkgsrc/work/net/delegate/work/delegate9.9.1/mkmake.exe" -mkmake "/usr/pkg/bin/bmake" Makefile.go "cc" "if(UNIX,OS2EMX) -O2" "if(UNIX,OS2EMX) -x c++ -DQS" "-s -Zbin-files -Zbsd-signals -L../lib" "ar ts" "-lnsl -lsocket -ldl -lutil -lpthread -lunalign WS2_32.LIB ADVAPI32.LIB OLE32.LIB SHELL32.LIB UUID.LIB USER32.LIB -MT -lpam -lstdc++" NETLIB "TELEPORT=../teleport FSX=../fsx RESOLVY=../resolvy RARY=../rary MIMEKIT=../mimekit CFI=../filters MD5=../pds/md5 SUBST=../maker" "../../SSL/libcrypto.a ../../SSL/libssl.a -lcrypto -lssl ../../SSL/LIBEAY32.LIB ../../SSL/SSLEAY32.LIB" SSLLIB av[4] 'if(UNIX,OS2EMX) -O2' ==> '-O2' av[5] 'if(UNIX,OS2EMX) -x c++ -DQS' ==> '-x c++ -DQS' mkmake: _.c:2:1: error: C++ requires a type specifier for all declarations main(){ } ^~~~ 1 error generated. clang: error: no such file or directory: '_.o' [cc -c -O2 -x c++ -DQS] NONC99 = 3 scanning source of TELEPORT at ../teleport README Makefile teleport.h teleportd.c vehicle.c qzcode.c qz.c #### won't use [README] scanning source of FSX at ../fsx Makefile any2fdif.c scanning source of RESOLVY at ../resolvy Makefile ccres dns.h dnsnode.c resolv.c reshost.c rescache.c hostent.c resconf.c resmain.c ntod.c netdom.sample #### won't use [ccres] scanning source of RARY at ../rary Makefile SLL.c TLEX.c String.c ystring.c JIS.c codeconv.c str_stdio.c ccxmain.c ccx.c html.c urlesc.c Strftime.c Timeofday.c strid.c hash.c bsort.c codec.c uu.c pstitle.c signal.c IsSolaris.c sched.c schedmain.c tar.c sed.c readycc.c fpoll.c fpolls.c frelay.c timer.c nbio.c vsaddr.c pelcgb.c credhy.c cksum.c setutimes.c file.c fstat.c pam.c libpam.c passwd.c syslog.c lock.c dglibs.c forkspawn.c Thread.c randstack.c rawcopy.c hostaddr.c socks5.c cfilib.c wince.c winmo.c winsspi.c winnat.c unix.c windows.c windows0.c Finish.c scanning source of MIMEKIT at ../mimekit README README-LIB README-PGP CHANGES ISO2022JP Makefile mkranlib.sh sample mimecodes.c mime.c pgp.c rfc822.c mimehead.c mimeh_ovw.c mimeconv.c mimemain.c noxlib.c gendom.c str_codes.c #### won't use [README] #### won't use [README-LIB] #### won't use [README-PGP] #### won't use [CHANGES] #### won't use [ISO2022JP] #### won't use [sample] scanning source of CFI at ../filters Makefile bdtee.c bdthru.c fcl.c mkstab.c dl.c gzip.c htview.c cfi.c cfi.conf reclog.c expired.c cafe.c cafemain.c sslway.c m17nccx.c backup.c swft.c pdft.c dglogs.c dping.c ciicgi.c htwrap.c netzip.c scanning source of MD5 at ../pds/md5 rfc1321.txt Makefile md5main.c md5lib.c comskip global.h md5.h md5c.c md5cb.c mddriver.c #### won't use [comskip] scanning source of SUBST at ../maker Makefile mkmake.c avail.c dummy.c gxx.c dlopen.c __uname.c uname.c bcopy.c bzero.c putenv.c unsetenv.c __alloca.c old_alloca.c alloca.c __malloc_size.c malloc_size.c killpg.c setsid.c sigmask.c sigsetmask.c setresuid.c seteuid.c setegid.c unaligned.c timegm.c __usleep.c usleep.c _-poll.c _-select.c _-recv.c sendFd1.c sendFd2.c sendFd3.c closesocket.c yp_match.c endhostent.c gethostbyname2.c __gethostbyname2.c socklen_u.c socklen_s.c socketpair.c inet_aton.c _-setferror.c setferror.c strerror.c strcasecmp.c strcasestr.c strrcasestr.c strstr.c strdup.c strncpy.c setbuffer.c setlinebuf.c __syslog.c syslog.c __syscall.c __fork.c fork.c __ptrace.c _-ptrace.c ptrace.c __sigaction.c sigaction.c __futimes.c futimes.c futimes_.c __utimes.c utimes.c fsync.c __fchmod.c fchmod.c __fchown.c fchown.c chown.c __link.c link.c __symlink.c symlink.c readlink.c __lstat.c lstat.c __statvfs.c _-statvfs.c statvfs.c vfork.c wait3.c waitpid.c getmsg.c chroot.c nice.c __getrlimit.c getrlimit.c _-getrusage.c getrusage.c ___spawnvp.c __spawnvp.c _spawnvp.c spawnvp.c spawnvp_.c _-mutex.c mutex.c __pthread_create.c ___lwp_create.c __lwp_create.c __pthread_kill.c pthread_kill.c ___beginthread.c nothread.c __flock.c _-fcntl.c flockfile.c FMODE.c getwd.c getcwd.c __opendir.c __scandir.c pam_start.c __forkpty.c _-forkpty.c forkpty1.c forkpty.c __tcsetattr.c Stty.c __getwinsize.c getwinsize.c _-mkfifo.c mkfifo.c _-fgetpos.c fgetpos.c fpurge.c stdio.c pendingcc1.c pendingcc.c _-fcloseFILE.c _-fcloseFILE2.c fcloseFILE.c __setproctitle.c setproctitle.c __sysctl.c sysctl.c __sysinfo.c __sysconf.c sysinfo.c sysctlbyname.c errno.c gethostid.c opt_s_vsap.c opt_s_htaccept.c opt_s_sox.c opt_s_stls.c opt_s_caps.c dummy.c SSL_library_init.c ERR_error_string_n.c RSA_generate_key.c SSL_set_SSL_CTX.c SSL_CTX_set_tmp_rsa_callback.c #### [/usr/pkgsrc/work/net/delegate/work/delegate9.9.1/src] creating Makefile.go cpyfile Makefile[1-0][0-804f73d] > Makefile.go #ifdef UNIX ####################################################### #ifdef UNIX,OS2EMX ################################################ [SET] MKMAKE=/usr/pkgsrc/work/net/delegate/work/delegate9.9.1/mkmake.exe [SET] RANLIB=/usr/pkgsrc/work/net/delegate/work/.wrapper/bin/ranlib - checking availability of -lnsl [] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of -lsocket [] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of -ldl [] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of -lutil [] cpyfile DELEGATE_CONF[1-0][0-0] > _make - checking availability of -lpthread [-lutil] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of -lunalign [-lutil] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of WS2_32.LIB [-lutil] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of ADVAPI32.LIB [-lutil] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of OLE32.LIB [-lutil] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of SHELL32.LIB [-lutil] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of UUID.LIB [-lutil] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of USER32.LIB [-lutil] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of -MT [-lutil] cpyfile DELEGATE_CONF[1-0][0-0] > _make - checking availability of -lpam [-lutil -MT] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of -lstdc++ [-lutil -MT] cpyfile DELEGATE_CONF[1-0][0-0] > _make [SET] NETLIB=-lutil -MT -lstdc++ - checking availability of ../../SSL/libcrypto.a [] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of ../../SSL/libssl.a [] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of -lcrypto [] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of -lssl [] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of ../../SSL/LIBEAY32.LIB [] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of ../../SSL/SSLEAY32.LIB [] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) [SET] SSLLIB= cpyfile DELEGATE_CONF[1-0][0-0] > Makefile.go cpyfile Makefile[0-0][804f7c0-0] > Makefile.go #ifdef UNIX ####################################################### #ifdef UNIX,OS2EMX ################################################ cc -o ../mkcpp ../include/mkcpp.c ../include/mkcpp.c:126:38: warning: format specifies type 'unsigned int' but the argument has type 'const char *' [-Wformat] fprintf(stderr,"--- mkcpp %X %X\n",src,dst); ~~ ^~~ %s ../include/mkcpp.c:126:42: warning: format specifies type 'unsigned int' but the argument has type 'const char *' [-Wformat] fprintf(stderr,"--- mkcpp %X %X\n",src,dst); ~~ ^~~ %s ../include/mkcpp.c:130:44: warning: format specifies type 'unsigned int' but the argument has type 'FILE *' (aka 'struct __sFILE *') [-Wformat] fprintf(stderr,"--- mkcpp %X:%s %X:%s\n",in,src,out,dst); ~~ ^~ ../include/mkcpp.c:130:51: warning: format specifies type 'unsigned int' but the argument has type 'FILE *' (aka 'struct __sFILE *') [-Wformat] fprintf(stderr,"--- mkcpp %X:%s %X:%s\n",in,src,out,dst); ~~ ^~~ ../include/mkcpp.c:157:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( nlen = strheq(lp,"MStr(") ){ ~~~~~^~~~~~~~~~~~~~~~~~~~ ../include/mkcpp.c:157:13: note: place parentheses around the assignment to silence this warning if( nlen = strheq(lp,"MStr(") ){ ^ ( ) ../include/mkcpp.c:157:13: note: use '==' to turn this assignment into an equality comparison if( nlen = strheq(lp,"MStr(") ){ ^ == ../include/mkcpp.c:167:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( nlen = strheq(lp,"sprintf(") ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ../include/mkcpp.c:167:13: note: place parentheses around the assignment to silence this warning if( nlen = strheq(lp,"sprintf(") ){ ^ ( ) ../include/mkcpp.c:167:13: note: use '==' to turn this assignment into an equality comparison if( nlen = strheq(lp,"sprintf(") ){ ^ == ../include/mkcpp.c:172:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( nlen = strheq(lp,"Rsprintf(") ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../include/mkcpp.c:172:13: note: place parentheses around the assignment to silence this warning if( nlen = strheq(lp,"Rsprintf(") ){ ^ ( ) ../include/mkcpp.c:172:13: note: use '==' to turn this assignment into an equality comparison if( nlen = strheq(lp,"Rsprintf(") ){ ^ == ../include/mkcpp.c:201:17: warning: '/*' within block comment [-Wcomment] /* making gen/*.h (depending mkcpp) later than mkcpp */ ^ 8 warnings generated. ../mkcpp ../include/dglib.h ../gen/dglib.h -- mkcpp set time: 1407534665 -> 1232172294 ../gen/dglib.h ../mkcpp ../include/delegate.h ../gen/delegate.h -- mkcpp set time: 1407534665 -> 1226747610 ../gen/delegate.h ../mkcpp ../include/htswitch.h ../gen/htswitch.h -- mkcpp set time: 1407534665 -> 1101989013 ../gen/htswitch.h ../mkcpp ../include/vaddr.h ../gen/vaddr.h -- mkcpp set time: 1407534665 -> 1224060893 ../gen/vaddr.h ../mkcpp ../include/http.h ../gen/http.h -- mkcpp set time: 1407534665 -> 1228599839 ../gen/http.h ../mkcpp ../include/url.h ../gen/url.h -- mkcpp set time: 1407534665 -> 1101966026 ../gen/url.h ../mkcpp ../include/mime.h ../gen/mime.h -- mkcpp set time: 1407534665 -> 1231816678 ../gen/mime.h ../mkcpp ../include/htadmin.h ../gen/htadmin.h -- mkcpp set time: 1407534665 -> 1201943740 ../gen/htadmin.h /usr/pkgsrc/work/net/delegate/work/delegate9.9.1/mkmake.exe -makeat ../lib/libteleport.a ../teleport libteleport.a "/usr/pkg/bin/bmake" libx MAKE="/usr/pkg/bin/bmake" SHELL="/bin/sh" CC="cc" CFLAGS="-O2 -x c++ -DQS -DNONC99" HDRDIR="-I../gen -I../include -O2 -march=i586" RANLIB="/usr/pkgsrc/work/net/delegate/work/.wrapper/bin/ranlib" LDFLAGS=" -L../lib" LIBDIR="-L../lib" NETLIB="-lutil -MT -lstdc++" AR="ar" TAR="tar" [cc -c -O2 -x c++ -DQS -DNONC99 ] NONC99 = 2 ####### -makeat: /usr/pkgsrc/work/net/delegate/work/delegate9.9.1/teleport /usr/pkgsrc/work/net/delegate/work/delegate9.9.1/mkmake.exe -cksum README Makefile teleport.h teleportd.c vehicle.c qzcode.c qz.c /usr/pkgsrc/work/net/delegate/work/delegate9.9.1/mkmake.exe -mkmake "/usr/pkg/bin/bmake" Makefile.go "cc" "-O2 -x c++ -DQS -DNONC99" "" "-L../lib" "/usr/pkgsrc/work/net/delegate/work/.wrapper/bin/ranlib" "-lutil -MT -lstdc++" NETLIB mkmake: [cc -c -O2 -x c++ -DQS -DNONC99 ] NONC99 = 2 #### [/usr/pkgsrc/work/net/delegate/work/delegate9.9.1/teleport] creating Makefile.go cpyfile Makefile[1-0][0-804f73d] > Makefile.go #ifdef UNIX,OS2EMX ################################################ [SET] MKMAKE=/usr/pkgsrc/work/net/delegate/work/delegate9.9.1/mkmake.exe [SET] RANLIB=/usr/pkgsrc/work/net/delegate/work/.wrapper/bin/ranlib - checking availability of -lutil [] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -MT [-lutil] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lstdc++ [-lutil -MT] cpyfile: cannot read 'DELEGATE_CONF' [SET] NETLIB=-lutil -MT -lstdc++ cpyfile: cannot read 'DELEGATE_CONF' cpyfile Makefile[0-0][804f7c0-0] > Makefile.go #ifdef UNIX,OS2EMX ################################################ /usr/pkg/bin/bmake -f Makefile.go libteleport.a SHELL="/bin/sh" HDRDIR="-I../gen -I../include -O2 -march=i586" ../mkcpp teleportd.c teleportd.cc -- mkcpp set time: 1407534665 -> 1224300395 teleportd.cc cc -O2 -x c++ -DQS -DNONC99 -I../gen -I../gen -I../include -O2 -march=i586 -c teleportd.cc teleportd.cc:430:37: warning: '&&' within '||' [-Wlogical-op-parentheses] if( msg[1] == '>' || msg[1] == '<' && msg[2] != '!') ~~ ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ teleportd.cc:430:37: note: place parentheses around the '&&' expression to silence this warning if( msg[1] == '>' || msg[1] == '<' && msg[2] != '!') ^ ( ) teleportd.cc:442:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( pp = msg; ch = *pp; pp++ ){ ~~~^~~~~ teleportd.cc:442:22: note: place parentheses around the assignment to silence this warning for( pp = msg; ch = *pp; pp++ ){ ^ ( ) teleportd.cc:442:22: note: use '==' to turn this assignment into an equality comparison for( pp = msg; ch = *pp; pp++ ){ ^ == teleportd.cc:722:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(arg,'/') ) ~~~^~~~~~~~~~~~~~~~~~ teleportd.cc:722:10: note: place parentheses around the assignment to silence this warning if( dp = strrchr(arg,'/') ) ^ ( ) teleportd.cc:722:10: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(arg,'/') ) ^ == 3 warnings generated. ../mkcpp vehicle.c vehicle.cc -- mkcpp set time: 1407534666 -> 1139394336 vehicle.cc cc -O2 -x c++ -DQS -DNONC99 -I../gen -I../gen -I../include -O2 -march=i586 -c vehicle.cc vehicle.cc:341:3: warning: expression result unused [-Wunused-value] *path++; ^~~~~~~ vehicle.cc:346:3: warning: expression result unused [-Wunused-value] *path++; ^~~~~~~ vehicle.cc:377:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pp = strchr(ap->a_path,'!') ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~ vehicle.cc:377:11: note: place parentheses around the assignment to silence this warning if( pp = strchr(ap->a_path,'!') ) ^ ( ) vehicle.cc:377:11: note: use '==' to turn this assignment into an equality comparison if( pp = strchr(ap->a_path,'!') ) ^ == vehicle.cc:565:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( np = strpbrk(msghead,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ vehicle.cc:565:9: note: place parentheses around the assignment to silence this warning if( np = strpbrk(msghead,"\r\n") ) ^ ( ) vehicle.cc:565:9: note: use '==' to turn this assignment into an equality comparison if( np = strpbrk(msghead,"\r\n") ) ^ == vehicle.cc:567:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( np = msghead; ch = *np; np++ ) ~~~^~~~~ vehicle.cc:567:24: note: place parentheses around the assignment to silence this warning for( np = msghead; ch = *np; np++ ) ^ ( ) vehicle.cc:567:24: note: use '==' to turn this assignment into an equality comparison for( np = msghead; ch = *np; np++ ) ^ == 5 warnings generated. ../mkcpp qzcode.c qzcode.cc -- mkcpp set time: 1407534666 -> 1109634287 qzcode.cc cc -O2 -x c++ -DQS -DNONC99 -I../gen -I../gen -I../include -O2 -march=i586 -c qzcode.cc qzcode.cc:128:25: warning: '&&' within '||' [-Wlogical-op-parentheses] || (code & QZ_PRINT) && (ch<0x20 || 0x7F<=ch) ) ~~ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ qzcode.cc:128:25: note: place parentheses around the '&&' expression to silence this warning || (code & QZ_PRINT) && (ch<0x20 || 0x7F<=ch) ) ^ ( ) qzcode.cc:144:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( cj = 0; ch = QZM[cj]; cj++ ) ~~~^~~~~~~~~ qzcode.cc:144:20: note: place parentheses around the assignment to silence this warning for( cj = 0; ch = QZM[cj]; cj++ ) ^ ( ) qzcode.cc:144:20: note: use '==' to turn this assignment into an equality comparison for( cj = 0; ch = QZM[cj]; cj++ ) ^ == qzcode.cc:150:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( cj = 0; ch = QZM[cj]; cj++ ) ~~~^~~~~~~~~ qzcode.cc:150:18: note: place parentheses around the assignment to silence this warning for( cj = 0; ch = QZM[cj]; cj++ ) ^ ( ) qzcode.cc:150:18: note: use '==' to turn this assignment into an equality comparison for( cj = 0; ch = QZM[cj]; cj++ ) ^ == qzcode.cc:178:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ci = 0; ch = QZM[ci]; ci++ ) ~~~^~~~~~~~~ qzcode.cc:178:18: note: place parentheses around the assignment to silence this warning for( ci = 0; ch = QZM[ci]; ci++ ) ^ ( ) qzcode.cc:178:18: note: use '==' to turn this assignment into an equality comparison for( ci = 0; ch = QZM[ci]; ci++ ) ^ == 4 warnings generated. libteleport.a bmake: exec(libteleport.a) failed (No such file or directory) *** Error code 1 (ignored) ar cr libteleport.a teleportd.o vehicle.o qzcode.o /usr/pkgsrc/work/net/delegate/work/.wrapper/bin/ranlib libteleport.a **[0] move ../teleport/libteleport.a to ../lib/libteleport.a /usr/pkgsrc/work/net/delegate/work/delegate9.9.1/mkmake.exe -makeat ../lib/libresolvy.a ../resolvy libresolvy.a "/usr/pkg/bin/bmake" libx MAKE="/usr/pkg/bin/bmake" SHELL="/bin/sh" CC="cc" CFLAGS="-O2 -x c++ -DQS -DNONC99" HDRDIR="-I../gen -I../include -O2 -march=i586" RANLIB="/usr/pkgsrc/work/net/delegate/work/.wrapper/bin/ranlib" LDFLAGS=" -L../lib" LIBDIR="-L../lib" NETLIB="-lutil -MT -lstdc++" AR="ar" TAR="tar" [cc -c -O2 -x c++ -DQS -DNONC99 ] NONC99 = 2 ####### -makeat: /usr/pkgsrc/work/net/delegate/work/delegate9.9.1/resolvy /usr/pkgsrc/work/net/delegate/work/delegate9.9.1/mkmake.exe -cksum Makefile ccres dns.h dnsnode.c resolv.c reshost.c rescache.c hostent.c resconf.c resmain.c ntod.c netdom.sample /usr/pkgsrc/work/net/delegate/work/delegate9.9.1/mkmake.exe -mkmake "/usr/pkg/bin/bmake" Makefile.go "cc" "-O2 -x c++ -DQS -DNONC99" "" "-L../lib" "/usr/pkgsrc/work/net/delegate/work/.wrapper/bin/ranlib" "-lutil -MT -lstdc++" NETLIB mkmake: [cc -c -O2 -x c++ -DQS -DNONC99 ] NONC99 = 2 #### [/usr/pkgsrc/work/net/delegate/work/delegate9.9.1/resolvy] creating Makefile.go cpyfile Makefile[1-0][0-804f73d] > Makefile.go #ifdef UNIX,OS2EMX ################################################ #ifdef UNIX ####################################################### [SET] MKMAKE=/usr/pkgsrc/work/net/delegate/work/delegate9.9.1/mkmake.exe [SET] RANLIB=/usr/pkgsrc/work/net/delegate/work/.wrapper/bin/ranlib - checking availability of -lutil [] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -MT [-lutil] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lstdc++ [-lutil -MT] cpyfile: cannot read 'DELEGATE_CONF' [SET] NETLIB=-lutil -MT -lstdc++ cpyfile: cannot read 'DELEGATE_CONF' cpyfile Makefile[0-0][804f7c0-0] > Makefile.go #ifdef UNIX,OS2EMX ################################################ #ifdef UNIX ####################################################### /usr/pkg/bin/bmake -f Makefile.go libresolvy.a XOBJS="" MKMAKE=/usr/pkgsrc/work/net/delegate/work/delegate9.9.1/mkmake.exe SHELL="/bin/sh" HDRDIR="-I../gen -I../include -O2 -march=i586" ln -s ../include/vsocket.h vsocket.h ln -s ../include/ysocket.h ysocket.h ln -s ../include/vsignal.h vsignal.h ln -s ../include/log.h log.h ln -s ../include/config.h config.h ln -s ../include/ystring.h ystring.h ln -s ../include/fpoll.h fpoll.h ln -s ../include/yselect.h yselect.h ln -s ../include/ywinsock.h ywinsock.h ln -s ../include/yarg.h yarg.h ln -s ../include/file.h file.h ln -s ../include/vaddr.h vaddr.h ln -s ../include/proc.h proc.h ln -s ../rary/String.c String.c ln -s ../maker/bcopy.c bcopy.c ln -s ../maker/strcasecmp.c strcasecmp.c ln -s ../maker/_-select.c _-select.c ln -s ../rary/file.c file.c ln -s ../rary/syslog.c syslog.c ../mkcpp dnsnode.c dnsnode.cc -- mkcpp set time: 1407534667 -> 1197605744 dnsnode.cc cc -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -O2 -march=i586 -c dnsnode.cc dnsnode.cc:162:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( oct = *np ){ ~~~~^~~~~ dnsnode.cc:162:14: note: place parentheses around the assignment to silence this warning while( oct = *np ){ ^ ( ) dnsnode.cc:162:14: note: use '==' to turn this assignment into an equality comparison while( oct = *np ){ ^ == dnsnode.cc:270:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( Pp = Np->n_parent ) ~~~^~~~~~~~~~~~~~ dnsnode.cc:270:9: note: place parentheses around the assignment to silence this warning if( Pp = Np->n_parent ) ^ ( ) dnsnode.cc:270:9: note: use '==' to turn this assignment into an equality comparison if( Pp = Np->n_parent ) ^ == 2 warnings generated. ../mkcpp resolv.c resolv.cc -- mkcpp set time: 1407534667 -> 1407534660 resolv.cc cc -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -O2 -march=i586 -c resolv.cc resolv.cc:264:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( len = *sp++ ){ ~~~~^~~~~~~ resolv.cc:264:13: note: place parentheses around the assignment to silence this warning while( len = *sp++ ){ ^ ( ) resolv.cc:264:13: note: use '==' to turn this assignment into an equality comparison while( len = *sp++ ){ ^ == resolv.cc:288:19: warning: '&&' within '||' [-Wlogical-op-parentheses] if( off < here && here-2 <= off ~~~~~~~~~~~^~~~~~~~~~~~~~~~ resolv.cc:288:19: note: place parentheses around the '&&' expression to silence this warning if( off < here && here-2 <= off ^ ( ) resolv.cc:732:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( na = DNS_getattr(nsnid,typemask(TY_A),0,32,nsav) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resolv.cc:732:10: note: place parentheses around the assignment to silence this warning if( na = DNS_getattr(nsnid,typemask(TY_A),0,32,nsav) ){ ^ ( ) resolv.cc:732:10: note: use '==' to turn this assignment into an equality comparison if( na = DNS_getattr(nsnid,typemask(TY_A),0,32,nsav) ){ ^ == resolv.cc:802:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( nqd = hp->qdcount ){ ~~~~^~~~~~~~~~~~~ resolv.cc:802:10: note: place parentheses around the assignment to silence this warning if( nqd = hp->qdcount ){ ^ ( ) resolv.cc:802:10: note: use '==' to turn this assignment into an equality comparison if( nqd = hp->qdcount ){ ^ == resolv.cc:1001:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( nhit = lookupCache(nid,qtype,0,rrc,rrv) ) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resolv.cc:1001:11: note: place parentheses around the assignment to silence this warning if( nhit = lookupCache(nid,qtype,0,rrc,rrv) ) ^ ( ) resolv.cc:1001:11: note: use '==' to turn this assignment into an equality comparison if( nhit = lookupCache(nid,qtype,0,rrc,rrv) ) ^ == resolv.cc:1084:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( nhit = lookupCache(nid,qtype,0,rrc,rrv) ) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resolv.cc:1084:12: note: place parentheses around the assignment to silence this warning if( nhit = lookupCache(nid,qtype,0,rrc,rrv) ) ^ ( ) resolv.cc:1084:12: note: use '==' to turn this assignment into an equality comparison if( nhit = lookupCache(nid,qtype,0,rrc,rrv) ) ^ == resolv.cc:1266:32: warning: '&&' within '||' [-Wlogical-op-parentheses] if( H_AA(M) || H_RD(M) && H_RA(M) ){ ~~ ~~~~~~~~^~~~~~~~~~ resolv.cc:1266:32: note: place parentheses around the '&&' expression to silence this warning if( H_AA(M) || H_RD(M) && H_RA(M) ){ ~~~~~~~~^~~~~~~~~~ resolv.cc:1281:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( nhit = lookupCache(nid,qtype,0,rrc,rrv) ) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resolv.cc:1281:14: note: place parentheses around the assignment to silence this warning if( nhit = lookupCache(nid,qtype,0,rrc,rrv) ) ^ ( ) resolv.cc:1281:14: note: use '==' to turn this assignment into an equality comparison if( nhit = lookupCache(nid,qtype,0,rrc,rrv) ) ^ == resolv.cc:1497:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strcasestr(name,DNS_DOMAIN) ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resolv.cc:1497:9: note: place parentheses around the assignment to silence this warning if( dp = strcasestr(name,DNS_DOMAIN) ) ^ ( ) resolv.cc:1497:9: note: use '==' to turn this assignment into an equality comparison if( dp = strcasestr(name,DNS_DOMAIN) ) ^ == resolv.cc:1721:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( nid = DNS_getbyname(name) ) ~~~~^~~~~~~~~~~~~~~~~~~~~ resolv.cc:1721:10: note: place parentheses around the assignment to silence this warning if( nid = DNS_getbyname(name) ) ^ ( ) resolv.cc:1721:10: note: use '==' to turn this assignment into an equality comparison if( nid = DNS_getbyname(name) ) ^ == resolv.cc:1722:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ac = DNS_getattr(nid,typemask(qtype),0,8,av) ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resolv.cc:1722:9: note: place parentheses around the assignment to silence this warning if( ac = DNS_getattr(nid,typemask(qtype),0,8,av) ) ^ ( ) resolv.cc:1722:9: note: use '==' to turn this assignment into an equality comparison if( ac = DNS_getattr(nid,typemask(qtype),0,8,av) ) ^ == resolv.cc:1776:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(hp,'.') ) ~~~^~~~~~~~~~~~~~~~ resolv.cc:1776:12: note: place parentheses around the assignment to silence this warning if( dp = strchr(hp,'.') ) ^ ( ) resolv.cc:1776:12: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(hp,'.') ) ^ == resolv.cc:1829:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( anc = relay_cachedRR(AVStr(rrb),rrpp,name,TY_MX) ) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resolv.cc:1829:10: note: place parentheses around the assignment to silence this warning if( anc = relay_cachedRR(AVStr(rrb),rrpp,name,TY_MX) ) ^ ( ) resolv.cc:1829:10: note: use '==' to turn this assignment into an equality comparison if( anc = relay_cachedRR(AVStr(rrb),rrpp,name,TY_MX) ) ^ == 13 warnings generated. ../mkcpp reshost.c reshost.cc -- mkcpp set time: 1407534668 -> 1230169351 reshost.cc cc -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -O2 -march=i586 -c reshost.cc reshost.cc:127:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ac = 0; ap = ht->h_addr_list[ac]; ac++ ){ ~~~^~~~~~~~~~~~~~~~~~~~~ reshost.cc:127:19: note: place parentheses around the assignment to silence this warning for( ac = 0; ap = ht->h_addr_list[ac]; ac++ ){ ^ ( ) reshost.cc:127:19: note: use '==' to turn this assignment into an equality comparison for( ac = 0; ap = ht->h_addr_list[ac]; ac++ ){ ^ == reshost.cc:149:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ax = 0; ap = ht->h_aliases[ax]; ax++ ){ ~~~^~~~~~~~~~~~~~~~~~~ reshost.cc:149:19: note: place parentheses around the assignment to silence this warning for( ax = 0; ap = ht->h_aliases[ax]; ax++ ){ ^ ( ) reshost.cc:149:19: note: use '==' to turn this assignment into an equality comparison for( ax = 0; ap = ht->h_aliases[ax]; ax++ ){ ^ == reshost.cc:224:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ri = 0; ri = RES_next_res(where,ri,AVStr(res1),AVStr(arg)); ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ reshost.cc:224:18: note: place parentheses around the assignment to silence this warning for( ri = 0; ri = RES_next_res(where,ri,AVStr(res1),AVStr(arg)); ){ ^ ( ) reshost.cc:224:18: note: use '==' to turn this assignment into an equality comparison for( ri = 0; ri = RES_next_res(where,ri,AVStr(res1),AVStr(arg)); ){ ^ == reshost.cc:279:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dnsrch = res_DNSRCH() ){ ~~~~~~~^~~~~~~~~~~~~~ reshost.cc:279:13: note: place parentheses around the assignment to silence this warning if( dnsrch = res_DNSRCH() ){ ^ ( ) reshost.cc:279:13: note: use '==' to turn this assignment into an equality comparison if( dnsrch = res_DNSRCH() ){ ^ == reshost.cc:280:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( si = 0; dname = dnsrch[si]; si++ ){ ~~~~~~^~~~~~~~~~~~ reshost.cc:280:25: note: place parentheses around the assignment to silence this warning for( si = 0; dname = dnsrch[si]; si++ ){ ^ ( ) reshost.cc:280:25: note: use '==' to turn this assignment into an equality comparison for( si = 0; dname = dnsrch[si]; si++ ){ ^ == reshost.cc:288:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dname = res_DEFDNAME() ){ ~~~~~~^~~~~~~~~~~~~~~~ reshost.cc:288:12: note: place parentheses around the assignment to silence this warning if( dname = res_DEFDNAME() ){ ^ ( ) reshost.cc:288:12: note: use '==' to turn this assignment into an equality comparison if( dname = res_DEFDNAME() ){ ^ == reshost.cc:384:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ri = 0; ri = RES_next_res(where,ri,AVStr(res1),AVStr(arg)); ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ reshost.cc:384:18: note: place parentheses around the assignment to silence this warning for( ri = 0; ri = RES_next_res(where,ri,AVStr(res1),AVStr(arg)); ){ ^ ( ) reshost.cc:384:18: note: use '==' to turn this assignment into an equality comparison for( ri = 0; ri = RES_next_res(where,ri,AVStr(res1),AVStr(arg)); ){ ^ == reshost.cc:454:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ reshost.cc:523:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ri = 0; ri = RES_next_res(where,ri,AVStr(res1),AVStr(arg)); ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ reshost.cc:523:18: note: place parentheses around the assignment to silence this warning for( ri = 0; ri = RES_next_res(where,ri,AVStr(res1),AVStr(arg)); ){ ^ ( ) reshost.cc:523:18: note: use '==' to turn this assignment into an equality comparison for( ri = 0; ri = RES_next_res(where,ri,AVStr(res1),AVStr(arg)); ){ ^ == reshost.cc:589:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ reshost.cc:597:16: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *RES_AF = "46"; ^ reshost.cc:755:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( lp = strchr(line,'#') ){ ~~~^~~~~~~~~~~~~~~~~~ reshost.cc:755:9: note: place parentheses around the assignment to silence this warning if( lp = strchr(line,'#') ){ ^ ( ) reshost.cc:755:9: note: use '==' to turn this assignment into an equality comparison if( lp = strchr(line,'#') ){ ^ == reshost.cc:760:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( lp = strchr(line,'\n') ) ~~~^~~~~~~~~~~~~~~~~~~ reshost.cc:760:9: note: place parentheses around the assignment to silence this warning if( lp = strchr(line,'\n') ) ^ ( ) reshost.cc:760:9: note: use '==' to turn this assignment into an equality comparison if( lp = strchr(line,'\n') ) ^ == reshost.cc:858:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cp = strpbrk(datap,"#\r\n") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~ reshost.cc:858:10: note: place parentheses around the assignment to silence this warning if( cp = strpbrk(datap,"#\r\n") ){ ^ ( ) reshost.cc:858:10: note: use '==' to turn this assignment into an equality comparison if( cp = strpbrk(datap,"#\r\n") ){ ^ == reshost.cc:918:46: warning: '&' within '|' [-Wbitwise-op-parentheses] for( lp = hp->h_buff; leng = (lp[0]<<8|lp[1]&0xFF); lp += leng+3 ){ ~~~~~~^~~~~ reshost.cc:918:46: note: place parentheses around the '&' expression to silence this warning for( lp = hp->h_buff; leng = (lp[0]<<8|lp[1]&0xFF); lp += leng+3 ){ ^ ( ) reshost.cc:918:29: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( lp = hp->h_buff; leng = (lp[0]<<8|lp[1]&0xFF); lp += leng+3 ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ reshost.cc:918:29: note: place parentheses around the assignment to silence this warning for( lp = hp->h_buff; leng = (lp[0]<<8|lp[1]&0xFF); lp += leng+3 ){ ^ ( ) reshost.cc:918:29: note: use '==' to turn this assignment into an equality comparison for( lp = hp->h_buff; leng = (lp[0]<<8|lp[1]&0xFF); lp += leng+3 ){ ^ == reshost.cc:955:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( lp = strchr(lp,'\n') ) ~~~^~~~~~~~~~~~~~~~~ reshost.cc:955:10: note: place parentheses around the assignment to silence this warning if( lp = strchr(lp,'\n') ) ^ ( ) reshost.cc:955:10: note: use '==' to turn this assignment into an equality comparison if( lp = strchr(lp,'\n') ) ^ == 17 warnings generated. ../mkcpp rescache.c rescache.cc -- mkcpp set time: 1407534668 -> 1156857049 rescache.cc cc -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -O2 -march=i586 -c rescache.cc rescache.cc:183:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cache = hosts_cache(byname,name,"r",AVStr(cpath)) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rescache.cc:183:12: note: place parentheses around the assignment to silence this warning if( cache = hosts_cache(byname,name,"r",AVStr(cpath)) ){ ^ ( ) rescache.cc:183:12: note: use '==' to turn this assignment into an equality comparison if( cache = hosts_cache(byname,name,"r",AVStr(cpath)) ){ ^ == rescache.cc:187:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ncache = fopen(newpath,"w") ){ ~~~~~~~^~~~~~~~~~~~~~~~~~~~ rescache.cc:187:14: note: place parentheses around the assignment to silence this warning if( ncache = fopen(newpath,"w") ){ ^ ( ) rescache.cc:187:14: note: use '==' to turn this assignment into an equality comparison if( ncache = fopen(newpath,"w") ){ ^ == rescache.cc:253:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ai = 0; a1 = (unsigned char *)rv[ai]; ai++ ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ rescache.cc:253:22: note: place parentheses around the assignment to silence this warning for( ai = 0; a1 = (unsigned char *)rv[ai]; ai++ ){ ^ ( ) rescache.cc:253:22: note: use '==' to turn this assignment into an equality comparison for( ai = 0; a1 = (unsigned char *)rv[ai]; ai++ ){ ^ == rescache.cc:272:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ai = 0; n1 = rv[ai]; ai++ ) ~~~^~~~~~~~ rescache.cc:272:19: note: place parentheses around the assignment to silence this warning for( ai = 0; n1 = rv[ai]; ai++ ) ^ ( ) rescache.cc:272:19: note: use '==' to turn this assignment into an equality comparison for( ai = 0; n1 = rv[ai]; ai++ ) ^ == rescache.cc:289:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ai = 0; n1 = rv[ai]; ai++ ){ ~~~^~~~~~~~ rescache.cc:289:18: note: place parentheses around the assignment to silence this warning for( ai = 0; n1 = rv[ai]; ai++ ){ ^ ( ) rescache.cc:289:18: note: use '==' to turn this assignment into an equality comparison for( ai = 0; n1 = rv[ai]; ai++ ){ ^ == 5 warnings generated. ../mkcpp hostent.c hostent.cc -- mkcpp set time: 1407534669 -> 1101453262 hostent.cc cc -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -O2 -march=i586 -c hostent.cc ../mkcpp resconf.c resconf.cc -- mkcpp set time: 1407534669 -> 1407534660 resconf.cc /bin/sh ./ccres cc -c -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -O2 -march=i586 resconf.cc cc -c -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -O2 -march=i586 resconf.cc resconf.cc:151:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pushed = PushedResolvers[tix] ){ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ resconf.cc:151:14: note: place parentheses around the assignment to silence this warning if( pushed = PushedResolvers[tix] ){ ^ ( ) resconf.cc:151:14: note: use '==' to turn this assignment into an equality comparison if( pushed = PushedResolvers[tix] ){ ^ == resconf.cc:219:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( si = 0; dom = _RES.dnsrch[si]; si++ ){ ~~~~^~~~~~~~~~~~~~~~~ resconf.cc:219:19: note: place parentheses around the assignment to silence this warning for( si = 0; dom = _RES.dnsrch[si]; si++ ){ ^ ( ) resconf.cc:219:19: note: use '==' to turn this assignment into an equality comparison for( si = 0; dom = _RES.dnsrch[si]; si++ ){ ^ == resconf.cc:304:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( hp = _GethostByname(myname) ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~ resconf.cc:304:9: note: place parentheses around the assignment to silence this warning if( hp = _GethostByname(myname) ) ^ ( ) resconf.cc:304:9: note: use '==' to turn this assignment into an equality comparison if( hp = _GethostByname(myname) ) ^ == resconf.cc:393:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( np = strstr(nsb,"..") ){ ~~~^~~~~~~~~~~~~~~~~~ resconf.cc:393:10: note: place parentheses around the assignment to silence this warning if( np = strstr(nsb,"..") ){ ^ ( ) resconf.cc:393:10: note: use '==' to turn this assignment into an equality comparison if( np = strstr(nsb,"..") ){ ^ == resconf.cc:440:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( socks = strstr(ns,VIA_SOCKS) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ resconf.cc:440:12: note: place parentheses around the assignment to silence this warning if( socks = strstr(ns,VIA_SOCKS) ){ ^ ( ) resconf.cc:440:12: note: use '==' to turn this assignment into an equality comparison if( socks = strstr(ns,VIA_SOCKS) ){ ^ == resconf.cc:445:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cp = strpbrk(ns,"# \t") ) ~~~^~~~~~~~~~~~~~~~~~~~ resconf.cc:445:10: note: place parentheses around the assignment to silence this warning if( cp = strpbrk(ns,"# \t") ) ^ ( ) resconf.cc:445:10: note: use '==' to turn this assignment into an equality comparison if( cp = strpbrk(ns,"# \t") ) ^ == resconf.cc:465:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( hp = _GethostByname(ns) ) ~~~^~~~~~~~~~~~~~~~~~~~ resconf.cc:465:9: note: place parentheses around the assignment to silence this warning if( hp = _GethostByname(ns) ) ^ ( ) resconf.cc:465:9: note: use '==' to turn this assignment into an equality comparison if( hp = _GethostByname(ns) ) ^ == resconf.cc:468:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( hp = _GETHOSTBYNAME(ns) ) ~~~^~~~~~~~~~~~~~~~~~~~ resconf.cc:468:9: note: place parentheses around the assignment to silence this warning if( hp = _GETHOSTBYNAME(ns) ) ^ ( ) resconf.cc:468:9: note: use '==' to turn this assignment into an equality comparison if( hp = _GETHOSTBYNAME(ns) ) ^ == resconf.cc:543:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( addr = VSA_ntoa(&sin) ){ ~~~~~^~~~~~~~~~~~~~~~ resconf.cc:543:13: note: place parentheses around the assignment to silence this warning if( addr = VSA_ntoa(&sin) ){ ^ ( ) resconf.cc:543:13: note: use '==' to turn this assignment into an equality comparison if( addr = VSA_ntoa(&sin) ){ ^ == resconf.cc:610:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(line,"#;") ) ~~~^~~~~~~~~~~~~~~~~~~~ resconf.cc:610:13: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(line,"#;") ) ^ ( ) resconf.cc:610:13: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(line,"#;") ) ^ == resconf.cc:666:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( domain = strchr(nameb,'/') ) ~~~~~~~^~~~~~~~~~~~~~~~~~~ resconf.cc:666:13: note: place parentheses around the assignment to silence this warning if( domain = strchr(nameb,'/') ) ^ ( ) resconf.cc:666:13: note: use '==' to turn this assignment into an equality comparison if( domain = strchr(nameb,'/') ) ^ == resconf.cc:702:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sp = RES_VERIFY ){ ~~~^~~~~~~~~~~~ resconf.cc:702:9: note: place parentheses around the assignment to silence this warning if( sp = RES_VERIFY ){ ^ ( ) resconf.cc:702:9: note: use '==' to turn this assignment into an equality comparison if( sp = RES_VERIFY ){ ^ == resconf.cc:703:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ; sc = *sp; sp++ ){ ~~~^~~~~ resconf.cc:703:13: note: place parentheses around the assignment to silence this warning for( ; sc = *sp; sp++ ){ ^ ( ) resconf.cc:703:13: note: use '==' to turn this assignment into an equality comparison for( ; sc = *sp; sp++ ){ ^ == resconf.cc:858:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sn = 0; saddrs[sn] = addrs[sn]; sn++ ){ ~~~~~~~~~~~^~~~~~~~~~~ resconf.cc:858:27: note: place parentheses around the assignment to silence this warning for( sn = 0; saddrs[sn] = addrs[sn]; sn++ ){ ^ ( ) resconf.cc:858:27: note: use '==' to turn this assignment into an equality comparison for( sn = 0; saddrs[sn] = addrs[sn]; sn++ ){ ^ == resconf.cc:903:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sx = 0; cap = addrs[sx]; sx++ ){ ~~~~^~~~~~~~~~~ resconf.cc:903:19: note: place parentheses around the assignment to silence this warning for( sx = 0; cap = addrs[sx]; sx++ ){ ^ ( ) resconf.cc:903:19: note: use '==' to turn this assignment into an equality comparison for( sx = 0; cap = addrs[sx]; sx++ ){ ^ == resconf.cc:951:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getenv("RES_DEBUG") ) ~~~~^~~~~~~~~~~~~~~~~~~~~ resconf.cc:951:10: note: place parentheses around the assignment to silence this warning if( env = getenv("RES_DEBUG") ) ^ ( ) resconf.cc:951:10: note: use '==' to turn this assignment into an equality comparison if( env = getenv("RES_DEBUG") ) ^ == resconf.cc:963:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getenv("RES_ORDER") ) ~~~~^~~~~~~~~~~~~~~~~~~~~ resconf.cc:963:10: note: place parentheses around the assignment to silence this warning if( env = getenv("RES_ORDER") ) ^ ( ) resconf.cc:963:10: note: use '==' to turn this assignment into an equality comparison if( env = getenv("RES_ORDER") ) ^ == resconf.cc:967:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( rx = 0; rx = RES_next_res(Resolvers,rx,AVStr(res1),AVStr(arg)); ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resconf.cc:967:18: note: place parentheses around the assignment to silence this warning for( rx = 0; rx = RES_next_res(Resolvers,rx,AVStr(res1),AVStr(arg)); ){ ^ ( ) resconf.cc:967:18: note: use '==' to turn this assignment into an equality comparison for( rx = 0; rx = RES_next_res(Resolvers,rx,AVStr(res1),AVStr(arg)); ){ ^ == resconf.cc:972:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getenv("RES_NS") ) ~~~~^~~~~~~~~~~~~~~~~~ resconf.cc:972:10: note: place parentheses around the assignment to silence this warning if( env = getenv("RES_NS") ) ^ ( ) resconf.cc:972:10: note: use '==' to turn this assignment into an equality comparison if( env = getenv("RES_NS") ) ^ == resconf.cc:974:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getenv("RES_VRFY") ) ~~~~^~~~~~~~~~~~~~~~~~~~ resconf.cc:974:10: note: place parentheses around the assignment to silence this warning if( env = getenv("RES_VRFY") ) ^ ( ) resconf.cc:974:10: note: use '==' to turn this assignment into an equality comparison if( env = getenv("RES_VRFY") ) ^ == resconf.cc:985:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getenv("RES_HOSTS") ) ~~~~^~~~~~~~~~~~~~~~~~~~~ resconf.cc:985:10: note: place parentheses around the assignment to silence this warning if( env = getenv("RES_HOSTS") ) ^ ( ) resconf.cc:985:10: note: use '==' to turn this assignment into an equality comparison if( env = getenv("RES_HOSTS") ) ^ == resconf.cc:989:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( hp = getmyhost() ) ~~~^~~~~~~~~~~~~ resconf.cc:989:9: note: place parentheses around the assignment to silence this warning if( hp = getmyhost() ) ^ ( ) resconf.cc:989:9: note: use '==' to turn this assignment into an equality comparison if( hp = getmyhost() ) ^ == resconf.cc:994:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( hp = getmyhost() ){ ~~~^~~~~~~~~~~~~ resconf.cc:994:9: note: place parentheses around the assignment to silence this warning if( hp = getmyhost() ){ ^ ( ) resconf.cc:994:9: note: use '==' to turn this assignment into an equality comparison if( hp = getmyhost() ){ ^ == resconf.cc:1037:52: warning: '&&' within '||' [-Wlogical-op-parentheses] if( flag == DBG_FORCE || _RES.options & RES_DEBUG && DNS_debug & flag ){ ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ resconf.cc:1037:52: note: place parentheses around the '&&' expression to silence this warning if( flag == DBG_FORCE || _RES.options & RES_DEBUG && DNS_debug & flag ){ ^ ( ) resconf.cc:1104:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( hp = RES_gethost(arg) ){ ~~~^~~~~~~~~~~~~~~~~~ resconf.cc:1104:11: note: place parentheses around the assignment to silence this warning if( hp = RES_gethost(arg) ){ ^ ( ) resconf.cc:1104:11: note: use '==' to turn this assignment into an equality comparison if( hp = RES_gethost(arg) ){ ^ == resconf.cc:1132:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( hp = RES_gethost(addrhost) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~ resconf.cc:1132:9: note: place parentheses around the assignment to silence this warning if( hp = RES_gethost(addrhost) ){ ^ ( ) resconf.cc:1132:9: note: use '==' to turn this assignment into an equality comparison if( hp = RES_gethost(addrhost) ){ ^ == 26 warnings generated. rm -f libresolvy.a ar cr libresolvy.a dnsnode.o resolv.o reshost.o rescache.o hostent.o resconf.o /usr/pkgsrc/work/net/delegate/work/.wrapper/bin/ranlib libresolvy.a **[0] move ../resolvy/libresolvy.a to ../lib/libresolvy.a /usr/pkgsrc/work/net/delegate/work/delegate9.9.1/mkmake.exe -makeat ../lib/libmimekit.a ../mimekit libmimekit.a "/usr/pkg/bin/bmake" libx MAKE="/usr/pkg/bin/bmake" SHELL="/bin/sh" CC="cc" CFLAGS="-O2 -x c++ -DQS -DNONC99" HDRDIR="-I../gen -I../include -O2 -march=i586" RANLIB="/usr/pkgsrc/work/net/delegate/work/.wrapper/bin/ranlib" LDFLAGS=" -L../lib" LIBDIR="-L../lib" NETLIB="-lutil -MT -lstdc++" AR="ar" TAR="tar" [cc -c -O2 -x c++ -DQS -DNONC99 ] NONC99 = 2 ####### -makeat: /usr/pkgsrc/work/net/delegate/work/delegate9.9.1/mimekit /usr/pkgsrc/work/net/delegate/work/delegate9.9.1/mkmake.exe -cksum README README-LIB README-PGP CHANGES ISO2022JP Makefile mkranlib.sh sample mimecodes.c mime.c pgp.c rfc822.c mimehead.c mimeh_ovw.c mimeconv.c mimemain.c noxlib.c gendom.c str_codes.c /usr/pkgsrc/work/net/delegate/work/delegate9.9.1/mkmake.exe -mkmake "/usr/pkg/bin/bmake" Makefile.go "cc" "-O2 -x c++ -DQS -DNONC99" "" "-L../lib" "/usr/pkgsrc/work/net/delegate/work/.wrapper/bin/ranlib" "-lutil -MT -lstdc++" NETLIB mkmake: [cc -c -O2 -x c++ -DQS -DNONC99 ] NONC99 = 2 #### [/usr/pkgsrc/work/net/delegate/work/delegate9.9.1/mimekit] creating Makefile.go cpyfile Makefile[1-0][0-804f73d] > Makefile.go #ifdef UNIX ####################################################### #ifdef UNIX,OS2EMX ################################################ [SET] MKMAKE=/usr/pkgsrc/work/net/delegate/work/delegate9.9.1/mkmake.exe [SET] RANLIB=/usr/pkgsrc/work/net/delegate/work/.wrapper/bin/ranlib - checking availability of -lutil [] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -MT [-lutil] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lstdc++ [-lutil -MT] cpyfile: cannot read 'DELEGATE_CONF' [SET] NETLIB=-lutil -MT -lstdc++ cpyfile: cannot read 'DELEGATE_CONF' cpyfile Makefile[0-0][804f7c0-0] > Makefile.go #ifdef UNIX ####################################################### #ifdef UNIX,OS2EMX ################################################ /usr/pkg/bin/bmake -f Makefile.go libmimekit.a XOBJS="" MKMAKE=/usr/pkgsrc/work/net/delegate/work/delegate9.9.1/mkmake.exe SHELL="/bin/sh" HDRDIR="-I../gen -I../include -O2 -march=i586" RANLIB="/usr/pkgsrc/work/net/delegate/work/.wrapper/bin/ranlib" ../mkcpp mimeconv.c mimeconv.cc -- mkcpp set time: 1407534669 -> 1166641533 mimeconv.cc rm -f mimeconv.o cc -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -O2 -march=i586 -I. mimeconv.cc -c -DMIMEKIT ../mkcpp mimecodes.c mimecodes.cc -- mkcpp set time: 1407534669 -> 1231812842 mimecodes.cc rm -f mimecodes.o cc -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -O2 -march=i586 -I. mimecodes.cc -c -DMIMEKIT mimecodes.cc:58:33: warning: '&&' within '||' [-Wlogical-op-parentheses] if( 0x80 <= ix || iscntrl(ix) && !isspace(ix) || ix == EQ ) ~~ ~~~~~~~~~~~~^~~~~~~~~~~~~~~ mimecodes.cc:58:33: note: place parentheses around the '&&' expression to silence this warning if( 0x80 <= ix || iscntrl(ix) && !isspace(ix) || ix == EQ ) ^ ( ) mimecodes.cc:67:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( ch = *qpchars++ ) ~~~^~~~~~~~~~~~ mimecodes.cc:67:12: note: place parentheses around the assignment to silence this warning while( ch = *qpchars++ ) ^ ( ) mimecodes.cc:67:12: note: use '==' to turn this assignment into an equality comparison while( ch = *qpchars++ ) ^ == mimecodes.cc:280:17: warning: '&&' within '||' [-Wlogical-op-parentheses] || ocol == 0 && ich == '.' ~~ ~~~~~~~~~~^~~~~~~~~~~~~ mimecodes.cc:280:17: note: place parentheses around the '&&' expression to silence this warning || ocol == 0 && ich == '.' ^ ( ) 3 warnings generated. ../mkcpp mime.c mime.cc -- mkcpp set time: 1407534670 -> 1231815955 mime.cc cc -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -O2 -march=i586 -I. mime.cc -c -DMIMEKIT -DMIMECONV="C_DECODE(C_HEAD|C_BODY)|C_ENCODE(C_HEAD|C_BODY)" mime.cc:120:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ci = 0; ctype1 = textorso[ci]; ci++ ) ~~~~~~~^~~~~~~~~~~~~~ mime.cc:120:22: note: place parentheses around the assignment to silence this warning for( ci = 0; ctype1 = textorso[ci]; ci++ ) ^ ( ) mime.cc:120:22: note: use '==' to turn this assignment into an equality comparison for( ci = 0; ctype1 = textorso[ci]; ci++ ) ^ == mime.cc:334:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(MIME_transAddrSpec,':') ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mime.cc:334:11: note: place parentheses around the assignment to silence this warning if( dp = strchr(MIME_transAddrSpec,':') ){ ^ ( ) mime.cc:334:11: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(MIME_transAddrSpec,':') ){ ^ == mime.cc:436:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( bp = strcasestr(hp,"boundary=") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ mime.cc:436:9: note: place parentheses around the assignment to silence this warning if( bp = strcasestr(hp,"boundary=") ){ ^ ( ) mime.cc:436:9: note: use '==' to turn this assignment into an equality comparison if( bp = strcasestr(hp,"boundary=") ){ ^ == mime.cc:465:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( bi = 0; b1 = boundaries[bi]; bi++ ){ ~~~^~~~~~~~~~~~~~~~ mime.cc:465:19: note: place parentheses around the assignment to silence this warning for( bi = 0; b1 = boundaries[bi]; bi++ ){ ^ ( ) mime.cc:465:19: note: use '==' to turn this assignment into an equality comparison for( bi = 0; b1 = boundaries[bi]; bi++ ){ ^ == mime.cc:471:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( tp = strheadstrX(line+2,b1,0) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ mime.cc:471:11: note: place parentheses around the assignment to silence this warning if( tp = strheadstrX(line+2,b1,0) ){ ^ ( ) mime.cc:471:11: note: use '==' to turn this assignment into an equality comparison if( tp = strheadstrX(line+2,b1,0) ){ ^ == mime.cc:490:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sw = strstr(text,"\033$") ) ~~~^~~~~~~~~~~~~~~~~~~~~~ mime.cc:490:9: note: place parentheses around the assignment to silence this warning if( sw = strstr(text,"\033$") ) ^ ( ) mime.cc:490:9: note: use '==' to turn this assignment into an equality comparison if( sw = strstr(text,"\033$") ) ^ == mime.cc:493:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sw = strstr(text,"\033(") ) ~~~^~~~~~~~~~~~~~~~~~~~~~ mime.cc:493:9: note: place parentheses around the assignment to silence this warning if( sw = strstr(text,"\033(") ) ^ ( ) mime.cc:493:9: note: use '==' to turn this assignment into an equality comparison if( sw = strstr(text,"\033(") ) ^ == mime.cc:575:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(ctype,';') ) ~~~^~~~~~~~~~~~~~~~~~~ mime.cc:575:10: note: place parentheses around the assignment to silence this warning if( dp = strchr(ctype,';') ) ^ ( ) mime.cc:575:10: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(ctype,';') ) ^ == mime.cc:611:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( got_EOR = isEOR(hp) ){ ~~~~~~~~^~~~~~~~~~~ mime.cc:611:15: note: place parentheses around the assignment to silence this warning if( got_EOR = isEOR(hp) ){ ^ ( ) mime.cc:611:15: note: use '==' to turn this assignment into an equality comparison if( got_EOR = isEOR(hp) ){ ^ == mime.cc:667:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(hs = buf; hc = *hs; hs++ ){ ~~~^~~~~ mime.cc:667:20: note: place parentheses around the assignment to silence this warning for(hs = buf; hc = *hs; hs++ ){ ^ ( ) mime.cc:667:20: note: use '==' to turn this assignment into an equality comparison for(hs = buf; hc = *hs; hs++ ){ ^ == mime.cc:739:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rcode = pop_boundary(boundaries,line) ) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mime.cc:739:13: note: place parentheses around the assignment to silence this warning if( rcode = pop_boundary(boundaries,line) ) ^ ( ) mime.cc:739:13: note: use '==' to turn this assignment into an equality comparison if( rcode = pop_boundary(boundaries,line) ) ^ == mime.cc:827:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rcode = pop_boundary(boundaries,bp) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mime.cc:827:13: note: place parentheses around the assignment to silence this warning if( rcode = pop_boundary(boundaries,bp) ){ ^ ( ) mime.cc:827:13: note: use '==' to turn this assignment into an equality comparison if( rcode = pop_boundary(boundaries,bp) ){ ^ == mime.cc:854:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rcode = pop_boundary(boundaries,line) ) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mime.cc:854:13: note: place parentheses around the assignment to silence this warning if( rcode = pop_boundary(boundaries,line) ) ^ ( ) mime.cc:854:13: note: use '==' to turn this assignment into an equality comparison if( rcode = pop_boundary(boundaries,line) ) ^ == mime.cc:893:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( m17n = Mcv->c_m17n ){ ~~~~~^~~~~~~~~~~~~ mime.cc:893:12: note: place parentheses around the assignment to silence this warning if( m17n = Mcv->c_m17n ){ ^ ( ) mime.cc:893:12: note: use '==' to turn this assignment into an equality comparison if( m17n = Mcv->c_m17n ){ ^ == mime.cc:911:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cp = strcasestr(header,"charset=") ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mime.cc:911:9: note: place parentheses around the assignment to silence this warning if( cp = strcasestr(header,"charset=") ) ^ ( ) mime.cc:911:9: note: use '==' to turn this assignment into an equality comparison if( cp = strcasestr(header,"charset=") ) ^ == mime.cc:984:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( charset = guess_charset(tmpc) ) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ mime.cc:984:15: note: place parentheses around the assignment to silence this warning if( charset = guess_charset(tmpc) ) ^ ( ) mime.cc:984:15: note: use '==' to turn this assignment into an equality comparison if( charset = guess_charset(tmpc) ) ^ == mime.cc:1088:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( beol = strpbrk(tmpa,"\r\n") ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~ mime.cc:1088:11: note: place parentheses around the assignment to silence this warning if( beol = strpbrk(tmpa,"\r\n") ){ ^ ( ) mime.cc:1088:11: note: use '==' to turn this assignment into an equality comparison if( beol = strpbrk(tmpa,"\r\n") ){ ^ == mime.cc:1151:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( len = strlen(tmpa) ) ~~~~^~~~~~~~~~~~~~ mime.cc:1151:10: note: place parentheses around the assignment to silence this warning if( len = strlen(tmpa) ) ^ ( ) mime.cc:1151:10: note: use '==' to turn this assignment into an equality comparison if( len = strlen(tmpa) ) ^ == mime.cc:1277:21: warning: '&&' within '||' [-Wlogical-op-parentheses] if( maybe_NONASCII && do_conv || (do_conv & 0xFFFE) ){ ~~~~~~~~~~~~~~~^~~~~~~~~~ ~~ mime.cc:1277:21: note: place parentheses around the '&&' expression to silence this warning if( maybe_NONASCII && do_conv || (do_conv & 0xFFFE) ){ ~~~~~~~~~~~~~~~^~~~~~~~~~ mime.cc:1276:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ mime.cc:1340:39: warning: '&&' within '||' [-Wlogical-op-parentheses] if( DECODE(C_BODY_CHAR) && xcharset && is8bitCharset(xcharset) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ mime.cc:1340:39: note: place parentheses around the '&&' expression to silence this warning if( DECODE(C_BODY_CHAR) && xcharset && is8bitCharset(xcharset) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ mime.cc:1341:27: warning: '&&' within '||' [-Wlogical-op-parentheses] || DECODE(C_BODY_CTE ) && strcaseeq(encoding,"quoted-printable") ~~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mime.cc:1341:27: note: place parentheses around the '&&' expression to silence this warning || DECODE(C_BODY_CTE ) && strcaseeq(encoding,"quoted-printable") ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mime.cc:1342:28: warning: '&&' within '||' [-Wlogical-op-parentheses] || DECODE(C_BODY_CTE ) && strcaseeq(encoding,"base64") ){ ~~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mime.cc:1342:28: note: place parentheses around the '&&' expression to silence this warning || DECODE(C_BODY_CTE ) && strcaseeq(encoding,"base64") ){ ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mime.cc:1421:44: warning: '&&' within '||' [-Wlogical-op-parentheses] if( EOR_ALSO(filter) || endline[0] != '.' && !MIME2PGP(filter) ) ~~ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ mime.cc:1421:44: note: place parentheses around the '&&' expression to silence this warning if( EOR_ALSO(filter) || endline[0] != '.' && !MIME2PGP(filter) ) ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ mime.cc:1484:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( bp = str; ch = *bp; bp++ ){ ~~~^~~~~ mime.cc:1484:20: note: place parentheses around the assignment to silence this warning for( bp = str; ch = *bp; bp++ ){ ^ ( ) mime.cc:1484:20: note: use '==' to turn this assignment into an equality comparison for( bp = str; ch = *bp; bp++ ){ ^ == mime.cc:1602:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ mime.cc:1632:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = str; ch = *sp; sp++ ){ ~~~^~~~~ mime.cc:1632:20: note: place parentheses around the assignment to silence this warning for( sp = str; ch = *sp; sp++ ){ ^ ( ) mime.cc:1632:20: note: use '==' to turn this assignment into an equality comparison for( sp = str; ch = *sp; sp++ ){ ^ == mime.cc:1656:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( np = strpbrk(tp,"\t\r\n") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~ mime.cc:1656:10: note: place parentheses around the assignment to silence this warning if( np = strpbrk(tp,"\t\r\n") ){ ^ ( ) mime.cc:1656:10: note: use '==' to turn this assignment into an equality comparison if( np = strpbrk(tp,"\t\r\n") ){ ^ == mime.cc:1682:20: warning: '&&' within '||' [-Wlogical-op-parentheses] if( ts[0] == '=' && ts[1] == '?' ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ mime.cc:1682:20: note: place parentheses around the '&&' expression to silence this warning if( ts[0] == '=' && ts[1] == '?' ^ ( ) mime.cc:1683:20: warning: '&&' within '||' [-Wlogical-op-parentheses] || ts[0] == '$' &&(ts[1] == 'B' || ts[1] == '@') ~~ ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mime.cc:1683:20: note: place parentheses around the '&&' expression to silence this warning || ts[0] == '$' &&(ts[1] == 'B' || ts[1] == '@') ^ ( ) 30 warnings generated. ../mkcpp pgp.c pgp.cc -- mkcpp set time: 1407534670 -> 1168877239 pgp.cc rm -f pgp.o cc -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -O2 -march=i586 -I. pgp.cc -c -DMIMEKIT pgp.cc:216:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( EOH = line[0] == '\r' || line[0] == '\n' ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp.cc:216:11: note: place parentheses around the assignment to silence this warning if( EOH = line[0] == '\r' || line[0] == '\n' ){ ^ ( ) pgp.cc:216:11: note: use '==' to turn this assignment into an equality comparison if( EOH = line[0] == '\r' || line[0] == '\n' ){ ^ == pgp.cc:359:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( np = strpbrk(line,CRLF) ) ~~~^~~~~~~~~~~~~~~~~~~~ pgp.cc:359:10: note: place parentheses around the assignment to silence this warning if( np = strpbrk(line,CRLF) ) ^ ( ) pgp.cc:359:10: note: use '==' to turn this assignment into an equality comparison if( np = strpbrk(line,CRLF) ) ^ == 2 warnings generated. ../mkcpp rfc822.c rfc822.cc -- mkcpp set time: 1407534671 -> 1230235020 rfc822.cc rm -f rfc822.o cc -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -O2 -march=i586 -I. rfc822.cc -c -DMIMEKIT rfc822.cc:62:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( nsp = strchr(csp,'\n') ) ~~~~^~~~~~~~~~~~~~~~~~ rfc822.cc:62:11: note: place parentheses around the assignment to silence this warning if( nsp = strchr(csp,'\n') ) ^ ( ) rfc822.cc:62:11: note: use '==' to turn this assignment into an equality comparison if( nsp = strchr(csp,'\n') ) ^ == rfc822.cc:75:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( fp = findField(head,field,NULL) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ rfc822.cc:75:12: note: place parentheses around the assignment to silence this warning while( fp = findField(head,field,NULL) ){ ^ ( ) rfc822.cc:75:12: note: use '==' to turn this assignment into an equality comparison while( fp = findField(head,field,NULL) ){ ^ == rfc822.cc:76:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( np = strchr(fp,'\n') ) ~~~^~~~~~~~~~~~~~~~~ rfc822.cc:76:10: note: place parentheses around the assignment to silence this warning if( np = strchr(fp,'\n') ) ^ ( ) rfc822.cc:76:10: note: use '==' to turn this assignment into an equality comparison if( np = strchr(fp,'\n') ) ^ == rfc822.cc:124:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( vp = findFieldValue(head,field) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ rfc822.cc:124:9: note: place parentheses around the assignment to silence this warning if( vp = findFieldValue(head,field) ){ ^ ( ) rfc822.cc:124:9: note: use '==' to turn this assignment into an equality comparison if( vp = findFieldValue(head,field) ){ ^ == rfc822.cc:251:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ep = strpbrk(dp,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~ rfc822.cc:251:10: note: place parentheses around the assignment to silence this warning if( ep = strpbrk(dp,"\r\n") ) ^ ( ) rfc822.cc:251:10: note: use '==' to turn this assignment into an equality comparison if( ep = strpbrk(dp,"\r\n") ) ^ == rfc822.cc:276:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( ch = *sp ){ ~~~^~~~~ rfc822.cc:276:12: note: place parentheses around the assignment to silence this warning while( ch = *sp ){ ^ ( ) rfc822.cc:276:12: note: use '==' to turn this assignment into an equality comparison while( ch = *sp ){ ^ == rfc822.cc:280:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( xp = strchr(sp,':') ){ ~~~^~~~~~~~~~~~~~~~ rfc822.cc:280:11: note: place parentheses around the assignment to silence this warning if( xp = strchr(sp,':') ){ ^ ( ) rfc822.cc:280:11: note: use '==' to turn this assignment into an equality comparison if( xp = strchr(sp,':') ){ ^ == rfc822.cc:287:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( ch = *sp ){ ~~~^~~~~ rfc822.cc:287:13: note: place parentheses around the assignment to silence this warning while( ch = *sp ){ ^ ( ) rfc822.cc:287:13: note: use '==' to turn this assignment into an equality comparison while( ch = *sp ){ ^ == rfc822.cc:345:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(line,"\r\n\f") ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~ rfc822.cc:345:12: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(line,"\r\n\f") ) ^ ( ) rfc822.cc:345:12: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(line,"\r\n\f") ) ^ == rfc822.cc:412:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( np = name; nc = *np; np++ ) ~~~^~~~~ rfc822.cc:412:21: note: place parentheses around the assignment to silence this warning for( np = name; nc = *np; np++ ) ^ ( ) rfc822.cc:412:21: note: use '==' to turn this assignment into an equality comparison for( np = name; nc = *np; np++ ) ^ == rfc822.cc:430:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( ch = *sp++ ){ ~~~^~~~~~~ rfc822.cc:430:12: note: place parentheses around the assignment to silence this warning while( ch = *sp++ ){ ^ ( ) rfc822.cc:430:12: note: use '==' to turn this assignment into an equality comparison while( ch = *sp++ ){ ^ == rfc822.cc:435:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( ch = *sp ){ ~~~^~~~~ rfc822.cc:435:13: note: place parentheses around the assignment to silence this warning while( ch = *sp ){ ^ ( ) rfc822.cc:435:13: note: use '==' to turn this assignment into an equality comparison while( ch = *sp ){ ^ == rfc822.cc:461:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( hp = head; ch = *hp; hp++ ){ ~~~^~~~~ rfc822.cc:461:21: note: place parentheses around the assignment to silence this warning for( hp = head; ch = *hp; hp++ ){ ^ ( ) rfc822.cc:461:21: note: use '==' to turn this assignment into an equality comparison for( hp = head; ch = *hp; hp++ ){ ^ == rfc822.cc:502:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( csp = strcasestr(ctype,"charset=") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rfc822.cc:502:10: note: place parentheses around the assignment to silence this warning if( csp = strcasestr(ctype,"charset=") ){ ^ ( ) rfc822.cc:502:10: note: use '==' to turn this assignment into an equality comparison if( csp = strcasestr(ctype,"charset=") ){ ^ == rfc822.cc:535:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( csp = strcasestr(ctype,"charset=") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rfc822.cc:535:10: note: place parentheses around the assignment to silence this warning if( csp = strcasestr(ctype,"charset=") ){ ^ ( ) rfc822.cc:535:10: note: use '==' to turn this assignment into an equality comparison if( csp = strcasestr(ctype,"charset=") ){ ^ == rfc822.cc:719:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( np = field; nc = *np; np++ ){ ~~~^~~~~ rfc822.cc:719:22: note: place parentheses around the assignment to silence this warning for( np = field; nc = *np; np++ ){ ^ ( ) rfc822.cc:719:22: note: use '==' to turn this assignment into an equality comparison for( np = field; nc = *np; np++ ){ ^ == rfc822.cc:795:19: warning: '&&' within '||' [-Wlogical-op-parentheses] || *hp == '.' && (hp[1] == '\r' || hp[1] == '\n') ) ~~ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rfc822.cc:795:19: note: place parentheses around the '&&' expression to silence this warning || *hp == '.' && (hp[1] == '\r' || hp[1] == '\n') ) ^ ( ) rfc822.cc:817:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = head; ch = *sp; sp++ ){ ~~~^~~~~ rfc822.cc:817:21: note: place parentheses around the assignment to silence this warning for( sp = head; ch = *sp; sp++ ){ ^ ( ) rfc822.cc:817:21: note: use '==' to turn this assignment into an equality comparison for( sp = head; ch = *sp; sp++ ){ ^ == rfc822.cc:853:10: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] return ""; ^ rfc822.cc:855:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( tail = strncmp(afield,"Tail/",5) == 0 ) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rfc822.cc:855:12: note: place parentheses around the assignment to silence this warning if( tail = strncmp(afield,"Tail/",5) == 0 ) ^ ( ) rfc822.cc:855:12: note: use '==' to turn this assignment into an equality comparison if( tail = strncmp(afield,"Tail/",5) == 0 ) ^ == rfc822.cc:866:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while( afield = findField(afield+1,field,&avalue) ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rfc822.cc:866:18: note: place parentheses around the assignment to silence this warning } while( afield = findField(afield+1,field,&avalue) ); ^ ( ) rfc822.cc:866:18: note: use '==' to turn this assignment into an equality comparison } while( afield = findField(afield+1,field,&avalue) ); ^ == rfc822.cc:895:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = src; sc = *sp; sp++ ){ ~~~^~~~~ rfc822.cc:895:20: note: place parentheses around the assignment to silence this warning for( sp = src; sc = *sp; sp++ ){ ^ ( ) rfc822.cc:895:20: note: use '==' to turn this assignment into an equality comparison for( sp = src; sc = *sp; sp++ ){ ^ == rfc822.cc:931:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = in; sc = *sp; sp++ ){ ~~~^~~~~ rfc822.cc:931:19: note: place parentheses around the assignment to silence this warning for( sp = in; sc = *sp; sp++ ){ ^ ( ) rfc822.cc:931:19: note: use '==' to turn this assignment into an equality comparison for( sp = in; sc = *sp; sp++ ){ ^ == rfc822.cc:966:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = buff; sc = *sp; sp++ ){ ~~~^~~~~ rfc822.cc:966:21: note: place parentheses around the assignment to silence this warning for( sp = buff; sc = *sp; sp++ ){ ^ ( ) rfc822.cc:966:21: note: use '==' to turn this assignment into an equality comparison for( sp = buff; sc = *sp; sp++ ){ ^ == rfc822.cc:971:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp += 1; sc = *sp; sp++ ){ ~~~^~~~~ rfc822.cc:971:21: note: place parentheses around the assignment to silence this warning for( sp += 1; sc = *sp; sp++ ){ ^ ( ) rfc822.cc:971:21: note: use '==' to turn this assignment into an equality comparison for( sp += 1; sc = *sp; sp++ ){ ^ == rfc822.cc:1130:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(ohost,ogdom) ) ~~~^~~~~~~~~~~~~~~~~~~~~ rfc822.cc:1130:10: note: place parentheses around the assignment to silence this warning if( dp = strstr(ohost,ogdom) ) ^ ( ) rfc822.cc:1130:10: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(ohost,ogdom) ) ^ == rfc822.cc:1132:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(ohost,'.') ){ ~~~^~~~~~~~~~~~~~~~~~~~ rfc822.cc:1132:10: note: place parentheses around the assignment to silence this warning if( dp = strrchr(ohost,'.') ){ ^ ( ) rfc822.cc:1132:10: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(ohost,'.') ){ ^ == rfc822.cc:1136:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(ogdom,'.') ) ~~~^~~~~~~~~~~~~~~~~~~ rfc822.cc:1136:10: note: place parentheses around the assignment to silence this warning if( dp = strchr(ogdom,'.') ) ^ ( ) rfc822.cc:1136:10: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(ogdom,'.') ) ^ == rfc822.cc:1138:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(ogdom,'.') ) ~~~^~~~~~~~~~~~~~~~~~~~ rfc822.cc:1138:10: note: place parentheses around the assignment to silence this warning if( dp = strrchr(ogdom,'.') ) ^ ( ) rfc822.cc:1138:10: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(ogdom,'.') ) ^ == rfc822.cc:1149:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( fp = spec; fc = *fp; fp++ ){ ~~~^~~~~ rfc822.cc:1149:21: note: place parentheses around the assignment to silence this warning for( fp = spec; fc = *fp; fp++ ){ ^ ( ) rfc822.cc:1149:21: note: use '==' to turn this assignment into an equality comparison for( fp = spec; fc = *fp; fp++ ){ ^ == rfc822.cc:1298:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(from,addr) ){ ~~~^~~~~~~~~~~~~~~~~~~ rfc822.cc:1298:9: note: place parentheses around the assignment to silence this warning if( dp = strstr(from,addr) ){ ^ ( ) rfc822.cc:1298:9: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(from,addr) ){ ^ == rfc822.cc:1336:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = str; ch1 = *sp; sp++ ){ ~~~~^~~~~ rfc822.cc:1336:21: note: place parentheses around the assignment to silence this warning for( sp = str; ch1 = *sp; sp++ ){ ^ ( ) rfc822.cc:1336:21: note: use '==' to turn this assignment into an equality comparison for( sp = str; ch1 = *sp; sp++ ){ ^ == rfc822.cc:1385:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( endp = atp+1; ch = *endp; endp++ ){ ~~~^~~~~~~ rfc822.cc:1385:25: note: place parentheses around the assignment to silence this warning for( endp = atp+1; ch = *endp; endp++ ){ ^ ( ) rfc822.cc:1385:25: note: use '==' to turn this assignment into an equality comparison for( endp = atp+1; ch = *endp; endp++ ){ ^ == rfc822.cc:2040:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(; ch = *sp; sp++ ){ ~~~^~~~~ rfc822.cc:2040:11: note: place parentheses around the assignment to silence this warning for(; ch = *sp; sp++ ){ ^ ( ) rfc822.cc:2040:11: note: use '==' to turn this assignment into an equality comparison for(; ch = *sp; sp++ ){ ^ == rfc822.cc:2101:16: warning: '&&' within '||' [-Wlogical-op-parentheses] if( 0 < ndel && 9 <= ndig || ndig == 10 && ndel == 0 ){ ~~~~~~~~~^~~~~~~~~~~~ ~~ rfc822.cc:2101:16: note: place parentheses around the '&&' expression to silence this warning if( 0 < ndel && 9 <= ndig || ndig == 10 && ndel == 0 ){ ^ ( ) rfc822.cc:2101:43: warning: '&&' within '||' [-Wlogical-op-parentheses] if( 0 < ndel && 9 <= ndig || ndig == 10 && ndel == 0 ){ ~~ ~~~~~~~~~~~^~~~~~~~~~~~ rfc822.cc:2101:43: note: place parentheses around the '&&' expression to silence this warning if( 0 < ndel && 9 <= ndig || ndig == 10 && ndel == 0 ){ ^ ( ) rfc822.cc:2131:28: warning: '&&' within '||' [-Wlogical-op-parentheses] if( 0 < ndel && 9 <= ndig && ndig < 16 ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ rfc822.cc:2131:28: note: place parentheses around the '&&' expression to silence this warning if( 0 < ndel && 9 <= ndig && ndig < 16 ^ ( ) rfc822.cc:2132:17: warning: '&&' within '||' [-Wlogical-op-parentheses] || ndig == 10 && ndel == 0 ){ ~~ ~~~~~~~~~~~^~~~~~~~~~~~ rfc822.cc:2132:17: note: place parentheses around the '&&' expression to silence this warning || ndig == 10 && ndel == 0 ){ ^ ( ) 38 warnings generated. ../mkcpp mimehead.c mimehead.cc -- mkcpp set time: 1407534672 -> 1231812849 mimehead.cc rm -f mimehead.o cc -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -O2 -march=i586 -I. mimehead.cc -c -DMIMEKIT mimehead.cc:199:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(csi = 0; cs = Codes1[csi].mcharset; csi++) ~~~^~~~~~~~~~~~~~~~~~~~~~ mimehead.cc:199:18: note: place parentheses around the assignment to silence this warning for(csi = 0; cs = Codes1[csi].mcharset; csi++) ^ ( ) mimehead.cc:199:18: note: use '==' to turn this assignment into an equality comparison for(csi = 0; cs = Codes1[csi].mcharset; csi++) ^ == mimehead.cc:203:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(csi = 0; cs = Codes2[csi].mcharset; csi++) ~~~^~~~~~~~~~~~~~~~~~~~~~ mimehead.cc:203:18: note: place parentheses around the assignment to silence this warning for(csi = 0; cs = Codes2[csi].mcharset; csi++) ^ ( ) mimehead.cc:203:18: note: use '==' to turn this assignment into an equality comparison for(csi = 0; cs = Codes2[csi].mcharset; csi++) ^ == mimehead.cc:420:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ci = 0; mcharset = csw[ci].mcharset; ci++ ){ ~~~~~~~~~^~~~~~~~~~~~~~~~~~ mimehead.cc:420:24: note: place parentheses around the assignment to silence this warning for( ci = 0; mcharset = csw[ci].mcharset; ci++ ){ ^ ( ) mimehead.cc:420:24: note: use '==' to turn this assignment into an equality comparison for( ci = 0; mcharset = csw[ci].mcharset; ci++ ){ ^ == mimehead.cc:544:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( lwsp = io->PENDING_LWSP ) ~~~~~^~~~~~~~~~~~~~~~~~ mimehead.cc:544:12: note: place parentheses around the assignment to silence this warning if( lwsp = io->PENDING_LWSP ) ^ ( ) mimehead.cc:544:12: note: use '==' to turn this assignment into an equality comparison if( lwsp = io->PENDING_LWSP ) ^ == mimehead.cc:553:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( lwsp = io->PENDING_LWSP ){ ~~~~~^~~~~~~~~~~~~~~~~~ mimehead.cc:553:12: note: place parentheses around the assignment to silence this warning if( lwsp = io->PENDING_LWSP ){ ^ ( ) mimehead.cc:553:12: note: use '==' to turn this assignment into an equality comparison if( lwsp = io->PENDING_LWSP ){ ^ == mimehead.cc:614:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ci = 0; ch = line[ci]; ci++ ) ~~~^~~~~~~~~~ mimehead.cc:614:19: note: place parentheses around the assignment to silence this warning for( ci = 0; ch = line[ci]; ci++ ) ^ ( ) mimehead.cc:614:19: note: use '==' to turn this assignment into an equality comparison for( ci = 0; ch = line[ci]; ci++ ) ^ == mimehead.cc:772:53: warning: '&&' within '||' [-Wlogical-op-parentheses] if( !IS_PRE_DELIMITER(prech) || io->SPACE_WAS_GEN && !prefold ) ~~ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ mimehead.cc:772:53: note: place parentheses around the '&&' expression to silence this warning if( !IS_PRE_DELIMITER(prech) || io->SPACE_WAS_GEN && !prefold ) ^ ( ) mimehead.cc:1491:28: warning: '&&' within '||' [-Wlogical-op-parentheses] || strchr(xout,'\n')==0 && strchr(ins,'\n')!=0 ~~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ mimehead.cc:1491:28: note: place parentheses around the '&&' expression to silence this warning || strchr(xout,'\n')==0 && strchr(ins,'\n')!=0 ^ ( ) 8 warnings generated. ../mkcpp mimeh_ovw.c mimeh_ovw.cc -- mkcpp set time: 1407534673 -> 1231731003 mimeh_ovw.cc rm -f mimeh_ovw.o cc -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -O2 -march=i586 -I. mimeh_ovw.cc -c -DMIMEKIT ../mkcpp str_codes.c str_codes.cc -- mkcpp set time: 1407534673 -> 1105854404 str_codes.cc rm -f str_codes.o cc -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -O2 -march=i586 -I. str_codes.cc -c -DMIMEKIT In file included from str_codes.cc:123: ./mimecodes.c:58:33: warning: '&&' within '||' [-Wlogical-op-parentheses] if( 0x80 <= ix || iscntrl(ix) && !isspace(ix) || ix == EQ ) ~~ ~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./mimecodes.c:58:33: note: place parentheses around the '&&' expression to silence this warning if( 0x80 <= ix || iscntrl(ix) && !isspace(ix) || ix == EQ ) ^ ( ) ./mimecodes.c:67:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( ch = *qpchars++ ) ~~~^~~~~~~~~~~~ ./mimecodes.c:67:12: note: place parentheses around the assignment to silence this warning while( ch = *qpchars++ ) ^ ( ) ./mimecodes.c:67:12: note: use '==' to turn this assignment into an equality comparison while( ch = *qpchars++ ) ^ == ./mimecodes.c:280:17: warning: '&&' within '||' [-Wlogical-op-parentheses] || ocol == 0 && ich == '.' ~~ ~~~~~~~~~~^~~~~~~~~~~~~ ./mimecodes.c:280:17: note: place parentheses around the '&&' expression to silence this warning || ocol == 0 && ich == '.' ^ ( ) 3 warnings generated. ../mkcpp gendom.c gendom.cc -- mkcpp set time: 1407534673 -> 1230377043 gendom.cc rm -f gendom.o cc -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -O2 -march=i586 -I. gendom.cc -c -DMIMEKIT gendom.cc:330:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ai = 0; ap = attrs[ai]; ai++ ){ ~~~^~~~~~~~~~~ gendom.cc:330:19: note: place parentheses around the assignment to silence this warning for( ai = 0; ap = attrs[ai]; ai++ ){ ^ ( ) gendom.cc:330:19: note: use '==' to turn this assignment into an equality comparison for( ai = 0; ap = attrs[ai]; ai++ ){ ^ == gendom.cc:335:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ai = 0; ap = rattrs[ai]; ai++ ){ ~~~^~~~~~~~~~~~ gendom.cc:335:18: note: place parentheses around the assignment to silence this warning for( ai = 0; ap = rattrs[ai]; ai++ ){ ^ ( ) gendom.cc:335:18: note: use '==' to turn this assignment into an equality comparison for( ai = 0; ap = rattrs[ai]; ai++ ){ ^ == gendom.cc:359:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( hi = 0; dn = domlev[hi].d_name; hi++ ){ ~~~^~~~~~~~~~~~~~~~~~~ gendom.cc:359:19: note: place parentheses around the assignment to silence this warning for( hi = 0; dn = domlev[hi].d_name; hi++ ){ ^ ( ) gendom.cc:359:19: note: use '==' to turn this assignment into an equality comparison for( hi = 0; dn = domlev[hi].d_name; hi++ ){ ^ == gendom.cc:364:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( hi = 0; dn = domlev[hi].d_rev; hi++ ){ ~~~^~~~~~~~~~~~~~~~~~ gendom.cc:364:18: note: place parentheses around the assignment to silence this warning for( hi = 0; dn = domlev[hi].d_rev; hi++ ){ ^ ( ) gendom.cc:364:18: note: use '==' to turn this assignment into an equality comparison for( hi = 0; dn = domlev[hi].d_rev; hi++ ){ ^ == gendom.cc:379:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( alen = isattr(qn-1) ){ ~~~~~^~~~~~~~~~~~~~ gendom.cc:379:14: note: place parentheses around the assignment to silence this warning if( alen = isattr(qn-1) ){ ^ ( ) gendom.cc:379:14: note: use '==' to turn this assignment into an equality comparison if( alen = isattr(qn-1) ){ ^ == gendom.cc:413:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( dp++; dc = *dp; dp++ ) ~~~^~~~~ gendom.cc:413:17: note: place parentheses around the assignment to silence this warning for( dp++; dc = *dp; dp++ ) ^ ( ) gendom.cc:413:17: note: use '==' to turn this assignment into an equality comparison for( dp++; dc = *dp; dp++ ) ^ == gendom.cc:438:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dom = strchr(gendom,'@') ){ ~~~~^~~~~~~~~~~~~~~~~~~~ gendom.cc:438:10: note: place parentheses around the assignment to silence this warning if( dom = strchr(gendom,'@') ){ ^ ( ) gendom.cc:438:10: note: use '==' to turn this assignment into an equality comparison if( dom = strchr(gendom,'@') ){ ^ == 7 warnings generated. rm -f libmimekit.a ar cr libmimekit.a mimeconv.o mimecodes.o mime.o pgp.o rfc822.o mimehead.o mimeh_ovw.o str_codes.o gendom.o /usr/pkgsrc/work/net/delegate/work/.wrapper/bin/ranlib libmimekit.a **[0] move ../mimekit/libmimekit.a to ../lib/libmimekit.a /usr/pkgsrc/work/net/delegate/work/delegate9.9.1/mkmake.exe -makeat ../lib/libmd5.a ../pds/md5 libmd5.a "/usr/pkg/bin/bmake" libx MAKE="/usr/pkg/bin/bmake" SHELL="/bin/sh" CC="cc" CFLAGS="-O2 -x c++ -DQS -DNONC99" HDRDIR="-I../gen -I../include -O2 -march=i586" RANLIB="/usr/pkgsrc/work/net/delegate/work/.wrapper/bin/ranlib" LDFLAGS=" -L../lib" LIBDIR="-L../lib" NETLIB="-lutil -MT -lstdc++" AR="ar" TAR="tar" [cc -c -O2 -x c++ -DQS -DNONC99 ] NONC99 = 2 ####### -makeat: /usr/pkgsrc/work/net/delegate/work/delegate9.9.1/pds/md5 /usr/pkgsrc/work/net/delegate/work/delegate9.9.1/mkmake.exe -mkmake "/usr/pkg/bin/bmake" Makefile.go "cc" "-O2 -x c++ -DQS -DNONC99" "" "-L../lib" "/usr/pkgsrc/work/net/delegate/work/.wrapper/bin/ranlib" "-lutil -MT -lstdc++" NETLIB mkmake: [cc -c -O2 -x c++ -DQS -DNONC99 ] NONC99 = 2 #### [/usr/pkgsrc/work/net/delegate/work/delegate9.9.1/pds/md5] creating Makefile.go cpyfile Makefile[1-0][0-804f73d] > Makefile.go #ifdef UNIX,OS2EMX ################################################ [SET] MKMAKE=/usr/pkgsrc/work/net/delegate/work/delegate9.9.1/mkmake.exe [SET] RANLIB=/usr/pkgsrc/work/net/delegate/work/.wrapper/bin/ranlib - checking availability of -lutil [] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -MT [-lutil] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lstdc++ [-lutil -MT] cpyfile: cannot read 'DELEGATE_CONF' [SET] NETLIB=-lutil -MT -lstdc++ cpyfile: cannot read 'DELEGATE_CONF' cpyfile Makefile[0-0][804f7c0-0] > Makefile.go #ifdef UNIX,OS2EMX ################################################ /usr/pkg/bin/bmake -f Makefile.go CFLAGS="-O2 -x c++ -DQS -DNONC99" libmd5.a SHELL="/bin/sh" ../../mkcpp md5c.c md5c.cc -- mkcpp set time: 1407534673 -> 1096679002 md5c.cc cc -O2 -x c++ -DQS -DNONC99 -c md5c.cc ../../mkcpp md5cb.c md5cb.cc -- mkcpp set time: 1407534674 -> 1098398831 md5cb.cc cc -O2 -x c++ -DQS -DNONC99 -c md5cb.cc ../../mkcpp md5lib.c md5lib.cc -- mkcpp set time: 1407534674 -> 1133426684 md5lib.cc cc -O2 -x c++ -DQS -DNONC99 -c md5lib.cc ../../mkcpp md5main.c md5main.cc -- mkcpp set time: 1407534674 -> 953668454 md5main.cc cc -O2 -x c++ -DQS -DNONC99 -c -DMD=5 md5main.cc In file included from md5main.cc:2: ./mddriver.c:128:3: warning: format specifies type 'long' but the argument has type 'long long' [-Wformat] (long)TEST_BLOCK_LEN * (long)TEST_BLOCK_COUNT/(endTime-startTime)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mddriver.c:135:13: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] MDString (""); ^ ./mddriver.c:136:13: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] MDString ("a"); ^ ./mddriver.c:137:13: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] MDString ("abc"); ^ ./mddriver.c:138:13: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] MDString ("message digest"); ^ ./mddriver.c:139:13: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] MDString ("abcdefghijklmnopqrstuvwxyz"); ^ ./mddriver.c:141:3: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] ("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"); ^ ./mddriver.c:143:3: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] ("1234567890123456789012345678901234567890\ ^ ./mddriver.c:158:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (len = fread (buffer, 1, 1024, file)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mddriver.c:158:13: note: place parentheses around the assignment to silence this warning while (len = fread (buffer, 1, 1024, file)) ^ ( ) ./mddriver.c:158:13: note: use '==' to turn this assignment into an equality comparison while (len = fread (buffer, 1, 1024, file)) ^ == ./mddriver.c:175:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (len = fread (buffer, 1, 16, stdin)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mddriver.c:175:14: note: place parentheses around the assignment to silence this warning while (len = fread (buffer, 1, 16, stdin)) ^ ( ) ./mddriver.c:175:14: note: use '==' to turn this assignment into an equality comparison while (len = fread (buffer, 1, 16, stdin)) ^ == 10 warnings generated. rm -f libmd5.a ar cr libmd5.a md5c.o md5cb.o md5lib.o md5main.o /usr/pkgsrc/work/net/delegate/work/.wrapper/bin/ranlib libmd5.a **[0] move ../pds/md5/libmd5.a to ../lib/libmd5.a /usr/pkgsrc/work/net/delegate/work/delegate9.9.1/mkmake.exe -makeat ../lib/library.a ../rary library.a "/usr/pkg/bin/bmake" libx MAKE="/usr/pkg/bin/bmake" SHELL="/bin/sh" CC="cc" CFLAGS="-O2 -x c++ -DQS -DNONC99" HDRDIR="-I../gen -I../include -O2 -march=i586" RANLIB="/usr/pkgsrc/work/net/delegate/work/.wrapper/bin/ranlib" LDFLAGS=" -L../lib" LIBDIR="-L../lib" NETLIB="-lutil -MT -lstdc++" AR="ar" TAR="tar" [cc -c -O2 -x c++ -DQS -DNONC99 ] NONC99 = 2 ####### -makeat: /usr/pkgsrc/work/net/delegate/work/delegate9.9.1/rary /usr/pkgsrc/work/net/delegate/work/delegate9.9.1/mkmake.exe -cksum Makefile SLL.c TLEX.c String.c ystring.c JIS.c codeconv.c str_stdio.c ccxmain.c ccx.c html.c urlesc.c Strftime.c Timeofday.c strid.c hash.c bsort.c codec.c uu.c pstitle.c signal.c IsSolaris.c sched.c schedmain.c tar.c sed.c readycc.c fpoll.c fpolls.c frelay.c timer.c nbio.c vsaddr.c pelcgb.c credhy.c cksum.c setutimes.c file.c fstat.c pam.c libpam.c passwd.c syslog.c lock.c dglibs.c forkspawn.c Thread.c randstack.c rawcopy.c hostaddr.c socks5.c cfilib.c wince.c winmo.c winsspi.c winnat.c unix.c windows.c windows0.c Finish.c /usr/pkgsrc/work/net/delegate/work/delegate9.9.1/mkmake.exe -mkmake "/usr/pkg/bin/bmake" Makefile.go "cc" "-O2 -x c++ -DQS -DNONC99" "" "-L../lib" "/usr/pkgsrc/work/net/delegate/work/.wrapper/bin/ranlib" "-lutil -MT -lstdc++" NETLIB mkmake: [cc -c -O2 -x c++ -DQS -DNONC99 ] NONC99 = 2 #### [/usr/pkgsrc/work/net/delegate/work/delegate9.9.1/rary] creating Makefile.go cpyfile Makefile[1-0][0-804f73d] > Makefile.go #ifdef UNIX,OS2EMX ################################################ [SET] MKMAKE=/usr/pkgsrc/work/net/delegate/work/delegate9.9.1/mkmake.exe [SET] RANLIB=/usr/pkgsrc/work/net/delegate/work/.wrapper/bin/ranlib - checking availability of -lutil [] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -MT [-lutil] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lstdc++ [-lutil -MT] cpyfile: cannot read 'DELEGATE_CONF' [SET] NETLIB=-lutil -MT -lstdc++ cpyfile: cannot read 'DELEGATE_CONF' cpyfile Makefile[0-0][804f7c0-0] > Makefile.go #ifdef UNIX,OS2EMX ################################################ /usr/pkgsrc/work/net/delegate/work/delegate9.9.1/mkmake.exe -randtext randtext.c /usr/pkg/bin/bmake -f Makefile.go CFLAGS="-O2 -x c++ -DQS -DNONC99" library.a SHELL="/bin/sh" HDRDIR="-I../gen -I../include -O2 -march=i586" ../mkcpp SLL.c SLL.cc -- mkcpp set time: 1407534674 -> 1105749861 SLL.cc cc -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -O2 -march=i586 -c SLL.cc SLL.cc:63:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ch = *src ){ ~~~^~~~~~ SLL.cc:63:11: note: place parentheses around the assignment to silence this warning if( ch = *src ){ ^ ( ) SLL.cc:63:11: note: use '==' to turn this assignment into an equality comparison if( ch = *src ){ ^ == 1 warning generated. ../mkcpp String.c String.cc -- mkcpp set time: 1407534674 -> 1231174776 String.cc cc -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -O2 -march=i586 -c String.cc String.cc:40:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = str; ch = *sp; sp++ ) ~~~^~~~~ String.cc:40:20: note: place parentheses around the assignment to silence this warning for( sp = str; ch = *sp; sp++ ) ^ ( ) String.cc:40:20: note: use '==' to turn this assignment into an equality comparison for( sp = str; ch = *sp; sp++ ) ^ == String.cc:69:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = Isnumber(ai) ){ ~~~^~~~~~~~~~~~~~ String.cc:69:9: note: place parentheses around the assignment to silence this warning if( dp = Isnumber(ai) ){ ^ ( ) String.cc:69:9: note: use '==' to turn this assignment into an equality comparison if( dp = Isnumber(ai) ){ ^ == String.cc:119:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = str; sc = *sp; sp++ ) ~~~^~~~~ String.cc:119:20: note: place parentheses around the assignment to silence this warning for( sp = str; sc = *sp; sp++ ) ^ ( ) String.cc:119:20: note: use '==' to turn this assignment into an equality comparison for( sp = str; sc = *sp; sp++ ) ^ == String.cc:128:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = str; sc = *sp; sp++ ) ~~~^~~~~ String.cc:128:20: note: place parentheses around the assignment to silence this warning for( sp = str; sc = *sp; sp++ ) ^ ( ) String.cc:128:20: note: use '==' to turn this assignment into an equality comparison for( sp = str; sc = *sp; sp++ ) ^ == String.cc:138:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = src; sc = *sp; sp++ ){ ~~~^~~~~ String.cc:138:20: note: place parentheses around the assignment to silence this warning for( sp = src; sc = *sp; sp++ ){ ^ ( ) String.cc:138:20: note: use '==' to turn this assignment into an equality comparison for( sp = src; sc = *sp; sp++ ){ ^ == String.cc:155:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = src; sc = *sp; sp++ ){ ~~~^~~~~ String.cc:155:20: note: place parentheses around the assignment to silence this warning for( sp = src; sc = *sp; sp++ ){ ^ ( ) String.cc:155:20: note: use '==' to turn this assignment into an equality comparison for( sp = src; sc = *sp; sp++ ){ ^ == String.cc:204:27: warning: '&&' within '||' [-Wlogical-op-parentheses] || (opts & RX_IGNCASE) && chrcaseeq(sc,rc) ~~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ String.cc:204:27: note: place parentheses around the '&&' expression to silence this warning || (opts & RX_IGNCASE) && chrcaseeq(sc,rc) ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ String.cc:241:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(; rch1 = *rp; rp++ ){ ~~~~~^~~~~ String.cc:241:15: note: place parentheses around the assignment to silence this warning for(; rch1 = *rp; rp++ ){ ^ ( ) String.cc:241:15: note: use '==' to turn this assignment into an equality comparison for(; rch1 = *rp; rp++ ){ ^ == String.cc:242:16: warning: '&&' within '||' [-Wlogical-op-parentheses] if( negate && match || !negate && !match ){ ~~~~~~~^~~~~~~~ ~~ String.cc:242:16: note: place parentheses around the '&&' expression to silence this warning if( negate && match || !negate && !match ){ ^ ( ) String.cc:242:36: warning: '&&' within '||' [-Wlogical-op-parentheses] if( negate && match || !negate && !match ){ ~~ ~~~~~~~~^~~~~~~~~ String.cc:242:36: note: place parentheses around the '&&' expression to silence this warning if( negate && match || !negate && !match ){ ^ ( ) String.cc:266:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(ac = 0; a1 = av[ac]; ac++){ ~~~^~~~~~~~ String.cc:266:17: note: place parentheses around the assignment to silence this warning for(ac = 0; a1 = av[ac]; ac++){ ^ ( ) String.cc:266:17: note: use '==' to turn this assignment into an equality comparison for(ac = 0; a1 = av[ac]; ac++){ ^ == String.cc:284:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = str; ch = *sp; sp++ ){ ~~~^~~~~ String.cc:284:20: note: place parentheses around the assignment to silence this warning for( sp = str; ch = *sp; sp++ ){ ^ ( ) String.cc:284:20: note: use '==' to turn this assignment into an equality comparison for( sp = str; ch = *sp; sp++ ){ ^ == String.cc:285:27: warning: '&&' within '||' [-Wlogical-op-parentheses] if( ch==inc[0] || inc[1]&&ch==inc[1] || inc[2]&&ch==inc[2] ){ ~~ ~~~~~~^~~~~~~~~~~~ String.cc:285:27: note: place parentheses around the '&&' expression to silence this warning if( ch==inc[0] || inc[1]&&ch==inc[1] || inc[2]&&ch==inc[2] ){ ^ ( ) String.cc:285:49: warning: '&&' within '||' [-Wlogical-op-parentheses] if( ch==inc[0] || inc[1]&&ch==inc[1] || inc[2]&&ch==inc[2] ){ ~~ ~~~~~~^~~~~~~~~~~~ String.cc:285:49: note: place parentheses around the '&&' expression to silence this warning if( ch==inc[0] || inc[1]&&ch==inc[1] || inc[2]&&ch==inc[2] ){ ^ ( ) String.cc:288:27: warning: '&&' within '||' [-Wlogical-op-parentheses] if( ch==dec[0] || dec[1]&&ch==dec[1] || dec[2]&&ch==dec[2] ){ ~~ ~~~~~~^~~~~~~~~~~~ String.cc:288:27: note: place parentheses around the '&&' expression to silence this warning if( ch==dec[0] || dec[1]&&ch==dec[1] || dec[2]&&ch==dec[2] ){ ^ ( ) String.cc:288:49: warning: '&&' within '||' [-Wlogical-op-parentheses] if( ch==dec[0] || dec[1]&&ch==dec[1] || dec[2]&&ch==dec[2] ){ ~~ ~~~~~~^~~~~~~~~~~~ String.cc:288:49: note: place parentheses around the '&&' expression to silence this warning if( ch==dec[0] || dec[1]&&ch==dec[1] || dec[2]&&ch==dec[2] ){ ^ ( ) String.cc:306:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = str; ch = *sp; sp++ ){ ~~~^~~~~ String.cc:306:20: note: place parentheses around the assignment to silence this warning for( sp = str; ch = *sp; sp++ ){ ^ ( ) String.cc:306:20: note: use '==' to turn this assignment into an equality comparison for( sp = str; ch = *sp; sp++ ){ ^ == String.cc:364:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ei = 0; e1 = ev[ei]; ei++ ){ ~~~^~~~~~~~ String.cc:364:18: note: place parentheses around the assignment to silence this warning for( ei = 0; e1 = ev[ei]; ei++ ){ ^ ( ) String.cc:364:18: note: use '==' to turn this assignment into an equality comparison for( ei = 0; e1 = ev[ei]; ei++ ){ ^ == String.cc:371:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ei = 0; e1 = ev[ei]; ei++ ){ ~~~^~~~~~~~ String.cc:371:18: note: place parentheses around the assignment to silence this warning for( ei = 0; e1 = ev[ei]; ei++ ){ ^ ( ) String.cc:371:18: note: use '==' to turn this assignment into an equality comparison for( ei = 0; e1 = ev[ei]; ei++ ){ ^ == String.cc:445:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(ai = 0; val = av[ai]; ai++) ~~~~^~~~~~~~ String.cc:445:18: note: place parentheses around the assignment to silence this warning for(ai = 0; val = av[ai]; ai++) ^ ( ) String.cc:445:18: note: use '==' to turn this assignment into an equality comparison for(ai = 0; val = av[ai]; ai++) ^ == String.cc:462:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ai = 0; val = av[ai]; ai++ ){ ~~~~^~~~~~~~ String.cc:462:19: note: place parentheses around the assignment to silence this warning for( ai = 0; val = av[ai]; ai++ ){ ^ ( ) String.cc:462:19: note: use '==' to turn this assignment into an equality comparison for( ai = 0; val = av[ai]; ai++ ){ ^ == String.cc:494:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getenv("STRBUFDEBUG") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~ String.cc:494:11: note: place parentheses around the assignment to silence this warning if( env = getenv("STRBUFDEBUG") ){ ^ ( ) String.cc:494:11: note: use '==' to turn this assignment into an equality comparison if( env = getenv("STRBUFDEBUG") ){ ^ == String.cc:553:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( odd = top % al ) ~~~~^~~~~~~~~~ String.cc:553:11: note: place parentheses around the assignment to silence this warning if( odd = top % al ) ^ ( ) String.cc:553:11: note: use '==' to turn this assignment into an equality comparison if( odd = top % al ) ^ == String.cc:575:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sp = getStrBuffer(1,size,PTRALIGN) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ String.cc:575:9: note: place parentheses around the assignment to silence this warning if( sp = getStrBuffer(1,size,PTRALIGN) ){ ^ ( ) String.cc:575:9: note: use '==' to turn this assignment into an equality comparison if( sp = getStrBuffer(1,size,PTRALIGN) ){ ^ == String.cc:585:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ep = getStrBuffer(1,len,1) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~ String.cc:585:9: note: place parentheses around the assignment to silence this warning if( ep = getStrBuffer(1,len,1) ){ ^ ( ) String.cc:585:9: note: use '==' to turn this assignment into an equality comparison if( ep = getStrBuffer(1,len,1) ){ ^ == String.cc:595:10: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] return ""; ^ String.cc:596:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sp = getStrBuffer(1,strlen(str)+1,1) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ String.cc:596:9: note: place parentheses around the assignment to silence this warning if( sp = getStrBuffer(1,strlen(str)+1,1) ){ ^ ( ) String.cc:596:9: note: use '==' to turn this assignment into an equality comparison if( sp = getStrBuffer(1,strlen(str)+1,1) ){ ^ == String.cc:626:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ds = *dst ){ ~~~^~~~~~ String.cc:626:9: note: place parentheses around the assignment to silence this warning if( ds = *dst ){ ^ ( ) String.cc:626:9: note: use '==' to turn this assignment into an equality comparison if( ds = *dst ){ ^ == String.cc:714:31: warning: '&&' within '||' [-Wlogical-op-parentheses] while( *s1 == *s2 || igncase && chrcaseeq(*s1,*s2) ){ ~~ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ String.cc:714:31: note: place parentheses around the '&&' expression to silence this warning while( *s1 == *s2 || igncase && chrcaseeq(*s1,*s2) ){ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ String.cc:744:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = str; ch = *sp; sp++ ){ ~~~^~~~~ String.cc:744:20: note: place parentheses around the assignment to silence this warning for( sp = str; ch = *sp; sp++ ){ ^ ( ) String.cc:744:20: note: use '==' to turn this assignment into an equality comparison for( sp = str; ch = *sp; sp++ ){ ^ == String.cc:755:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(; ch = *s; s++){ ~~~^~~~ String.cc:755:11: note: place parentheses around the assignment to silence this warning for(; ch = *s; s++){ ^ ( ) String.cc:755:11: note: use '==' to turn this assignment into an equality comparison for(; ch = *s; s++){ ^ == String.cc:777:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(; ch = *s; s++){ ~~~^~~~ String.cc:777:11: note: place parentheses around the assignment to silence this warning for(; ch = *s; s++){ ^ ( ) String.cc:777:11: note: use '==' to turn this assignment into an equality comparison for(; ch = *s; s++){ ^ == String.cc:783:28: warning: '&&' within '||' [-Wlogical-op-parentheses] if( ch=='\n' || ch=='\r' && (s[1]=='\n' || s[1]==0) ) ~~ ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ String.cc:783:28: note: place parentheses around the '&&' expression to silence this warning if( ch=='\n' || ch=='\r' && (s[1]=='\n' || s[1]==0) ) ^ ( ) String.cc:794:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = src; sc = *sp; sp++ ){ ~~~^~~~~ String.cc:794:20: note: place parentheses around the assignment to silence this warning for( sp = src; sc = *sp; sp++ ){ ^ ( ) String.cc:794:20: note: use '==' to turn this assignment into an equality comparison for( sp = src; sc = *sp; sp++ ){ ^ == String.cc:867:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(; ch = *sp; sp++ ) ~~~^~~~~ String.cc:867:12: note: place parentheses around the assignment to silence this warning for(; ch = *sp; sp++ ) ^ ( ) String.cc:867:12: note: use '==' to turn this assignment into an equality comparison for(; ch = *sp; sp++ ) ^ == String.cc:872:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(; ch = *sp; sp++ ){ ~~~^~~~~ String.cc:872:12: note: place parentheses around the assignment to silence this warning for(; ch = *sp; sp++ ){ ^ ( ) String.cc:872:12: note: use '==' to turn this assignment into an equality comparison for(; ch = *sp; sp++ ){ ^ == String.cc:925:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( care_quote = (allocm & STR_QUOTE) ){ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ String.cc:925:17: note: place parentheses around the assignment to silence this warning if( care_quote = (allocm & STR_QUOTE) ){ ^ ( ) String.cc:925:17: note: use '==' to turn this assignment into an equality comparison if( care_quote = (allocm & STR_QUOTE) ){ ^ == String.cc:938:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ String.cc:946:28: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( np = (char*)lp; cch = *np; ){ ~~~~^~~~~ String.cc:946:28: note: place parentheses around the assignment to silence this warning for( np = (char*)lp; cch = *np; ){ ^ ( ) String.cc:946:28: note: use '==' to turn this assignment into an equality comparison for( np = (char*)lp; cch = *np; ){ ^ == String.cc:1072:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( tp = strchr(list,'}') ){ ~~~^~~~~~~~~~~~~~~~~~ String.cc:1072:11: note: place parentheses around the assignment to silence this warning if( tp = strchr(list,'}') ){ ^ ( ) String.cc:1072:11: note: use '==' to turn this assignment into an equality comparison if( tp = strchr(list,'}') ){ ^ == String.cc:1181:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( dp = strstr(sp,pat) ){ ~~~^~~~~~~~~~~~~~~~ String.cc:1181:12: note: place parentheses around the assignment to silence this warning while( dp = strstr(sp,pat) ){ ^ ( ) String.cc:1181:12: note: use '==' to turn this assignment into an equality comparison while( dp = strstr(sp,pat) ){ ^ == String.cc:1271:43: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ks = (unsigned char*)key; kc = *ks++; ){ ~~~^~~~~~~ String.cc:1271:43: note: place parentheses around the assignment to silence this warning for( ks = (unsigned char*)key; kc = *ks++; ){ ^ ( ) String.cc:1271:43: note: use '==' to turn this assignment into an equality comparison for( ks = (unsigned char*)key; kc = *ks++; ){ ^ == String.cc:1315:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( dp = str; ch = *dp; dp++ ) ~~~^~~~~ String.cc:1315:20: note: place parentheses around the assignment to silence this warning for( dp = str; ch = *dp; dp++ ) ^ ( ) String.cc:1315:20: note: use '==' to turn this assignment into an equality comparison for( dp = str; ch = *dp; dp++ ) ^ == String.cc:1365:45: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = pat0 = strip_spaces(pattern); sc = *sp; sp++ ){ ~~~^~~~~ String.cc:1365:45: note: place parentheses around the assignment to silence this warning for( sp = pat0 = strip_spaces(pattern); sc = *sp; sp++ ){ ^ ( ) String.cc:1365:45: note: use '==' to turn this assignment into an equality comparison for( sp = pat0 = strip_spaces(pattern); sc = *sp; sp++ ){ ^ == String.cc:1461:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( si = 0; sp = sv[si]; si++ ){ ~~~^~~~~~~~ String.cc:1461:18: note: place parentheses around the assignment to silence this warning for( si = 0; sp = sv[si]; si++ ){ ^ ( ) String.cc:1461:18: note: use '==' to turn this assignment into an equality comparison for( si = 0; sp = sv[si]; si++ ){ ^ == String.cc:1463:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( sc = *sp++ ) ~~~^~~~~~~ String.cc:1463:13: note: place parentheses around the assignment to silence this warning while( sc = *sp++ ) ^ ( ) String.cc:1463:13: note: use '==' to turn this assignment into an equality comparison while( sc = *sp++ ) ^ == String.cc:1604:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( a1 = av[ai]; ch = *a1; a1++ ){ ~~~^~~~~ String.cc:1604:24: note: place parentheses around the assignment to silence this warning for( a1 = av[ai]; ch = *a1; a1++ ){ ^ ( ) String.cc:1604:24: note: use '==' to turn this assignment into an equality comparison for( a1 = av[ai]; ch = *a1; a1++ ){ ^ == String.cc:1625:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = args; ch = *sp; sp++ ){ ~~~^~~~~ String.cc:1625:21: note: place parentheses around the assignment to silence this warning for( sp = args; ch = *sp; sp++ ){ ^ ( ) String.cc:1625:21: note: use '==' to turn this assignment into an equality comparison for( sp = args; ch = *sp; sp++ ){ ^ == String.cc:1905:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = src; sc = *sp; sp++ ){ ~~~^~~~~ String.cc:1905:20: note: place parentheses around the assignment to silence this warning for( sp = src; sc = *sp; sp++ ){ ^ ( ) String.cc:1905:20: note: use '==' to turn this assignment into an equality comparison for( sp = src; sc = *sp; sp++ ){ ^ == String.cc:1910:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( bp = brk; bc = *bp; bp++ ){ ~~~^~~~~ String.cc:1910:21: note: place parentheses around the assignment to silence this warning for( bp = brk; bc = *bp; bp++ ){ ^ ( ) String.cc:1910:21: note: use '==' to turn this assignment into an equality comparison for( bp = brk; bc = *bp; bp++ ){ ^ == String.cc:2045:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ip = dst; ic = *ip; ){ ~~~^~~~~ String.cc:2045:20: note: place parentheses around the assignment to silence this warning for( ip = dst; ic = *ip; ){ ^ ( ) String.cc:2045:20: note: use '==' to turn this assignment into an equality comparison for( ip = dst; ic = *ip; ){ ^ == String.cc:2064:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else{ ^ String.cc:2087:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ip = src; ic = *ip; ){ ~~~^~~~~ String.cc:2087:20: note: place parentheses around the assignment to silence this warning for( ip = src; ic = *ip; ){ ^ ( ) String.cc:2087:20: note: use '==' to turn this assignment into an equality comparison for( ip = src; ic = *ip; ){ ^ == String.cc:2132:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( fp = fmt; fc = *fp; fp++ ){ ~~~^~~~~ String.cc:2132:20: note: place parentheses around the assignment to silence this warning for( fp = fmt; fc = *fp; fp++ ){ ^ ( ) String.cc:2132:20: note: use '==' to turn this assignment into an equality comparison for( fp = fmt; fc = *fp; fp++ ){ ^ == String.cc:2264:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( fp++; fc = *fp; fp++ ){ ~~~^~~~~ String.cc:2264:18: note: place parentheses around the assignment to silence this warning for( fp++; fc = *fp; fp++ ){ ^ ( ) String.cc:2264:18: note: use '==' to turn this assignment into an equality comparison for( fp++; fc = *fp; fp++ ){ ^ == String.cc:2310:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( fp++; ec = *fp; fp++ ){ ~~~^~~~~ String.cc:2310:19: note: place parentheses around the assignment to silence this warning for( fp++; ec = *fp; fp++ ){ ^ ( ) String.cc:2310:19: note: use '==' to turn this assignment into an equality comparison for( fp++; ec = *fp; fp++ ){ ^ == String.cc:2361:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( neg = *fp == '^' ) ~~~~^~~~~~~~~~~~ String.cc:2361:12: note: place parentheses around the assignment to silence this warning if( neg = *fp == '^' ) ^ ( ) String.cc:2361:12: note: use '==' to turn this assignment into an equality comparison if( neg = *fp == '^' ) ^ == String.cc:2367:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( sc = *sp ){ ~~~^~~~~ String.cc:2367:14: note: place parentheses around the assignment to silence this warning while( sc = *sp ){ ^ ( ) String.cc:2367:14: note: use '==' to turn this assignment into an equality comparison while( sc = *sp ){ ^ == String.cc:2386:13: warning: '&&' within '||' [-Wlogical-op-parentheses] if( neg && isin || !neg && !isin ) ~~~~^~~~~~~ ~~ String.cc:2386:13: note: place parentheses around the '&&' expression to silence this warning if( neg && isin || !neg && !isin ) ^ ( ) String.cc:2386:29: warning: '&&' within '||' [-Wlogical-op-parentheses] if( neg && isin || !neg && !isin ) ~~ ~~~~~^~~~~~~~ String.cc:2386:29: note: place parentheses around the '&&' expression to silence this warning if( neg && isin || !neg && !isin ) ^ ( ) String.cc:2421:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( bp = getStrBuffer(lev,size,algn) ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ String.cc:2421:9: note: place parentheses around the assignment to silence this warning if( bp = getStrBuffer(lev,size,algn) ) ^ ( ) String.cc:2421:9: note: use '==' to turn this assignment into an equality comparison if( bp = getStrBuffer(lev,size,algn) ) ^ == String.cc:2505:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( dp = strrchr(dombuf,dlm) ){ ~~~^~~~~~~~~~~~~~~~~~~~~ String.cc:2505:12: note: place parentheses around the assignment to silence this warning while( dp = strrchr(dombuf,dlm) ){ ^ ( ) String.cc:2505:12: note: use '==' to turn this assignment into an equality comparison while( dp = strrchr(dombuf,dlm) ){ ^ == String.cc:2565:42: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = (const unsigned char*)str; ch = *sp; sp++ ){ ~~~^~~~~ String.cc:2565:42: note: place parentheses around the assignment to silence this warning for( sp = (const unsigned char*)str; ch = *sp; sp++ ){ ^ ( ) String.cc:2565:42: note: use '==' to turn this assignment into an equality comparison for( sp = (const unsigned char*)str; ch = *sp; sp++ ){ ^ == 63 warnings generated. ../mkcpp ystring.c ystring.cc -- mkcpp set time: 1407534677 -> 1226837482 ystring.cc cc -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -O2 -march=i586 -c ystring.cc ystring.cc:203:39: warning: format specifies type 'unsigned int' but the argument has type 'FILE *' (aka '__sFILE *') [-Wformat] 0xFFF&getthreadid(),fd,nfd,fileno(fp),fp,FL_Bar); ^~ ystring.cc:309:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getenv("DEBUG_VSTR") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~ ystring.cc:309:10: note: place parentheses around the assignment to silence this warning if( env = getenv("DEBUG_VSTR") ){ ^ ( ) ystring.cc:309:10: note: use '==' to turn this assignment into an equality comparison if( env = getenv("DEBUG_VSTR") ){ ^ == ystring.cc:369:28: warning: format specifies type 'unsigned int' but the argument has type 'const char *' [-Wformat] snprintf(vp,vx-vp,"[%X]",dTAIL-32); ~~ ^~~~~~~~ %s ystring.cc:270:15: note: expanded from macro 'dTAIL' #define dTAIL &dBASE[dSIZE-1] ^ ystring.cc:391:27: warning: format specifies type 'unsigned int' but the argument has type 'const char *' [-Wformat] snprintf(vp,vx-vp,"[%X]",dp); ~~ ^~ %s ystring.cc:402:41: warning: format specifies type 'unsigned int' but the argument has type 'const char *' [-Wformat] where,MyVer,dFILE,dLINE,len,siz,dSIZE,dBASE,d,dTAIL); ^~~~~ ystring.cc:402:47: warning: format specifies type 'unsigned int' but the argument has type 'const char *' [-Wformat] where,MyVer,dFILE,dLINE,len,siz,dSIZE,dBASE,d,dTAIL); ^ ystring.cc:402:49: warning: format specifies type 'unsigned int' but the argument has type 'const char *' [-Wformat] where,MyVer,dFILE,dLINE,len,siz,dSIZE,dBASE,d,dTAIL); ^~~~~ ystring.cc:270:15: note: expanded from macro 'dTAIL' #define dTAIL &dBASE[dSIZE-1] ^~~~~~~~~~~~~~~ ystring.cc:644:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(p = s; ch = *p; p++){ ~~~^~~~ ystring.cc:644:16: note: place parentheses around the assignment to silence this warning for(p = s; ch = *p; p++){ ^ ( ) ystring.cc:644:16: note: use '==' to turn this assignment into an equality comparison for(p = s; ch = *p; p++){ ^ == ystring.cc:750:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(f = fmt; fc = *f; f++){ ~~~^~~~ ystring.cc:750:18: note: place parentheses around the assignment to silence this warning for(f = fmt; fc = *f; f++){ ^ ( ) ystring.cc:750:18: note: use '==' to turn this assignment into an equality comparison for(f = fmt; fc = *f; f++){ ^ == ystring.cc:979:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( fp = fmt; fc = *fp; ){ ~~~^~~~~ ystring.cc:979:20: note: place parentheses around the assignment to silence this warning for( fp = fmt; fc = *fp; ){ ^ ( ) ystring.cc:979:20: note: use '==' to turn this assignment into an equality comparison for( fp = fmt; fc = *fp; ){ ^ == ystring.cc:985:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( fp++; fc = *fp; fp++ ){ ~~~^~~~~ ystring.cc:985:18: note: place parentheses around the assignment to silence this warning for( fp++; fc = *fp; fp++ ){ ^ ( ) ystring.cc:985:18: note: use '==' to turn this assignment into an equality comparison for( fp++; fc = *fp; fp++ ){ ^ == ystring.cc:1157:33: warning: format specifies type 'unsigned int' but the argument has type 'void *' [-Wformat] si,allocsp, ap->a_F,ap->a_L,ssi,ap->a_p, FL_BAR); ^~~~~~~ ystring.cc:1254:20: warning: format specifies type 'unsigned int' but the argument has type 'void *' [-Wformat] allocsp,pstm,sz,mp,FL_BAR,pi,wh); ^~ ystring.cc:1257:20: warning: format specifies type 'unsigned int' but the argument has type 'void *' [-Wformat] allocsp,pstm,sz,mp,FL_BAR,wh); ^~ ystring.cc:1277:31: warning: format specifies type 'unsigned int' but the argument has type 'void *' [-Wformat] allocsp,ap->a_free,ap->a_z,ap->a_p,ap->a_F,ap->a_L, ^~~~~~~ ystring.cc:1303:27: warning: format specifies type 'unsigned int' but the argument has type 'void *' [-Wformat] si,ap->a_free,ap->a_z,mp,ap->a_F,ap->a_L, ^~ ystring.cc:1312:55: warning: format specifies type 'unsigned int' but the argument has type 'void *' [-Wformat] HEAPERR(stderr,"-dm [???](%d) %X %s %s:%d\n",allocsp,mp,wh,FL_BAR); ~~ ^~ 17 warnings generated. ../mkcpp TLEX.c TLEX.cc -- mkcpp set time: 1407534678 -> 1160985943 TLEX.cc cc -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -O2 -march=i586 -c TLEX.cc TLEX.cc:90:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( nfsp = fsp->Nstat->nvec[ch] ) ~~~~~^~~~~~~~~~~~~~~~~~~~~~ TLEX.cc:90:12: note: place parentheses around the assignment to silence this warning if( nfsp = fsp->Nstat->nvec[ch] ) ^ ( ) TLEX.cc:90:12: note: use '==' to turn this assignment into an equality comparison if( nfsp = fsp->Nstat->nvec[ch] ) ^ == TLEX.cc:106:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( nfsp = next1(fsp,ch) ) ~~~~~^~~~~~~~~~~~~~~ TLEX.cc:106:11: note: place parentheses around the assignment to silence this warning if( nfsp = next1(fsp,ch) ) ^ ( ) TLEX.cc:106:11: note: use '==' to turn this assignment into an equality comparison if( nfsp = next1(fsp,ch) ) ^ == TLEX.cc:109:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( nfsp = fsp->other ){ ~~~~~^~~~~~~~~~~~ TLEX.cc:109:11: note: place parentheses around the assignment to silence this warning if( nfsp = fsp->other ){ ^ ( ) TLEX.cc:109:11: note: use '==' to turn this assignment into an equality comparison if( nfsp = fsp->other ){ ^ == TLEX.cc:110:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( xfsp = next1(nfsp,ch) ){ ~~~~~^~~~~~~~~~~~~~~~ TLEX.cc:110:12: note: place parentheses around the assignment to silence this warning if( xfsp = next1(nfsp,ch) ){ ^ ( ) TLEX.cc:110:12: note: use '==' to turn this assignment into an equality comparison if( xfsp = next1(nfsp,ch) ){ ^ == TLEX.cc:189:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fa_root = fsp ) ~~~~~~~~^~~~~ TLEX.cc:189:14: note: place parentheses around the assignment to silence this warning if( fa_root = fsp ) ^ ( ) TLEX.cc:189:14: note: use '==' to turn this assignment into an equality comparison if( fa_root = fsp ) ^ == TLEX.cc:295:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ss = input; cc = *ss; ss++ ){ ~~~^~~~~ TLEX.cc:295:22: note: place parentheses around the assignment to silence this warning for( ss = input; cc = *ss; ss++ ){ ^ ( ) TLEX.cc:295:22: note: use '==' to turn this assignment into an equality comparison for( ss = input; cc = *ss; ss++ ){ ^ == TLEX.cc:418:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( tp = (unsigned char*)strchr((char*)sp,'>') ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TLEX.cc:418:10: note: place parentheses around the assignment to silence this warning if( tp = (unsigned char*)strchr((char*)sp,'>') ){ ^ ( ) TLEX.cc:418:10: note: use '==' to turn this assignment into an equality comparison if( tp = (unsigned char*)strchr((char*)sp,'>') ){ ^ == TLEX.cc:573:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = rexp; ch = *sp; sp++ ){ ~~~^~~~~ TLEX.cc:573:21: note: place parentheses around the assignment to silence this warning for( sp = rexp; ch = *sp; sp++ ){ ^ ( ) TLEX.cc:573:21: note: use '==' to turn this assignment into an equality comparison for( sp = rexp; ch = *sp; sp++ ){ ^ == 8 warnings generated. ../mkcpp JIS.c JIS.cc -- mkcpp set time: 1407534678 -> 1232246314 JIS.cc cc -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -O2 -march=i586 -c JIS.cc JIS.cc:121:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ci = 1; n1 = charsets[ci].cs_formname; ci++ ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:121:18: note: place parentheses around the assignment to silence this warning for( ci = 1; n1 = charsets[ci].cs_formname; ci++ ){ ^ ( ) JIS.cc:121:18: note: use '==' to turn this assignment into an equality comparison for( ci = 1; n1 = charsets[ci].cs_formname; ci++ ){ ^ == JIS.cc:348:36: warning: '&&' within '||' [-Wlogical-op-parentheses] if( IS_SJIS_HI1(ch1) || in_sjis && IS_SJIS_HI2(ch1) ) ~~ ~~~~~~~~^~~~~~~~~~~~~~~~~~~ JIS.cc:348:36: note: place parentheses around the '&&' expression to silence this warning if( IS_SJIS_HI1(ch1) || in_sjis && IS_SJIS_HI2(ch1) ) ~~~~~~~~^~~~~~~~~~~~~~~~~~~ JIS.cc:362:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( ch = *s++ ){ ~~~^~~~~~ JIS.cc:362:12: note: place parentheses around the assignment to silence this warning while( ch = *s++ ){ ^ ( ) JIS.cc:362:12: note: use '==' to turn this assignment into an equality comparison while( ch = *s++ ){ ^ == JIS.cc:416:25: warning: '&&' within '||' [-Wlogical-op-parentheses] if( c2 == SJIS_DAKUTEN && (js = SJIS_1B_TO_DAKUTEN[c1]) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:416:25: note: place parentheses around the '&&' expression to silence this warning if( c2 == SJIS_DAKUTEN && (js = SJIS_1B_TO_DAKUTEN[c1]) ^ ( ) JIS.cc:417:25: warning: '&&' within '||' [-Wlogical-op-parentheses] || c2 == SJIS_HANDAKU && (js = SJIS_1B_TO_HANDAKU[c1]) ){ ~~ ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:417:25: note: place parentheses around the '&&' expression to silence this warning || c2 == SJIS_HANDAKU && (js = SJIS_1B_TO_HANDAKU[c1]) ){ ^ ( ) JIS.cc:474:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( s = str; ch = *s; s++ ){ ~~~^~~~ JIS.cc:474:19: note: place parentheses around the assignment to silence this warning for( s = str; ch = *s; s++ ){ ^ ( ) JIS.cc:474:19: note: use '==' to turn this assignment into an equality comparison for( s = str; ch = *s; s++ ){ ^ == JIS.cc:497:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( ch1 = *sp++ ){ ~~~~^~~~~~~ JIS.cc:497:13: note: place parentheses around the assignment to silence this warning while( ch1 = *sp++ ){ ^ ( ) JIS.cc:497:13: note: use '==' to turn this assignment into an equality comparison while( ch1 = *sp++ ){ ^ == JIS.cc:524:41: warning: '&&' within '||' [-Wlogical-op-parentheses] || isHTML && ch1=='<' && sp[0]=='/' && istag(&sp[1]) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ JIS.cc:524:41: note: place parentheses around the '&&' expression to silence this warning || isHTML && ch1=='<' && sp[0]=='/' && istag(&sp[1]) ^ ( ) JIS.cc:525:41: warning: '&&' within '||' [-Wlogical-op-parentheses] || isHTML && ch2=='<' && sp[1]=='/' && istag(&sp[2]) ){ ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ JIS.cc:525:41: note: place parentheses around the '&&' expression to silence this warning || isHTML && ch2=='<' && sp[1]=='/' && istag(&sp[2]) ){ ^ ( ) JIS.cc:536:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( len = isHTMLentity(sp,&ech) ) ~~~~^~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:536:12: note: place parentheses around the assignment to silence this warning if( len = isHTMLentity(sp,&ech) ) ^ ( ) JIS.cc:536:12: note: use '==' to turn this assignment into an equality comparison if( len = isHTMLentity(sp,&ech) ) ^ == JIS.cc:546:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( len = isHTMLentity(sp,&ech) ) ~~~~^~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:546:12: note: place parentheses around the assignment to silence this warning if( len = isHTMLentity(sp,&ech) ) ^ ( ) JIS.cc:546:12: note: use '==' to turn this assignment into an equality comparison if( len = isHTMLentity(sp,&ech) ) ^ == JIS.cc:567:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( cp = euc; ch1 = *cp & 0xFF; cp++ ){ ~~~~^~~~~~~~~~~~ JIS.cc:567:21: note: place parentheses around the assignment to silence this warning for( cp = euc; ch1 = *cp & 0xFF; cp++ ){ ^ ( ) JIS.cc:567:21: note: use '==' to turn this assignment into an equality comparison for( cp = euc; ch1 = *cp & 0xFF; cp++ ){ ^ == JIS.cc:590:24: warning: '&&' within '||' [-Wlogical-op-parentheses] || 5 <= ccx->cc_sjis && ccx->cc_euc == 0 ~~ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ JIS.cc:590:24: note: place parentheses around the '&&' expression to silence this warning || 5 <= ccx->cc_sjis && ccx->cc_euc == 0 ^ ( ) JIS.cc:591:23: warning: '&&' within '||' [-Wlogical-op-parentheses] || 5 <= ccx->cc_euc && ccx->cc_sjis == 0 ~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ JIS.cc:591:23: note: place parentheses around the '&&' expression to silence this warning || 5 <= ccx->cc_euc && ccx->cc_sjis == 0 ^ ( ) JIS.cc:602:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cs = csx2name(ccx->cc_incc1) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:602:10: note: place parentheses around the assignment to silence this warning if( cs = csx2name(ccx->cc_incc1) ){ ^ ( ) JIS.cc:602:10: note: use '==' to turn this assignment into an equality comparison if( cs = csx2name(ccx->cc_incc1) ){ ^ == JIS.cc:613:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cs = csx2name(ccx->cc_incc1) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:613:10: note: place parentheses around the assignment to silence this warning if( cs = csx2name(ccx->cc_incc1) ){ ^ ( ) JIS.cc:613:10: note: use '==' to turn this assignment into an equality comparison if( cs = csx2name(ccx->cc_incc1) ){ ^ == JIS.cc:772:13: warning: & has lower precedence than ==; == will be evaluated first [-Wparentheses] if( ch2 & 0x80 == 0 ^~~~~~~~~~~ JIS.cc:772:13: note: place parentheses around the '==' expression to silence this warning if( ch2 & 0x80 == 0 ^ ( ) JIS.cc:772:13: note: place parentheses around the & expression to evaluate it first if( ch2 & 0x80 == 0 ^ ( ) JIS.cc:806:18: warning: '&&' within '||' [-Wlogical-op-parentheses] if( nSJ != nEJ && nSJ != nL8 ~~~~~~~~~~~^~~~~~~~~~~~~ JIS.cc:806:18: note: place parentheses around the '&&' expression to silence this warning if( nSJ != nEJ && nSJ != nL8 ^ ( ) JIS.cc:807:17: warning: '&&' within '||' [-Wlogical-op-parentheses] || nSJ < nL8 && nEJ < nL8 ~~ ~~~~~~~~~~^~~~~~~~~~~~ JIS.cc:807:17: note: place parentheses around the '&&' expression to silence this warning || nSJ < nL8 && nEJ < nL8 ^ ( ) JIS.cc:1126:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cs = csx2name(ccx->cc_incc1) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:1126:10: note: place parentheses around the assignment to silence this warning if( cs = csx2name(ccx->cc_incc1) ){ ^ ( ) JIS.cc:1126:10: note: use '==' to turn this assignment into an equality comparison if( cs = csx2name(ccx->cc_incc1) ){ ^ == JIS.cc:1145:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cs = csx2name(ccx->cc_indef) ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:1145:10: note: place parentheses around the assignment to silence this warning if( cs = csx2name(ccx->cc_indef) ) ^ ( ) JIS.cc:1145:10: note: use '==' to turn this assignment into an equality comparison if( cs = csx2name(ccx->cc_indef) ) ^ == JIS.cc:1186:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( cx = 1; name = charsets[cx].cs_name; cx++ ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~ JIS.cc:1186:20: note: place parentheses around the assignment to silence this warning for( cx = 1; name = charsets[cx].cs_name; cx++ ){ ^ ( ) JIS.cc:1186:20: note: use '==' to turn this assignment into an equality comparison for( cx = 1; name = charsets[cx].cs_name; cx++ ){ ^ == JIS.cc:1421:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( size = CCXcreate(from,to,&ccxbuf) ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:1421:11: note: place parentheses around the assignment to silence this warning if( size = CCXcreate(from,to,&ccxbuf) ){ ^ ( ) JIS.cc:1421:11: note: use '==' to turn this assignment into an equality comparison if( size = CCXcreate(from,to,&ccxbuf) ){ ^ == JIS.cc:1605:26: warning: '&&' within '||' [-Wlogical-op-parentheses] || ccx->cc_linecc == 0 && (flag & IS_WORDS) ~~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ JIS.cc:1605:26: note: place parentheses around the '&&' expression to silence this warning || ccx->cc_linecc == 0 && (flag & IS_WORDS) ^ ( ) JIS.cc:1679:23: warning: '&&' within '||' [-Wlogical-op-parentheses] || IS_EUC_HI(ch2) && ch3 == EOB ~~ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ JIS.cc:1679:23: note: place parentheses around the '&&' expression to silence this warning || IS_EUC_HI(ch2) && ch3 == EOB ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ JIS.cc:1695:19: warning: '&&' within '||' [-Wlogical-op-parentheses] if( ch1 == 0xA3 && (ch2 < 0xB0 || 0xBA <= ch2 & ch2 <= 0xBF) ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:1695:19: note: place parentheses around the '&&' expression to silence this warning if( ch1 == 0xA3 && (ch2 < 0xB0 || 0xBA <= ch2 & ch2 <= 0xBF) ^ ( ) JIS.cc:1696:19: warning: '&&' within '||' [-Wlogical-op-parentheses] || ch1 == 0xCF && (0xD3 < ch2) ~~ ~~~~~~~~~~~~^~~~~~~~~~~~~~~ JIS.cc:1696:19: note: place parentheses around the '&&' expression to silence this warning || ch1 == 0xCF && (0xD3 < ch2) ^ ( ) JIS.cc:1822:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ucs = ANSItoUCS(ch1) ){ ~~~~^~~~~~~~~~~~~~~~ JIS.cc:1822:12: note: place parentheses around the assignment to silence this warning if( ucs = ANSItoUCS(ch1) ){ ^ ( ) JIS.cc:1822:12: note: use '==' to turn this assignment into an equality comparison if( ucs = ANSItoUCS(ch1) ){ ^ == JIS.cc:1878:27: warning: '&' within '|' [-Wbitwise-op-parentheses] code = U_JIS0212|0x7F7F&((ch1<<8)|ch2); ~~~~~~~^~~~~~~~~~~~~~~ JIS.cc:1878:27: note: place parentheses around the '&' expression to silence this warning code = U_JIS0212|0x7F7F&((ch1<<8)|ch2); ^ ( ) JIS.cc:1883:27: warning: '&' within '|' [-Wbitwise-op-parentheses] code = U_JIS0212|0x7F7F&((ch1<<8)|ch2); ~~~~~~~^~~~~~~~~~~~~~~ JIS.cc:1883:27: note: place parentheses around the '&' expression to silence this warning code = U_JIS0212|0x7F7F&((ch1<<8)|ch2); ^ ( ) JIS.cc:2262:7: warning: '&&' within '||' [-Wlogical-op-parentheses] && codesw == CC_JIS7KANA ^~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:2262:7: note: place parentheses around the '&&' expression to silence this warning && codesw == CC_JIS7KANA ^~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:2566:4: warning: '&&' within '||' [-Wlogical-op-parentheses] && isNotInNONJP(ccx) ^~~~~~~~~~~~~~~~~~~~ JIS.cc:2566:4: note: place parentheses around the '&&' expression to silence this warning && isNotInNONJP(ccx) ^~~~~~~~~~~~~~~~~~~~ JIS.cc:2610:21: warning: '&&' within '||' [-Wlogical-op-parentheses] if( !ccx->cc_SJIS && !ccx->cc_EUCJP || isUTF8tmp || isUCSch ) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ~~ JIS.cc:2610:21: note: place parentheses around the '&&' expression to silence this warning if( !ccx->cc_SJIS && !ccx->cc_EUCJP || isUTF8tmp || isUCSch ) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ JIS.cc:2612:26: warning: '&&' within '||' [-Wlogical-op-parentheses] || (ch1&0xF8) == 0xF0 && canbeUTF8_2(ch2) /* 4bytes */ ~~ ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ JIS.cc:2612:26: note: place parentheses around the '&&' expression to silence this warning || (ch1&0xF8) == 0xF0 && canbeUTF8_2(ch2) /* 4bytes */ ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ JIS.cc:2617:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fromURL = 0 <= CH3b ){ ~~~~~~~~^~~~~~~~~~~ JIS.cc:2617:16: note: place parentheses around the assignment to silence this warning if( fromURL = 0 <= CH3b ){ ^ ( ) JIS.cc:2617:16: note: use '==' to turn this assignment into an equality comparison if( fromURL = 0 <= CH3b ){ ^ == JIS.cc:2630:19: warning: '&&' within '||' [-Wlogical-op-parentheses] || ch4 == EOB && (ch2 == '\n' || ch3 == '\n') ){ ~~ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:2630:19: note: place parentheses around the '&&' expression to silence this warning || ch4 == EOB && (ch2 == '\n' || ch3 == '\n') ){ ^ ( ) JIS.cc:2675:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ JIS.cc:2695:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cx = JIS_dakuten(c1,c2,ucs1) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:2695:19: note: place parentheses around the assignment to silence this warning if( cx = JIS_dakuten(c1,c2,ucs1) ){ ^ ( ) JIS.cc:2695:19: note: use '==' to turn this assignment into an equality comparison if( cx = JIS_dakuten(c1,c2,ucs1) ){ ^ == JIS.cc:2707:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( op[0] = isUTF8_HANKAKU(ch1,ch2,ch3) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:2707:18: note: place parentheses around the assignment to silence this warning if( op[0] = isUTF8_HANKAKU(ch1,ch2,ch3) ){ ^ ( ) JIS.cc:2707:18: note: use '==' to turn this assignment into an equality comparison if( op[0] = isUTF8_HANKAKU(ch1,ch2,ch3) ){ ^ == JIS.cc:2831:5: warning: '&&' within '||' [-Wlogical-op-parentheses] && IS_EUC_CH(ch1,ch2,CH3) ^~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:2831:5: note: place parentheses around the '&&' expression to silence this warning && IS_EUC_CH(ch1,ch2,CH3) ^~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:2833:5: warning: '&&' within '||' [-Wlogical-op-parentheses] && EUCgtSJIS(ccx,cinb,pix-1,pin,pilen) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:2833:5: note: place parentheses around the '&&' expression to silence this warning && EUCgtSJIS(ccx,cinb,pix-1,pin,pilen) ^ JIS.cc:2863:29: warning: '&&' within '||' [-Wlogical-op-parentheses] || maybein(CC_EUCJP) && !maybein(CC_SJIS)) ~~ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ JIS.cc:2863:29: note: place parentheses around the '&&' expression to silence this warning || maybein(CC_EUCJP) && !maybein(CC_SJIS)) ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ JIS.cc:2840:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ JIS.cc:2836:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ JIS.cc:2923:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ JIS.cc:2989:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ JIS.cc:3104:23: warning: '&&' within '||' [-Wlogical-op-parentheses] && ( IS_EUC_HI(ch2) && CH3 == EOB ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ JIS.cc:3104:23: note: place parentheses around the '&&' expression to silence this warning && ( IS_EUC_HI(ch2) && CH3 == EOB ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ JIS.cc:3106:5: warning: '&&' within '||' [-Wlogical-op-parentheses] && guessCode(ccx,cinb,pix-1,pin,pilen)==CC_EUCJP) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:3106:5: note: place parentheses around the '&&' expression to silence this warning && guessCode(ccx,cinb,pix-1,pin,pilen)==CC_EUCJP) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:3104:2: warning: '&&' within '||' [-Wlogical-op-parentheses] && ( IS_EUC_HI(ch2) && CH3 == EOB ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:3104:2: note: place parentheses around the '&&' expression to silence this warning && ( IS_EUC_HI(ch2) && CH3 == EOB ^ JIS.cc:3115:26: warning: '&&' within '||' [-Wlogical-op-parentheses] && ( IS_EUC_HI(ch2) && CH3 == EOB ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ JIS.cc:3115:26: note: place parentheses around the '&&' expression to silence this warning && ( IS_EUC_HI(ch2) && CH3 == EOB ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ JIS.cc:3117:8: warning: '&&' within '||' [-Wlogical-op-parentheses] && guessCode(ccx,cinb,pix-1,pin,pilen)==CC_EUCJP) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:3117:8: note: place parentheses around the '&&' expression to silence this warning && guessCode(ccx,cinb,pix-1,pin,pilen)==CC_EUCJP) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:3115:5: warning: '&&' within '||' [-Wlogical-op-parentheses] && ( IS_EUC_HI(ch2) && CH3 == EOB ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:3115:5: note: place parentheses around the '&&' expression to silence this warning && ( IS_EUC_HI(ch2) && CH3 == EOB ^ JIS.cc:3112:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ JIS.cc:3162:40: warning: '&&' within '||' [-Wlogical-op-parentheses] if( !ccx->cc_UTF8 && !ccx->cc_EUCJP && !ccx->cc_EURO8 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ JIS.cc:3162:40: note: place parentheses around the '&&' expression to silence this warning if( !ccx->cc_UTF8 && !ccx->cc_EUCJP && !ccx->cc_EURO8 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ JIS.cc:3183:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ JIS.cc:3255:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ JIS.cc:2811:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ JIS.cc:3375:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = str; ch = *sp++; ){ ~~~^~~~~~~ JIS.cc:3375:20: note: place parentheses around the assignment to silence this warning for( sp = str; ch = *sp++; ){ ^ ( ) JIS.cc:3375:20: note: use '==' to turn this assignment into an equality comparison for( sp = str; ch = *sp++; ){ ^ == JIS.cc:3377:24: warning: '&&' within '||' [-Wlogical-op-parentheses] if( *sp == TO_2BCODE && (sp[1]=='@' || sp[1]=='B') ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:3377:24: note: place parentheses around the '&&' expression to silence this warning if( *sp == TO_2BCODE && (sp[1]=='@' || sp[1]=='B') ^ ( ) JIS.cc:3378:24: warning: '&&' within '||' [-Wlogical-op-parentheses] || *sp == TO_1BCODE && (sp[1]=='J' || sp[1]=='B') ~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:3378:24: note: place parentheses around the '&&' expression to silence this warning || *sp == TO_1BCODE && (sp[1]=='J' || sp[1]=='B') ^ ( ) JIS.cc:3587:8: warning: comparison of 0 <= unsigned expression is always true [-Wtautological-compare] if( 0 <= ucs && ucs <= 0xFFFF ) ~ ^ ~~~ JIS.cc:3826:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( len = UTF8toSJISX(ccx,op,ox,ucs) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:3826:14: note: place parentheses around the assignment to silence this warning if( len = UTF8toSJISX(ccx,op,ox,ucs) ){ ^ ( ) JIS.cc:3826:14: note: use '==' to turn this assignment into an equality comparison if( len = UTF8toSJISX(ccx,op,ox,ucs) ){ ^ == JIS.cc:3855:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( len = UTF8toSJISX(ccx,op,ox,ucs) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:3855:14: note: place parentheses around the assignment to silence this warning if( len = UTF8toSJISX(ccx,op,ox,ucs) ){ ^ ( ) JIS.cc:3855:14: note: use '==' to turn this assignment into an equality comparison if( len = UTF8toSJISX(ccx,op,ox,ucs) ){ ^ == JIS.cc:3871:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( len = UTF8toSJISX(ccx,op,ox,ucs) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:3871:14: note: place parentheses around the assignment to silence this warning if( len = UTF8toSJISX(ccx,op,ox,ucs) ){ ^ ( ) JIS.cc:3871:14: note: use '==' to turn this assignment into an equality comparison if( len = UTF8toSJISX(ccx,op,ox,ucs) ){ ^ == JIS.cc:4025:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( mfp = fopen(file,"w") ){ ~~~~^~~~~~~~~~~~~~~~~ JIS.cc:4025:10: note: place parentheses around the assignment to silence this warning if( mfp = fopen(file,"w") ){ ^ ( ) JIS.cc:4025:10: note: use '==' to turn this assignment into an equality comparison if( mfp = fopen(file,"w") ){ ^ == JIS.cc:4028:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( uch = L2Umap[lch] ){ ~~~~^~~~~~~~~~~~~ JIS.cc:4028:11: note: place parentheses around the assignment to silence this warning if( uch = L2Umap[lch] ){ ^ ( ) JIS.cc:4028:11: note: use '==' to turn this assignment into an equality comparison if( uch = L2Umap[lch] ){ ^ == JIS.cc:4046:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( mfp = fopen_LIBPATH(file,"r",AVStr(xpath)) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:4046:10: note: place parentheses around the assignment to silence this warning if( mfp = fopen_LIBPATH(file,"r",AVStr(xpath)) ){ ^ ( ) JIS.cc:4046:10: note: use '==' to turn this assignment into an equality comparison if( mfp = fopen_LIBPATH(file,"r",AVStr(xpath)) ){ ^ == JIS.cc:4100:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( desc = strstr(line,"Column #") ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:4100:12: note: place parentheses around the assignment to silence this warning if( desc = strstr(line,"Column #") ){ ^ ( ) JIS.cc:4100:12: note: use '==' to turn this assignment into an equality comparison if( desc = strstr(line,"Column #") ){ ^ == JIS.cc:4188:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen_LIBPATH(xfile,"r",AVStr(xpath)) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:4188:9: note: place parentheses around the assignment to silence this warning if( fp = fopen_LIBPATH(xfile,"r",AVStr(xpath)) ){ ^ ( ) JIS.cc:4188:9: note: use '==' to turn this assignment into an equality comparison if( fp = fopen_LIBPATH(xfile,"r",AVStr(xpath)) ){ ^ == JIS.cc:4209:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( map = getenv("MAPUNICODE") ) ~~~~^~~~~~~~~~~~~~~~~~~~~~ JIS.cc:4209:10: note: place parentheses around the assignment to silence this warning if( map = getenv("MAPUNICODE") ) ^ ( ) JIS.cc:4209:10: note: use '==' to turn this assignment into an equality comparison if( map = getenv("MAPUNICODE") ) ^ == JIS.cc:4273:13: warning: '&' within '|' [-Wbitwise-op-parentheses] 0xC0|0x1F&(uc4>>6), ~~~~~^~~~~~~~~ JIS.cc:4273:13: note: place parentheses around the '&' expression to silence this warning 0xC0|0x1F&(uc4>>6), ^ ( ) JIS.cc:4274:13: warning: '&' within '|' [-Wbitwise-op-parentheses] 0x80|0x3F&(uc4) ~~~~~^~~~~~ JIS.cc:4274:13: note: place parentheses around the '&' expression to silence this warning 0x80|0x3F&(uc4) ^ ( ) JIS.cc:4280:13: warning: '&' within '|' [-Wbitwise-op-parentheses] 0xE0|0x0F&(uc4>>12), ~~~~~^~~~~~~~~~ JIS.cc:4280:13: note: place parentheses around the '&' expression to silence this warning 0xE0|0x0F&(uc4>>12), ^ ( ) JIS.cc:4281:13: warning: '&' within '|' [-Wbitwise-op-parentheses] 0x80|0x3F&(uc4>>6), ~~~~~^~~~~~~~~ JIS.cc:4281:13: note: place parentheses around the '&' expression to silence this warning 0x80|0x3F&(uc4>>6), ^ ( ) JIS.cc:4282:13: warning: '&' within '|' [-Wbitwise-op-parentheses] 0x80|0x3F&(uc4) ~~~~~^~~~~~ JIS.cc:4282:13: note: place parentheses around the '&' expression to silence this warning 0x80|0x3F&(uc4) ^ ( ) 75 warnings generated. ../mkcpp codeconv.c codeconv.cc -- mkcpp set time: 1407534693 -> 1109628185 codeconv.cc cc -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -O2 -march=i586 -c codeconv.cc ../mkcpp str_stdio.c str_stdio.cc -- mkcpp set time: 1407534693 -> 1195673075 str_stdio.cc cc -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -O2 -march=i586 -c str_stdio.cc str_stdio.cc:225:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( fp = fmt; fc = *fp; fp++ ){ ~~~^~~~~ str_stdio.cc:225:20: note: place parentheses around the assignment to silence this warning for( fp = fmt; fc = *fp; fp++ ){ ^ ( ) str_stdio.cc:225:20: note: use '==' to turn this assignment into an equality comparison for( fp = fmt; fc = *fp; fp++ ){ ^ == str_stdio.cc:252:28: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( fp = (Uchar*)fmt; fc = *fp; fp++ ){ ~~~^~~~~ str_stdio.cc:252:28: note: place parentheses around the assignment to silence this warning for( fp = (Uchar*)fmt; fc = *fp; fp++ ){ ^ ( ) str_stdio.cc:252:28: note: use '==' to turn this assignment into an equality comparison for( fp = (Uchar*)fmt; fc = *fp; fp++ ){ ^ == str_stdio.cc:274:18: warning: '&&' within '||' [-Wlogical-op-parentheses] if( '0' <= fc && fc <= '9' || fc == '.' ){ ~~~~~~~~~~^~~~~~~~~~~~ ~~ str_stdio.cc:274:18: note: place parentheses around the '&&' expression to silence this warning if( '0' <= fc && fc <= '9' || fc == '.' ){ ^ ( ) 3 warnings generated. ../mkcpp ccx.c ccx.cc -- mkcpp set time: 1407534693 -> 1217107829 ccx.cc cc -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -O2 -march=i586 -c ccx.cc ../mkcpp html.c html.cc -- mkcpp set time: 1407534693 -> 1207224831 html.cc cc -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -O2 -march=i586 -c html.cc html.cc:162:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = sym; sc = *sp; sp++ ) ~~~^~~~~ html.cc:162:20: note: place parentheses around the assignment to silence this warning for( sp = sym; sc = *sp; sp++ ) ^ ( ) html.cc:162:20: note: use '==' to turn this assignment into an equality comparison for( sp = sym; sc = *sp; sp++ ) ^ == html.cc:167:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ai = 0; sym1 = tab[ai]._sym; ai++ ){ ~~~~~^~~~~~~~~~~~~~ html.cc:167:20: note: place parentheses around the assignment to silence this warning for( ai = 0; sym1 = tab[ai]._sym; ai++ ){ ^ ( ) html.cc:167:20: note: use '==' to turn this assignment into an equality comparison for( ai = 0; sym1 = tab[ai]._sym; ai++ ){ ^ == html.cc:206:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ai = 0; sym1 = tab[ai]._sym; ai++ ) ~~~~~^~~~~~~~~~~~~~ html.cc:206:20: note: place parentheses around the assignment to silence this warning for( ai = 0; sym1 = tab[ai]._sym; ai++ ) ^ ( ) html.cc:206:20: note: use '==' to turn this assignment into an equality comparison for( ai = 0; sym1 = tab[ai]._sym; ai++ ) ^ == html.cc:217:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ai = 0; id1 = tab[ai]._id; ai++ ) ~~~~^~~~~~~~~~~~~ html.cc:217:19: note: place parentheses around the assignment to silence this warning for( ai = 0; id1 = tab[ai]._id; ai++ ) ^ ( ) html.cc:217:19: note: use '==' to turn this assignment into an equality comparison for( ai = 0; id1 = tab[ai]._id; ai++ ) ^ == html.cc:228:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sym = id2sym0(tab,id) ) ~~~~^~~~~~~~~~~~~~~~~ html.cc:228:10: note: place parentheses around the assignment to silence this warning if( sym = id2sym0(tab,id) ) ^ ( ) html.cc:228:10: note: use '==' to turn this assignment into an equality comparison if( sym = id2sym0(tab,id) ) ^ == html.cc:256:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ai = 0; ap = tab[ai]._sym; ai++ ){ ~~~^~~~~~~~~~~~~~ html.cc:256:18: note: place parentheses around the assignment to silence this warning for( ai = 0; ap = tab[ai]._sym; ai++ ){ ^ ( ) html.cc:256:18: note: use '==' to turn this assignment into an equality comparison for( ai = 0; ap = tab[ai]._sym; ai++ ){ ^ == html.cc:976:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( si = 2; sym = elemsym[si]._sym; si++ ){ ~~~~^~~~~~~~~~~~~~~~~~ html.cc:976:19: note: place parentheses around the assignment to silence this warning for( si = 2; sym = elemsym[si]._sym; si++ ){ ^ ( ) html.cc:976:19: note: use '==' to turn this assignment into an equality comparison for( si = 2; sym = elemsym[si]._sym; si++ ){ ^ == html.cc:983:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( si = 2; sym = attrsym[si]._sym; si++ ){ ~~~~^~~~~~~~~~~~~~~~~~ html.cc:983:19: note: place parentheses around the assignment to silence this warning for( si = 2; sym = attrsym[si]._sym; si++ ){ ^ ( ) html.cc:983:19: note: use '==' to turn this assignment into an equality comparison for( si = 2; sym = attrsym[si]._sym; si++ ){ ^ == html.cc:1052:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ei = 0; es = entities[ei].ee; ei++ ){ ~~~^~~~~~~~~~~~~~~~~ html.cc:1052:18: note: place parentheses around the assignment to silence this warning for( ei = 0; es = entities[ei].ee; ei++ ){ ^ ( ) html.cc:1052:18: note: use '==' to turn this assignment into an equality comparison for( ei = 0; es = entities[ei].ee; ei++ ){ ^ == html.cc:1053:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ej = 0; ec = es[off+ej]; ej++ ){ ~~~^~~~~~~~~~~~ html.cc:1053:19: note: place parentheses around the assignment to silence this warning for( ej = 0; ec = es[off+ej]; ej++ ){ ^ ( ) html.cc:1053:19: note: use '==' to turn this assignment into an equality comparison for( ej = 0; ec = es[off+ej]; ej++ ){ ^ == html.cc:1102:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ei = 0; ee = entities[ei].ee; ei++ ){ ~~~^~~~~~~~~~~~~~~~~ html.cc:1102:20: note: place parentheses around the assignment to silence this warning for( ei = 0; ee = entities[ei].ee; ei++ ){ ^ ( ) html.cc:1102:20: note: use '==' to turn this assignment into an equality comparison for( ei = 0; ee = entities[ei].ee; ei++ ){ ^ == html.cc:1153:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ei = 0; de = entities[ei].de; ei++ ){ ~~~^~~~~~~~~~~~~~~~~ html.cc:1153:19: note: place parentheses around the assignment to silence this warning for( ei = 0; de = entities[ei].de; ei++ ){ ^ ( ) html.cc:1153:19: note: use '==' to turn this assignment into an equality comparison for( ei = 0; de = entities[ei].de; ei++ ){ ^ == html.cc:1158:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = src; sc = *sp; sp++ ){ ~~~^~~~~ html.cc:1158:20: note: place parentheses around the assignment to silence this warning for( sp = src; sc = *sp; sp++ ){ ^ ( ) html.cc:1158:20: note: use '==' to turn this assignment into an equality comparison for( sp = src; sc = *sp; sp++ ){ ^ == html.cc:1244:28: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = (char*)src; sch = *sp; ){ ~~~~^~~~~ html.cc:1244:28: note: place parentheses around the assignment to silence this warning for( sp = (char*)src; sch = *sp; ){ ^ ( ) html.cc:1244:28: note: use '==' to turn this assignment into an equality comparison for( sp = (char*)src; sch = *sp; ){ ^ == html.cc:1257:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( bi = 0; bch = brks[bi]; bi++ ) ~~~~^~~~~~~~~~ html.cc:1257:21: note: place parentheses around the assignment to silence this warning for( bi = 0; bch = brks[bi]; bi++ ) ^ ( ) html.cc:1257:21: note: use '==' to turn this assignment into an equality comparison for( bi = 0; bch = brks[bi]; bi++ ) ^ == html.cc:1522:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else{ ^ 16 warnings generated. ../mkcpp urlesc.c urlesc.cc -- mkcpp set time: 1407534694 -> 1218629352 urlesc.cc cc -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -O2 -march=i586 -c urlesc.cc urlesc.cc:34:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ep = strchr(str,'%') ){ ~~~^~~~~~~~~~~~~~~~~ urlesc.cc:34:9: note: place parentheses around the assignment to silence this warning if( ep = strchr(str,'%') ){ ^ ( ) urlesc.cc:34:9: note: use '==' to turn this assignment into an equality comparison if( ep = strchr(str,'%') ){ ^ == urlesc.cc:62:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = url; ch = *sp; sp++ ){ ~~~^~~~~ urlesc.cc:62:20: note: place parentheses around the assignment to silence this warning for( sp = url; ch = *sp; sp++ ){ ^ ( ) urlesc.cc:62:20: note: use '==' to turn this assignment into an equality comparison for( sp = url; ch = *sp; sp++ ){ ^ == urlesc.cc:106:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( cp = dst; ch = *cp; cp++ ) ~~~^~~~~ urlesc.cc:106:20: note: place parentheses around the assignment to silence this warning for( cp = dst; ch = *cp; cp++ ) ^ ( ) urlesc.cc:106:20: note: use '==' to turn this assignment into an equality comparison for( cp = dst; ch = *cp; cp++ ) ^ == urlesc.cc:156:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = src; ch = *sp; sp++ ){ ~~~^~~~~ urlesc.cc:156:20: note: place parentheses around the assignment to silence this warning for( sp = src; ch = *sp; sp++ ){ ^ ( ) urlesc.cc:156:20: note: use '==' to turn this assignment into an equality comparison for( sp = src; ch = *sp; sp++ ){ ^ == urlesc.cc:173:15: warning: '&&' within '||' [-Wlogical-op-parentheses] if( !nodflt && ((ch & 0x80) || iscntrl(ch) || ch == '%') ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urlesc.cc:173:15: note: place parentheses around the '&&' expression to silence this warning if( !nodflt && ((ch & 0x80) || iscntrl(ch) || ch == '%') ^ ( ) urlesc.cc:174:14: warning: '&&' within '||' [-Wlogical-op-parentheses] || escctl && iscntrl(ch) ~~ ~~~~~~~^~~~~~~~~~~~~~ urlesc.cc:174:14: note: place parentheses around the '&&' expression to silence this warning || escctl && iscntrl(ch) ^ ( ) urlesc.cc:175:14: warning: '&&' within '||' [-Wlogical-op-parentheses] || escbin && (ch & 0x80) ~~ ~~~~~~~^~~~~~~~~~~~~~ urlesc.cc:175:14: note: place parentheses around the '&&' expression to silence this warning || escbin && (ch & 0x80) ^ ( ) urlesc.cc:176:14: warning: '&&' within '||' [-Wlogical-op-parentheses] || escspc && isspace(ch) ~~ ~~~~~~~^~~~~~~~~~~~~~ urlesc.cc:176:14: note: place parentheses around the '&&' expression to silence this warning || escspc && isspace(ch) ^ ( ) urlesc.cc:177:30: warning: '&&' within '||' [-Wlogical-op-parentheses] || (in2byte == 0||escurl) && strchr(escs,ch) != 0 ~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ urlesc.cc:177:30: note: place parentheses around the '&&' expression to silence this warning || (in2byte == 0||escurl) && strchr(escs,ch) != 0 ^ ( ) urlesc.cc:283:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( plen = 0; pch = pat[plen]; plen++ ){ ~~~~^~~~~~~~~~~ urlesc.cc:283:21: note: place parentheses around the assignment to silence this warning for( plen = 0; pch = pat[plen]; plen++ ){ ^ ( ) urlesc.cc:283:21: note: use '==' to turn this assignment into an equality comparison for( plen = 0; pch = pat[plen]; plen++ ){ ^ == urlesc.cc:362:42: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = (const unsigned char*)src; ch = *sp; sp++ ){ ~~~^~~~~ urlesc.cc:362:42: note: place parentheses around the assignment to silence this warning for( sp = (const unsigned char*)src; ch = *sp; sp++ ){ ^ ( ) urlesc.cc:362:42: note: use '==' to turn this assignment into an equality comparison for( sp = (const unsigned char*)src; ch = *sp; sp++ ){ ^ == urlesc.cc:417:42: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = (const unsigned char*)src; ch = *sp; sp++ ){ ~~~^~~~~ urlesc.cc:417:42: note: place parentheses around the assignment to silence this warning for( sp = (const unsigned char*)src; ch = *sp; sp++ ){ ^ ( ) urlesc.cc:417:42: note: use '==' to turn this assignment into an equality comparison for( sp = (const unsigned char*)src; ch = *sp; sp++ ){ ^ == urlesc.cc:465:42: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = (const unsigned char*)src; ch = *sp; sp++ ){ ~~~^~~~~ urlesc.cc:465:42: note: place parentheses around the assignment to silence this warning for( sp = (const unsigned char*)src; ch = *sp; sp++ ){ ^ ( ) urlesc.cc:465:42: note: use '==' to turn this assignment into an equality comparison for( sp = (const unsigned char*)src; ch = *sp; sp++ ){ ^ == urlesc.cc:485:42: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = (const unsigned char*)src; ch = *sp; sp++ ){ ~~~^~~~~ urlesc.cc:485:42: note: place parentheses around the assignment to silence this warning for( sp = (const unsigned char*)src; ch = *sp; sp++ ){ ^ ( ) urlesc.cc:485:42: note: use '==' to turn this assignment into an equality comparison for( sp = (const unsigned char*)src; ch = *sp; sp++ ){ ^ == 14 warnings generated. ../mkcpp Strftime.c Strftime.cc -- mkcpp set time: 1407534694 -> 1226405612 Strftime.cc cc -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -O2 -march=i586 -c Strftime.cc Strftime.cc:246:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( i = 0; mo = Month[i]; i++ ) ~~~^~~~~~~~~~ Strftime.cc:246:17: note: place parentheses around the assignment to silence this warning for( i = 0; mo = Month[i]; i++ ) ^ ( ) Strftime.cc:246:17: note: use '==' to turn this assignment into an equality comparison for( i = 0; mo = Month[i]; i++ ) ^ == Strftime.cc:255:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( i = 0; mo = Month[i]; i++ ) ~~~^~~~~~~~~~ Strftime.cc:255:17: note: place parentheses around the assignment to silence this warning for( i = 0; mo = Month[i]; i++ ) ^ ( ) Strftime.cc:255:17: note: use '==' to turn this assignment into an equality comparison for( i = 0; mo = Month[i]; i++ ) ^ == Strftime.cc:266:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( i = 0; wd = Wdays[i]; i++ ) ~~~^~~~~~~~~~ Strftime.cc:266:17: note: place parentheses around the assignment to silence this warning for( i = 0; wd = Wdays[i]; i++ ) ^ ( ) Strftime.cc:266:17: note: use '==' to turn this assignment into an equality comparison for( i = 0; wd = Wdays[i]; i++ ) ^ == Strftime.cc:270:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( i = 0; wd = Wdays[i]; i++ ) ~~~^~~~~~~~~~ Strftime.cc:270:17: note: place parentheses around the assignment to silence this warning for( i = 0; wd = Wdays[i]; i++ ) ^ ( ) Strftime.cc:270:17: note: use '==' to turn this assignment into an equality comparison for( i = 0; wd = Wdays[i]; i++ ) ^ == Strftime.cc:273:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( i = 0; wd = WDays[i]; i++ ) ~~~^~~~~~~~~~ Strftime.cc:273:17: note: place parentheses around the assignment to silence this warning for( i = 0; wd = WDays[i]; i++ ) ^ ( ) Strftime.cc:273:17: note: use '==' to turn this assignment into an equality comparison for( i = 0; wd = WDays[i]; i++ ) ^ == Strftime.cc:517:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( fp = fmt; ch = *fp; fp++ ){ ~~~^~~~~ Strftime.cc:517:20: note: place parentheses around the assignment to silence this warning for( fp = fmt; ch = *fp; fp++ ){ ^ ( ) Strftime.cc:517:20: note: use '==' to turn this assignment into an equality comparison for( fp = fmt; ch = *fp; fp++ ){ ^ == Strftime.cc:672:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( fp = fmt; ch = *fp; fp++ ){ ~~~^~~~~ Strftime.cc:672:20: note: place parentheses around the assignment to silence this warning for( fp = fmt; ch = *fp; fp++ ){ ^ ( ) Strftime.cc:672:20: note: use '==' to turn this assignment into an equality comparison for( fp = fmt; ch = *fp; fp++ ){ ^ == 7 warnings generated. ../mkcpp Timeofday.c Timeofday.cc -- mkcpp set time: 1407534695 -> 1229869432 Timeofday.cc cc -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -O2 -march=i586 -c Timeofday.cc ../mkcpp strid.c strid.cc -- mkcpp set time: 1407534695 -> 1138489400 strid.cc cc -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -O2 -march=i586 -c strid.cc ../mkcpp hash.c hash.cc -- mkcpp set time: 1407534695 -> 1197625042 hash.cc cc -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -O2 -march=i586 -c hash.cc hash.cc:112:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ks = key; kc = *ks++; ) ~~~^~~~~~~ hash.cc:112:20: note: place parentheses around the assignment to silence this warning for( ks = key; kc = *ks++; ) ^ ( ) hash.cc:112:20: note: use '==' to turn this assignment into an equality comparison for( ks = key; kc = *ks++; ) ^ == 1 warning generated. ../mkcpp bsort.c bsort.cc -- mkcpp set time: 1407534695 -> 1106162589 bsort.cc cc -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -O2 -march=i586 -c bsort.cc ../mkcpp codec.c codec.cc -- mkcpp set time: 1407534695 -> 1109634198 codec.cc cc -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -O2 -march=i586 -c codec.cc codec.cc:96:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ep = encs+1; ec1 = *ep; ep += 2 ){ ~~~~^~~~~ codec.cc:96:25: note: place parentheses around the assignment to silence this warning for( ep = encs+1; ec1 = *ep; ep += 2 ){ ^ ( ) codec.cc:96:25: note: use '==' to turn this assignment into an equality comparison for( ep = encs+1; ec1 = *ep; ep += 2 ){ ^ == codec.cc:108:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(srcs,"\r\n") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~ codec.cc:108:11: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(srcs,"\r\n") ){ ^ ( ) codec.cc:108:11: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(srcs,"\r\n") ){ ^ == 2 warnings generated. ../mkcpp uu.c uu.cc -- mkcpp set time: 1407534695 -> 1105751153 uu.cc cc -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -O2 -march=i586 -c uu.cc ../mkcpp pstitle.c pstitle.cc -- mkcpp set time: 1407534695 -> 1407534660 pstitle.cc cc -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -O2 -march=i586 -c pstitle.cc ../mkcpp signal.c signal.cc -- mkcpp set time: 1407534695 -> 1139996132 signal.cc cc -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -O2 -march=i586 -c signal.cc signal.cc:70:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] case SIGHUP: return "HUP"; ^ signal.cc:71:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] case SIGINT: return "INT"; ^ signal.cc:72:24: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] case SIGQUIT: return "QUIT"; ^ signal.cc:73:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] case SIGILL: return "ILL"; ^ signal.cc:75:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] case SIGFPE: return "FPE"; ^ signal.cc:76:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] case SIGBUS: return "BUS"; ^ signal.cc:77:24: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] case SIGSEGV: return "SEGV"; ^ signal.cc:78:24: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] case SIGPIPE: return "PIPE"; ^ signal.cc:80:24: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] case SIGKILL: return "KILL"; ^ signal.cc:81:24: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] case SIGTERM: return "TERM"; ^ signal.cc:83:24: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] case SIGTRAP: return "TRAP"; ^ signal.cc:84:24: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] case SIGALRM: return "ALRM"; ^ signal.cc:85:24: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] case SIGCHLD: return "CHLD"; ^ signal.cc:86:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] case SIGEMT: return "EMT"; ^ signal.cc:87:19: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] default: return "???"; ^ 15 warnings generated. ../mkcpp IsSolaris.c IsSolaris.cc -- mkcpp set time: 1407534695 -> 1099942850 IsSolaris.cc cc -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -O2 -march=i586 -c IsSolaris.cc ../mkcpp sched.c sched.cc -- mkcpp set time: 1407534695 -> 1195795175 sched.cc cc -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -O2 -march=i586 -c sched.cc sched.cc:340:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( action = strpbrk(cronspecb,": \t") ){ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ sched.cc:340:13: note: place parentheses around the assignment to silence this warning if( action = strpbrk(cronspecb,": \t") ){ ^ ( ) sched.cc:340:13: note: use '==' to turn this assignment into an equality comparison if( action = strpbrk(cronspecb,": \t") ){ ^ == sched.cc:472:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( d = v1[i] - v2[i] ) ~~^~~~~~~~~~~~~~~ sched.cc:472:9: note: place parentheses around the assignment to silence this warning if( d = v1[i] - v2[i] ) ^ ( ) sched.cc:472:9: note: use '==' to turn this assignment into an equality comparison if( d = v1[i] - v2[i] ) ^ == sched.cc:520:39: warning: '&&' within '||' [-Wlogical-op-parentheses] if( cwday < twday || cwday == twday && 0 < vcmp(ot,bt,HOUR) ) ~~ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ sched.cc:520:39: note: place parentheses around the '&&' expression to silence this warning if( cwday < twday || cwday == twday && 0 < vcmp(ot,bt,HOUR) ) ^ ( ) sched.cc:618:25: warning: '&&' within '||' [-Wlogical-op-parentheses] if( now < prev || prev && cep->c_relative ) ~~ ~~~~~^~~~~~~~~~~~~~~~~~ sched.cc:618:25: note: place parentheses around the '&&' expression to silence this warning if( now < prev || prev && cep->c_relative ) ^ ( ) 4 warnings generated. ../mkcpp readycc.c readycc.cc -- mkcpp set time: 1407534696 -> 1099000777 readycc.cc cc -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -O2 -march=i586 -c readycc.cc readycc.cc:8:14: error: no member named '_cnt' in '__sFILE' else return READYCC(fp); ^ ~~ ../include/fpoll.h:37:30: note: expanded from macro 'READYCC' #define READYCC(fp) (fp->_cnt) ^ readycc.cc:13:8: error: no member named '_cnt' in '__sFILE' rcc = READYCC(fp); ^ ~~ ../include/fpoll.h:37:30: note: expanded from macro 'READYCC' #define READYCC(fp) (fp->_cnt) ^ 2 errors generated. *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/net/delegate/work/delegate9.9.1/rary *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/net/delegate/work/delegate9.9.1/rary *** exit(1): -makeat at /usr/pkgsrc/work/net/delegate/work/delegate9.9.1/rary [0] /usr/pkg/bin/bmake [1] libx [2] MAKE=/usr/pkg/bin/bmake [3] SHELL=/bin/sh [4] CC=cc [5] CFLAGS=-O2 -x c++ -DQS -DNONC99 [6] HDRDIR=-I../gen -I../include -O2 -march=i586 [7] RANLIB=/usr/pkgsrc/work/net/delegate/work/.wrapper/bin/ranlib [8] LDFLAGS= -L../lib [9] LIBDIR=-L../lib [10] NETLIB=-lutil -MT -lstdc++ [11] AR=ar [12] TAR=tar [13] MKMAKE=/usr/pkgsrc/work/net/delegate/work/delegate9.9.1/mkmake.exe [14] MKBASE=/usr/pkgsrc/work/net/delegate/work/delegate9.9.1 [15] MKMKMK=/usr/pkgsrc/work/net/delegate/work/delegate9.9.1/mkmkmk.exe *** exit(1): -makeat at /usr/pkgsrc/work/net/delegate/work/delegate9.9.1/rary [0] /usr/pkgsrc/work/net/delegate/work/delegate9.9.1/mkmake.exe [1] ../lib/library.a [2] ../rary [3] library.a [4] /usr/pkg/bin/bmake [5] libx [6] MAKE=/usr/pkg/bin/bmake [7] SHELL=/bin/sh [8] CC=cc [9] CFLAGS=-O2 -x c++ -DQS -DNONC99 [10] HDRDIR=-I../gen -I../include -O2 -march=i586 [11] RANLIB=/usr/pkgsrc/work/net/delegate/work/.wrapper/bin/ranlib [12] LDFLAGS= -L../lib [13] LIBDIR=-L../lib [14] NETLIB=-lutil -MT -lstdc++ [15] AR=ar [16] TAR=tar *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/net/delegate/work/delegate9.9.1/src *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/net/delegate/work/delegate9.9.1/src *** exit(1): -makeat at /usr/pkgsrc/work/net/delegate/work/delegate9.9.1/src [0] /usr/pkg/bin/bmake [1] MKMAKE_SRC= [2] SHELL=/bin/sh [3] HDRDIRS=-I../gen -I../include -O2 -march=i586 [4] LIBDIRS=-L../lib [5] MKMAKE=/usr/pkgsrc/work/net/delegate/work/delegate9.9.1/mkmake.exe [6] MKBASE=/usr/pkgsrc/work/net/delegate/work/delegate9.9.1 [7] MKMKMK=/usr/pkgsrc/work/net/delegate/work/delegate9.9.1/mkmkmk.exe *** exit(1): -makeat at /usr/pkgsrc/work/net/delegate/work/delegate9.9.1/src [0] ./mkmake.exe [1] [2] src [3] dg.exe [4] /usr/pkg/bin/bmake [5] MKMAKE_SRC= [6] SHELL=/bin/sh [7] HDRDIRS=-I../gen -I../include -O2 -march=i586 [8] LIBDIRS=-L../lib *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/net/delegate/work/delegate9.9.1 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/delegate *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/delegate