=> Bootstrap dependency digest>=20010302: found digest-20190127 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for delegate-9.9.1nb1 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. "./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. 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: /data/scratch/net/delegate/work/delegate9.9.1/src searching DELEGATE_CONF ... /data/scratch/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=/data/scratch/net/delegate/work/delegate9.9.1/mkmake.exe" > CONF_IS_GOT creating Makefile.tst ... "/data/scratch/net/delegate/work/delegate9.9.1/mkmake.exe" -mkmake "/usr/bin/make" 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 #### [/data/scratch/net/delegate/work/delegate9.9.1/src] creating Makefile.tst cpyfile Makefile[1-0][0-408147] > Makefile.tst #ifdef UNIX ####################################################### #ifdef UNIX,OS2EMX ################################################ [SET] MKMAKE=/data/scratch/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 *** -mkmake exit(-1) - checking availability of -lutil [] cpyfile DELEGATE_CONF[1-0][0-0] > _make - checking availability of -lpthread [-lutil] cpyfile DELEGATE_CONF[1-0][0-0] > _make - checking availability of -lunalign [-lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of WS2_32.LIB [-lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of ADVAPI32.LIB [-lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of OLE32.LIB [-lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of SHELL32.LIB [-lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of UUID.LIB [-lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of USER32.LIB [-lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of -MT [-lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make - checking availability of -lpam [-lutil -lpthread -MT] cpyfile DELEGATE_CONF[1-0][0-0] > _make - checking availability of -lstdc++ [-lutil -lpthread -MT -lpam] cpyfile DELEGATE_CONF[1-0][0-0] > _make [SET] NETLIB=-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 - checking availability of -lssl [-lcrypto] cpyfile DELEGATE_CONF[1-0][0-0] > _make - checking availability of ../../SSL/LIBEAY32.LIB [-lcrypto -lssl] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of ../../SSL/SSLEAY32.LIB [-lcrypto -lssl] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) [SET] SSLLIB=-lcrypto -lssl cpyfile DELEGATE_CONF[1-0][0-0] > Makefile.tst cpyfile Makefile[0-0][4081ca-0] > Makefile.tst #ifdef UNIX ####################################################### #ifdef UNIX,OS2EMX ################################################ "/data/scratch/net/delegate/work/delegate9.9.1/mkmake.exe" -makeit "/usr/bin/make" -f Makefile.tst check_conf SHELL="/bin/sh" /data/scratch/net/delegate/work/delegate9.9.1/mkmake.exe +r -ckconf Makefile.chk Makefile.tst DELEGATE_CONF "ar" "root@localhost" "" ckconf: ADMIN = 'root@localhost' /data/scratch/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 "/data/scratch/net/delegate/work/delegate9.9.1/mkmake.exe" -mkmake "/usr/bin/make" 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 #### [/data/scratch/net/delegate/work/delegate9.9.1/src] creating Makefile.go cpyfile Makefile[1-0][0-408147] > Makefile.go #ifdef UNIX ####################################################### #ifdef UNIX,OS2EMX ################################################ [SET] MKMAKE=/data/scratch/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 *** -mkmake exit(-1) - checking availability of -lutil [] cpyfile DELEGATE_CONF[1-0][0-0] > _make - checking availability of -lpthread [-lutil] cpyfile DELEGATE_CONF[1-0][0-0] > _make - checking availability of -lunalign [-lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of WS2_32.LIB [-lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of ADVAPI32.LIB [-lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of OLE32.LIB [-lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of SHELL32.LIB [-lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of UUID.LIB [-lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of USER32.LIB [-lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of -MT [-lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make - checking availability of -lpam [-lutil -lpthread -MT] cpyfile DELEGATE_CONF[1-0][0-0] > _make - checking availability of -lstdc++ [-lutil -lpthread -MT -lpam] cpyfile DELEGATE_CONF[1-0][0-0] > _make [SET] NETLIB=-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 - checking availability of -lssl [-lcrypto] cpyfile DELEGATE_CONF[1-0][0-0] > _make - checking availability of ../../SSL/LIBEAY32.LIB [-lcrypto -lssl] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of ../../SSL/SSLEAY32.LIB [-lcrypto -lssl] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) [SET] SSLLIB=-lcrypto -lssl cpyfile DELEGATE_CONF[1-0][0-0] > Makefile.go cpyfile Makefile[0-0][4081ca-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: 1585656153 -> 1232172294 ../gen/dglib.h ../mkcpp ../include/delegate.h ../gen/delegate.h -- mkcpp set time: 1585656153 -> 1226747610 ../gen/delegate.h ../mkcpp ../include/htswitch.h ../gen/htswitch.h -- mkcpp set time: 1585656153 -> 1101989013 ../gen/htswitch.h ../mkcpp ../include/vaddr.h ../gen/vaddr.h -- mkcpp set time: 1585656153 -> 1224060893 ../gen/vaddr.h ../mkcpp ../include/http.h ../gen/http.h -- mkcpp set time: 1585656153 -> 1228599839 ../gen/http.h ../mkcpp ../include/url.h ../gen/url.h -- mkcpp set time: 1585656153 -> 1101966026 ../gen/url.h ../mkcpp ../include/mime.h ../gen/mime.h -- mkcpp set time: 1585656153 -> 1231816678 ../gen/mime.h ../mkcpp ../include/htadmin.h ../gen/htadmin.h -- mkcpp set time: 1585656153 -> 1201943740 ../gen/htadmin.h /data/scratch/net/delegate/work/delegate9.9.1/mkmake.exe -makeat ../lib/libteleport.a ../teleport libteleport.a "/usr/bin/make" libx MAKE="/usr/bin/make" SHELL="/bin/sh" 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="-lutil -lpthread -MT -lpam -lstdc++" AR="ar" TAR="tar" [clang -c -O2 -x c++ -DQS -DNONC99 ] NONC99 = 2 ####### -makeat: /data/scratch/net/delegate/work/delegate9.9.1/teleport /data/scratch/net/delegate/work/delegate9.9.1/mkmake.exe -cksum README Makefile teleport.h teleportd.c vehicle.c qzcode.c qz.c /data/scratch/net/delegate/work/delegate9.9.1/mkmake.exe -mkmake "/usr/bin/make" Makefile.go "clang" "-O2 -x c++ -DQS -DNONC99 -Dm64" "" "-L../lib" "/usr/bin/ranlib" "-lutil -lpthread -MT -lpam -lstdc++" NETLIB mkmake: [clang -c -O2 -x c++ -DQS -DNONC99 -Dm64 ] NONC99 = 2 #### [/data/scratch/net/delegate/work/delegate9.9.1/teleport] creating Makefile.go cpyfile Makefile[1-0][0-408147] > Makefile.go #ifdef UNIX,OS2EMX ################################################ [SET] MKMAKE=/data/scratch/net/delegate/work/delegate9.9.1/mkmake.exe [SET] RANLIB=/usr/bin/ranlib - checking availability of -lutil [] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lpthread [-lutil] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -MT [-lutil -lpthread] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lpam [-lutil -lpthread -MT] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lstdc++ [-lutil -lpthread -MT -lpam] cpyfile: cannot read 'DELEGATE_CONF' [SET] NETLIB=-lutil -lpthread -MT -lpam -lstdc++ cpyfile: cannot read 'DELEGATE_CONF' cpyfile Makefile[0-0][4081ca-0] > Makefile.go #ifdef UNIX,OS2EMX ################################################ /usr/bin/make -f Makefile.go libteleport.a SHELL="/bin/sh" HDRDIR="-I../gen -I../include -O2" ../mkcpp teleportd.c teleportd.cc -- mkcpp set time: 1585656154 -> 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: 1585656155 -> 1139394336 vehicle.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../gen -I../include -O2 -c vehicle.cc vehicle.cc:169:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int pid; ^~~~~~~~~ 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++ ) ^ == vehicle.cc:583:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int pid; ^~~~~~~~~ 7 warnings generated. ../mkcpp qzcode.c qzcode.cc -- mkcpp set time: 1585656157 -> 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 make[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 /data/scratch/net/delegate/work/delegate9.9.1/mkmake.exe -makeat ../lib/libresolvy.a ../resolvy libresolvy.a "/usr/bin/make" libx MAKE="/usr/bin/make" SHELL="/bin/sh" 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="-lutil -lpthread -MT -lpam -lstdc++" AR="ar" TAR="tar" [clang -c -O2 -x c++ -DQS -DNONC99 ] NONC99 = 2 ####### -makeat: /data/scratch/net/delegate/work/delegate9.9.1/resolvy /data/scratch/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 /data/scratch/net/delegate/work/delegate9.9.1/mkmake.exe -mkmake "/usr/bin/make" Makefile.go "clang" "-O2 -x c++ -DQS -DNONC99 -Dm64" "" "-L../lib" "/usr/bin/ranlib" "-lutil -lpthread -MT -lpam -lstdc++" NETLIB mkmake: [clang -c -O2 -x c++ -DQS -DNONC99 -Dm64 ] NONC99 = 2 #### [/data/scratch/net/delegate/work/delegate9.9.1/resolvy] creating Makefile.go cpyfile Makefile[1-0][0-408147] > Makefile.go #ifdef UNIX,OS2EMX ################################################ #ifdef UNIX ####################################################### [SET] MKMAKE=/data/scratch/net/delegate/work/delegate9.9.1/mkmake.exe [SET] RANLIB=/usr/bin/ranlib - checking availability of -lutil [] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lpthread [-lutil] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -MT [-lutil -lpthread] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lpam [-lutil -lpthread -MT] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lstdc++ [-lutil -lpthread -MT -lpam] cpyfile: cannot read 'DELEGATE_CONF' [SET] NETLIB=-lutil -lpthread -MT -lpam -lstdc++ cpyfile: cannot read 'DELEGATE_CONF' cpyfile Makefile[0-0][4081ca-0] > Makefile.go #ifdef UNIX,OS2EMX ################################################ #ifdef UNIX ####################################################### /usr/bin/make -f Makefile.go libresolvy.a XOBJS="" MKMAKE=/data/scratch/net/delegate/work/delegate9.9.1/mkmake.exe SHELL="/bin/sh" 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: 1585656158 -> 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: 1585656159 -> 1585656142 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: 1585656161 -> 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: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-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: 1585656162 -> 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: 1585656163 -> 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: 1585656163 -> 1585656142 resconf.cc /bin/sh ./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 /data/scratch/net/delegate/work/delegate9.9.1/mkmake.exe -makeat ../lib/libmimekit.a ../mimekit libmimekit.a "/usr/bin/make" libx MAKE="/usr/bin/make" SHELL="/bin/sh" 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="-lutil -lpthread -MT -lpam -lstdc++" AR="ar" TAR="tar" [clang -c -O2 -x c++ -DQS -DNONC99 ] NONC99 = 2 ####### -makeat: /data/scratch/net/delegate/work/delegate9.9.1/mimekit /data/scratch/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 /data/scratch/net/delegate/work/delegate9.9.1/mkmake.exe -mkmake "/usr/bin/make" Makefile.go "clang" "-O2 -x c++ -DQS -DNONC99 -Dm64" "" "-L../lib" "/usr/bin/ranlib" "-lutil -lpthread -MT -lpam -lstdc++" NETLIB mkmake: [clang -c -O2 -x c++ -DQS -DNONC99 -Dm64 ] NONC99 = 2 #### [/data/scratch/net/delegate/work/delegate9.9.1/mimekit] creating Makefile.go cpyfile Makefile[1-0][0-408147] > Makefile.go #ifdef UNIX ####################################################### #ifdef UNIX,OS2EMX ################################################ [SET] MKMAKE=/data/scratch/net/delegate/work/delegate9.9.1/mkmake.exe [SET] RANLIB=/usr/bin/ranlib - checking availability of -lutil [] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lpthread [-lutil] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -MT [-lutil -lpthread] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lpam [-lutil -lpthread -MT] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lstdc++ [-lutil -lpthread -MT -lpam] cpyfile: cannot read 'DELEGATE_CONF' [SET] NETLIB=-lutil -lpthread -MT -lpam -lstdc++ cpyfile: cannot read 'DELEGATE_CONF' cpyfile Makefile[0-0][4081ca-0] > Makefile.go #ifdef UNIX ####################################################### #ifdef UNIX,OS2EMX ################################################ /usr/bin/make -f Makefile.go libmimekit.a XOBJS="" MKMAKE=/data/scratch/net/delegate/work/delegate9.9.1/mkmake.exe SHELL="/bin/sh" HDRDIR="-I../gen -I../include -O2" RANLIB="/usr/bin/ranlib" ../mkcpp mimeconv.c mimeconv.cc -- mkcpp set time: 1585656165 -> 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: 1585656166 -> 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: 1585656167 -> 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: 1585656168 -> 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: 1585656169 -> 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: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-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: 1585656171 -> 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++ ) ^ == mimehead.cc:898:8: error: case value evaluates to 2147483657, which cannot be narrowed to type 'int' [-Wc++11-narrowing] case XC_DE_OFLUSH: return; ^ mimehead.cc:91:23: note: expanded from macro 'XC_DE_OFLUSH' #define XC_DE_OFLUSH 0x80000009 ^ mimehead.cc:921:8: error: case value evaluates to 2147483649, which cannot be narrowed to type 'int' [-Wc++11-narrowing] case NLNL: strcpy(sym,"NLNL"); break; ^ mimehead.cc:83:16: note: expanded from macro 'NLNL' #define NLNL 0x80000001 ^ mimehead.cc:922:8: error: case value evaluates to 2147483650, which cannot be narrowed to type 'int' [-Wc++11-narrowing] case XC_EN_FOLD: strcpy(sym,"FOLD"); break; ^ mimehead.cc:84:21: note: expanded from macro 'XC_EN_FOLD' #define XC_EN_FOLD 0x80000002 ^ mimehead.cc:923:8: error: case value evaluates to 2147483651, which cannot be narrowed to type 'int' [-Wc++11-narrowing] case XC_DE_UNFOLD: strcpy(sym,"UNFOLD"); break; ^ mimehead.cc:85:23: note: expanded from macro 'XC_DE_UNFOLD' #define XC_DE_UNFOLD 0x80000003 ^ mimehead.cc:924:8: error: case value evaluates to 2147483652, which cannot be narrowed to type 'int' [-Wc++11-narrowing] case XC_DE_CATENATE: strcpy(sym,"CATENATE"); break; ^ mimehead.cc:86:25: note: expanded from macro 'XC_DE_CATENATE' #define XC_DE_CATENATE 0x80000004 ^ mimehead.cc:925:8: error: case value evaluates to 2147483653, which cannot be narrowed to type 'int' [-Wc++11-narrowing] case XC_DE_AFTER_EWORD: strcpy(sym,"AFTER_EWORD"); break; ^ mimehead.cc:87:27: note: expanded from macro 'XC_DE_AFTER_EWORD' #define XC_DE_AFTER_EWORD 0x80000005 /* just after encoded-word now */ ^ mimehead.cc:926:8: error: case value evaluates to 2147483654, which cannot be narrowed to type 'int' [-Wc++11-narrowing] case XC_DE_FORMFEED: strcpy(sym,"FORMFEED"); break; ^ mimehead.cc:88:25: note: expanded from macro 'XC_DE_FORMFEED' #define XC_DE_FORMFEED 0x80000006 ^ mimehead.cc:927:8: error: case value evaluates to 2147483655, which cannot be narrowed to type 'int' [-Wc++11-narrowing] case XC_DE_DEL_LWSP: strcpy(sym,"DEL_LWSP"); break; ^ mimehead.cc:89:25: note: expanded from macro 'XC_DE_DEL_LWSP' #define XC_DE_DEL_LWSP 0x80000007 ^ mimehead.cc:928:8: error: case value evaluates to 2147483656, which cannot be narrowed to type 'int' [-Wc++11-narrowing] case XC_DE_IGN_LWSP: strcpy(sym,"IGN_LWSP"); break; ^ mimehead.cc:90:25: note: expanded from macro 'XC_DE_IGN_LWSP' #define XC_DE_IGN_LWSP 0x80000008 ^ mimehead.cc:929:8: error: case value evaluates to 2147483657, which cannot be narrowed to type 'int' [-Wc++11-narrowing] case XC_DE_OFLUSH: strcpy(sym,"OFUSH"); break; ^ mimehead.cc:91:23: note: expanded from macro 'XC_DE_OFLUSH' #define XC_DE_OFLUSH 0x80000009 ^ mimehead.cc:930:8: error: case value evaluates to 4026531841, which cannot be narrowed to type 'int' [-Wc++11-narrowing] case XC_DE_TOOLONG: strcpy(sym,"TOOLONG"); break; ^ mimehead.cc:95:24: note: expanded from macro 'XC_DE_TOOLONG' #define XC_DE_TOOLONG 0xF0000001 ^ mimehead.cc:931:8: error: case value evaluates to 2147483660, which cannot be narrowed to type 'int' [-Wc++11-narrowing] case XC_DE_FIELD_TOP: strcpy(sym,"FILED_TOP"); break; ^ mimehead.cc:94:26: note: expanded from macro 'XC_DE_FIELD_TOP' #define XC_DE_FIELD_TOP 0x8000000C /* new field starts */ ^ 6 warnings and 12 errors generated. *** Error code 1 Stop. make[4]: stopped in /data/scratch/net/delegate/work/delegate9.9.1/mimekit *** Error code 1 Stop. make[3]: stopped in /data/scratch/net/delegate/work/delegate9.9.1/mimekit *** exit(1): -makeat at /data/scratch/net/delegate/work/delegate9.9.1/mimekit [0] /usr/bin/make [1] libx [2] MAKE=/usr/bin/make [3] SHELL=/bin/sh [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=-lutil -lpthread -MT -lpam -lstdc++ [11] AR=ar [12] TAR=tar [13] MKMAKE=/data/scratch/net/delegate/work/delegate9.9.1/mkmake.exe [14] MKBASE=/data/scratch/net/delegate/work/delegate9.9.1 [15] MKMKMK=/data/scratch/net/delegate/work/delegate9.9.1/mkmkmk.exe *** exit(1): -makeat at /data/scratch/net/delegate/work/delegate9.9.1/mimekit [0] /data/scratch/net/delegate/work/delegate9.9.1/mkmake.exe [1] ../lib/libmimekit.a [2] ../mimekit [3] libmimekit.a [4] /usr/bin/make [5] libx [6] MAKE=/usr/bin/make [7] SHELL=/bin/sh [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=-lutil -lpthread -MT -lpam -lstdc++ [15] AR=ar [16] TAR=tar *** Error code 1 Stop. make[2]: stopped in /data/scratch/net/delegate/work/delegate9.9.1/src *** Error code 1 Stop. make[1]: stopped in /data/scratch/net/delegate/work/delegate9.9.1/src *** exit(1): -makeat at /data/scratch/net/delegate/work/delegate9.9.1/src [0] /usr/bin/make [1] MKMAKE_SRC= [2] SHELL=/bin/sh [3] HDRDIRS=-I../gen -I../include -O2 [4] LIBDIRS=-L../lib [5] MKMAKE=/data/scratch/net/delegate/work/delegate9.9.1/mkmake.exe [6] MKBASE=/data/scratch/net/delegate/work/delegate9.9.1 [7] MKMKMK=/data/scratch/net/delegate/work/delegate9.9.1/mkmkmk.exe *** exit(1): -makeat at /data/scratch/net/delegate/work/delegate9.9.1/src [0] ./mkmake.exe [1] [2] src [3] dg.exe [4] /usr/bin/make [5] MKMAKE_SRC= [6] SHELL=/bin/sh [7] HDRDIRS=-I../gen -I../include -O2 [8] LIBDIRS=-L../lib *** Error code 1 Stop. make: stopped in /data/scratch/net/delegate/work/delegate9.9.1 *** Error code 1 Stop. make[1]: stopped in /data/pkgsrc/net/delegate *** Error code 1 Stop. make: stopped in /data/pkgsrc/net/delegate