=> Bootstrap dependency digest>=20010302: found digest-20190127 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for delegate-9.9.1nb2 clang -DMKMKMK -DDEFCC=\"clang\" -I../gen -I../include -O2 -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: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: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:1730:17: note: treat the string as an argument to avoid this fprintf(stderr,fmt); ^ "%s", ./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") ) ^ == 36 warnings generated. ld: warning: directory not found for option '-L../lib' "./mkmkmk.exe" -mkmkmk "clang" -I../gen -I../include -O2 -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: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: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:1730:17: note: treat the string as an argument to avoid this fprintf(stderr,fmt); ^ "%s", 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") ) ^ == 36 warnings generated. ld: warning: directory not found for option '-L../lib' 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: /opt/work/net/delegate/work/delegate9.9.1/src searching DELEGATE_CONF ... /opt/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=/opt/work/net/delegate/work/delegate9.9.1/mkmake.exe" > CONF_IS_GOT creating Makefile.tst ... "/opt/work/net/delegate/work/delegate9.9.1/mkmake.exe" -mkmake "/opt/pkg/bin/bmake" Makefile.tst "clang" "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' [clang -c -O2 -x c++ -DQS] NONC99 = 3 #### [/opt/work/net/delegate/work/delegate9.9.1/src] creating Makefile.tst cpyfile Makefile[1-0][0-4766e94] > Makefile.tst #ifdef UNIX ####################################################### #ifdef UNIX,OS2EMX ################################################ [SET] MKMAKE=/opt/work/net/delegate/work/delegate9.9.1/mkmake.exe [SET] RANLIB=/usr/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 - checking availability of -lutil [-ldl] cpyfile DELEGATE_CONF[1-0][0-0] > _make - checking availability of -lpthread [-ldl -lutil] cpyfile DELEGATE_CONF[1-0][0-0] > _make - checking availability of -lunalign [-ldl -lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of WS2_32.LIB [-ldl -lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of ADVAPI32.LIB [-ldl -lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of OLE32.LIB [-ldl -lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of SHELL32.LIB [-ldl -lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of UUID.LIB [-ldl -lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of USER32.LIB [-ldl -lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of -MT [-ldl -lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make - checking availability of -lpam [-ldl -lutil -lpthread -MT] cpyfile DELEGATE_CONF[1-0][0-0] > _make - checking availability of -lstdc++ [-ldl -lutil -lpthread -MT -lpam] cpyfile DELEGATE_CONF[1-0][0-0] > _make [SET] NETLIB=-ldl -lutil -lpthread -MT -lpam -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][4766f46-0] > Makefile.tst #ifdef UNIX ####################################################### #ifdef UNIX,OS2EMX ################################################ "/opt/work/net/delegate/work/delegate9.9.1/mkmake.exe" -makeit "/opt/pkg/bin/bmake" -f Makefile.tst check_conf SHELL="/opt/pkg/bin/mksh" /opt/work/net/delegate/work/delegate9.9.1/mkmake.exe +r -ckconf Makefile.chk Makefile.tst DELEGATE_CONF "ar" "root@localhost" "" ckconf: ADMIN = 'root@localhost' /opt/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 "/opt/work/net/delegate/work/delegate9.9.1/mkmake.exe" -mkmake "/opt/pkg/bin/bmake" Makefile.go "clang" "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' [clang -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 #### [/opt/work/net/delegate/work/delegate9.9.1/src] creating Makefile.go cpyfile Makefile[1-0][0-243ee94] > Makefile.go #ifdef UNIX ####################################################### #ifdef UNIX,OS2EMX ################################################ [SET] MKMAKE=/opt/work/net/delegate/work/delegate9.9.1/mkmake.exe [SET] RANLIB=/usr/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 - checking availability of -lutil [-ldl] cpyfile DELEGATE_CONF[1-0][0-0] > _make - checking availability of -lpthread [-ldl -lutil] cpyfile DELEGATE_CONF[1-0][0-0] > _make - checking availability of -lunalign [-ldl -lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of WS2_32.LIB [-ldl -lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of ADVAPI32.LIB [-ldl -lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of OLE32.LIB [-ldl -lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of SHELL32.LIB [-ldl -lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of UUID.LIB [-ldl -lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of USER32.LIB [-ldl -lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of -MT [-ldl -lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make - checking availability of -lpam [-ldl -lutil -lpthread -MT] cpyfile DELEGATE_CONF[1-0][0-0] > _make - checking availability of -lstdc++ [-ldl -lutil -lpthread -MT -lpam] cpyfile DELEGATE_CONF[1-0][0-0] > _make [SET] NETLIB=-ldl -lutil -lpthread -MT -lpam -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][243ef46-0] > Makefile.go #ifdef UNIX ####################################################### #ifdef UNIX,OS2EMX ################################################ clang -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: 1610518493 -> 1232172294 ../gen/dglib.h ../mkcpp ../include/delegate.h ../gen/delegate.h -- mkcpp set time: 1610518493 -> 1226747610 ../gen/delegate.h ../mkcpp ../include/htswitch.h ../gen/htswitch.h -- mkcpp set time: 1610518493 -> 1101989013 ../gen/htswitch.h ../mkcpp ../include/vaddr.h ../gen/vaddr.h -- mkcpp set time: 1610518493 -> 1224060893 ../gen/vaddr.h ../mkcpp ../include/http.h ../gen/http.h -- mkcpp set time: 1610518493 -> 1228599839 ../gen/http.h ../mkcpp ../include/url.h ../gen/url.h -- mkcpp set time: 1610518493 -> 1101966026 ../gen/url.h ../mkcpp ../include/mime.h ../gen/mime.h -- mkcpp set time: 1610518493 -> 1231816678 ../gen/mime.h ../mkcpp ../include/htadmin.h ../gen/htadmin.h -- mkcpp set time: 1610518493 -> 1201943740 ../gen/htadmin.h /opt/work/net/delegate/work/delegate9.9.1/mkmake.exe -makeat ../lib/libteleport.a ../teleport libteleport.a "/opt/pkg/bin/bmake" libx MAKE="/opt/pkg/bin/bmake" SHELL="/opt/pkg/bin/mksh" CC="clang" CFLAGS="-O2 -x c++ -DQS -DNONC99" HDRDIR="-I../gen -I../include -O2" RANLIB="/usr/bin/ranlib" LDFLAGS=" -L../lib" LIBDIR="-L../lib" NETLIB="-ldl -lutil -lpthread -MT -lpam -lstdc++" AR="ar" TAR="tar" [clang -c -O2 -x c++ -DQS -DNONC99 ] NONC99 = 2 ####### -makeat: /opt/work/net/delegate/work/delegate9.9.1/teleport /opt/work/net/delegate/work/delegate9.9.1/mkmake.exe -cksum README Makefile teleport.h teleportd.c vehicle.c qzcode.c qz.c /opt/work/net/delegate/work/delegate9.9.1/mkmake.exe -mkmake "/opt/pkg/bin/bmake" Makefile.go "clang" "-O2 -x c++ -DQS -DNONC99 -Dm64" "" "-L../lib" "/usr/bin/ranlib" "-ldl -lutil -lpthread -MT -lpam -lstdc++" NETLIB mkmake: [clang -c -O2 -x c++ -DQS -DNONC99 -Dm64 ] NONC99 = 2 #### [/opt/work/net/delegate/work/delegate9.9.1/teleport] creating Makefile.go cpyfile Makefile[1-0][0-2a12e94] > Makefile.go #ifdef UNIX,OS2EMX ################################################ [SET] MKMAKE=/opt/work/net/delegate/work/delegate9.9.1/mkmake.exe [SET] RANLIB=/usr/bin/ranlib - checking availability of -ldl [] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lutil [-ldl] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lpthread [-ldl -lutil] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -MT [-ldl -lutil -lpthread] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lpam [-ldl -lutil -lpthread -MT] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lstdc++ [-ldl -lutil -lpthread -MT -lpam] cpyfile: cannot read 'DELEGATE_CONF' [SET] NETLIB=-ldl -lutil -lpthread -MT -lpam -lstdc++ cpyfile: cannot read 'DELEGATE_CONF' cpyfile Makefile[0-0][2a12f46-0] > Makefile.go #ifdef UNIX,OS2EMX ################################################ /opt/pkg/bin/bmake -f Makefile.go libteleport.a SHELL="/opt/pkg/bin/mksh" HDRDIR="-I../gen -I../include -O2" ../mkcpp teleportd.c teleportd.cc -- mkcpp set time: 1610518493 -> 1224300395 teleportd.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../gen -I../include -O2 -c teleportd.cc 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,'/') ) ^ == 2 warnings generated. ../mkcpp vehicle.c vehicle.cc -- mkcpp set time: 1610518493 -> 1139394336 vehicle.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../gen -I../include -O2 -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: 1610518493 -> 1109634287 qzcode.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../gen -I../include -O2 -c qzcode.cc 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++ ) ^ == 3 warnings generated. libteleport.a bmake[4]: exec(libteleport.a) failed (No such file or directory) *** Error code 1 (ignored) ar cr libteleport.a teleportd.o vehicle.o qzcode.o /usr/bin/ranlib libteleport.a **[0] move ../teleport/libteleport.a to ../lib/libteleport.a /opt/work/net/delegate/work/delegate9.9.1/mkmake.exe -makeat ../lib/libresolvy.a ../resolvy libresolvy.a "/opt/pkg/bin/bmake" libx MAKE="/opt/pkg/bin/bmake" SHELL="/opt/pkg/bin/mksh" CC="clang" CFLAGS="-O2 -x c++ -DQS -DNONC99" HDRDIR="-I../gen -I../include -O2" RANLIB="/usr/bin/ranlib" LDFLAGS=" -L../lib" LIBDIR="-L../lib" NETLIB="-ldl -lutil -lpthread -MT -lpam -lstdc++" AR="ar" TAR="tar" [clang -c -O2 -x c++ -DQS -DNONC99 ] NONC99 = 2 ####### -makeat: /opt/work/net/delegate/work/delegate9.9.1/resolvy /opt/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 /opt/work/net/delegate/work/delegate9.9.1/mkmake.exe -mkmake "/opt/pkg/bin/bmake" Makefile.go "clang" "-O2 -x c++ -DQS -DNONC99 -Dm64" "" "-L../lib" "/usr/bin/ranlib" "-ldl -lutil -lpthread -MT -lpam -lstdc++" NETLIB mkmake: [clang -c -O2 -x c++ -DQS -DNONC99 -Dm64 ] NONC99 = 2 #### [/opt/work/net/delegate/work/delegate9.9.1/resolvy] creating Makefile.go cpyfile Makefile[1-0][0-4116e94] > Makefile.go #ifdef UNIX,OS2EMX ################################################ #ifdef UNIX ####################################################### [SET] MKMAKE=/opt/work/net/delegate/work/delegate9.9.1/mkmake.exe [SET] RANLIB=/usr/bin/ranlib - checking availability of -ldl [] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lutil [-ldl] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lpthread [-ldl -lutil] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -MT [-ldl -lutil -lpthread] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lpam [-ldl -lutil -lpthread -MT] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lstdc++ [-ldl -lutil -lpthread -MT -lpam] cpyfile: cannot read 'DELEGATE_CONF' [SET] NETLIB=-ldl -lutil -lpthread -MT -lpam -lstdc++ cpyfile: cannot read 'DELEGATE_CONF' cpyfile Makefile[0-0][4116f46-0] > Makefile.go #ifdef UNIX,OS2EMX ################################################ #ifdef UNIX ####################################################### /opt/pkg/bin/bmake -f Makefile.go libresolvy.a XOBJS="" MKMAKE=/opt/work/net/delegate/work/delegate9.9.1/mkmake.exe SHELL="/opt/pkg/bin/mksh" HDRDIR="-I../gen -I../include -O2" 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: 1610518494 -> 1197605744 dnsnode.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -O2 -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: 1610518494 -> 1610518486 resolv.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -O2 -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: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: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) ) ^ == 11 warnings generated. ../mkcpp reshost.c reshost.cc -- mkcpp set time: 1610518494 -> 1230169351 reshost.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -O2 -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: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') ) ^ == 16 warnings generated. ../mkcpp rescache.c rescache.cc -- mkcpp set time: 1610518495 -> 1156857049 rescache.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -O2 -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: 1610518495 -> 1101453262 hostent.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -O2 -c hostent.cc ../mkcpp resconf.c resconf.cc -- mkcpp set time: 1610518495 -> 1610518486 resconf.cc /opt/pkg/bin/mksh ./ccres clang -c -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -O2 resconf.cc clang -c -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -O2 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:794:15: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] mask[ai] = 255; ~ ^~~ 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: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/bin/ranlib libresolvy.a **[0] move ../resolvy/libresolvy.a to ../lib/libresolvy.a /opt/work/net/delegate/work/delegate9.9.1/mkmake.exe -makeat ../lib/libmimekit.a ../mimekit libmimekit.a "/opt/pkg/bin/bmake" libx MAKE="/opt/pkg/bin/bmake" SHELL="/opt/pkg/bin/mksh" CC="clang" CFLAGS="-O2 -x c++ -DQS -DNONC99" HDRDIR="-I../gen -I../include -O2" RANLIB="/usr/bin/ranlib" LDFLAGS=" -L../lib" LIBDIR="-L../lib" NETLIB="-ldl -lutil -lpthread -MT -lpam -lstdc++" AR="ar" TAR="tar" [clang -c -O2 -x c++ -DQS -DNONC99 ] NONC99 = 2 ####### -makeat: /opt/work/net/delegate/work/delegate9.9.1/mimekit /opt/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 /opt/work/net/delegate/work/delegate9.9.1/mkmake.exe -mkmake "/opt/pkg/bin/bmake" Makefile.go "clang" "-O2 -x c++ -DQS -DNONC99 -Dm64" "" "-L../lib" "/usr/bin/ranlib" "-ldl -lutil -lpthread -MT -lpam -lstdc++" NETLIB mkmake: [clang -c -O2 -x c++ -DQS -DNONC99 -Dm64 ] NONC99 = 2 #### [/opt/work/net/delegate/work/delegate9.9.1/mimekit] creating Makefile.go cpyfile Makefile[1-0][0-2892e94] > Makefile.go #ifdef UNIX ####################################################### #ifdef UNIX,OS2EMX ################################################ [SET] MKMAKE=/opt/work/net/delegate/work/delegate9.9.1/mkmake.exe [SET] RANLIB=/usr/bin/ranlib - checking availability of -ldl [] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lutil [-ldl] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lpthread [-ldl -lutil] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -MT [-ldl -lutil -lpthread] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lpam [-ldl -lutil -lpthread -MT] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lstdc++ [-ldl -lutil -lpthread -MT -lpam] cpyfile: cannot read 'DELEGATE_CONF' [SET] NETLIB=-ldl -lutil -lpthread -MT -lpam -lstdc++ cpyfile: cannot read 'DELEGATE_CONF' cpyfile Makefile[0-0][2892f46-0] > Makefile.go #ifdef UNIX ####################################################### #ifdef UNIX,OS2EMX ################################################ /opt/pkg/bin/bmake -f Makefile.go libmimekit.a XOBJS="" MKMAKE=/opt/work/net/delegate/work/delegate9.9.1/mkmake.exe SHELL="/opt/pkg/bin/mksh" HDRDIR="-I../gen -I../include -O2" RANLIB="/usr/bin/ranlib" ../mkcpp mimeconv.c mimeconv.cc -- mkcpp set time: 1610518496 -> 1166641533 mimeconv.cc rm -f mimeconv.o clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -O2 -I. mimeconv.cc -c -DMIMEKIT ../mkcpp mimecodes.c mimecodes.cc -- mkcpp set time: 1610518496 -> 1231812842 mimecodes.cc rm -f mimecodes.o clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -O2 -I. mimecodes.cc -c -DMIMEKIT 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++ ) ^ == 1 warning generated. ../mkcpp mime.c mime.cc -- mkcpp set time: 1610518496 -> 1231815955 mime.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -O2 -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:1276:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ 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") ){ ^ == 23 warnings generated. ../mkcpp pgp.c pgp.cc -- mkcpp set time: 1610518496 -> 1168877239 pgp.cc rm -f pgp.o clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -O2 -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: 1610518496 -> 1230235020 rfc822.cc rm -f rfc822.o clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -O2 -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: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++ ){ ^ == 33 warnings generated. ../mkcpp mimehead.c mimehead.cc -- mkcpp set time: 1610518497 -> 1231812849 mimehead.cc rm -f mimehead.o clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -O2 -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++ ) ^ == 6 warnings generated. ../mkcpp mimeh_ovw.c mimeh_ovw.cc -- mkcpp set time: 1610518497 -> 1231731003 mimeh_ovw.cc rm -f mimeh_ovw.o clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -O2 -I. mimeh_ovw.cc -c -DMIMEKIT ../mkcpp str_codes.c str_codes.cc -- mkcpp set time: 1610518497 -> 1105854404 str_codes.cc rm -f str_codes.o clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -O2 -I. str_codes.cc -c -DMIMEKIT In file included from str_codes.cc:123: ./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++ ) ^ == 1 warning generated. ../mkcpp gendom.c gendom.cc -- mkcpp set time: 1610518497 -> 1230377043 gendom.cc rm -f gendom.o clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -O2 -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/bin/ranlib libmimekit.a **[0] move ../mimekit/libmimekit.a to ../lib/libmimekit.a /opt/work/net/delegate/work/delegate9.9.1/mkmake.exe -makeat ../lib/libmd5.a ../pds/md5 libmd5.a "/opt/pkg/bin/bmake" libx MAKE="/opt/pkg/bin/bmake" SHELL="/opt/pkg/bin/mksh" CC="clang" CFLAGS="-O2 -x c++ -DQS -DNONC99" HDRDIR="-I../gen -I../include -O2" RANLIB="/usr/bin/ranlib" LDFLAGS=" -L../lib" LIBDIR="-L../lib" NETLIB="-ldl -lutil -lpthread -MT -lpam -lstdc++" AR="ar" TAR="tar" [clang -c -O2 -x c++ -DQS -DNONC99 ] NONC99 = 2 ####### -makeat: /opt/work/net/delegate/work/delegate9.9.1/pds/md5 /opt/work/net/delegate/work/delegate9.9.1/mkmake.exe -mkmake "/opt/pkg/bin/bmake" Makefile.go "clang" "-O2 -x c++ -DQS -DNONC99 -Dm64" "" "-L../lib" "/usr/bin/ranlib" "-ldl -lutil -lpthread -MT -lpam -lstdc++" NETLIB mkmake: [clang -c -O2 -x c++ -DQS -DNONC99 -Dm64 ] NONC99 = 2 #### [/opt/work/net/delegate/work/delegate9.9.1/pds/md5] creating Makefile.go cpyfile Makefile[1-0][0-2096e94] > Makefile.go #ifdef UNIX,OS2EMX ################################################ [SET] MKMAKE=/opt/work/net/delegate/work/delegate9.9.1/mkmake.exe [SET] RANLIB=/usr/bin/ranlib - checking availability of -ldl [] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lutil [-ldl] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lpthread [-ldl -lutil] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -MT [-ldl -lutil -lpthread] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lpam [-ldl -lutil -lpthread -MT] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lstdc++ [-ldl -lutil -lpthread -MT -lpam] cpyfile: cannot read 'DELEGATE_CONF' [SET] NETLIB=-ldl -lutil -lpthread -MT -lpam -lstdc++ cpyfile: cannot read 'DELEGATE_CONF' cpyfile Makefile[0-0][2096f46-0] > Makefile.go #ifdef UNIX,OS2EMX ################################################ /opt/pkg/bin/bmake -f Makefile.go CFLAGS="-O2 -x c++ -DQS -DNONC99 -Dm64" libmd5.a SHELL="/opt/pkg/bin/mksh" ../../mkcpp md5c.c md5c.cc -- mkcpp set time: 1610518498 -> 1096679002 md5c.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -c md5c.cc ../../mkcpp md5cb.c md5cb.cc -- mkcpp set time: 1610518498 -> 1098398831 md5cb.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -c md5cb.cc ../../mkcpp md5lib.c md5lib.cc -- mkcpp set time: 1610518498 -> 1133426684 md5lib.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -c md5lib.cc ../../mkcpp md5main.c md5main.cc -- mkcpp set time: 1610518498 -> 953668454 md5main.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -c -DMD=5 md5main.cc In file included from md5main.cc:2: ./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)) ^ == 9 warnings generated. rm -f libmd5.a ar cr libmd5.a md5c.o md5cb.o md5lib.o md5main.o /usr/bin/ranlib libmd5.a **[0] move ../pds/md5/libmd5.a to ../lib/libmd5.a /opt/work/net/delegate/work/delegate9.9.1/mkmake.exe -makeat ../lib/library.a ../rary library.a "/opt/pkg/bin/bmake" libx MAKE="/opt/pkg/bin/bmake" SHELL="/opt/pkg/bin/mksh" CC="clang" CFLAGS="-O2 -x c++ -DQS -DNONC99" HDRDIR="-I../gen -I../include -O2" RANLIB="/usr/bin/ranlib" LDFLAGS=" -L../lib" LIBDIR="-L../lib" NETLIB="-ldl -lutil -lpthread -MT -lpam -lstdc++" AR="ar" TAR="tar" [clang -c -O2 -x c++ -DQS -DNONC99 ] NONC99 = 2 ####### -makeat: /opt/work/net/delegate/work/delegate9.9.1/rary /opt/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 /opt/work/net/delegate/work/delegate9.9.1/mkmake.exe -mkmake "/opt/pkg/bin/bmake" Makefile.go "clang" "-O2 -x c++ -DQS -DNONC99 -Dm64" "" "-L../lib" "/usr/bin/ranlib" "-ldl -lutil -lpthread -MT -lpam -lstdc++" NETLIB mkmake: [clang -c -O2 -x c++ -DQS -DNONC99 -Dm64 ] NONC99 = 2 #### [/opt/work/net/delegate/work/delegate9.9.1/rary] creating Makefile.go cpyfile Makefile[1-0][0-9d6e94] > Makefile.go #ifdef UNIX,OS2EMX ################################################ [SET] MKMAKE=/opt/work/net/delegate/work/delegate9.9.1/mkmake.exe [SET] RANLIB=/usr/bin/ranlib - checking availability of -ldl [] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lutil [-ldl] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lpthread [-ldl -lutil] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -MT [-ldl -lutil -lpthread] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lpam [-ldl -lutil -lpthread -MT] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lstdc++ [-ldl -lutil -lpthread -MT -lpam] cpyfile: cannot read 'DELEGATE_CONF' [SET] NETLIB=-ldl -lutil -lpthread -MT -lpam -lstdc++ cpyfile: cannot read 'DELEGATE_CONF' cpyfile Makefile[0-0][9d6f46-0] > Makefile.go #ifdef UNIX,OS2EMX ################################################ /opt/work/net/delegate/work/delegate9.9.1/mkmake.exe -randtext randtext.c /opt/pkg/bin/bmake -f Makefile.go CFLAGS="-O2 -x c++ -DQS -DNONC99 -Dm64" library.a SHELL="/opt/pkg/bin/mksh" HDRDIR="-I../gen -I../include -O2" ../mkcpp SLL.c SLL.cc -- mkcpp set time: 1610518498 -> 1105749861 SLL.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -O2 -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: 1610518498 -> 1231174776 String.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -O2 -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: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: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: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: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: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: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++ ){ ^ == 52 warnings generated. ../mkcpp ystring.c ystring.cc -- mkcpp set time: 1610518499 -> 1226837482 ystring.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -O2 -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: 1610518499 -> 1160985943 TLEX.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -O2 -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: 1610518499 -> 1232246314 JIS.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -O2 -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: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: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: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: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: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: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: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: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: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:3112:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ 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: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") ) ^ == 37 warnings generated. ../mkcpp codeconv.c codeconv.cc -- mkcpp set time: 1610518500 -> 1109628185 codeconv.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -O2 -c codeconv.cc ../mkcpp str_stdio.c str_stdio.cc -- mkcpp set time: 1610518500 -> 1195673075 str_stdio.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -O2 -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++ ){ ^ == 2 warnings generated. ../mkcpp ccx.c ccx.cc -- mkcpp set time: 1610518501 -> 1217107829 ccx.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -O2 -c ccx.cc ../mkcpp html.c html.cc -- mkcpp set time: 1610518501 -> 1207224831 html.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -O2 -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: 1610518501 -> 1218629352 urlesc.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -O2 -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:165:9: error: expected identifier goto OVERFLOW; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h:736:18: note: expanded from macro 'OVERFLOW' #define OVERFLOW 3 ^ urlesc.cc:186:11: error: expected identifier goto OVERFLOW; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h:736:18: note: expanded from macro 'OVERFLOW' #define OVERFLOW 3 ^ urlesc.cc:209:11: error: expected identifier goto OVERFLOW; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h:736:18: note: expanded from macro 'OVERFLOW' #define OVERFLOW 3 ^ urlesc.cc:225:9: error: expected ';' after expression OVERFLOW: ^ ; 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++ ){ ^ == 9 warnings and 4 errors generated. *** Error code 1 Stop. bmake[4]: stopped in /opt/work/net/delegate/work/delegate9.9.1/rary *** Error code 1 Stop. bmake[3]: stopped in /opt/work/net/delegate/work/delegate9.9.1/rary *** exit(1): -makeat at /opt/work/net/delegate/work/delegate9.9.1/rary [0] /opt/pkg/bin/bmake [1] libx [2] MAKE=/opt/pkg/bin/bmake [3] SHELL=/opt/pkg/bin/mksh [4] CC=clang [5] CFLAGS=-O2 -x c++ -DQS -DNONC99 -Dm64 [6] HDRDIR=-I../gen -I../include -O2 [7] RANLIB=/usr/bin/ranlib [8] LDFLAGS= -L../lib [9] LIBDIR=-L../lib [10] NETLIB=-ldl -lutil -lpthread -MT -lpam -lstdc++ [11] AR=ar [12] TAR=tar [13] MKMAKE=/opt/work/net/delegate/work/delegate9.9.1/mkmake.exe [14] MKBASE=/opt/work/net/delegate/work/delegate9.9.1 [15] MKMKMK=/opt/work/net/delegate/work/delegate9.9.1/mkmkmk.exe *** exit(1): -makeat at /opt/work/net/delegate/work/delegate9.9.1/rary [0] /opt/work/net/delegate/work/delegate9.9.1/mkmake.exe [1] ../lib/library.a [2] ../rary [3] library.a [4] /opt/pkg/bin/bmake [5] libx [6] MAKE=/opt/pkg/bin/bmake [7] SHELL=/opt/pkg/bin/mksh [8] CC=clang [9] CFLAGS=-O2 -x c++ -DQS -DNONC99 [10] HDRDIR=-I../gen -I../include -O2 [11] RANLIB=/usr/bin/ranlib [12] LDFLAGS= -L../lib [13] LIBDIR=-L../lib [14] NETLIB=-ldl -lutil -lpthread -MT -lpam -lstdc++ [15] AR=ar [16] TAR=tar *** Error code 1 Stop. bmake[2]: stopped in /opt/work/net/delegate/work/delegate9.9.1/src *** Error code 1 Stop. bmake[1]: stopped in /opt/work/net/delegate/work/delegate9.9.1/src *** exit(1): -makeat at /opt/work/net/delegate/work/delegate9.9.1/src [0] /opt/pkg/bin/bmake [1] MKMAKE_SRC= [2] SHELL=/opt/pkg/bin/mksh [3] HDRDIRS=-I../gen -I../include -O2 [4] LIBDIRS=-L../lib [5] MKMAKE=/opt/work/net/delegate/work/delegate9.9.1/mkmake.exe [6] MKBASE=/opt/work/net/delegate/work/delegate9.9.1 [7] MKMKMK=/opt/work/net/delegate/work/delegate9.9.1/mkmkmk.exe *** exit(1): -makeat at /opt/work/net/delegate/work/delegate9.9.1/src [0] ./mkmake.exe [1] [2] src [3] dg.exe [4] /opt/pkg/bin/bmake [5] MKMAKE_SRC= [6] SHELL=/opt/pkg/bin/mksh [7] HDRDIRS=-I../gen -I../include -O2 [8] LIBDIRS=-L../lib *** Error code 1 Stop. bmake: stopped in /opt/work/net/delegate/work/delegate9.9.1 *** Error code 1 Stop. bmake[1]: stopped in /opt/pkgsrc/net/delegate *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/net/delegate