=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/delegate", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for delegate-9.9.1nb3 clang -DMKMKMK -DDEFCC=\"clang\" -I../gen -I../include -Wno-narrowing -pipe -Os -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] 335 | if( err = fopen("mkmake.err","a") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:335:10: note: place parentheses around the assignment to silence this warning 335 | if( err = fopen("mkmake.err","a") ){ | ^ | ( ) ./maker/mkmake.c:335:10: note: use '==' to turn this assignment into an equality comparison 335 | if( err = fopen("mkmake.err","a") ){ | ^ | == ./maker/mkmake.c:504:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 504 | if( fp = fopen(CONF,"w") ){ | ~~~^~~~~~~~~~~~~~~~~ ./maker/mkmake.c:504:9: note: place parentheses around the assignment to silence this warning 504 | if( fp = fopen(CONF,"w") ){ | ^ | ( ) ./maker/mkmake.c:504:9: note: use '==' to turn this assignment into an equality comparison 504 | if( fp = fopen(CONF,"w") ){ | ^ | == ./maker/mkmake.c:600:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 600 | if( dp = strchr(a1+3,')') ){ | ~~~^~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:600:12: note: place parentheses around the assignment to silence this warning 600 | if( dp = strchr(a1+3,')') ){ | ^ | ( ) ./maker/mkmake.c:600:12: note: use '==' to turn this assignment into an equality comparison 600 | if( dp = strchr(a1+3,')') ){ | ^ | == ./maker/mkmake.c:653:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 653 | if( env = getenv("MAKEFLAGS") ) *env = 0; | ~~~~^~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:653:11: note: place parentheses around the assignment to silence this warning 653 | if( env = getenv("MAKEFLAGS") ) *env = 0; | ^ | ( ) ./maker/mkmake.c:653:11: note: use '==' to turn this assignment into an equality comparison 653 | if( env = getenv("MAKEFLAGS") ) *env = 0; | ^ | == ./maker/mkmake.c:654:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 654 | if( env = getenv("MFLAGS") ) *env = 0; | ~~~~^~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:654:11: note: place parentheses around the assignment to silence this warning 654 | if( env = getenv("MFLAGS") ) *env = 0; | ^ | ( ) ./maker/mkmake.c:654:11: note: use '==' to turn this assignment into an equality comparison 654 | if( env = getenv("MFLAGS") ) *env = 0; | ^ | == ./maker/mkmake.c:976:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 976 | if( dp = strpbrk(ans,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:976:10: note: place parentheses around the assignment to silence this warning 976 | if( dp = strpbrk(ans,"\r\n") ) | ^ | ( ) ./maker/mkmake.c:976:10: note: use '==' to turn this assignment into an equality comparison 976 | if( dp = strpbrk(ans,"\r\n") ) | ^ | == ./maker/mkmake.c:987:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 987 | if( dp = strpbrk(ans,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:987:10: note: place parentheses around the assignment to silence this warning 987 | if( dp = strpbrk(ans,"\r\n") ) | ^ | ( ) ./maker/mkmake.c:987:10: note: use '==' to turn this assignment into an equality comparison 987 | if( dp = strpbrk(ans,"\r\n") ) | ^ | == ./maker/mkmake.c:1014:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1014 | if( conf = fopen(CONF,"a") ){ | ~~~~~^~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1014:12: note: place parentheses around the assignment to silence this warning 1014 | if( conf = fopen(CONF,"a") ){ | ^ | ( ) ./maker/mkmake.c:1014:12: note: use '==' to turn this assignment into an equality comparison 1014 | if( conf = fopen(CONF,"a") ){ | ^ | == ./maker/mkmake.c:1020:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1020 | if( okfp = fopen(MAKEFILE_OK,"w") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1020:11: note: place parentheses around the assignment to silence this warning 1020 | if( okfp = fopen(MAKEFILE_OK,"w") ){ | ^ | ( ) ./maker/mkmake.c:1020:11: note: use '==' to turn this assignment into an equality comparison 1020 | if( okfp = fopen(MAKEFILE_OK,"w") ){ | ^ | == ./maker/mkmake.c:1160:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1160 | if( rcode = EXECVPR(nav[0],nav) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1160:12: note: place parentheses around the assignment to silence this warning 1160 | if( rcode = EXECVPR(nav[0],nav) ){ | ^ | ( ) ./maker/mkmake.c:1160:12: note: use '==' to turn this assignment into an equality comparison 1160 | if( rcode = EXECVPR(nav[0],nav) ){ | ^ | == ./maker/mkmake.c:1208:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1208 | if( dp = strrchr(src,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1208:10: note: place parentheses around the assignment to silence this warning 1208 | if( dp = strrchr(src,'/') ){ | ^ | ( ) ./maker/mkmake.c:1208:10: note: use '==' to turn this assignment into an equality comparison 1208 | if( dp = strrchr(src,'/') ){ | ^ | == ./maker/mkmake.c:1249:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1249 | while( rcc = fread(buf,1,sizeof(buf),ifp) ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1249:14: note: place parentheses around the assignment to silence this warning 1249 | while( rcc = fread(buf,1,sizeof(buf),ifp) ) | ^ | ( ) ./maker/mkmake.c:1249:14: note: use '==' to turn this assignment into an equality comparison 1249 | 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] 1270 | 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] 1270 | 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] 1321 | for( ep = wp; ec = *ep; ep++ ){ | ~~~^~~~~ ./maker/mkmake.c:1321:19: note: place parentheses around the assignment to silence this warning 1321 | for( ep = wp; ec = *ep; ep++ ){ | ^ | ( ) ./maker/mkmake.c:1321:19: note: use '==' to turn this assignment into an equality comparison 1321 | for( ep = wp; ec = *ep; ep++ ){ | ^ | == ./maker/mkmake.c:1352:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1352 | if( pe = getenv("PATH") ) | ~~~^~~~~~~~~~~~~~~~ ./maker/mkmake.c:1352:9: note: place parentheses around the assignment to silence this warning 1352 | if( pe = getenv("PATH") ) | ^ | ( ) ./maker/mkmake.c:1352:9: note: use '==' to turn this assignment into an equality comparison 1352 | if( pe = getenv("PATH") ) | ^ | == ./maker/mkmake.c:1358:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1358 | if( np = (char*)strchr(dir+1,':') ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1358:10: note: place parentheses around the assignment to silence this warning 1358 | if( np = (char*)strchr(dir+1,':') ) | ^ | ( ) ./maker/mkmake.c:1358:10: note: use '==' to turn this assignment into an equality comparison 1358 | if( np = (char*)strchr(dir+1,':') ) | ^ | == ./maker/mkmake.c:1362:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1362 | if( fp = fopen(path,"r") ){ | ~~~^~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1362:10: note: place parentheses around the assignment to silence this warning 1362 | if( fp = fopen(path,"r") ){ | ^ | ( ) ./maker/mkmake.c:1362:10: note: use '==' to turn this assignment into an equality comparison 1362 | if( fp = fopen(path,"r") ){ | ^ | == ./maker/mkmake.c:1477:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1477 | if( dp = (char*)strrchr(file,'.') ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1477:9: note: place parentheses around the assignment to silence this warning 1477 | if( dp = (char*)strrchr(file,'.') ) | ^ | ( ) ./maker/mkmake.c:1477:9: note: use '==' to turn this assignment into an equality comparison 1477 | if( dp = (char*)strrchr(file,'.') ) | ^ | == ./maker/mkmake.c:1503:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1503 | for( si = 0; src1 = srcv[si]; si++ ) | ~~~~~^~~~~~~~~~ ./maker/mkmake.c:1503:20: note: place parentheses around the assignment to silence this warning 1503 | for( si = 0; src1 = srcv[si]; si++ ) | ^ | ( ) ./maker/mkmake.c:1503:20: note: use '==' to turn this assignment into an equality comparison 1503 | 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] 1530 | if( fp = fopen(manifest,"r") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1530:9: note: place parentheses around the assignment to silence this warning 1530 | if( fp = fopen(manifest,"r") ){ | ^ | ( ) ./maker/mkmake.c:1530:9: note: use '==' to turn this assignment into an equality comparison 1530 | if( fp = fopen(manifest,"r") ){ | ^ | == ./maker/mkmake.c:1558:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1558 | if( fp = fopen(manifest,"w") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1558:9: note: place parentheses around the assignment to silence this warning 1558 | if( fp = fopen(manifest,"w") ){ | ^ | ( ) ./maker/mkmake.c:1558:9: note: use '==' to turn this assignment into an equality comparison 1558 | if( fp = fopen(manifest,"w") ){ | ^ | == ./maker/mkmake.c:1683:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1683 | if( sfp = fopen(substlist,"r") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1683:10: note: place parentheses around the assignment to silence this warning 1683 | if( sfp = fopen(substlist,"r") ){ | ^ | ( ) ./maker/mkmake.c:1683:10: note: use '==' to turn this assignment into an equality comparison 1683 | if( sfp = fopen(substlist,"r") ){ | ^ | == ./maker/mkmake.c:1691:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1691 | if( dp = strpbrk(buf,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1691:11: note: place parentheses around the assignment to silence this warning 1691 | if( dp = strpbrk(buf,"\r\n") ) | ^ | ( ) ./maker/mkmake.c:1691:11: note: use '==' to turn this assignment into an equality comparison 1691 | if( dp = strpbrk(buf,"\r\n") ) | ^ | == ./maker/mkmake.c:1700:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1700 | if( sfp = fopen(substlist,"w") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1700:11: note: place parentheses around the assignment to silence this warning 1700 | if( sfp = fopen(substlist,"w") ){ | ^ | ( ) ./maker/mkmake.c:1700:11: note: use '==' to turn this assignment into an equality comparison 1700 | if( sfp = fopen(substlist,"w") ){ | ^ | == ./maker/mkmake.c:1730:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1730 | fprintf(stderr,fmt); | ^~~ ./maker/mkmake.c:1730:17: note: treat the string as an argument to avoid this 1730 | fprintf(stderr,fmt); | ^ | "%s", ./maker/mkmake.c:1805:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1805 | if( rcode = (*func)(file,fv,fcp) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1805:13: note: place parentheses around the assignment to silence this warning 1805 | if( rcode = (*func)(file,fv,fcp) ) | ^ | ( ) ./maker/mkmake.c:1805:13: note: use '==' to turn this assignment into an equality comparison 1805 | if( rcode = (*func)(file,fv,fcp) ) | ^ | == ./maker/mkmake.c:2153:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2153 | if( fp = fopen(HOSTNAME_FILE,"r") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:2153:10: note: place parentheses around the assignment to silence this warning 2153 | if( fp = fopen(HOSTNAME_FILE,"r") ){ | ^ | ( ) ./maker/mkmake.c:2153:10: note: use '==' to turn this assignment into an equality comparison 2153 | if( fp = fopen(HOSTNAME_FILE,"r") ){ | ^ | == ./maker/mkmake.c:2161:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2161 | if( fp = popen(HOSTNAME_COM,"r") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:2161:10: note: place parentheses around the assignment to silence this warning 2161 | if( fp = popen(HOSTNAME_COM,"r") ){ | ^ | ( ) ./maker/mkmake.c:2161:10: note: use '==' to turn this assignment into an equality comparison 2161 | 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] 57 | 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] 99 | if( fp = fopen(file,"r") ){ | ~~~^~~~~~~~~~~~~~~~~ ./maker/../rary/cksum.c:99:9: note: place parentheses around the assignment to silence this warning 99 | if( fp = fopen(file,"r") ){ | ^ | ( ) ./maker/../rary/cksum.c:99:9: note: use '==' to turn this assignment into an equality comparison 99 | if( fp = fopen(file,"r") ){ | ^ | == ./maker/../rary/cksum.c:107:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 107 | if( sum = fopen(sumfile,"w") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~ ./maker/../rary/cksum.c:107:11: note: place parentheses around the assignment to silence this warning 107 | if( sum = fopen(sumfile,"w") ){ | ^ | ( ) ./maker/../rary/cksum.c:107:11: note: use '==' to turn this assignment into an equality comparison 107 | if( sum = fopen(sumfile,"w") ){ | ^ | == ./maker/../rary/cksum.c:128:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 128 | for( ci = 0; ch = line[ci]; ci++ ){ | ~~~^~~~~~~~~~ ./maker/../rary/cksum.c:128:20: note: place parentheses around the assignment to silence this warning 128 | for( ci = 0; ch = line[ci]; ci++ ){ | ^ | ( ) ./maker/../rary/cksum.c:128:20: note: use '==' to turn this assignment into an equality comparison 128 | 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] 193 | if( fp = fopen(file,"r") ){ | ~~~^~~~~~~~~~~~~~~~~ ./maker/../rary/cksum.c:193:12: note: place parentheses around the assignment to silence this warning 193 | if( fp = fopen(file,"r") ){ | ^ | ( ) ./maker/../rary/cksum.c:193:12: note: use '==' to turn this assignment into an equality comparison 193 | if( fp = fopen(file,"r") ){ | ^ | == ./maker/../rary/cksum.c:249:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 249 | if( fp = fopen(av[ai],"r") ){ | ~~~^~~~~~~~~~~~~~~~~~~ ./maker/../rary/cksum.c:249:11: note: place parentheses around the assignment to silence this warning 249 | if( fp = fopen(av[ai],"r") ){ | ^ | ( ) ./maker/../rary/cksum.c:249:11: note: use '==' to turn this assignment into an equality comparison 249 | 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] 251 | if( dp = strpbrk(line,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ ./maker/../rary/cksum.c:251:13: note: place parentheses around the assignment to silence this warning 251 | if( dp = strpbrk(line,"\r\n") ) | ^ | ( ) ./maker/../rary/cksum.c:251:13: note: use '==' to turn this assignment into an equality comparison 251 | if( dp = strpbrk(line,"\r\n") ) | ^ | == 36 warnings generated. ld: warning: search path '../lib' not found "./mkmkmk.exe" -mkmkmk "clang" -I../gen -I../include -Wno-narrowing -pipe -Os -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] 335 | if( err = fopen("mkmake.err","a") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:335:10: note: place parentheses around the assignment to silence this warning 335 | if( err = fopen("mkmake.err","a") ){ | ^ | ( ) maker/mkmake.c:335:10: note: use '==' to turn this assignment into an equality comparison 335 | if( err = fopen("mkmake.err","a") ){ | ^ | == maker/mkmake.c:504:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 504 | if( fp = fopen(CONF,"w") ){ | ~~~^~~~~~~~~~~~~~~~~ maker/mkmake.c:504:9: note: place parentheses around the assignment to silence this warning 504 | if( fp = fopen(CONF,"w") ){ | ^ | ( ) maker/mkmake.c:504:9: note: use '==' to turn this assignment into an equality comparison 504 | if( fp = fopen(CONF,"w") ){ | ^ | == maker/mkmake.c:600:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 600 | if( dp = strchr(a1+3,')') ){ | ~~~^~~~~~~~~~~~~~~~~~ maker/mkmake.c:600:12: note: place parentheses around the assignment to silence this warning 600 | if( dp = strchr(a1+3,')') ){ | ^ | ( ) maker/mkmake.c:600:12: note: use '==' to turn this assignment into an equality comparison 600 | if( dp = strchr(a1+3,')') ){ | ^ | == maker/mkmake.c:653:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 653 | if( env = getenv("MAKEFLAGS") ) *env = 0; | ~~~~^~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:653:11: note: place parentheses around the assignment to silence this warning 653 | if( env = getenv("MAKEFLAGS") ) *env = 0; | ^ | ( ) maker/mkmake.c:653:11: note: use '==' to turn this assignment into an equality comparison 653 | if( env = getenv("MAKEFLAGS") ) *env = 0; | ^ | == maker/mkmake.c:654:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 654 | if( env = getenv("MFLAGS") ) *env = 0; | ~~~~^~~~~~~~~~~~~~~~~~ maker/mkmake.c:654:11: note: place parentheses around the assignment to silence this warning 654 | if( env = getenv("MFLAGS") ) *env = 0; | ^ | ( ) maker/mkmake.c:654:11: note: use '==' to turn this assignment into an equality comparison 654 | if( env = getenv("MFLAGS") ) *env = 0; | ^ | == maker/mkmake.c:976:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 976 | if( dp = strpbrk(ans,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:976:10: note: place parentheses around the assignment to silence this warning 976 | if( dp = strpbrk(ans,"\r\n") ) | ^ | ( ) maker/mkmake.c:976:10: note: use '==' to turn this assignment into an equality comparison 976 | if( dp = strpbrk(ans,"\r\n") ) | ^ | == maker/mkmake.c:987:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 987 | if( dp = strpbrk(ans,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:987:10: note: place parentheses around the assignment to silence this warning 987 | if( dp = strpbrk(ans,"\r\n") ) | ^ | ( ) maker/mkmake.c:987:10: note: use '==' to turn this assignment into an equality comparison 987 | if( dp = strpbrk(ans,"\r\n") ) | ^ | == maker/mkmake.c:1014:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1014 | if( conf = fopen(CONF,"a") ){ | ~~~~~^~~~~~~~~~~~~~~~~ maker/mkmake.c:1014:12: note: place parentheses around the assignment to silence this warning 1014 | if( conf = fopen(CONF,"a") ){ | ^ | ( ) maker/mkmake.c:1014:12: note: use '==' to turn this assignment into an equality comparison 1014 | if( conf = fopen(CONF,"a") ){ | ^ | == maker/mkmake.c:1020:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1020 | if( okfp = fopen(MAKEFILE_OK,"w") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:1020:11: note: place parentheses around the assignment to silence this warning 1020 | if( okfp = fopen(MAKEFILE_OK,"w") ){ | ^ | ( ) maker/mkmake.c:1020:11: note: use '==' to turn this assignment into an equality comparison 1020 | if( okfp = fopen(MAKEFILE_OK,"w") ){ | ^ | == maker/mkmake.c:1160:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1160 | if( rcode = EXECVPR(nav[0],nav) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:1160:12: note: place parentheses around the assignment to silence this warning 1160 | if( rcode = EXECVPR(nav[0],nav) ){ | ^ | ( ) maker/mkmake.c:1160:12: note: use '==' to turn this assignment into an equality comparison 1160 | if( rcode = EXECVPR(nav[0],nav) ){ | ^ | == maker/mkmake.c:1208:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1208 | if( dp = strrchr(src,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~ maker/mkmake.c:1208:10: note: place parentheses around the assignment to silence this warning 1208 | if( dp = strrchr(src,'/') ){ | ^ | ( ) maker/mkmake.c:1208:10: note: use '==' to turn this assignment into an equality comparison 1208 | if( dp = strrchr(src,'/') ){ | ^ | == maker/mkmake.c:1249:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1249 | while( rcc = fread(buf,1,sizeof(buf),ifp) ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:1249:14: note: place parentheses around the assignment to silence this warning 1249 | while( rcc = fread(buf,1,sizeof(buf),ifp) ) | ^ | ( ) maker/mkmake.c:1249:14: note: use '==' to turn this assignment into an equality comparison 1249 | 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] 1270 | 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] 1270 | 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] 1321 | for( ep = wp; ec = *ep; ep++ ){ | ~~~^~~~~ maker/mkmake.c:1321:19: note: place parentheses around the assignment to silence this warning 1321 | for( ep = wp; ec = *ep; ep++ ){ | ^ | ( ) maker/mkmake.c:1321:19: note: use '==' to turn this assignment into an equality comparison 1321 | for( ep = wp; ec = *ep; ep++ ){ | ^ | == maker/mkmake.c:1352:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1352 | if( pe = getenv("PATH") ) | ~~~^~~~~~~~~~~~~~~~ maker/mkmake.c:1352:9: note: place parentheses around the assignment to silence this warning 1352 | if( pe = getenv("PATH") ) | ^ | ( ) maker/mkmake.c:1352:9: note: use '==' to turn this assignment into an equality comparison 1352 | if( pe = getenv("PATH") ) | ^ | == maker/mkmake.c:1358:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1358 | if( np = (char*)strchr(dir+1,':') ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:1358:10: note: place parentheses around the assignment to silence this warning 1358 | if( np = (char*)strchr(dir+1,':') ) | ^ | ( ) maker/mkmake.c:1358:10: note: use '==' to turn this assignment into an equality comparison 1358 | if( np = (char*)strchr(dir+1,':') ) | ^ | == maker/mkmake.c:1362:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1362 | if( fp = fopen(path,"r") ){ | ~~~^~~~~~~~~~~~~~~~~ maker/mkmake.c:1362:10: note: place parentheses around the assignment to silence this warning 1362 | if( fp = fopen(path,"r") ){ | ^ | ( ) maker/mkmake.c:1362:10: note: use '==' to turn this assignment into an equality comparison 1362 | if( fp = fopen(path,"r") ){ | ^ | == maker/mkmake.c:1477:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1477 | if( dp = (char*)strrchr(file,'.') ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:1477:9: note: place parentheses around the assignment to silence this warning 1477 | if( dp = (char*)strrchr(file,'.') ) | ^ | ( ) maker/mkmake.c:1477:9: note: use '==' to turn this assignment into an equality comparison 1477 | if( dp = (char*)strrchr(file,'.') ) | ^ | == maker/mkmake.c:1503:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1503 | for( si = 0; src1 = srcv[si]; si++ ) | ~~~~~^~~~~~~~~~ maker/mkmake.c:1503:20: note: place parentheses around the assignment to silence this warning 1503 | for( si = 0; src1 = srcv[si]; si++ ) | ^ | ( ) maker/mkmake.c:1503:20: note: use '==' to turn this assignment into an equality comparison 1503 | 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] 1530 | if( fp = fopen(manifest,"r") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:1530:9: note: place parentheses around the assignment to silence this warning 1530 | if( fp = fopen(manifest,"r") ){ | ^ | ( ) maker/mkmake.c:1530:9: note: use '==' to turn this assignment into an equality comparison 1530 | if( fp = fopen(manifest,"r") ){ | ^ | == maker/mkmake.c:1558:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1558 | if( fp = fopen(manifest,"w") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:1558:9: note: place parentheses around the assignment to silence this warning 1558 | if( fp = fopen(manifest,"w") ){ | ^ | ( ) maker/mkmake.c:1558:9: note: use '==' to turn this assignment into an equality comparison 1558 | if( fp = fopen(manifest,"w") ){ | ^ | == maker/mkmake.c:1683:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1683 | if( sfp = fopen(substlist,"r") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:1683:10: note: place parentheses around the assignment to silence this warning 1683 | if( sfp = fopen(substlist,"r") ){ | ^ | ( ) maker/mkmake.c:1683:10: note: use '==' to turn this assignment into an equality comparison 1683 | if( sfp = fopen(substlist,"r") ){ | ^ | == maker/mkmake.c:1691:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1691 | if( dp = strpbrk(buf,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:1691:11: note: place parentheses around the assignment to silence this warning 1691 | if( dp = strpbrk(buf,"\r\n") ) | ^ | ( ) maker/mkmake.c:1691:11: note: use '==' to turn this assignment into an equality comparison 1691 | if( dp = strpbrk(buf,"\r\n") ) | ^ | == maker/mkmake.c:1700:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1700 | if( sfp = fopen(substlist,"w") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:1700:11: note: place parentheses around the assignment to silence this warning 1700 | if( sfp = fopen(substlist,"w") ){ | ^ | ( ) maker/mkmake.c:1700:11: note: use '==' to turn this assignment into an equality comparison 1700 | if( sfp = fopen(substlist,"w") ){ | ^ | == maker/mkmake.c:1730:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1730 | fprintf(stderr,fmt); | ^~~ maker/mkmake.c:1730:17: note: treat the string as an argument to avoid this 1730 | fprintf(stderr,fmt); | ^ | "%s", maker/mkmake.c:1805:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1805 | if( rcode = (*func)(file,fv,fcp) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:1805:13: note: place parentheses around the assignment to silence this warning 1805 | if( rcode = (*func)(file,fv,fcp) ) | ^ | ( ) maker/mkmake.c:1805:13: note: use '==' to turn this assignment into an equality comparison 1805 | if( rcode = (*func)(file,fv,fcp) ) | ^ | == maker/mkmake.c:2153:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2153 | if( fp = fopen(HOSTNAME_FILE,"r") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:2153:10: note: place parentheses around the assignment to silence this warning 2153 | if( fp = fopen(HOSTNAME_FILE,"r") ){ | ^ | ( ) maker/mkmake.c:2153:10: note: use '==' to turn this assignment into an equality comparison 2153 | if( fp = fopen(HOSTNAME_FILE,"r") ){ | ^ | == maker/mkmake.c:2161:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2161 | if( fp = popen(HOSTNAME_COM,"r") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:2161:10: note: place parentheses around the assignment to silence this warning 2161 | if( fp = popen(HOSTNAME_COM,"r") ){ | ^ | ( ) maker/mkmake.c:2161:10: note: use '==' to turn this assignment into an equality comparison 2161 | 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] 57 | 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] 99 | if( fp = fopen(file,"r") ){ | ~~~^~~~~~~~~~~~~~~~~ maker/../rary/cksum.c:99:9: note: place parentheses around the assignment to silence this warning 99 | if( fp = fopen(file,"r") ){ | ^ | ( ) maker/../rary/cksum.c:99:9: note: use '==' to turn this assignment into an equality comparison 99 | if( fp = fopen(file,"r") ){ | ^ | == maker/../rary/cksum.c:107:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 107 | if( sum = fopen(sumfile,"w") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~ maker/../rary/cksum.c:107:11: note: place parentheses around the assignment to silence this warning 107 | if( sum = fopen(sumfile,"w") ){ | ^ | ( ) maker/../rary/cksum.c:107:11: note: use '==' to turn this assignment into an equality comparison 107 | if( sum = fopen(sumfile,"w") ){ | ^ | == maker/../rary/cksum.c:128:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 128 | for( ci = 0; ch = line[ci]; ci++ ){ | ~~~^~~~~~~~~~ maker/../rary/cksum.c:128:20: note: place parentheses around the assignment to silence this warning 128 | for( ci = 0; ch = line[ci]; ci++ ){ | ^ | ( ) maker/../rary/cksum.c:128:20: note: use '==' to turn this assignment into an equality comparison 128 | 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] 193 | if( fp = fopen(file,"r") ){ | ~~~^~~~~~~~~~~~~~~~~ maker/../rary/cksum.c:193:12: note: place parentheses around the assignment to silence this warning 193 | if( fp = fopen(file,"r") ){ | ^ | ( ) maker/../rary/cksum.c:193:12: note: use '==' to turn this assignment into an equality comparison 193 | if( fp = fopen(file,"r") ){ | ^ | == maker/../rary/cksum.c:249:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 249 | if( fp = fopen(av[ai],"r") ){ | ~~~^~~~~~~~~~~~~~~~~~~ maker/../rary/cksum.c:249:11: note: place parentheses around the assignment to silence this warning 249 | if( fp = fopen(av[ai],"r") ){ | ^ | ( ) maker/../rary/cksum.c:249:11: note: use '==' to turn this assignment into an equality comparison 249 | 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] 251 | if( dp = strpbrk(line,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ maker/../rary/cksum.c:251:13: note: place parentheses around the assignment to silence this warning 251 | if( dp = strpbrk(line,"\r\n") ) | ^ | ( ) maker/../rary/cksum.c:251:13: note: use '==' to turn this assignment into an equality comparison 251 | if( dp = strpbrk(line,"\r\n") ) | ^ | == 36 warnings generated. ld: warning: search path '../lib' not found 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: /var/tmp/work/net/delegate/work/delegate9.9.1/src searching DELEGATE_CONF ... /var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe +r -lnconf DELEGATE_CONF #### looking for ../DELEGATE_CONF symlink ..//DELEGATE_CONF DELEGATE_CONF echo "GOT by MKMAKE=/var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe" > CONF_IS_GOT creating Makefile.tst ... "/var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe" -mkmake "/opt/pkg/bin/bmake" Makefile.tst "clang" "if(UNIX,OS2EMX) -O2" "if(UNIX,OS2EMX) -x c++ -DQS" "-s -Zbin-files -Zbsd-signals -L../lib" "ar ts" "-lnsl -lsocket -ldl -lutil -lpthread -lunalign WS2_32.LIB ADVAPI32.LIB OLE32.LIB SHELL32.LIB UUID.LIB USER32.LIB -MT -lpam -lstdc++" NETLIB "" "../../SSL/libcrypto.a ../../SSL/libssl.a -lcrypto -lssl ../../SSL/LIBEAY32.LIB ../../SSL/SSLEAY32.LIB" SSLLIB av[4] 'if(UNIX,OS2EMX) -O2' ==> '-O2' av[5] 'if(UNIX,OS2EMX) -x c++ -DQS' ==> '-x c++ -DQS' mkmake: _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 1 error generated. clang: error: no such file or directory: '_.o' [clang -c -O2 -x c++ -DQS] NONC99 = 3 #### [/var/tmp/work/net/delegate/work/delegate9.9.1/src] creating Makefile.tst cpyfile Makefile[1-0][0-f023b6] > Makefile.tst #ifdef UNIX ####################################################### #ifdef UNIX,OS2EMX ################################################ [SET] MKMAKE=/var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe [SET] RANLIB=/usr/bin/ranlib - checking availability of -lnsl [] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of -lsocket [] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of -ldl [] cpyfile DELEGATE_CONF[1-0][0-0] > _make - checking availability of -lutil [-ldl] cpyfile DELEGATE_CONF[1-0][0-0] > _make - checking availability of -lpthread [-ldl -lutil] cpyfile DELEGATE_CONF[1-0][0-0] > _make - checking availability of -lunalign [-ldl -lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of WS2_32.LIB [-ldl -lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of ADVAPI32.LIB [-ldl -lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of OLE32.LIB [-ldl -lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of SHELL32.LIB [-ldl -lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of UUID.LIB [-ldl -lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of USER32.LIB [-ldl -lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of -MT [-ldl -lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of -lpam [-ldl -lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make - checking availability of -lstdc++ [-ldl -lutil -lpthread -lpam] cpyfile DELEGATE_CONF[1-0][0-0] > _make [SET] NETLIB=-ldl -lutil -lpthread -lpam -lstdc++ - checking availability of ../../SSL/libcrypto.a [] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of ../../SSL/libssl.a [] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of -lcrypto [] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of -lssl [] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of ../../SSL/LIBEAY32.LIB [] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of ../../SSL/SSLEAY32.LIB [] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) [SET] SSLLIB= cpyfile DELEGATE_CONF[1-0][0-0] > Makefile.tst cpyfile Makefile[0-0][f02468-0] > Makefile.tst #ifdef UNIX ####################################################### #ifdef UNIX,OS2EMX ################################################ "/var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe" -makeit "/opt/pkg/bin/bmake" -f Makefile.tst check_conf SHELL="/opt/pkg/bin/mksh" /var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe +r -ckconf Makefile.chk Makefile.tst DELEGATE_CONF "ar" "root@localhost" "" ckconf: ADMIN = 'root@localhost' /var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe -cksum Makefile mkmkmk.c sample.shio version.c editconf.c admin.c notify.c shutter.c abort.c form2conf.c process.c vaddr.c conf.c ddi.c textconv.c auth.h syslog.c log.c svstat.c iotimeout.c misc.c msg.c yshell.c shio.c db.c hostlist.h hostlist.c cond.c script.c param.h param.c env.c delegated.c svport.c remote.c commands.c croncom.c delegate.c service.h service.c svconf.c filter.h filter.c master.c caps.c stls.c tsp.c sudo.c gacl.c access.c ident.c dgauth.c dgsign.c ccache.c cache.c distrib.c bcounter.c ipno.c inets.c uns.c rident.c utmpident.c inetd.c thruwayd.c dget.c urlfind.c mount.c url.c gopher.c icp.c icap.c http.c httpx.c httplog.c httphead.c httpd.c cgi.c ssi.c htaccept.c htccx.c htswitch.c htmlgen.c nntp.c nntplist.c nntpgw.c enews.c pop.c smtp.c telnet.c ftp.c xferlog.c X.c wais.c whois.c imap.c ldap.c smtpgate.c alias.c domain.c lpr.c sftp.c socks.c socks4.c sox.c cuseeme.c coupler.c vsap.c tcprelay.c udprelay.c ftpgw.c filetype.c embed.c builtin.c dtot.c smtp_lib.c inets_lib.c "/var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe" -mkmake "/opt/pkg/bin/bmake" Makefile.go "clang" "if(UNIX,OS2EMX) -O2" "if(UNIX,OS2EMX) -x c++ -DQS" "-s -Zbin-files -Zbsd-signals -L../lib" "ar ts" "-lnsl -lsocket -ldl -lutil -lpthread -lunalign WS2_32.LIB ADVAPI32.LIB OLE32.LIB SHELL32.LIB UUID.LIB USER32.LIB -MT -lpam -lstdc++" NETLIB "TELEPORT=../teleport FSX=../fsx RESOLVY=../resolvy RARY=../rary MIMEKIT=../mimekit CFI=../filters MD5=../pds/md5 SUBST=../maker" "../../SSL/libcrypto.a ../../SSL/libssl.a -lcrypto -lssl ../../SSL/LIBEAY32.LIB ../../SSL/SSLEAY32.LIB" SSLLIB av[4] 'if(UNIX,OS2EMX) -O2' ==> '-O2' av[5] 'if(UNIX,OS2EMX) -x c++ -DQS' ==> '-x c++ -DQS' mkmake: _.c:2:1: error: a type specifier is required for all declarations 2 | 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 #### [/var/tmp/work/net/delegate/work/delegate9.9.1/src] creating Makefile.go cpyfile Makefile[1-0][0-5823b6] > Makefile.go #ifdef UNIX ####################################################### #ifdef UNIX,OS2EMX ################################################ [SET] MKMAKE=/var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe [SET] RANLIB=/usr/bin/ranlib - checking availability of -lnsl [] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of -lsocket [] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of -ldl [] cpyfile DELEGATE_CONF[1-0][0-0] > _make - checking availability of -lutil [-ldl] cpyfile DELEGATE_CONF[1-0][0-0] > _make - checking availability of -lpthread [-ldl -lutil] cpyfile DELEGATE_CONF[1-0][0-0] > _make - checking availability of -lunalign [-ldl -lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of WS2_32.LIB [-ldl -lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of ADVAPI32.LIB [-ldl -lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of OLE32.LIB [-ldl -lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of SHELL32.LIB [-ldl -lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of UUID.LIB [-ldl -lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of USER32.LIB [-ldl -lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of -MT [-ldl -lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of -lpam [-ldl -lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make - checking availability of -lstdc++ [-ldl -lutil -lpthread -lpam] cpyfile DELEGATE_CONF[1-0][0-0] > _make [SET] NETLIB=-ldl -lutil -lpthread -lpam -lstdc++ - checking availability of ../../SSL/libcrypto.a [] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of ../../SSL/libssl.a [] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of -lcrypto [] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of -lssl [] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of ../../SSL/LIBEAY32.LIB [] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of ../../SSL/SSLEAY32.LIB [] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) [SET] SSLLIB= cpyfile DELEGATE_CONF[1-0][0-0] > Makefile.go cpyfile Makefile[0-0][582468-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] 126 | 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] 126 | 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] 130 | 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] 130 | 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] 157 | if( nlen = strheq(lp,"MStr(") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~ ../include/mkcpp.c:157:13: note: place parentheses around the assignment to silence this warning 157 | if( nlen = strheq(lp,"MStr(") ){ | ^ | ( ) ../include/mkcpp.c:157:13: note: use '==' to turn this assignment into an equality comparison 157 | if( nlen = strheq(lp,"MStr(") ){ | ^ | == ../include/mkcpp.c:167:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 167 | if( nlen = strheq(lp,"sprintf(") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ../include/mkcpp.c:167:13: note: place parentheses around the assignment to silence this warning 167 | if( nlen = strheq(lp,"sprintf(") ){ | ^ | ( ) ../include/mkcpp.c:167:13: note: use '==' to turn this assignment into an equality comparison 167 | if( nlen = strheq(lp,"sprintf(") ){ | ^ | == ../include/mkcpp.c:172:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 172 | if( nlen = strheq(lp,"Rsprintf(") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../include/mkcpp.c:172:13: note: place parentheses around the assignment to silence this warning 172 | if( nlen = strheq(lp,"Rsprintf(") ){ | ^ | ( ) ../include/mkcpp.c:172:13: note: use '==' to turn this assignment into an equality comparison 172 | if( nlen = strheq(lp,"Rsprintf(") ){ | ^ | == ../include/mkcpp.c:201:17: warning: '/*' within block comment [-Wcomment] 201 | /* making gen/*.h (depending mkcpp) later than mkcpp */ | ^ 8 warnings generated. ../mkcpp ../include/dglib.h ../gen/dglib.h -- mkcpp set time: 1791324452 -> 1232172294 ../gen/dglib.h ../mkcpp ../include/delegate.h ../gen/delegate.h -- mkcpp set time: 1791324452 -> 1226747610 ../gen/delegate.h ../mkcpp ../include/htswitch.h ../gen/htswitch.h -- mkcpp set time: 1791324452 -> 1101989013 ../gen/htswitch.h ../mkcpp ../include/vaddr.h ../gen/vaddr.h -- mkcpp set time: 1791324452 -> 1224060893 ../gen/vaddr.h ../mkcpp ../include/http.h ../gen/http.h -- mkcpp set time: 1791324452 -> 1228599839 ../gen/http.h ../mkcpp ../include/url.h ../gen/url.h -- mkcpp set time: 1791324452 -> 1101966026 ../gen/url.h ../mkcpp ../include/mime.h ../gen/mime.h -- mkcpp set time: 1791324452 -> 1231816678 ../gen/mime.h ../mkcpp ../include/htadmin.h ../gen/htadmin.h -- mkcpp set time: 1791324452 -> 1201943740 ../gen/htadmin.h /var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe -makeat ../lib/libteleport.a ../teleport libteleport.a "/opt/pkg/bin/bmake" libx MAKE="/opt/pkg/bin/bmake" SHELL="/opt/pkg/bin/mksh" CC="clang" CFLAGS="-O2 -x c++ -DQS -DNONC99" HDRDIR="-I../gen -I../include -Wno-narrowing -pipe -Os" RANLIB="/usr/bin/ranlib" LDFLAGS=" -L../lib" LIBDIR="-L../lib" NETLIB="-ldl -lutil -lpthread -lpam -lstdc++" AR="ar" TAR="tar" [clang -c -O2 -x c++ -DQS -DNONC99 ] NONC99 = 2 ####### -makeat: /var/tmp/work/net/delegate/work/delegate9.9.1/teleport /var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe -cksum README Makefile teleport.h teleportd.c vehicle.c qzcode.c qz.c /var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe -mkmake "/opt/pkg/bin/bmake" Makefile.go "clang" "-O2 -x c++ -DQS -DNONC99 -Dm64" "" "-L../lib" "/usr/bin/ranlib" "-ldl -lutil -lpthread -lpam -lstdc++" NETLIB mkmake: [clang -c -O2 -x c++ -DQS -DNONC99 -Dm64 ] NONC99 = 2 #### [/var/tmp/work/net/delegate/work/delegate9.9.1/teleport] creating Makefile.go cpyfile Makefile[1-0][0-29023b6] > Makefile.go #ifdef UNIX,OS2EMX ################################################ [SET] MKMAKE=/var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe [SET] RANLIB=/usr/bin/ranlib - checking availability of -ldl [] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lutil [-ldl] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lpthread [-ldl -lutil] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lpam [-ldl -lutil -lpthread] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lstdc++ [-ldl -lutil -lpthread -lpam] cpyfile: cannot read 'DELEGATE_CONF' [SET] NETLIB=-ldl -lutil -lpthread -lpam -lstdc++ cpyfile: cannot read 'DELEGATE_CONF' cpyfile Makefile[0-0][2902468-0] > Makefile.go #ifdef UNIX,OS2EMX ################################################ /opt/pkg/bin/bmake -f Makefile.go libteleport.a SHELL="/opt/pkg/bin/mksh" HDRDIR="-I../gen -I../include -Wno-narrowing -pipe -Os" ../mkcpp teleportd.c teleportd.cc -- mkcpp set time: 1791324453 -> 1224300395 teleportd.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../gen -I../include -Wno-narrowing -pipe -Os -c teleportd.cc teleportd.cc:442:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 442 | for( pp = msg; ch = *pp; pp++ ){ | ~~~^~~~~ teleportd.cc:442:22: note: place parentheses around the assignment to silence this warning 442 | for( pp = msg; ch = *pp; pp++ ){ | ^ | ( ) teleportd.cc:442:22: note: use '==' to turn this assignment into an equality comparison 442 | for( pp = msg; ch = *pp; pp++ ){ | ^ | == teleportd.cc:722:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 722 | if( dp = strrchr(arg,'/') ) | ~~~^~~~~~~~~~~~~~~~~~ teleportd.cc:722:10: note: place parentheses around the assignment to silence this warning 722 | if( dp = strrchr(arg,'/') ) | ^ | ( ) teleportd.cc:722:10: note: use '==' to turn this assignment into an equality comparison 722 | if( dp = strrchr(arg,'/') ) | ^ | == 2 warnings generated. ../mkcpp vehicle.c vehicle.cc -- mkcpp set time: 1791324454 -> 1139394336 vehicle.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../gen -I../include -Wno-narrowing -pipe -Os -c vehicle.cc vehicle.cc:169:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 169 | register int pid; | ^~~~~~~~ vehicle.cc:377:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 377 | if( pp = strchr(ap->a_path,'!') ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ vehicle.cc:377:11: note: place parentheses around the assignment to silence this warning 377 | if( pp = strchr(ap->a_path,'!') ) | ^ | ( ) vehicle.cc:377:11: note: use '==' to turn this assignment into an equality comparison 377 | if( pp = strchr(ap->a_path,'!') ) | ^ | == vehicle.cc:341:3: warning: expression result unused [-Wunused-value] 341 | *path++; | ^~~~~~~ vehicle.cc:346:3: warning: expression result unused [-Wunused-value] 346 | *path++; | ^~~~~~~ vehicle.cc:565:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 565 | if( np = strpbrk(msghead,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ vehicle.cc:565:9: note: place parentheses around the assignment to silence this warning 565 | if( np = strpbrk(msghead,"\r\n") ) | ^ | ( ) vehicle.cc:565:9: note: use '==' to turn this assignment into an equality comparison 565 | if( np = strpbrk(msghead,"\r\n") ) | ^ | == vehicle.cc:567:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 567 | for( np = msghead; ch = *np; np++ ) | ~~~^~~~~ vehicle.cc:567:24: note: place parentheses around the assignment to silence this warning 567 | for( np = msghead; ch = *np; np++ ) | ^ | ( ) vehicle.cc:567:24: note: use '==' to turn this assignment into an equality comparison 567 | for( np = msghead; ch = *np; np++ ) | ^ | == vehicle.cc:583:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 583 | register int pid; | ^~~~~~~~ 7 warnings generated. ../mkcpp qzcode.c qzcode.cc -- mkcpp set time: 1791324454 -> 1109634287 qzcode.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../gen -I../include -Wno-narrowing -pipe -Os -c qzcode.cc qzcode.cc:144:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 144 | for( cj = 0; ch = QZM[cj]; cj++ ) | ~~~^~~~~~~~~ qzcode.cc:144:20: note: place parentheses around the assignment to silence this warning 144 | for( cj = 0; ch = QZM[cj]; cj++ ) | ^ | ( ) qzcode.cc:144:20: note: use '==' to turn this assignment into an equality comparison 144 | for( cj = 0; ch = QZM[cj]; cj++ ) | ^ | == qzcode.cc:150:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 150 | for( cj = 0; ch = QZM[cj]; cj++ ) | ~~~^~~~~~~~~ qzcode.cc:150:18: note: place parentheses around the assignment to silence this warning 150 | for( cj = 0; ch = QZM[cj]; cj++ ) | ^ | ( ) qzcode.cc:150:18: note: use '==' to turn this assignment into an equality comparison 150 | for( cj = 0; ch = QZM[cj]; cj++ ) | ^ | == qzcode.cc:178:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 178 | for( ci = 0; ch = QZM[ci]; ci++ ) | ~~~^~~~~~~~~ qzcode.cc:178:18: note: place parentheses around the assignment to silence this warning 178 | for( ci = 0; ch = QZM[ci]; ci++ ) | ^ | ( ) qzcode.cc:178:18: note: use '==' to turn this assignment into an equality comparison 178 | for( ci = 0; ch = QZM[ci]; ci++ ) | ^ | == 3 warnings generated. libteleport.a bmake[4]: exec(libteleport.a) failed (No such file or directory) *** Error code 1 (ignored) ar cr libteleport.a teleportd.o vehicle.o qzcode.o /usr/bin/ranlib libteleport.a **[0] move ../teleport/libteleport.a to ../lib/libteleport.a /var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe -makeat ../lib/libresolvy.a ../resolvy libresolvy.a "/opt/pkg/bin/bmake" libx MAKE="/opt/pkg/bin/bmake" SHELL="/opt/pkg/bin/mksh" CC="clang" CFLAGS="-O2 -x c++ -DQS -DNONC99" HDRDIR="-I../gen -I../include -Wno-narrowing -pipe -Os" RANLIB="/usr/bin/ranlib" LDFLAGS=" -L../lib" LIBDIR="-L../lib" NETLIB="-ldl -lutil -lpthread -lpam -lstdc++" AR="ar" TAR="tar" [clang -c -O2 -x c++ -DQS -DNONC99 ] NONC99 = 2 ####### -makeat: /var/tmp/work/net/delegate/work/delegate9.9.1/resolvy /var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe -cksum Makefile ccres dns.h dnsnode.c resolv.c reshost.c rescache.c hostent.c resconf.c resmain.c ntod.c netdom.sample /var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe -mkmake "/opt/pkg/bin/bmake" Makefile.go "clang" "-O2 -x c++ -DQS -DNONC99 -Dm64" "" "-L../lib" "/usr/bin/ranlib" "-ldl -lutil -lpthread -lpam -lstdc++" NETLIB mkmake: [clang -c -O2 -x c++ -DQS -DNONC99 -Dm64 ] NONC99 = 2 #### [/var/tmp/work/net/delegate/work/delegate9.9.1/resolvy] creating Makefile.go cpyfile Makefile[1-0][0-2c4e3b6] > Makefile.go #ifdef UNIX,OS2EMX ################################################ #ifdef UNIX ####################################################### [SET] MKMAKE=/var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe [SET] RANLIB=/usr/bin/ranlib - checking availability of -ldl [] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lutil [-ldl] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lpthread [-ldl -lutil] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lpam [-ldl -lutil -lpthread] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lstdc++ [-ldl -lutil -lpthread -lpam] cpyfile: cannot read 'DELEGATE_CONF' [SET] NETLIB=-ldl -lutil -lpthread -lpam -lstdc++ cpyfile: cannot read 'DELEGATE_CONF' cpyfile Makefile[0-0][2c4e468-0] > Makefile.go #ifdef UNIX,OS2EMX ################################################ #ifdef UNIX ####################################################### /opt/pkg/bin/bmake -f Makefile.go libresolvy.a XOBJS="" MKMAKE=/var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe SHELL="/opt/pkg/bin/mksh" HDRDIR="-I../gen -I../include -Wno-narrowing -pipe -Os" 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: 1791324456 -> 1197605744 dnsnode.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c dnsnode.cc dnsnode.cc:162:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 162 | while( oct = *np ){ | ~~~~^~~~~ dnsnode.cc:162:14: note: place parentheses around the assignment to silence this warning 162 | while( oct = *np ){ | ^ | ( ) dnsnode.cc:162:14: note: use '==' to turn this assignment into an equality comparison 162 | while( oct = *np ){ | ^ | == dnsnode.cc:270:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 270 | if( Pp = Np->n_parent ) | ~~~^~~~~~~~~~~~~~ dnsnode.cc:270:9: note: place parentheses around the assignment to silence this warning 270 | if( Pp = Np->n_parent ) | ^ | ( ) dnsnode.cc:270:9: note: use '==' to turn this assignment into an equality comparison 270 | if( Pp = Np->n_parent ) | ^ | == 2 warnings generated. ../mkcpp resolv.c resolv.cc -- mkcpp set time: 1791324457 -> 1791324442 resolv.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c resolv.cc resolv.cc:264:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 264 | while( len = *sp++ ){ | ~~~~^~~~~~~ resolv.cc:264:13: note: place parentheses around the assignment to silence this warning 264 | while( len = *sp++ ){ | ^ | ( ) resolv.cc:264:13: note: use '==' to turn this assignment into an equality comparison 264 | while( len = *sp++ ){ | ^ | == resolv.cc:732:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 732 | 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 732 | 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 732 | 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] 802 | if( nqd = hp->qdcount ){ | ~~~~^~~~~~~~~~~~~ resolv.cc:802:10: note: place parentheses around the assignment to silence this warning 802 | if( nqd = hp->qdcount ){ | ^ | ( ) resolv.cc:802:10: note: use '==' to turn this assignment into an equality comparison 802 | if( nqd = hp->qdcount ){ | ^ | == resolv.cc:1001:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1001 | if( nhit = lookupCache(nid,qtype,0,rrc,rrv) ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resolv.cc:1001:11: note: place parentheses around the assignment to silence this warning 1001 | if( nhit = lookupCache(nid,qtype,0,rrc,rrv) ) | ^ | ( ) resolv.cc:1001:11: note: use '==' to turn this assignment into an equality comparison 1001 | 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] 1084 | if( nhit = lookupCache(nid,qtype,0,rrc,rrv) ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resolv.cc:1084:12: note: place parentheses around the assignment to silence this warning 1084 | if( nhit = lookupCache(nid,qtype,0,rrc,rrv) ) | ^ | ( ) resolv.cc:1084:12: note: use '==' to turn this assignment into an equality comparison 1084 | 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] 1281 | if( nhit = lookupCache(nid,qtype,0,rrc,rrv) ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resolv.cc:1281:14: note: place parentheses around the assignment to silence this warning 1281 | if( nhit = lookupCache(nid,qtype,0,rrc,rrv) ) | ^ | ( ) resolv.cc:1281:14: note: use '==' to turn this assignment into an equality comparison 1281 | 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] 1497 | if( dp = strcasestr(name,DNS_DOMAIN) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resolv.cc:1497:9: note: place parentheses around the assignment to silence this warning 1497 | if( dp = strcasestr(name,DNS_DOMAIN) ) | ^ | ( ) resolv.cc:1497:9: note: use '==' to turn this assignment into an equality comparison 1497 | if( dp = strcasestr(name,DNS_DOMAIN) ) | ^ | == resolv.cc:1721:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1721 | if( nid = DNS_getbyname(name) ) | ~~~~^~~~~~~~~~~~~~~~~~~~~ resolv.cc:1721:10: note: place parentheses around the assignment to silence this warning 1721 | if( nid = DNS_getbyname(name) ) | ^ | ( ) resolv.cc:1721:10: note: use '==' to turn this assignment into an equality comparison 1721 | if( nid = DNS_getbyname(name) ) | ^ | == resolv.cc:1722:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1722 | if( ac = DNS_getattr(nid,typemask(qtype),0,8,av) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resolv.cc:1722:9: note: place parentheses around the assignment to silence this warning 1722 | if( ac = DNS_getattr(nid,typemask(qtype),0,8,av) ) | ^ | ( ) resolv.cc:1722:9: note: use '==' to turn this assignment into an equality comparison 1722 | 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] 1776 | if( dp = strchr(hp,'.') ) | ~~~^~~~~~~~~~~~~~~~ resolv.cc:1776:12: note: place parentheses around the assignment to silence this warning 1776 | if( dp = strchr(hp,'.') ) | ^ | ( ) resolv.cc:1776:12: note: use '==' to turn this assignment into an equality comparison 1776 | if( dp = strchr(hp,'.') ) | ^ | == resolv.cc:1829:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1829 | if( anc = relay_cachedRR(AVStr(rrb),rrpp,name,TY_MX) ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resolv.cc:1829:10: note: place parentheses around the assignment to silence this warning 1829 | if( anc = relay_cachedRR(AVStr(rrb),rrpp,name,TY_MX) ) | ^ | ( ) resolv.cc:1829:10: note: use '==' to turn this assignment into an equality comparison 1829 | if( anc = relay_cachedRR(AVStr(rrb),rrpp,name,TY_MX) ) | ^ | == 11 warnings generated. ../mkcpp reshost.c reshost.cc -- mkcpp set time: 1791324457 -> 1230169351 reshost.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c reshost.cc reshost.cc:127:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 127 | for( ac = 0; ap = ht->h_addr_list[ac]; ac++ ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ reshost.cc:127:19: note: place parentheses around the assignment to silence this warning 127 | for( ac = 0; ap = ht->h_addr_list[ac]; ac++ ){ | ^ | ( ) reshost.cc:127:19: note: use '==' to turn this assignment into an equality comparison 127 | 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] 149 | for( ax = 0; ap = ht->h_aliases[ax]; ax++ ){ | ~~~^~~~~~~~~~~~~~~~~~~ reshost.cc:149:19: note: place parentheses around the assignment to silence this warning 149 | for( ax = 0; ap = ht->h_aliases[ax]; ax++ ){ | ^ | ( ) reshost.cc:149:19: note: use '==' to turn this assignment into an equality comparison 149 | 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] 224 | 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 224 | 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 224 | 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] 279 | if( dnsrch = res_DNSRCH() ){ | ~~~~~~~^~~~~~~~~~~~~~ reshost.cc:279:13: note: place parentheses around the assignment to silence this warning 279 | if( dnsrch = res_DNSRCH() ){ | ^ | ( ) reshost.cc:279:13: note: use '==' to turn this assignment into an equality comparison 279 | if( dnsrch = res_DNSRCH() ){ | ^ | == reshost.cc:280:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 280 | for( si = 0; dname = dnsrch[si]; si++ ){ | ~~~~~~^~~~~~~~~~~~ reshost.cc:280:25: note: place parentheses around the assignment to silence this warning 280 | for( si = 0; dname = dnsrch[si]; si++ ){ | ^ | ( ) reshost.cc:280:25: note: use '==' to turn this assignment into an equality comparison 280 | for( si = 0; dname = dnsrch[si]; si++ ){ | ^ | == reshost.cc:288:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 288 | if( dname = res_DEFDNAME() ){ | ~~~~~~^~~~~~~~~~~~~~~~ reshost.cc:288:12: note: place parentheses around the assignment to silence this warning 288 | if( dname = res_DEFDNAME() ){ | ^ | ( ) reshost.cc:288:12: note: use '==' to turn this assignment into an equality comparison 288 | if( dname = res_DEFDNAME() ){ | ^ | == reshost.cc:384:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 384 | 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 384 | 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 384 | 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] 454 | else | ^ reshost.cc:523:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 523 | 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 523 | 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 523 | 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] 589 | else | ^ reshost.cc:597:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 597 | char *RES_AF = "46"; | ^ reshost.cc:755:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 755 | if( lp = strchr(line,'#') ){ | ~~~^~~~~~~~~~~~~~~~~~ reshost.cc:755:9: note: place parentheses around the assignment to silence this warning 755 | if( lp = strchr(line,'#') ){ | ^ | ( ) reshost.cc:755:9: note: use '==' to turn this assignment into an equality comparison 755 | if( lp = strchr(line,'#') ){ | ^ | == reshost.cc:760:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 760 | if( lp = strchr(line,'\n') ) | ~~~^~~~~~~~~~~~~~~~~~~ reshost.cc:760:9: note: place parentheses around the assignment to silence this warning 760 | if( lp = strchr(line,'\n') ) | ^ | ( ) reshost.cc:760:9: note: use '==' to turn this assignment into an equality comparison 760 | if( lp = strchr(line,'\n') ) | ^ | == reshost.cc:858:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 858 | if( cp = strpbrk(datap,"#\r\n") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ reshost.cc:858:10: note: place parentheses around the assignment to silence this warning 858 | if( cp = strpbrk(datap,"#\r\n") ){ | ^ | ( ) reshost.cc:858:10: note: use '==' to turn this assignment into an equality comparison 858 | if( cp = strpbrk(datap,"#\r\n") ){ | ^ | == reshost.cc:918:29: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 918 | 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 918 | 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 918 | 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] 955 | if( lp = strchr(lp,'\n') ) | ~~~^~~~~~~~~~~~~~~~~ reshost.cc:955:10: note: place parentheses around the assignment to silence this warning 955 | if( lp = strchr(lp,'\n') ) | ^ | ( ) reshost.cc:955:10: note: use '==' to turn this assignment into an equality comparison 955 | if( lp = strchr(lp,'\n') ) | ^ | == 16 warnings generated. ../mkcpp rescache.c rescache.cc -- mkcpp set time: 1791324457 -> 1156857049 rescache.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c rescache.cc rescache.cc:183:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 183 | if( cache = hosts_cache(byname,name,"r",AVStr(cpath)) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rescache.cc:183:12: note: place parentheses around the assignment to silence this warning 183 | if( cache = hosts_cache(byname,name,"r",AVStr(cpath)) ){ | ^ | ( ) rescache.cc:183:12: note: use '==' to turn this assignment into an equality comparison 183 | 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] 187 | if( ncache = fopen(newpath,"w") ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~ rescache.cc:187:14: note: place parentheses around the assignment to silence this warning 187 | if( ncache = fopen(newpath,"w") ){ | ^ | ( ) rescache.cc:187:14: note: use '==' to turn this assignment into an equality comparison 187 | if( ncache = fopen(newpath,"w") ){ | ^ | == rescache.cc:253:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 253 | for( ai = 0; a1 = (unsigned char *)rv[ai]; ai++ ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ rescache.cc:253:22: note: place parentheses around the assignment to silence this warning 253 | for( ai = 0; a1 = (unsigned char *)rv[ai]; ai++ ){ | ^ | ( ) rescache.cc:253:22: note: use '==' to turn this assignment into an equality comparison 253 | 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] 272 | for( ai = 0; n1 = rv[ai]; ai++ ) | ~~~^~~~~~~~ rescache.cc:272:19: note: place parentheses around the assignment to silence this warning 272 | for( ai = 0; n1 = rv[ai]; ai++ ) | ^ | ( ) rescache.cc:272:19: note: use '==' to turn this assignment into an equality comparison 272 | for( ai = 0; n1 = rv[ai]; ai++ ) | ^ | == rescache.cc:289:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 289 | for( ai = 0; n1 = rv[ai]; ai++ ){ | ~~~^~~~~~~~ rescache.cc:289:18: note: place parentheses around the assignment to silence this warning 289 | for( ai = 0; n1 = rv[ai]; ai++ ){ | ^ | ( ) rescache.cc:289:18: note: use '==' to turn this assignment into an equality comparison 289 | for( ai = 0; n1 = rv[ai]; ai++ ){ | ^ | == 5 warnings generated. ../mkcpp hostent.c hostent.cc -- mkcpp set time: 1791324458 -> 1101453262 hostent.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c hostent.cc ../mkcpp resconf.c resconf.cc -- mkcpp set time: 1791324458 -> 1791324442 resconf.cc /opt/pkg/bin/mksh ./ccres clang -c -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os resconf.cc clang -c -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os resconf.cc resconf.cc:151:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 151 | if( pushed = PushedResolvers[tix] ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ resconf.cc:151:14: note: place parentheses around the assignment to silence this warning 151 | if( pushed = PushedResolvers[tix] ){ | ^ | ( ) resconf.cc:151:14: note: use '==' to turn this assignment into an equality comparison 151 | if( pushed = PushedResolvers[tix] ){ | ^ | == resconf.cc:219:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 219 | for( si = 0; dom = _RES.dnsrch[si]; si++ ){ | ~~~~^~~~~~~~~~~~~~~~~ resconf.cc:219:19: note: place parentheses around the assignment to silence this warning 219 | for( si = 0; dom = _RES.dnsrch[si]; si++ ){ | ^ | ( ) resconf.cc:219:19: note: use '==' to turn this assignment into an equality comparison 219 | 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] 304 | if( hp = _GethostByname(myname) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ resconf.cc:304:9: note: place parentheses around the assignment to silence this warning 304 | if( hp = _GethostByname(myname) ) | ^ | ( ) resconf.cc:304:9: note: use '==' to turn this assignment into an equality comparison 304 | if( hp = _GethostByname(myname) ) | ^ | == resconf.cc:393:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 393 | if( np = strstr(nsb,"..") ){ | ~~~^~~~~~~~~~~~~~~~~~ resconf.cc:393:10: note: place parentheses around the assignment to silence this warning 393 | if( np = strstr(nsb,"..") ){ | ^ | ( ) resconf.cc:393:10: note: use '==' to turn this assignment into an equality comparison 393 | if( np = strstr(nsb,"..") ){ | ^ | == resconf.cc:440:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 440 | if( socks = strstr(ns,VIA_SOCKS) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ resconf.cc:440:12: note: place parentheses around the assignment to silence this warning 440 | if( socks = strstr(ns,VIA_SOCKS) ){ | ^ | ( ) resconf.cc:440:12: note: use '==' to turn this assignment into an equality comparison 440 | if( socks = strstr(ns,VIA_SOCKS) ){ | ^ | == resconf.cc:445:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 445 | if( cp = strpbrk(ns,"# \t") ) | ~~~^~~~~~~~~~~~~~~~~~~~ resconf.cc:445:10: note: place parentheses around the assignment to silence this warning 445 | if( cp = strpbrk(ns,"# \t") ) | ^ | ( ) resconf.cc:445:10: note: use '==' to turn this assignment into an equality comparison 445 | if( cp = strpbrk(ns,"# \t") ) | ^ | == resconf.cc:465:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 465 | if( hp = _GethostByname(ns) ) | ~~~^~~~~~~~~~~~~~~~~~~~ resconf.cc:465:9: note: place parentheses around the assignment to silence this warning 465 | if( hp = _GethostByname(ns) ) | ^ | ( ) resconf.cc:465:9: note: use '==' to turn this assignment into an equality comparison 465 | if( hp = _GethostByname(ns) ) | ^ | == resconf.cc:468:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 468 | if( hp = _GETHOSTBYNAME(ns) ) | ~~~^~~~~~~~~~~~~~~~~~~~ resconf.cc:468:9: note: place parentheses around the assignment to silence this warning 468 | if( hp = _GETHOSTBYNAME(ns) ) | ^ | ( ) resconf.cc:468:9: note: use '==' to turn this assignment into an equality comparison 468 | if( hp = _GETHOSTBYNAME(ns) ) | ^ | == resconf.cc:543:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 543 | if( addr = VSA_ntoa(&sin) ){ | ~~~~~^~~~~~~~~~~~~~~~ resconf.cc:543:13: note: place parentheses around the assignment to silence this warning 543 | if( addr = VSA_ntoa(&sin) ){ | ^ | ( ) resconf.cc:543:13: note: use '==' to turn this assignment into an equality comparison 543 | if( addr = VSA_ntoa(&sin) ){ | ^ | == resconf.cc:610:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 610 | if( dp = strpbrk(line,"#;") ) | ~~~^~~~~~~~~~~~~~~~~~~~ resconf.cc:610:13: note: place parentheses around the assignment to silence this warning 610 | if( dp = strpbrk(line,"#;") ) | ^ | ( ) resconf.cc:610:13: note: use '==' to turn this assignment into an equality comparison 610 | if( dp = strpbrk(line,"#;") ) | ^ | == resconf.cc:666:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 666 | if( domain = strchr(nameb,'/') ) | ~~~~~~~^~~~~~~~~~~~~~~~~~~ resconf.cc:666:13: note: place parentheses around the assignment to silence this warning 666 | if( domain = strchr(nameb,'/') ) | ^ | ( ) resconf.cc:666:13: note: use '==' to turn this assignment into an equality comparison 666 | if( domain = strchr(nameb,'/') ) | ^ | == resconf.cc:702:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 702 | if( sp = RES_VERIFY ){ | ~~~^~~~~~~~~~~~ resconf.cc:702:9: note: place parentheses around the assignment to silence this warning 702 | if( sp = RES_VERIFY ){ | ^ | ( ) resconf.cc:702:9: note: use '==' to turn this assignment into an equality comparison 702 | if( sp = RES_VERIFY ){ | ^ | == resconf.cc:703:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 703 | for( ; sc = *sp; sp++ ){ | ~~~^~~~~ resconf.cc:703:13: note: place parentheses around the assignment to silence this warning 703 | for( ; sc = *sp; sp++ ){ | ^ | ( ) resconf.cc:703:13: note: use '==' to turn this assignment into an equality comparison 703 | for( ; sc = *sp; sp++ ){ | ^ | == resconf.cc:794:15: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] 794 | mask[ai] = 255; | ~ ^~~ resconf.cc:858:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 858 | for( sn = 0; saddrs[sn] = addrs[sn]; sn++ ){ | ~~~~~~~~~~~^~~~~~~~~~~ resconf.cc:858:27: note: place parentheses around the assignment to silence this warning 858 | for( sn = 0; saddrs[sn] = addrs[sn]; sn++ ){ | ^ | ( ) resconf.cc:858:27: note: use '==' to turn this assignment into an equality comparison 858 | 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] 903 | for( sx = 0; cap = addrs[sx]; sx++ ){ | ~~~~^~~~~~~~~~~ resconf.cc:903:19: note: place parentheses around the assignment to silence this warning 903 | for( sx = 0; cap = addrs[sx]; sx++ ){ | ^ | ( ) resconf.cc:903:19: note: use '==' to turn this assignment into an equality comparison 903 | for( sx = 0; cap = addrs[sx]; sx++ ){ | ^ | == resconf.cc:951:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 951 | if( env = getenv("RES_DEBUG") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~ resconf.cc:951:10: note: place parentheses around the assignment to silence this warning 951 | if( env = getenv("RES_DEBUG") ) | ^ | ( ) resconf.cc:951:10: note: use '==' to turn this assignment into an equality comparison 951 | if( env = getenv("RES_DEBUG") ) | ^ | == resconf.cc:963:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 963 | if( env = getenv("RES_ORDER") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~ resconf.cc:963:10: note: place parentheses around the assignment to silence this warning 963 | if( env = getenv("RES_ORDER") ) | ^ | ( ) resconf.cc:963:10: note: use '==' to turn this assignment into an equality comparison 963 | if( env = getenv("RES_ORDER") ) | ^ | == resconf.cc:967:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 967 | 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 967 | 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 967 | 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] 972 | if( env = getenv("RES_NS") ) | ~~~~^~~~~~~~~~~~~~~~~~ resconf.cc:972:10: note: place parentheses around the assignment to silence this warning 972 | if( env = getenv("RES_NS") ) | ^ | ( ) resconf.cc:972:10: note: use '==' to turn this assignment into an equality comparison 972 | if( env = getenv("RES_NS") ) | ^ | == resconf.cc:974:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 974 | if( env = getenv("RES_VRFY") ) | ~~~~^~~~~~~~~~~~~~~~~~~~ resconf.cc:974:10: note: place parentheses around the assignment to silence this warning 974 | if( env = getenv("RES_VRFY") ) | ^ | ( ) resconf.cc:974:10: note: use '==' to turn this assignment into an equality comparison 974 | if( env = getenv("RES_VRFY") ) | ^ | == resconf.cc:985:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 985 | if( env = getenv("RES_HOSTS") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~ resconf.cc:985:10: note: place parentheses around the assignment to silence this warning 985 | if( env = getenv("RES_HOSTS") ) | ^ | ( ) resconf.cc:985:10: note: use '==' to turn this assignment into an equality comparison 985 | if( env = getenv("RES_HOSTS") ) | ^ | == resconf.cc:989:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 989 | if( hp = getmyhost() ) | ~~~^~~~~~~~~~~~~ resconf.cc:989:9: note: place parentheses around the assignment to silence this warning 989 | if( hp = getmyhost() ) | ^ | ( ) resconf.cc:989:9: note: use '==' to turn this assignment into an equality comparison 989 | if( hp = getmyhost() ) | ^ | == resconf.cc:994:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 994 | if( hp = getmyhost() ){ | ~~~^~~~~~~~~~~~~ resconf.cc:994:9: note: place parentheses around the assignment to silence this warning 994 | if( hp = getmyhost() ){ | ^ | ( ) resconf.cc:994:9: note: use '==' to turn this assignment into an equality comparison 994 | if( hp = getmyhost() ){ | ^ | == resconf.cc:1104:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1104 | if( hp = RES_gethost(arg) ){ | ~~~^~~~~~~~~~~~~~~~~~ resconf.cc:1104:11: note: place parentheses around the assignment to silence this warning 1104 | if( hp = RES_gethost(arg) ){ | ^ | ( ) resconf.cc:1104:11: note: use '==' to turn this assignment into an equality comparison 1104 | if( hp = RES_gethost(arg) ){ | ^ | == resconf.cc:1132:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1132 | if( hp = RES_gethost(addrhost) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~ resconf.cc:1132:9: note: place parentheses around the assignment to silence this warning 1132 | if( hp = RES_gethost(addrhost) ){ | ^ | ( ) resconf.cc:1132:9: note: use '==' to turn this assignment into an equality comparison 1132 | 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 /var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe -makeat ../lib/libmimekit.a ../mimekit libmimekit.a "/opt/pkg/bin/bmake" libx MAKE="/opt/pkg/bin/bmake" SHELL="/opt/pkg/bin/mksh" CC="clang" CFLAGS="-O2 -x c++ -DQS -DNONC99" HDRDIR="-I../gen -I../include -Wno-narrowing -pipe -Os" RANLIB="/usr/bin/ranlib" LDFLAGS=" -L../lib" LIBDIR="-L../lib" NETLIB="-ldl -lutil -lpthread -lpam -lstdc++" AR="ar" TAR="tar" [clang -c -O2 -x c++ -DQS -DNONC99 ] NONC99 = 2 ####### -makeat: /var/tmp/work/net/delegate/work/delegate9.9.1/mimekit /var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe -cksum README README-LIB README-PGP CHANGES ISO2022JP Makefile mkranlib.sh sample mimecodes.c mime.c pgp.c rfc822.c mimehead.c mimeh_ovw.c mimeconv.c mimemain.c noxlib.c gendom.c str_codes.c /var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe -mkmake "/opt/pkg/bin/bmake" Makefile.go "clang" "-O2 -x c++ -DQS -DNONC99 -Dm64" "" "-L../lib" "/usr/bin/ranlib" "-ldl -lutil -lpthread -lpam -lstdc++" NETLIB mkmake: [clang -c -O2 -x c++ -DQS -DNONC99 -Dm64 ] NONC99 = 2 #### [/var/tmp/work/net/delegate/work/delegate9.9.1/mimekit] creating Makefile.go cpyfile Makefile[1-0][0-20423b6] > Makefile.go #ifdef UNIX ####################################################### #ifdef UNIX,OS2EMX ################################################ [SET] MKMAKE=/var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe [SET] RANLIB=/usr/bin/ranlib - checking availability of -ldl [] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lutil [-ldl] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lpthread [-ldl -lutil] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lpam [-ldl -lutil -lpthread] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lstdc++ [-ldl -lutil -lpthread -lpam] cpyfile: cannot read 'DELEGATE_CONF' [SET] NETLIB=-ldl -lutil -lpthread -lpam -lstdc++ cpyfile: cannot read 'DELEGATE_CONF' cpyfile Makefile[0-0][2042468-0] > Makefile.go #ifdef UNIX ####################################################### #ifdef UNIX,OS2EMX ################################################ /opt/pkg/bin/bmake -f Makefile.go libmimekit.a XOBJS="" MKMAKE=/var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe SHELL="/opt/pkg/bin/mksh" HDRDIR="-I../gen -I../include -Wno-narrowing -pipe -Os" RANLIB="/usr/bin/ranlib" ../mkcpp mimeconv.c mimeconv.cc -- mkcpp set time: 1791324460 -> 1166641533 mimeconv.cc rm -f mimeconv.o clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -I. mimeconv.cc -c -DMIMEKIT ../mkcpp mimecodes.c mimecodes.cc -- mkcpp set time: 1791324460 -> 1231812842 mimecodes.cc rm -f mimecodes.o clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -I. mimecodes.cc -c -DMIMEKIT mimecodes.cc:67:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 67 | while( ch = *qpchars++ ) | ~~~^~~~~~~~~~~~ mimecodes.cc:67:12: note: place parentheses around the assignment to silence this warning 67 | while( ch = *qpchars++ ) | ^ | ( ) mimecodes.cc:67:12: note: use '==' to turn this assignment into an equality comparison 67 | while( ch = *qpchars++ ) | ^ | == 1 warning generated. ../mkcpp mime.c mime.cc -- mkcpp set time: 1791324460 -> 1231815955 mime.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -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] 120 | for( ci = 0; ctype1 = textorso[ci]; ci++ ) | ~~~~~~~^~~~~~~~~~~~~~ mime.cc:120:22: note: place parentheses around the assignment to silence this warning 120 | for( ci = 0; ctype1 = textorso[ci]; ci++ ) | ^ | ( ) mime.cc:120:22: note: use '==' to turn this assignment into an equality comparison 120 | for( ci = 0; ctype1 = textorso[ci]; ci++ ) | ^ | == mime.cc:334:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 334 | if( dp = strchr(MIME_transAddrSpec,':') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mime.cc:334:11: note: place parentheses around the assignment to silence this warning 334 | if( dp = strchr(MIME_transAddrSpec,':') ){ | ^ | ( ) mime.cc:334:11: note: use '==' to turn this assignment into an equality comparison 334 | if( dp = strchr(MIME_transAddrSpec,':') ){ | ^ | == mime.cc:436:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 436 | if( bp = strcasestr(hp,"boundary=") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ mime.cc:436:9: note: place parentheses around the assignment to silence this warning 436 | if( bp = strcasestr(hp,"boundary=") ){ | ^ | ( ) mime.cc:436:9: note: use '==' to turn this assignment into an equality comparison 436 | if( bp = strcasestr(hp,"boundary=") ){ | ^ | == mime.cc:465:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 465 | for( bi = 0; b1 = boundaries[bi]; bi++ ){ | ~~~^~~~~~~~~~~~~~~~ mime.cc:465:19: note: place parentheses around the assignment to silence this warning 465 | for( bi = 0; b1 = boundaries[bi]; bi++ ){ | ^ | ( ) mime.cc:465:19: note: use '==' to turn this assignment into an equality comparison 465 | for( bi = 0; b1 = boundaries[bi]; bi++ ){ | ^ | == mime.cc:471:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 471 | if( tp = strheadstrX(line+2,b1,0) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ mime.cc:471:11: note: place parentheses around the assignment to silence this warning 471 | if( tp = strheadstrX(line+2,b1,0) ){ | ^ | ( ) mime.cc:471:11: note: use '==' to turn this assignment into an equality comparison 471 | if( tp = strheadstrX(line+2,b1,0) ){ | ^ | == mime.cc:490:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 490 | if( sw = strstr(text,"\033$") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ mime.cc:490:9: note: place parentheses around the assignment to silence this warning 490 | if( sw = strstr(text,"\033$") ) | ^ | ( ) mime.cc:490:9: note: use '==' to turn this assignment into an equality comparison 490 | if( sw = strstr(text,"\033$") ) | ^ | == mime.cc:493:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 493 | if( sw = strstr(text,"\033(") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ mime.cc:493:9: note: place parentheses around the assignment to silence this warning 493 | if( sw = strstr(text,"\033(") ) | ^ | ( ) mime.cc:493:9: note: use '==' to turn this assignment into an equality comparison 493 | if( sw = strstr(text,"\033(") ) | ^ | == mime.cc:575:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 575 | if( dp = strchr(ctype,';') ) | ~~~^~~~~~~~~~~~~~~~~~~ mime.cc:575:10: note: place parentheses around the assignment to silence this warning 575 | if( dp = strchr(ctype,';') ) | ^ | ( ) mime.cc:575:10: note: use '==' to turn this assignment into an equality comparison 575 | if( dp = strchr(ctype,';') ) | ^ | == mime.cc:611:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 611 | if( got_EOR = isEOR(hp) ){ | ~~~~~~~~^~~~~~~~~~~ mime.cc:611:15: note: place parentheses around the assignment to silence this warning 611 | if( got_EOR = isEOR(hp) ){ | ^ | ( ) mime.cc:611:15: note: use '==' to turn this assignment into an equality comparison 611 | if( got_EOR = isEOR(hp) ){ | ^ | == mime.cc:667:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 667 | for(hs = buf; hc = *hs; hs++ ){ | ~~~^~~~~ mime.cc:667:20: note: place parentheses around the assignment to silence this warning 667 | for(hs = buf; hc = *hs; hs++ ){ | ^ | ( ) mime.cc:667:20: note: use '==' to turn this assignment into an equality comparison 667 | for(hs = buf; hc = *hs; hs++ ){ | ^ | == mime.cc:739:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 739 | if( rcode = pop_boundary(boundaries,line) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mime.cc:739:13: note: place parentheses around the assignment to silence this warning 739 | if( rcode = pop_boundary(boundaries,line) ) | ^ | ( ) mime.cc:739:13: note: use '==' to turn this assignment into an equality comparison 739 | if( rcode = pop_boundary(boundaries,line) ) | ^ | == mime.cc:827:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 827 | if( rcode = pop_boundary(boundaries,bp) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mime.cc:827:13: note: place parentheses around the assignment to silence this warning 827 | if( rcode = pop_boundary(boundaries,bp) ){ | ^ | ( ) mime.cc:827:13: note: use '==' to turn this assignment into an equality comparison 827 | if( rcode = pop_boundary(boundaries,bp) ){ | ^ | == mime.cc:854:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 854 | if( rcode = pop_boundary(boundaries,line) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mime.cc:854:13: note: place parentheses around the assignment to silence this warning 854 | if( rcode = pop_boundary(boundaries,line) ) | ^ | ( ) mime.cc:854:13: note: use '==' to turn this assignment into an equality comparison 854 | if( rcode = pop_boundary(boundaries,line) ) | ^ | == mime.cc:893:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 893 | if( m17n = Mcv->c_m17n ){ | ~~~~~^~~~~~~~~~~~~ mime.cc:893:12: note: place parentheses around the assignment to silence this warning 893 | if( m17n = Mcv->c_m17n ){ | ^ | ( ) mime.cc:893:12: note: use '==' to turn this assignment into an equality comparison 893 | if( m17n = Mcv->c_m17n ){ | ^ | == mime.cc:911:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 911 | if( cp = strcasestr(header,"charset=") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mime.cc:911:9: note: place parentheses around the assignment to silence this warning 911 | if( cp = strcasestr(header,"charset=") ) | ^ | ( ) mime.cc:911:9: note: use '==' to turn this assignment into an equality comparison 911 | if( cp = strcasestr(header,"charset=") ) | ^ | == mime.cc:984:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 984 | if( charset = guess_charset(tmpc) ) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ mime.cc:984:15: note: place parentheses around the assignment to silence this warning 984 | if( charset = guess_charset(tmpc) ) | ^ | ( ) mime.cc:984:15: note: use '==' to turn this assignment into an equality comparison 984 | if( charset = guess_charset(tmpc) ) | ^ | == mime.cc:1088:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1088 | if( beol = strpbrk(tmpa,"\r\n") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ mime.cc:1088:11: note: place parentheses around the assignment to silence this warning 1088 | if( beol = strpbrk(tmpa,"\r\n") ){ | ^ | ( ) mime.cc:1088:11: note: use '==' to turn this assignment into an equality comparison 1088 | if( beol = strpbrk(tmpa,"\r\n") ){ | ^ | == mime.cc:1151:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1151 | if( len = strlen(tmpa) ) | ~~~~^~~~~~~~~~~~~~ mime.cc:1151:10: note: place parentheses around the assignment to silence this warning 1151 | if( len = strlen(tmpa) ) | ^ | ( ) mime.cc:1151:10: note: use '==' to turn this assignment into an equality comparison 1151 | if( len = strlen(tmpa) ) | ^ | == mime.cc:1276:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1276 | }else | ^ mime.cc:1484:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1484 | for( bp = str; ch = *bp; bp++ ){ | ~~~^~~~~ mime.cc:1484:20: note: place parentheses around the assignment to silence this warning 1484 | for( bp = str; ch = *bp; bp++ ){ | ^ | ( ) mime.cc:1484:20: note: use '==' to turn this assignment into an equality comparison 1484 | for( bp = str; ch = *bp; bp++ ){ | ^ | == mime.cc:1602:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1602 | }else | ^ mime.cc:1632:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1632 | for( sp = str; ch = *sp; sp++ ){ | ~~~^~~~~ mime.cc:1632:20: note: place parentheses around the assignment to silence this warning 1632 | for( sp = str; ch = *sp; sp++ ){ | ^ | ( ) mime.cc:1632:20: note: use '==' to turn this assignment into an equality comparison 1632 | for( sp = str; ch = *sp; sp++ ){ | ^ | == mime.cc:1656:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1656 | if( np = strpbrk(tp,"\t\r\n") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ mime.cc:1656:10: note: place parentheses around the assignment to silence this warning 1656 | if( np = strpbrk(tp,"\t\r\n") ){ | ^ | ( ) mime.cc:1656:10: note: use '==' to turn this assignment into an equality comparison 1656 | if( np = strpbrk(tp,"\t\r\n") ){ | ^ | == 23 warnings generated. ../mkcpp pgp.c pgp.cc -- mkcpp set time: 1791324460 -> 1168877239 pgp.cc rm -f pgp.o clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -I. pgp.cc -c -DMIMEKIT pgp.cc:216:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 216 | if( EOH = line[0] == '\r' || line[0] == '\n' ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp.cc:216:11: note: place parentheses around the assignment to silence this warning 216 | if( EOH = line[0] == '\r' || line[0] == '\n' ){ | ^ | ( ) pgp.cc:216:11: note: use '==' to turn this assignment into an equality comparison 216 | 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] 359 | if( np = strpbrk(line,CRLF) ) | ~~~^~~~~~~~~~~~~~~~~~~~ pgp.cc:359:10: note: place parentheses around the assignment to silence this warning 359 | if( np = strpbrk(line,CRLF) ) | ^ | ( ) pgp.cc:359:10: note: use '==' to turn this assignment into an equality comparison 359 | if( np = strpbrk(line,CRLF) ) | ^ | == 2 warnings generated. ../mkcpp rfc822.c rfc822.cc -- mkcpp set time: 1791324461 -> 1230235020 rfc822.cc rm -f rfc822.o clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -I. rfc822.cc -c -DMIMEKIT rfc822.cc:62:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 62 | if( nsp = strchr(csp,'\n') ) | ~~~~^~~~~~~~~~~~~~~~~~ rfc822.cc:62:11: note: place parentheses around the assignment to silence this warning 62 | if( nsp = strchr(csp,'\n') ) | ^ | ( ) rfc822.cc:62:11: note: use '==' to turn this assignment into an equality comparison 62 | if( nsp = strchr(csp,'\n') ) | ^ | == rfc822.cc:75:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 75 | while( fp = findField(head,field,NULL) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ rfc822.cc:75:12: note: place parentheses around the assignment to silence this warning 75 | while( fp = findField(head,field,NULL) ){ | ^ | ( ) rfc822.cc:75:12: note: use '==' to turn this assignment into an equality comparison 75 | while( fp = findField(head,field,NULL) ){ | ^ | == rfc822.cc:76:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 76 | if( np = strchr(fp,'\n') ) | ~~~^~~~~~~~~~~~~~~~~ rfc822.cc:76:10: note: place parentheses around the assignment to silence this warning 76 | if( np = strchr(fp,'\n') ) | ^ | ( ) rfc822.cc:76:10: note: use '==' to turn this assignment into an equality comparison 76 | if( np = strchr(fp,'\n') ) | ^ | == rfc822.cc:124:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 124 | if( vp = findFieldValue(head,field) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ rfc822.cc:124:9: note: place parentheses around the assignment to silence this warning 124 | if( vp = findFieldValue(head,field) ){ | ^ | ( ) rfc822.cc:124:9: note: use '==' to turn this assignment into an equality comparison 124 | if( vp = findFieldValue(head,field) ){ | ^ | == rfc822.cc:251:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 251 | if( ep = strpbrk(dp,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~ rfc822.cc:251:10: note: place parentheses around the assignment to silence this warning 251 | if( ep = strpbrk(dp,"\r\n") ) | ^ | ( ) rfc822.cc:251:10: note: use '==' to turn this assignment into an equality comparison 251 | if( ep = strpbrk(dp,"\r\n") ) | ^ | == rfc822.cc:276:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 276 | while( ch = *sp ){ | ~~~^~~~~ rfc822.cc:276:12: note: place parentheses around the assignment to silence this warning 276 | while( ch = *sp ){ | ^ | ( ) rfc822.cc:276:12: note: use '==' to turn this assignment into an equality comparison 276 | while( ch = *sp ){ | ^ | == rfc822.cc:280:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 280 | if( xp = strchr(sp,':') ){ | ~~~^~~~~~~~~~~~~~~~ rfc822.cc:280:11: note: place parentheses around the assignment to silence this warning 280 | if( xp = strchr(sp,':') ){ | ^ | ( ) rfc822.cc:280:11: note: use '==' to turn this assignment into an equality comparison 280 | if( xp = strchr(sp,':') ){ | ^ | == rfc822.cc:287:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 287 | while( ch = *sp ){ | ~~~^~~~~ rfc822.cc:287:13: note: place parentheses around the assignment to silence this warning 287 | while( ch = *sp ){ | ^ | ( ) rfc822.cc:287:13: note: use '==' to turn this assignment into an equality comparison 287 | while( ch = *sp ){ | ^ | == rfc822.cc:345:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 345 | if( dp = strpbrk(line,"\r\n\f") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ rfc822.cc:345:12: note: place parentheses around the assignment to silence this warning 345 | if( dp = strpbrk(line,"\r\n\f") ) | ^ | ( ) rfc822.cc:345:12: note: use '==' to turn this assignment into an equality comparison 345 | if( dp = strpbrk(line,"\r\n\f") ) | ^ | == rfc822.cc:412:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 412 | for( np = name; nc = *np; np++ ) | ~~~^~~~~ rfc822.cc:412:21: note: place parentheses around the assignment to silence this warning 412 | for( np = name; nc = *np; np++ ) | ^ | ( ) rfc822.cc:412:21: note: use '==' to turn this assignment into an equality comparison 412 | for( np = name; nc = *np; np++ ) | ^ | == rfc822.cc:430:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 430 | while( ch = *sp++ ){ | ~~~^~~~~~~ rfc822.cc:430:12: note: place parentheses around the assignment to silence this warning 430 | while( ch = *sp++ ){ | ^ | ( ) rfc822.cc:430:12: note: use '==' to turn this assignment into an equality comparison 430 | while( ch = *sp++ ){ | ^ | == rfc822.cc:435:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 435 | while( ch = *sp ){ | ~~~^~~~~ rfc822.cc:435:13: note: place parentheses around the assignment to silence this warning 435 | while( ch = *sp ){ | ^ | ( ) rfc822.cc:435:13: note: use '==' to turn this assignment into an equality comparison 435 | while( ch = *sp ){ | ^ | == rfc822.cc:461:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 461 | for( hp = head; ch = *hp; hp++ ){ | ~~~^~~~~ rfc822.cc:461:21: note: place parentheses around the assignment to silence this warning 461 | for( hp = head; ch = *hp; hp++ ){ | ^ | ( ) rfc822.cc:461:21: note: use '==' to turn this assignment into an equality comparison 461 | for( hp = head; ch = *hp; hp++ ){ | ^ | == rfc822.cc:502:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 502 | if( csp = strcasestr(ctype,"charset=") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rfc822.cc:502:10: note: place parentheses around the assignment to silence this warning 502 | if( csp = strcasestr(ctype,"charset=") ){ | ^ | ( ) rfc822.cc:502:10: note: use '==' to turn this assignment into an equality comparison 502 | if( csp = strcasestr(ctype,"charset=") ){ | ^ | == rfc822.cc:535:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 535 | if( csp = strcasestr(ctype,"charset=") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rfc822.cc:535:10: note: place parentheses around the assignment to silence this warning 535 | if( csp = strcasestr(ctype,"charset=") ){ | ^ | ( ) rfc822.cc:535:10: note: use '==' to turn this assignment into an equality comparison 535 | if( csp = strcasestr(ctype,"charset=") ){ | ^ | == rfc822.cc:719:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 719 | for( np = field; nc = *np; np++ ){ | ~~~^~~~~ rfc822.cc:719:22: note: place parentheses around the assignment to silence this warning 719 | for( np = field; nc = *np; np++ ){ | ^ | ( ) rfc822.cc:719:22: note: use '==' to turn this assignment into an equality comparison 719 | for( np = field; nc = *np; np++ ){ | ^ | == rfc822.cc:817:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 817 | for( sp = head; ch = *sp; sp++ ){ | ~~~^~~~~ rfc822.cc:817:21: note: place parentheses around the assignment to silence this warning 817 | for( sp = head; ch = *sp; sp++ ){ | ^ | ( ) rfc822.cc:817:21: note: use '==' to turn this assignment into an equality comparison 817 | 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] 853 | return ""; | ^ rfc822.cc:855:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 855 | if( tail = strncmp(afield,"Tail/",5) == 0 ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rfc822.cc:855:12: note: place parentheses around the assignment to silence this warning 855 | if( tail = strncmp(afield,"Tail/",5) == 0 ) | ^ | ( ) rfc822.cc:855:12: note: use '==' to turn this assignment into an equality comparison 855 | if( tail = strncmp(afield,"Tail/",5) == 0 ) | ^ | == rfc822.cc:866:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 866 | } while( afield = findField(afield+1,field,&avalue) ); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rfc822.cc:866:18: note: place parentheses around the assignment to silence this warning 866 | } while( afield = findField(afield+1,field,&avalue) ); | ^ | ( ) rfc822.cc:866:18: note: use '==' to turn this assignment into an equality comparison 866 | } while( afield = findField(afield+1,field,&avalue) ); | ^ | == rfc822.cc:895:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 895 | for( sp = src; sc = *sp; sp++ ){ | ~~~^~~~~ rfc822.cc:895:20: note: place parentheses around the assignment to silence this warning 895 | for( sp = src; sc = *sp; sp++ ){ | ^ | ( ) rfc822.cc:895:20: note: use '==' to turn this assignment into an equality comparison 895 | for( sp = src; sc = *sp; sp++ ){ | ^ | == rfc822.cc:931:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 931 | for( sp = in; sc = *sp; sp++ ){ | ~~~^~~~~ rfc822.cc:931:19: note: place parentheses around the assignment to silence this warning 931 | for( sp = in; sc = *sp; sp++ ){ | ^ | ( ) rfc822.cc:931:19: note: use '==' to turn this assignment into an equality comparison 931 | for( sp = in; sc = *sp; sp++ ){ | ^ | == rfc822.cc:966:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 966 | for( sp = buff; sc = *sp; sp++ ){ | ~~~^~~~~ rfc822.cc:966:21: note: place parentheses around the assignment to silence this warning 966 | for( sp = buff; sc = *sp; sp++ ){ | ^ | ( ) rfc822.cc:966:21: note: use '==' to turn this assignment into an equality comparison 966 | for( sp = buff; sc = *sp; sp++ ){ | ^ | == rfc822.cc:971:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 971 | for( sp += 1; sc = *sp; sp++ ){ | ~~~^~~~~ rfc822.cc:971:21: note: place parentheses around the assignment to silence this warning 971 | for( sp += 1; sc = *sp; sp++ ){ | ^ | ( ) rfc822.cc:971:21: note: use '==' to turn this assignment into an equality comparison 971 | for( sp += 1; sc = *sp; sp++ ){ | ^ | == rfc822.cc:1130:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1130 | if( dp = strstr(ohost,ogdom) ) | ~~~^~~~~~~~~~~~~~~~~~~~~ rfc822.cc:1130:10: note: place parentheses around the assignment to silence this warning 1130 | if( dp = strstr(ohost,ogdom) ) | ^ | ( ) rfc822.cc:1130:10: note: use '==' to turn this assignment into an equality comparison 1130 | if( dp = strstr(ohost,ogdom) ) | ^ | == rfc822.cc:1132:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1132 | if( dp = strrchr(ohost,'.') ){ | ~~~^~~~~~~~~~~~~~~~~~~~ rfc822.cc:1132:10: note: place parentheses around the assignment to silence this warning 1132 | if( dp = strrchr(ohost,'.') ){ | ^ | ( ) rfc822.cc:1132:10: note: use '==' to turn this assignment into an equality comparison 1132 | if( dp = strrchr(ohost,'.') ){ | ^ | == rfc822.cc:1136:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1136 | if( dp = strchr(ogdom,'.') ) | ~~~^~~~~~~~~~~~~~~~~~~ rfc822.cc:1136:10: note: place parentheses around the assignment to silence this warning 1136 | if( dp = strchr(ogdom,'.') ) | ^ | ( ) rfc822.cc:1136:10: note: use '==' to turn this assignment into an equality comparison 1136 | if( dp = strchr(ogdom,'.') ) | ^ | == rfc822.cc:1138:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1138 | if( dp = strrchr(ogdom,'.') ) | ~~~^~~~~~~~~~~~~~~~~~~~ rfc822.cc:1138:10: note: place parentheses around the assignment to silence this warning 1138 | if( dp = strrchr(ogdom,'.') ) | ^ | ( ) rfc822.cc:1138:10: note: use '==' to turn this assignment into an equality comparison 1138 | if( dp = strrchr(ogdom,'.') ) | ^ | == rfc822.cc:1149:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1149 | for( fp = spec; fc = *fp; fp++ ){ | ~~~^~~~~ rfc822.cc:1149:21: note: place parentheses around the assignment to silence this warning 1149 | for( fp = spec; fc = *fp; fp++ ){ | ^ | ( ) rfc822.cc:1149:21: note: use '==' to turn this assignment into an equality comparison 1149 | for( fp = spec; fc = *fp; fp++ ){ | ^ | == rfc822.cc:1298:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1298 | if( dp = strstr(from,addr) ){ | ~~~^~~~~~~~~~~~~~~~~~~ rfc822.cc:1298:9: note: place parentheses around the assignment to silence this warning 1298 | if( dp = strstr(from,addr) ){ | ^ | ( ) rfc822.cc:1298:9: note: use '==' to turn this assignment into an equality comparison 1298 | if( dp = strstr(from,addr) ){ | ^ | == rfc822.cc:1336:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1336 | for( sp = str; ch1 = *sp; sp++ ){ | ~~~~^~~~~ rfc822.cc:1336:21: note: place parentheses around the assignment to silence this warning 1336 | for( sp = str; ch1 = *sp; sp++ ){ | ^ | ( ) rfc822.cc:1336:21: note: use '==' to turn this assignment into an equality comparison 1336 | for( sp = str; ch1 = *sp; sp++ ){ | ^ | == rfc822.cc:1385:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1385 | for( endp = atp+1; ch = *endp; endp++ ){ | ~~~^~~~~~~ rfc822.cc:1385:25: note: place parentheses around the assignment to silence this warning 1385 | for( endp = atp+1; ch = *endp; endp++ ){ | ^ | ( ) rfc822.cc:1385:25: note: use '==' to turn this assignment into an equality comparison 1385 | for( endp = atp+1; ch = *endp; endp++ ){ | ^ | == rfc822.cc:2040:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2040 | for(; ch = *sp; sp++ ){ | ~~~^~~~~ rfc822.cc:2040:11: note: place parentheses around the assignment to silence this warning 2040 | for(; ch = *sp; sp++ ){ | ^ | ( ) rfc822.cc:2040:11: note: use '==' to turn this assignment into an equality comparison 2040 | for(; ch = *sp; sp++ ){ | ^ | == 33 warnings generated. ../mkcpp mimehead.c mimehead.cc -- mkcpp set time: 1791324461 -> 1791324442 mimehead.cc rm -f mimehead.o clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -I. mimehead.cc -c -DMIMEKIT mimehead.cc:199:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 199 | for(csi = 0; cs = Codes1[csi].mcharset; csi++) | ~~~^~~~~~~~~~~~~~~~~~~~~~ mimehead.cc:199:18: note: place parentheses around the assignment to silence this warning 199 | for(csi = 0; cs = Codes1[csi].mcharset; csi++) | ^ | ( ) mimehead.cc:199:18: note: use '==' to turn this assignment into an equality comparison 199 | 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] 203 | for(csi = 0; cs = Codes2[csi].mcharset; csi++) | ~~~^~~~~~~~~~~~~~~~~~~~~~ mimehead.cc:203:18: note: place parentheses around the assignment to silence this warning 203 | for(csi = 0; cs = Codes2[csi].mcharset; csi++) | ^ | ( ) mimehead.cc:203:18: note: use '==' to turn this assignment into an equality comparison 203 | 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] 420 | for( ci = 0; mcharset = csw[ci].mcharset; ci++ ){ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~ mimehead.cc:420:24: note: place parentheses around the assignment to silence this warning 420 | for( ci = 0; mcharset = csw[ci].mcharset; ci++ ){ | ^ | ( ) mimehead.cc:420:24: note: use '==' to turn this assignment into an equality comparison 420 | 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] 544 | if( lwsp = io->PENDING_LWSP ) | ~~~~~^~~~~~~~~~~~~~~~~~ mimehead.cc:544:12: note: place parentheses around the assignment to silence this warning 544 | if( lwsp = io->PENDING_LWSP ) | ^ | ( ) mimehead.cc:544:12: note: use '==' to turn this assignment into an equality comparison 544 | if( lwsp = io->PENDING_LWSP ) | ^ | == mimehead.cc:553:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 553 | if( lwsp = io->PENDING_LWSP ){ | ~~~~~^~~~~~~~~~~~~~~~~~ mimehead.cc:553:12: note: place parentheses around the assignment to silence this warning 553 | if( lwsp = io->PENDING_LWSP ){ | ^ | ( ) mimehead.cc:553:12: note: use '==' to turn this assignment into an equality comparison 553 | if( lwsp = io->PENDING_LWSP ){ | ^ | == mimehead.cc:614:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 614 | for( ci = 0; ch = line[ci]; ci++ ) | ~~~^~~~~~~~~~ mimehead.cc:614:19: note: place parentheses around the assignment to silence this warning 614 | for( ci = 0; ch = line[ci]; ci++ ) | ^ | ( ) mimehead.cc:614:19: note: use '==' to turn this assignment into an equality comparison 614 | for( ci = 0; ch = line[ci]; ci++ ) | ^ | == 6 warnings generated. ../mkcpp mimeh_ovw.c mimeh_ovw.cc -- mkcpp set time: 1791324461 -> 1231731003 mimeh_ovw.cc rm -f mimeh_ovw.o clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -I. mimeh_ovw.cc -c -DMIMEKIT ../mkcpp str_codes.c str_codes.cc -- mkcpp set time: 1791324461 -> 1105854404 str_codes.cc rm -f str_codes.o clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -I. str_codes.cc -c -DMIMEKIT In file included from str_codes.cc:123: ./mimecodes.c:67:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 67 | while( ch = *qpchars++ ) | ~~~^~~~~~~~~~~~ ./mimecodes.c:67:12: note: place parentheses around the assignment to silence this warning 67 | while( ch = *qpchars++ ) | ^ | ( ) ./mimecodes.c:67:12: note: use '==' to turn this assignment into an equality comparison 67 | while( ch = *qpchars++ ) | ^ | == 1 warning generated. ../mkcpp gendom.c gendom.cc -- mkcpp set time: 1791324462 -> 1230377043 gendom.cc rm -f gendom.o clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -I. gendom.cc -c -DMIMEKIT gendom.cc:330:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 330 | for( ai = 0; ap = attrs[ai]; ai++ ){ | ~~~^~~~~~~~~~~ gendom.cc:330:19: note: place parentheses around the assignment to silence this warning 330 | for( ai = 0; ap = attrs[ai]; ai++ ){ | ^ | ( ) gendom.cc:330:19: note: use '==' to turn this assignment into an equality comparison 330 | for( ai = 0; ap = attrs[ai]; ai++ ){ | ^ | == gendom.cc:335:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 335 | for( ai = 0; ap = rattrs[ai]; ai++ ){ | ~~~^~~~~~~~~~~~ gendom.cc:335:18: note: place parentheses around the assignment to silence this warning 335 | for( ai = 0; ap = rattrs[ai]; ai++ ){ | ^ | ( ) gendom.cc:335:18: note: use '==' to turn this assignment into an equality comparison 335 | for( ai = 0; ap = rattrs[ai]; ai++ ){ | ^ | == gendom.cc:359:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 359 | for( hi = 0; dn = domlev[hi].d_name; hi++ ){ | ~~~^~~~~~~~~~~~~~~~~~~ gendom.cc:359:19: note: place parentheses around the assignment to silence this warning 359 | for( hi = 0; dn = domlev[hi].d_name; hi++ ){ | ^ | ( ) gendom.cc:359:19: note: use '==' to turn this assignment into an equality comparison 359 | for( hi = 0; dn = domlev[hi].d_name; hi++ ){ | ^ | == gendom.cc:364:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 364 | for( hi = 0; dn = domlev[hi].d_rev; hi++ ){ | ~~~^~~~~~~~~~~~~~~~~~ gendom.cc:364:18: note: place parentheses around the assignment to silence this warning 364 | for( hi = 0; dn = domlev[hi].d_rev; hi++ ){ | ^ | ( ) gendom.cc:364:18: note: use '==' to turn this assignment into an equality comparison 364 | for( hi = 0; dn = domlev[hi].d_rev; hi++ ){ | ^ | == gendom.cc:379:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 379 | if( alen = isattr(qn-1) ){ | ~~~~~^~~~~~~~~~~~~~ gendom.cc:379:14: note: place parentheses around the assignment to silence this warning 379 | if( alen = isattr(qn-1) ){ | ^ | ( ) gendom.cc:379:14: note: use '==' to turn this assignment into an equality comparison 379 | if( alen = isattr(qn-1) ){ | ^ | == gendom.cc:413:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 413 | for( dp++; dc = *dp; dp++ ) | ~~~^~~~~ gendom.cc:413:17: note: place parentheses around the assignment to silence this warning 413 | for( dp++; dc = *dp; dp++ ) | ^ | ( ) gendom.cc:413:17: note: use '==' to turn this assignment into an equality comparison 413 | for( dp++; dc = *dp; dp++ ) | ^ | == gendom.cc:438:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 438 | if( dom = strchr(gendom,'@') ){ | ~~~~^~~~~~~~~~~~~~~~~~~~ gendom.cc:438:10: note: place parentheses around the assignment to silence this warning 438 | if( dom = strchr(gendom,'@') ){ | ^ | ( ) gendom.cc:438:10: note: use '==' to turn this assignment into an equality comparison 438 | if( dom = strchr(gendom,'@') ){ | ^ | == 7 warnings generated. rm -f libmimekit.a ar cr libmimekit.a mimeconv.o mimecodes.o mime.o pgp.o rfc822.o mimehead.o mimeh_ovw.o str_codes.o gendom.o /usr/bin/ranlib libmimekit.a **[0] move ../mimekit/libmimekit.a to ../lib/libmimekit.a /var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe -makeat ../lib/libmd5.a ../pds/md5 libmd5.a "/opt/pkg/bin/bmake" libx MAKE="/opt/pkg/bin/bmake" SHELL="/opt/pkg/bin/mksh" CC="clang" CFLAGS="-O2 -x c++ -DQS -DNONC99" HDRDIR="-I../gen -I../include -Wno-narrowing -pipe -Os" RANLIB="/usr/bin/ranlib" LDFLAGS=" -L../lib" LIBDIR="-L../lib" NETLIB="-ldl -lutil -lpthread -lpam -lstdc++" AR="ar" TAR="tar" [clang -c -O2 -x c++ -DQS -DNONC99 ] NONC99 = 2 ####### -makeat: /var/tmp/work/net/delegate/work/delegate9.9.1/pds/md5 /var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe -mkmake "/opt/pkg/bin/bmake" Makefile.go "clang" "-O2 -x c++ -DQS -DNONC99 -Dm64" "" "-L../lib" "/usr/bin/ranlib" "-ldl -lutil -lpthread -lpam -lstdc++" NETLIB mkmake: [clang -c -O2 -x c++ -DQS -DNONC99 -Dm64 ] NONC99 = 2 #### [/var/tmp/work/net/delegate/work/delegate9.9.1/pds/md5] creating Makefile.go cpyfile Makefile[1-0][0-428a3b6] > Makefile.go #ifdef UNIX,OS2EMX ################################################ [SET] MKMAKE=/var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe [SET] RANLIB=/usr/bin/ranlib - checking availability of -ldl [] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lutil [-ldl] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lpthread [-ldl -lutil] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lpam [-ldl -lutil -lpthread] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lstdc++ [-ldl -lutil -lpthread -lpam] cpyfile: cannot read 'DELEGATE_CONF' [SET] NETLIB=-ldl -lutil -lpthread -lpam -lstdc++ cpyfile: cannot read 'DELEGATE_CONF' cpyfile Makefile[0-0][428a468-0] > Makefile.go #ifdef UNIX,OS2EMX ################################################ /opt/pkg/bin/bmake -f Makefile.go CFLAGS="-O2 -x c++ -DQS -DNONC99 -Dm64" libmd5.a SHELL="/opt/pkg/bin/mksh" ../../mkcpp md5c.c md5c.cc -- mkcpp set time: 1791324463 -> 1096679002 md5c.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -c md5c.cc ../../mkcpp md5cb.c md5cb.cc -- mkcpp set time: 1791324463 -> 1098398831 md5cb.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -c md5cb.cc ../../mkcpp md5lib.c md5lib.cc -- mkcpp set time: 1791324463 -> 1133426684 md5lib.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -c md5lib.cc ../../mkcpp md5main.c md5main.cc -- mkcpp set time: 1791324463 -> 953668454 md5main.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -c -DMD=5 md5main.cc In file included from md5main.cc:2: ./mddriver.c:135:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 135 | MDString (""); | ^ ./mddriver.c:136:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 136 | MDString ("a"); | ^ ./mddriver.c:137:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 137 | MDString ("abc"); | ^ ./mddriver.c:138:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 138 | MDString ("message digest"); | ^ ./mddriver.c:139:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 139 | MDString ("abcdefghijklmnopqrstuvwxyz"); | ^ ./mddriver.c:141:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 141 | ("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"); | ^ ./mddriver.c:143:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 143 | ("1234567890123456789012345678901234567890\ | ^ ./mddriver.c:158:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 158 | while (len = fread (buffer, 1, 1024, file)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mddriver.c:158:13: note: place parentheses around the assignment to silence this warning 158 | while (len = fread (buffer, 1, 1024, file)) | ^ | ( ) ./mddriver.c:158:13: note: use '==' to turn this assignment into an equality comparison 158 | while (len = fread (buffer, 1, 1024, file)) | ^ | == ./mddriver.c:175:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 175 | while (len = fread (buffer, 1, 16, stdin)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mddriver.c:175:14: note: place parentheses around the assignment to silence this warning 175 | while (len = fread (buffer, 1, 16, stdin)) | ^ | ( ) ./mddriver.c:175:14: note: use '==' to turn this assignment into an equality comparison 175 | while (len = fread (buffer, 1, 16, stdin)) | ^ | == 9 warnings generated. rm -f libmd5.a ar cr libmd5.a md5c.o md5cb.o md5lib.o md5main.o /usr/bin/ranlib libmd5.a **[0] move ../pds/md5/libmd5.a to ../lib/libmd5.a /var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe -makeat ../lib/library.a ../rary library.a "/opt/pkg/bin/bmake" libx MAKE="/opt/pkg/bin/bmake" SHELL="/opt/pkg/bin/mksh" CC="clang" CFLAGS="-O2 -x c++ -DQS -DNONC99" HDRDIR="-I../gen -I../include -Wno-narrowing -pipe -Os" RANLIB="/usr/bin/ranlib" LDFLAGS=" -L../lib" LIBDIR="-L../lib" NETLIB="-ldl -lutil -lpthread -lpam -lstdc++" AR="ar" TAR="tar" [clang -c -O2 -x c++ -DQS -DNONC99 ] NONC99 = 2 ####### -makeat: /var/tmp/work/net/delegate/work/delegate9.9.1/rary /var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe -cksum Makefile SLL.c TLEX.c String.c ystring.c JIS.c codeconv.c str_stdio.c ccxmain.c ccx.c html.c urlesc.c Strftime.c Timeofday.c strid.c hash.c bsort.c codec.c uu.c pstitle.c signal.c IsSolaris.c sched.c schedmain.c tar.c sed.c readycc.c fpoll.c fpolls.c frelay.c timer.c nbio.c vsaddr.c pelcgb.c credhy.c cksum.c setutimes.c file.c fstat.c pam.c libpam.c passwd.c syslog.c lock.c dglibs.c forkspawn.c Thread.c randstack.c rawcopy.c hostaddr.c socks5.c cfilib.c wince.c winmo.c winsspi.c winnat.c unix.c windows.c windows0.c Finish.c /var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe -mkmake "/opt/pkg/bin/bmake" Makefile.go "clang" "-O2 -x c++ -DQS -DNONC99 -Dm64" "" "-L../lib" "/usr/bin/ranlib" "-ldl -lutil -lpthread -lpam -lstdc++" NETLIB mkmake: [clang -c -O2 -x c++ -DQS -DNONC99 -Dm64 ] NONC99 = 2 #### [/var/tmp/work/net/delegate/work/delegate9.9.1/rary] creating Makefile.go cpyfile Makefile[1-0][0-2aba3b6] > Makefile.go #ifdef UNIX,OS2EMX ################################################ [SET] MKMAKE=/var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe [SET] RANLIB=/usr/bin/ranlib - checking availability of -ldl [] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lutil [-ldl] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lpthread [-ldl -lutil] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lpam [-ldl -lutil -lpthread] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lstdc++ [-ldl -lutil -lpthread -lpam] cpyfile: cannot read 'DELEGATE_CONF' [SET] NETLIB=-ldl -lutil -lpthread -lpam -lstdc++ cpyfile: cannot read 'DELEGATE_CONF' cpyfile Makefile[0-0][2aba468-0] > Makefile.go #ifdef UNIX,OS2EMX ################################################ /var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe -randtext randtext.c /opt/pkg/bin/bmake -f Makefile.go CFLAGS="-O2 -x c++ -DQS -DNONC99 -Dm64" library.a SHELL="/opt/pkg/bin/mksh" HDRDIR="-I../gen -I../include -Wno-narrowing -pipe -Os" ../mkcpp SLL.c SLL.cc -- mkcpp set time: 1791324465 -> 1105749861 SLL.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c SLL.cc SLL.cc:63:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 63 | if( ch = *src ){ | ~~~^~~~~~ SLL.cc:63:11: note: place parentheses around the assignment to silence this warning 63 | if( ch = *src ){ | ^ | ( ) SLL.cc:63:11: note: use '==' to turn this assignment into an equality comparison 63 | if( ch = *src ){ | ^ | == 1 warning generated. ../mkcpp String.c String.cc -- mkcpp set time: 1791324465 -> 1231174776 String.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c String.cc String.cc:40:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 40 | for( sp = str; ch = *sp; sp++ ) | ~~~^~~~~ String.cc:40:20: note: place parentheses around the assignment to silence this warning 40 | for( sp = str; ch = *sp; sp++ ) | ^ | ( ) String.cc:40:20: note: use '==' to turn this assignment into an equality comparison 40 | for( sp = str; ch = *sp; sp++ ) | ^ | == String.cc:69:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 69 | if( dp = Isnumber(ai) ){ | ~~~^~~~~~~~~~~~~~ String.cc:69:9: note: place parentheses around the assignment to silence this warning 69 | if( dp = Isnumber(ai) ){ | ^ | ( ) String.cc:69:9: note: use '==' to turn this assignment into an equality comparison 69 | if( dp = Isnumber(ai) ){ | ^ | == String.cc:119:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 119 | for( sp = str; sc = *sp; sp++ ) | ~~~^~~~~ String.cc:119:20: note: place parentheses around the assignment to silence this warning 119 | for( sp = str; sc = *sp; sp++ ) | ^ | ( ) String.cc:119:20: note: use '==' to turn this assignment into an equality comparison 119 | for( sp = str; sc = *sp; sp++ ) | ^ | == String.cc:128:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 128 | for( sp = str; sc = *sp; sp++ ) | ~~~^~~~~ String.cc:128:20: note: place parentheses around the assignment to silence this warning 128 | for( sp = str; sc = *sp; sp++ ) | ^ | ( ) String.cc:128:20: note: use '==' to turn this assignment into an equality comparison 128 | for( sp = str; sc = *sp; sp++ ) | ^ | == String.cc:138:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 138 | for( sp = src; sc = *sp; sp++ ){ | ~~~^~~~~ String.cc:138:20: note: place parentheses around the assignment to silence this warning 138 | for( sp = src; sc = *sp; sp++ ){ | ^ | ( ) String.cc:138:20: note: use '==' to turn this assignment into an equality comparison 138 | for( sp = src; sc = *sp; sp++ ){ | ^ | == String.cc:155:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 155 | for( sp = src; sc = *sp; sp++ ){ | ~~~^~~~~ String.cc:155:20: note: place parentheses around the assignment to silence this warning 155 | for( sp = src; sc = *sp; sp++ ){ | ^ | ( ) String.cc:155:20: note: use '==' to turn this assignment into an equality comparison 155 | for( sp = src; sc = *sp; sp++ ){ | ^ | == String.cc:241:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 241 | for(; rch1 = *rp; rp++ ){ | ~~~~~^~~~~ String.cc:241:15: note: place parentheses around the assignment to silence this warning 241 | for(; rch1 = *rp; rp++ ){ | ^ | ( ) String.cc:241:15: note: use '==' to turn this assignment into an equality comparison 241 | for(; rch1 = *rp; rp++ ){ | ^ | == String.cc:266:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 266 | for(ac = 0; a1 = av[ac]; ac++){ | ~~~^~~~~~~~ String.cc:266:17: note: place parentheses around the assignment to silence this warning 266 | for(ac = 0; a1 = av[ac]; ac++){ | ^ | ( ) String.cc:266:17: note: use '==' to turn this assignment into an equality comparison 266 | for(ac = 0; a1 = av[ac]; ac++){ | ^ | == String.cc:284:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 284 | for( sp = str; ch = *sp; sp++ ){ | ~~~^~~~~ String.cc:284:20: note: place parentheses around the assignment to silence this warning 284 | for( sp = str; ch = *sp; sp++ ){ | ^ | ( ) String.cc:284:20: note: use '==' to turn this assignment into an equality comparison 284 | for( sp = str; ch = *sp; sp++ ){ | ^ | == String.cc:306:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 306 | for( sp = str; ch = *sp; sp++ ){ | ~~~^~~~~ String.cc:306:20: note: place parentheses around the assignment to silence this warning 306 | for( sp = str; ch = *sp; sp++ ){ | ^ | ( ) String.cc:306:20: note: use '==' to turn this assignment into an equality comparison 306 | for( sp = str; ch = *sp; sp++ ){ | ^ | == String.cc:364:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 364 | for( ei = 0; e1 = ev[ei]; ei++ ){ | ~~~^~~~~~~~ String.cc:364:18: note: place parentheses around the assignment to silence this warning 364 | for( ei = 0; e1 = ev[ei]; ei++ ){ | ^ | ( ) String.cc:364:18: note: use '==' to turn this assignment into an equality comparison 364 | for( ei = 0; e1 = ev[ei]; ei++ ){ | ^ | == String.cc:371:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 371 | for( ei = 0; e1 = ev[ei]; ei++ ){ | ~~~^~~~~~~~ String.cc:371:18: note: place parentheses around the assignment to silence this warning 371 | for( ei = 0; e1 = ev[ei]; ei++ ){ | ^ | ( ) String.cc:371:18: note: use '==' to turn this assignment into an equality comparison 371 | for( ei = 0; e1 = ev[ei]; ei++ ){ | ^ | == String.cc:445:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 445 | for(ai = 0; val = av[ai]; ai++) | ~~~~^~~~~~~~ String.cc:445:18: note: place parentheses around the assignment to silence this warning 445 | for(ai = 0; val = av[ai]; ai++) | ^ | ( ) String.cc:445:18: note: use '==' to turn this assignment into an equality comparison 445 | for(ai = 0; val = av[ai]; ai++) | ^ | == String.cc:462:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 462 | for( ai = 0; val = av[ai]; ai++ ){ | ~~~~^~~~~~~~ String.cc:462:19: note: place parentheses around the assignment to silence this warning 462 | for( ai = 0; val = av[ai]; ai++ ){ | ^ | ( ) String.cc:462:19: note: use '==' to turn this assignment into an equality comparison 462 | for( ai = 0; val = av[ai]; ai++ ){ | ^ | == String.cc:494:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 494 | if( env = getenv("STRBUFDEBUG") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ String.cc:494:11: note: place parentheses around the assignment to silence this warning 494 | if( env = getenv("STRBUFDEBUG") ){ | ^ | ( ) String.cc:494:11: note: use '==' to turn this assignment into an equality comparison 494 | if( env = getenv("STRBUFDEBUG") ){ | ^ | == String.cc:553:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 553 | if( odd = top % al ) | ~~~~^~~~~~~~~~ String.cc:553:11: note: place parentheses around the assignment to silence this warning 553 | if( odd = top % al ) | ^ | ( ) String.cc:553:11: note: use '==' to turn this assignment into an equality comparison 553 | if( odd = top % al ) | ^ | == String.cc:575:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 575 | if( sp = getStrBuffer(1,size,PTRALIGN) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ String.cc:575:9: note: place parentheses around the assignment to silence this warning 575 | if( sp = getStrBuffer(1,size,PTRALIGN) ){ | ^ | ( ) String.cc:575:9: note: use '==' to turn this assignment into an equality comparison 575 | if( sp = getStrBuffer(1,size,PTRALIGN) ){ | ^ | == String.cc:585:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 585 | if( ep = getStrBuffer(1,len,1) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~ String.cc:585:9: note: place parentheses around the assignment to silence this warning 585 | if( ep = getStrBuffer(1,len,1) ){ | ^ | ( ) String.cc:585:9: note: use '==' to turn this assignment into an equality comparison 585 | if( ep = getStrBuffer(1,len,1) ){ | ^ | == String.cc:595:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 595 | return ""; | ^ String.cc:596:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 596 | if( sp = getStrBuffer(1,strlen(str)+1,1) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ String.cc:596:9: note: place parentheses around the assignment to silence this warning 596 | if( sp = getStrBuffer(1,strlen(str)+1,1) ){ | ^ | ( ) String.cc:596:9: note: use '==' to turn this assignment into an equality comparison 596 | if( sp = getStrBuffer(1,strlen(str)+1,1) ){ | ^ | == String.cc:626:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 626 | if( ds = *dst ){ | ~~~^~~~~~ String.cc:626:9: note: place parentheses around the assignment to silence this warning 626 | if( ds = *dst ){ | ^ | ( ) String.cc:626:9: note: use '==' to turn this assignment into an equality comparison 626 | if( ds = *dst ){ | ^ | == String.cc:744:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 744 | for( sp = str; ch = *sp; sp++ ){ | ~~~^~~~~ String.cc:744:20: note: place parentheses around the assignment to silence this warning 744 | for( sp = str; ch = *sp; sp++ ){ | ^ | ( ) String.cc:744:20: note: use '==' to turn this assignment into an equality comparison 744 | for( sp = str; ch = *sp; sp++ ){ | ^ | == String.cc:755:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 755 | for(; ch = *s; s++){ | ~~~^~~~ String.cc:755:11: note: place parentheses around the assignment to silence this warning 755 | for(; ch = *s; s++){ | ^ | ( ) String.cc:755:11: note: use '==' to turn this assignment into an equality comparison 755 | for(; ch = *s; s++){ | ^ | == String.cc:777:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 777 | for(; ch = *s; s++){ | ~~~^~~~ String.cc:777:11: note: place parentheses around the assignment to silence this warning 777 | for(; ch = *s; s++){ | ^ | ( ) String.cc:777:11: note: use '==' to turn this assignment into an equality comparison 777 | for(; ch = *s; s++){ | ^ | == String.cc:794:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 794 | for( sp = src; sc = *sp; sp++ ){ | ~~~^~~~~ String.cc:794:20: note: place parentheses around the assignment to silence this warning 794 | for( sp = src; sc = *sp; sp++ ){ | ^ | ( ) String.cc:794:20: note: use '==' to turn this assignment into an equality comparison 794 | for( sp = src; sc = *sp; sp++ ){ | ^ | == String.cc:867:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 867 | for(; ch = *sp; sp++ ) | ~~~^~~~~ String.cc:867:12: note: place parentheses around the assignment to silence this warning 867 | for(; ch = *sp; sp++ ) | ^ | ( ) String.cc:867:12: note: use '==' to turn this assignment into an equality comparison 867 | for(; ch = *sp; sp++ ) | ^ | == String.cc:872:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 872 | for(; ch = *sp; sp++ ){ | ~~~^~~~~ String.cc:872:12: note: place parentheses around the assignment to silence this warning 872 | for(; ch = *sp; sp++ ){ | ^ | ( ) String.cc:872:12: note: use '==' to turn this assignment into an equality comparison 872 | for(; ch = *sp; sp++ ){ | ^ | == String.cc:925:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 925 | if( care_quote = (allocm & STR_QUOTE) ){ | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ String.cc:925:17: note: place parentheses around the assignment to silence this warning 925 | if( care_quote = (allocm & STR_QUOTE) ){ | ^ | ( ) String.cc:925:17: note: use '==' to turn this assignment into an equality comparison 925 | if( care_quote = (allocm & STR_QUOTE) ){ | ^ | == String.cc:938:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 938 | }else | ^ String.cc:946:28: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 946 | for( np = (char*)lp; cch = *np; ){ | ~~~~^~~~~ String.cc:946:28: note: place parentheses around the assignment to silence this warning 946 | for( np = (char*)lp; cch = *np; ){ | ^ | ( ) String.cc:946:28: note: use '==' to turn this assignment into an equality comparison 946 | for( np = (char*)lp; cch = *np; ){ | ^ | == String.cc:1072:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1072 | if( tp = strchr(list,'}') ){ | ~~~^~~~~~~~~~~~~~~~~~ String.cc:1072:11: note: place parentheses around the assignment to silence this warning 1072 | if( tp = strchr(list,'}') ){ | ^ | ( ) String.cc:1072:11: note: use '==' to turn this assignment into an equality comparison 1072 | if( tp = strchr(list,'}') ){ | ^ | == String.cc:1181:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1181 | while( dp = strstr(sp,pat) ){ | ~~~^~~~~~~~~~~~~~~~ String.cc:1181:12: note: place parentheses around the assignment to silence this warning 1181 | while( dp = strstr(sp,pat) ){ | ^ | ( ) String.cc:1181:12: note: use '==' to turn this assignment into an equality comparison 1181 | while( dp = strstr(sp,pat) ){ | ^ | == String.cc:1271:43: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1271 | for( ks = (unsigned char*)key; kc = *ks++; ){ | ~~~^~~~~~~ String.cc:1271:43: note: place parentheses around the assignment to silence this warning 1271 | for( ks = (unsigned char*)key; kc = *ks++; ){ | ^ | ( ) String.cc:1271:43: note: use '==' to turn this assignment into an equality comparison 1271 | for( ks = (unsigned char*)key; kc = *ks++; ){ | ^ | == String.cc:1315:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1315 | for( dp = str; ch = *dp; dp++ ) | ~~~^~~~~ String.cc:1315:20: note: place parentheses around the assignment to silence this warning 1315 | for( dp = str; ch = *dp; dp++ ) | ^ | ( ) String.cc:1315:20: note: use '==' to turn this assignment into an equality comparison 1315 | for( dp = str; ch = *dp; dp++ ) | ^ | == String.cc:1365:45: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1365 | for( sp = pat0 = strip_spaces(pattern); sc = *sp; sp++ ){ | ~~~^~~~~ String.cc:1365:45: note: place parentheses around the assignment to silence this warning 1365 | for( sp = pat0 = strip_spaces(pattern); sc = *sp; sp++ ){ | ^ | ( ) String.cc:1365:45: note: use '==' to turn this assignment into an equality comparison 1365 | for( sp = pat0 = strip_spaces(pattern); sc = *sp; sp++ ){ | ^ | == String.cc:1461:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1461 | for( si = 0; sp = sv[si]; si++ ){ | ~~~^~~~~~~~ String.cc:1461:18: note: place parentheses around the assignment to silence this warning 1461 | for( si = 0; sp = sv[si]; si++ ){ | ^ | ( ) String.cc:1461:18: note: use '==' to turn this assignment into an equality comparison 1461 | for( si = 0; sp = sv[si]; si++ ){ | ^ | == String.cc:1463:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1463 | while( sc = *sp++ ) | ~~~^~~~~~~ String.cc:1463:13: note: place parentheses around the assignment to silence this warning 1463 | while( sc = *sp++ ) | ^ | ( ) String.cc:1463:13: note: use '==' to turn this assignment into an equality comparison 1463 | while( sc = *sp++ ) | ^ | == String.cc:1604:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1604 | for( a1 = av[ai]; ch = *a1; a1++ ){ | ~~~^~~~~ String.cc:1604:24: note: place parentheses around the assignment to silence this warning 1604 | for( a1 = av[ai]; ch = *a1; a1++ ){ | ^ | ( ) String.cc:1604:24: note: use '==' to turn this assignment into an equality comparison 1604 | for( a1 = av[ai]; ch = *a1; a1++ ){ | ^ | == String.cc:1625:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1625 | for( sp = args; ch = *sp; sp++ ){ | ~~~^~~~~ String.cc:1625:21: note: place parentheses around the assignment to silence this warning 1625 | for( sp = args; ch = *sp; sp++ ){ | ^ | ( ) String.cc:1625:21: note: use '==' to turn this assignment into an equality comparison 1625 | for( sp = args; ch = *sp; sp++ ){ | ^ | == String.cc:1905:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1905 | for( sp = src; sc = *sp; sp++ ){ | ~~~^~~~~ String.cc:1905:20: note: place parentheses around the assignment to silence this warning 1905 | for( sp = src; sc = *sp; sp++ ){ | ^ | ( ) String.cc:1905:20: note: use '==' to turn this assignment into an equality comparison 1905 | for( sp = src; sc = *sp; sp++ ){ | ^ | == String.cc:1910:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1910 | for( bp = brk; bc = *bp; bp++ ){ | ~~~^~~~~ String.cc:1910:21: note: place parentheses around the assignment to silence this warning 1910 | for( bp = brk; bc = *bp; bp++ ){ | ^ | ( ) String.cc:1910:21: note: use '==' to turn this assignment into an equality comparison 1910 | for( bp = brk; bc = *bp; bp++ ){ | ^ | == String.cc:2045:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2045 | for( ip = dst; ic = *ip; ){ | ~~~^~~~~ String.cc:2045:20: note: place parentheses around the assignment to silence this warning 2045 | for( ip = dst; ic = *ip; ){ | ^ | ( ) String.cc:2045:20: note: use '==' to turn this assignment into an equality comparison 2045 | for( ip = dst; ic = *ip; ){ | ^ | == String.cc:2064:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2064 | }else{ | ^ String.cc:2087:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2087 | for( ip = src; ic = *ip; ){ | ~~~^~~~~ String.cc:2087:20: note: place parentheses around the assignment to silence this warning 2087 | for( ip = src; ic = *ip; ){ | ^ | ( ) String.cc:2087:20: note: use '==' to turn this assignment into an equality comparison 2087 | for( ip = src; ic = *ip; ){ | ^ | == String.cc:2132:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2132 | for( fp = fmt; fc = *fp; fp++ ){ | ~~~^~~~~ String.cc:2132:20: note: place parentheses around the assignment to silence this warning 2132 | for( fp = fmt; fc = *fp; fp++ ){ | ^ | ( ) String.cc:2132:20: note: use '==' to turn this assignment into an equality comparison 2132 | for( fp = fmt; fc = *fp; fp++ ){ | ^ | == String.cc:2264:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2264 | for( fp++; fc = *fp; fp++ ){ | ~~~^~~~~ String.cc:2264:18: note: place parentheses around the assignment to silence this warning 2264 | for( fp++; fc = *fp; fp++ ){ | ^ | ( ) String.cc:2264:18: note: use '==' to turn this assignment into an equality comparison 2264 | for( fp++; fc = *fp; fp++ ){ | ^ | == String.cc:2310:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2310 | for( fp++; ec = *fp; fp++ ){ | ~~~^~~~~ String.cc:2310:19: note: place parentheses around the assignment to silence this warning 2310 | for( fp++; ec = *fp; fp++ ){ | ^ | ( ) String.cc:2310:19: note: use '==' to turn this assignment into an equality comparison 2310 | for( fp++; ec = *fp; fp++ ){ | ^ | == String.cc:2361:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2361 | if( neg = *fp == '^' ) | ~~~~^~~~~~~~~~~~ String.cc:2361:12: note: place parentheses around the assignment to silence this warning 2361 | if( neg = *fp == '^' ) | ^ | ( ) String.cc:2361:12: note: use '==' to turn this assignment into an equality comparison 2361 | if( neg = *fp == '^' ) | ^ | == String.cc:2367:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2367 | while( sc = *sp ){ | ~~~^~~~~ String.cc:2367:14: note: place parentheses around the assignment to silence this warning 2367 | while( sc = *sp ){ | ^ | ( ) String.cc:2367:14: note: use '==' to turn this assignment into an equality comparison 2367 | while( sc = *sp ){ | ^ | == String.cc:2421:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2421 | if( bp = getStrBuffer(lev,size,algn) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ String.cc:2421:9: note: place parentheses around the assignment to silence this warning 2421 | if( bp = getStrBuffer(lev,size,algn) ) | ^ | ( ) String.cc:2421:9: note: use '==' to turn this assignment into an equality comparison 2421 | if( bp = getStrBuffer(lev,size,algn) ) | ^ | == String.cc:2505:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2505 | while( dp = strrchr(dombuf,dlm) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ String.cc:2505:12: note: place parentheses around the assignment to silence this warning 2505 | while( dp = strrchr(dombuf,dlm) ){ | ^ | ( ) String.cc:2505:12: note: use '==' to turn this assignment into an equality comparison 2505 | while( dp = strrchr(dombuf,dlm) ){ | ^ | == String.cc:2565:42: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2565 | for( sp = (const unsigned char*)str; ch = *sp; sp++ ){ | ~~~^~~~~ String.cc:2565:42: note: place parentheses around the assignment to silence this warning 2565 | for( sp = (const unsigned char*)str; ch = *sp; sp++ ){ | ^ | ( ) String.cc:2565:42: note: use '==' to turn this assignment into an equality comparison 2565 | for( sp = (const unsigned char*)str; ch = *sp; sp++ ){ | ^ | == 52 warnings generated. ../mkcpp ystring.c ystring.cc -- mkcpp set time: 1791324465 -> 1226837482 ystring.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c ystring.cc ystring.cc:203:39: warning: format specifies type 'unsigned int' but the argument has type 'FILE *' (aka '__sFILE *') [-Wformat] 202 | fprintf(stderr,"-- %X fdopen %d -> %d/%d/%X <= %s:%d --------------------\n", | ~~ 203 | 0xFFF&getthreadid(),fd,nfd,fileno(fp),fp,FL_Bar); | ^~ ystring.cc:309:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 309 | if( env = getenv("DEBUG_VSTR") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~ ystring.cc:309:10: note: place parentheses around the assignment to silence this warning 309 | if( env = getenv("DEBUG_VSTR") ){ | ^ | ( ) ystring.cc:309:10: note: use '==' to turn this assignment into an equality comparison 309 | if( env = getenv("DEBUG_VSTR") ){ | ^ | == ystring.cc:369:28: warning: format specifies type 'unsigned int' but the argument has type 'const char *' [-Wformat] 369 | snprintf(vp,vx-vp,"[%X]",dTAIL-32); | ~~ ^~~~~~~~ | %s ystring.cc:270:15: note: expanded from macro 'dTAIL' 270 | #define dTAIL &dBASE[dSIZE-1] | ^ ystring.cc:391:27: warning: format specifies type 'unsigned int' but the argument has type 'const char *' [-Wformat] 391 | snprintf(vp,vx-vp,"[%X]",dp); | ~~ ^~ | %s ystring.cc:402:41: warning: format specifies type 'unsigned int' but the argument has type 'const char *' [-Wformat] 401 | "VStr overflow in %s (%s:%s:%d) %d/%d/%d %X-%X-%X ", | ~~ | %s 402 | where,MyVer,dFILE,dLINE,len,siz,dSIZE,dBASE,d,dTAIL); | ^~~~~ ystring.cc:402:47: warning: format specifies type 'unsigned int' but the argument has type 'const char *' [-Wformat] 401 | "VStr overflow in %s (%s:%s:%d) %d/%d/%d %X-%X-%X ", | ~~ | %s 402 | where,MyVer,dFILE,dLINE,len,siz,dSIZE,dBASE,d,dTAIL); | ^ ystring.cc:402:49: warning: format specifies type 'unsigned int' but the argument has type 'const char *' [-Wformat] 401 | "VStr overflow in %s (%s:%s:%d) %d/%d/%d %X-%X-%X ", | ~~ | %s 402 | where,MyVer,dFILE,dLINE,len,siz,dSIZE,dBASE,d,dTAIL); | ^~~~~ ystring.cc:270:15: note: expanded from macro 'dTAIL' 270 | #define dTAIL &dBASE[dSIZE-1] | ^~~~~~~~~~~~~~~ ystring.cc:644:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 644 | for(p = s; ch = *p; p++){ | ~~~^~~~ ystring.cc:644:16: note: place parentheses around the assignment to silence this warning 644 | for(p = s; ch = *p; p++){ | ^ | ( ) ystring.cc:644:16: note: use '==' to turn this assignment into an equality comparison 644 | for(p = s; ch = *p; p++){ | ^ | == ystring.cc:750:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 750 | for(f = fmt; fc = *f; f++){ | ~~~^~~~ ystring.cc:750:18: note: place parentheses around the assignment to silence this warning 750 | for(f = fmt; fc = *f; f++){ | ^ | ( ) ystring.cc:750:18: note: use '==' to turn this assignment into an equality comparison 750 | for(f = fmt; fc = *f; f++){ | ^ | == ystring.cc:979:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 979 | for( fp = fmt; fc = *fp; ){ | ~~~^~~~~ ystring.cc:979:20: note: place parentheses around the assignment to silence this warning 979 | for( fp = fmt; fc = *fp; ){ | ^ | ( ) ystring.cc:979:20: note: use '==' to turn this assignment into an equality comparison 979 | for( fp = fmt; fc = *fp; ){ | ^ | == ystring.cc:985:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 985 | for( fp++; fc = *fp; fp++ ){ | ~~~^~~~~ ystring.cc:985:18: note: place parentheses around the assignment to silence this warning 985 | for( fp++; fc = *fp; fp++ ){ | ^ | ( ) ystring.cc:985:18: note: use '==' to turn this assignment into an equality comparison 985 | for( fp++; fc = *fp; fp++ ){ | ^ | == ystring.cc:1157:33: warning: format specifies type 'unsigned int' but the argument has type 'void *' [-Wformat] 1156 | HEAPVRB(stderr,"-dm clr persistent[%3d] S[%3d] %s:%d << [%d] %X %s:%d\n", | ~~ 1157 | si,allocsp, ap->a_F,ap->a_L,ssi,ap->a_p, FL_BAR); | ^~~~~~~ ystring.cc:1254:20: warning: format specifies type 'unsigned int' but the argument has type 'void *' [-Wformat] 1253 | HEAPDBG(stderr,"-dm [%3d]%d %5X %8X %s:%d put [%d] by %s\n", | ~~~ 1254 | allocsp,pstm,sz,mp,FL_BAR,pi,wh); | ^~ ystring.cc:1257:20: warning: format specifies type 'unsigned int' but the argument has type 'void *' [-Wformat] 1256 | HEAPDBG(stderr,"-dm [%3d]%d %5X %8X %s:%d pushed by %s\n", | ~~~ 1257 | allocsp,pstm,sz,mp,FL_BAR,wh); | ^~ ystring.cc:1277:31: warning: format specifies type 'unsigned int' but the argument has type 'void *' [-Wformat] 1276 | HEAPDBG(stderr,"-dm [%3d]%d %5X %8X %s:%d %s %s:%d (POP)\n", | ~~~ 1277 | allocsp,ap->a_free,ap->a_z,ap->a_p,ap->a_F,ap->a_L, | ^~~~~~~ ystring.cc:1303:27: warning: format specifies type 'unsigned int' but the argument has type 'void *' [-Wformat] 1302 | HEAPDBG(stderr,"-dm [%3d]%d %5X %8X %s:%d %s %s:%d\n", | ~~~ 1303 | si,ap->a_free,ap->a_z,mp,ap->a_F,ap->a_L, | ^~ ystring.cc:1312:55: warning: format specifies type 'unsigned int' but the argument has type 'void *' [-Wformat] 1312 | HEAPERR(stderr,"-dm [???](%d) %X %s %s:%d\n",allocsp,mp,wh,FL_BAR); | ~~ ^~ 17 warnings generated. ../mkcpp TLEX.c TLEX.cc -- mkcpp set time: 1791324465 -> 1160985943 TLEX.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c TLEX.cc TLEX.cc:90:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 90 | if( nfsp = fsp->Nstat->nvec[ch] ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ TLEX.cc:90:12: note: place parentheses around the assignment to silence this warning 90 | if( nfsp = fsp->Nstat->nvec[ch] ) | ^ | ( ) TLEX.cc:90:12: note: use '==' to turn this assignment into an equality comparison 90 | if( nfsp = fsp->Nstat->nvec[ch] ) | ^ | == TLEX.cc:102:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 102 | { register int si; | ^~~~~~~~ TLEX.cc:106:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 106 | if( nfsp = next1(fsp,ch) ) | ~~~~~^~~~~~~~~~~~~~~ TLEX.cc:106:11: note: place parentheses around the assignment to silence this warning 106 | if( nfsp = next1(fsp,ch) ) | ^ | ( ) TLEX.cc:106:11: note: use '==' to turn this assignment into an equality comparison 106 | if( nfsp = next1(fsp,ch) ) | ^ | == TLEX.cc:109:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 109 | if( nfsp = fsp->other ){ | ~~~~~^~~~~~~~~~~~ TLEX.cc:109:11: note: place parentheses around the assignment to silence this warning 109 | if( nfsp = fsp->other ){ | ^ | ( ) TLEX.cc:109:11: note: use '==' to turn this assignment into an equality comparison 109 | if( nfsp = fsp->other ){ | ^ | == TLEX.cc:110:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 110 | if( xfsp = next1(nfsp,ch) ){ | ~~~~~^~~~~~~~~~~~~~~~ TLEX.cc:110:12: note: place parentheses around the assignment to silence this warning 110 | if( xfsp = next1(nfsp,ch) ){ | ^ | ( ) TLEX.cc:110:12: note: use '==' to turn this assignment into an equality comparison 110 | if( xfsp = next1(nfsp,ch) ){ | ^ | == TLEX.cc:121:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 121 | { register int si; | ^~~~~~~~ TLEX.cc:189:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 189 | if( fa_root = fsp ) | ~~~~~~~~^~~~~ TLEX.cc:189:14: note: place parentheses around the assignment to silence this warning 189 | if( fa_root = fsp ) | ^ | ( ) TLEX.cc:189:14: note: use '==' to turn this assignment into an equality comparison 189 | if( fa_root = fsp ) | ^ | == TLEX.cc:212:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 212 | { register int i,j,k; | ^~~~~~~~ TLEX.cc:212:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 212 | { register int i,j,k; | ^~~~~~~~ TLEX.cc:212:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 212 | { register int i,j,k; | ^~~~~~~~ TLEX.cc:275:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 275 | register FaStat *nfsp; | ^~~~~~~~ TLEX.cc:295:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 295 | for( ss = input; cc = *ss; ss++ ){ | ~~~^~~~~ TLEX.cc:295:22: note: place parentheses around the assignment to silence this warning 295 | for( ss = input; cc = *ss; ss++ ){ | ^ | ( ) TLEX.cc:295:22: note: use '==' to turn this assignment into an equality comparison 295 | for( ss = input; cc = *ss; ss++ ){ | ^ | == TLEX.cc:418:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 418 | if( tp = (unsigned char*)strchr((char*)sp,'>') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TLEX.cc:418:10: note: place parentheses around the assignment to silence this warning 418 | if( tp = (unsigned char*)strchr((char*)sp,'>') ){ | ^ | ( ) TLEX.cc:418:10: note: use '==' to turn this assignment into an equality comparison 418 | if( tp = (unsigned char*)strchr((char*)sp,'>') ){ | ^ | == TLEX.cc:573:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 573 | for( sp = rexp; ch = *sp; sp++ ){ | ~~~^~~~~ TLEX.cc:573:21: note: place parentheses around the assignment to silence this warning 573 | for( sp = rexp; ch = *sp; sp++ ){ | ^ | ( ) TLEX.cc:573:21: note: use '==' to turn this assignment into an equality comparison 573 | for( sp = rexp; ch = *sp; sp++ ){ | ^ | == 14 warnings generated. ../mkcpp JIS.c JIS.cc -- mkcpp set time: 1791324466 -> 1232246314 JIS.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c JIS.cc JIS.cc:121:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 121 | for( ci = 1; n1 = charsets[ci].cs_formname; ci++ ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:121:18: note: place parentheses around the assignment to silence this warning 121 | for( ci = 1; n1 = charsets[ci].cs_formname; ci++ ){ | ^ | ( ) JIS.cc:121:18: note: use '==' to turn this assignment into an equality comparison 121 | for( ci = 1; n1 = charsets[ci].cs_formname; ci++ ){ | ^ | == JIS.cc:362:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 362 | while( ch = *s++ ){ | ~~~^~~~~~ JIS.cc:362:12: note: place parentheses around the assignment to silence this warning 362 | while( ch = *s++ ){ | ^ | ( ) JIS.cc:362:12: note: use '==' to turn this assignment into an equality comparison 362 | while( ch = *s++ ){ | ^ | == JIS.cc:474:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 474 | for( s = str; ch = *s; s++ ){ | ~~~^~~~ JIS.cc:474:19: note: place parentheses around the assignment to silence this warning 474 | for( s = str; ch = *s; s++ ){ | ^ | ( ) JIS.cc:474:19: note: use '==' to turn this assignment into an equality comparison 474 | for( s = str; ch = *s; s++ ){ | ^ | == JIS.cc:497:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 497 | while( ch1 = *sp++ ){ | ~~~~^~~~~~~ JIS.cc:497:13: note: place parentheses around the assignment to silence this warning 497 | while( ch1 = *sp++ ){ | ^ | ( ) JIS.cc:497:13: note: use '==' to turn this assignment into an equality comparison 497 | while( ch1 = *sp++ ){ | ^ | == JIS.cc:536:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 536 | if( len = isHTMLentity(sp,&ech) ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:536:12: note: place parentheses around the assignment to silence this warning 536 | if( len = isHTMLentity(sp,&ech) ) | ^ | ( ) JIS.cc:536:12: note: use '==' to turn this assignment into an equality comparison 536 | if( len = isHTMLentity(sp,&ech) ) | ^ | == JIS.cc:546:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 546 | if( len = isHTMLentity(sp,&ech) ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:546:12: note: place parentheses around the assignment to silence this warning 546 | if( len = isHTMLentity(sp,&ech) ) | ^ | ( ) JIS.cc:546:12: note: use '==' to turn this assignment into an equality comparison 546 | if( len = isHTMLentity(sp,&ech) ) | ^ | == JIS.cc:567:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 567 | for( cp = euc; ch1 = *cp & 0xFF; cp++ ){ | ~~~~^~~~~~~~~~~~ JIS.cc:567:21: note: place parentheses around the assignment to silence this warning 567 | for( cp = euc; ch1 = *cp & 0xFF; cp++ ){ | ^ | ( ) JIS.cc:567:21: note: use '==' to turn this assignment into an equality comparison 567 | for( cp = euc; ch1 = *cp & 0xFF; cp++ ){ | ^ | == JIS.cc:602:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 602 | if( cs = csx2name(ccx->cc_incc1) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:602:10: note: place parentheses around the assignment to silence this warning 602 | if( cs = csx2name(ccx->cc_incc1) ){ | ^ | ( ) JIS.cc:602:10: note: use '==' to turn this assignment into an equality comparison 602 | if( cs = csx2name(ccx->cc_incc1) ){ | ^ | == JIS.cc:613:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 613 | if( cs = csx2name(ccx->cc_incc1) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:613:10: note: place parentheses around the assignment to silence this warning 613 | if( cs = csx2name(ccx->cc_incc1) ){ | ^ | ( ) JIS.cc:613:10: note: use '==' to turn this assignment into an equality comparison 613 | if( cs = csx2name(ccx->cc_incc1) ){ | ^ | == JIS.cc:772:13: warning: & has lower precedence than ==; == will be evaluated first [-Wparentheses] 772 | if( ch2 & 0x80 == 0 | ^~~~~~~~~~~ JIS.cc:772:13: note: place parentheses around the '==' expression to silence this warning 772 | if( ch2 & 0x80 == 0 | ^ | ( ) JIS.cc:772:13: note: place parentheses around the & expression to evaluate it first 772 | if( ch2 & 0x80 == 0 | ^ | ( ) JIS.cc:1126:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1126 | if( cs = csx2name(ccx->cc_incc1) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:1126:10: note: place parentheses around the assignment to silence this warning 1126 | if( cs = csx2name(ccx->cc_incc1) ){ | ^ | ( ) JIS.cc:1126:10: note: use '==' to turn this assignment into an equality comparison 1126 | if( cs = csx2name(ccx->cc_incc1) ){ | ^ | == JIS.cc:1145:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1145 | if( cs = csx2name(ccx->cc_indef) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:1145:10: note: place parentheses around the assignment to silence this warning 1145 | if( cs = csx2name(ccx->cc_indef) ) | ^ | ( ) JIS.cc:1145:10: note: use '==' to turn this assignment into an equality comparison 1145 | if( cs = csx2name(ccx->cc_indef) ) | ^ | == JIS.cc:1186:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1186 | for( cx = 1; name = charsets[cx].cs_name; cx++ ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ JIS.cc:1186:20: note: place parentheses around the assignment to silence this warning 1186 | for( cx = 1; name = charsets[cx].cs_name; cx++ ){ | ^ | ( ) JIS.cc:1186:20: note: use '==' to turn this assignment into an equality comparison 1186 | for( cx = 1; name = charsets[cx].cs_name; cx++ ){ | ^ | == JIS.cc:1421:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1421 | if( size = CCXcreate(from,to,&ccxbuf) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:1421:11: note: place parentheses around the assignment to silence this warning 1421 | if( size = CCXcreate(from,to,&ccxbuf) ){ | ^ | ( ) JIS.cc:1421:11: note: use '==' to turn this assignment into an equality comparison 1421 | if( size = CCXcreate(from,to,&ccxbuf) ){ | ^ | == JIS.cc:1822:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1822 | if( ucs = ANSItoUCS(ch1) ){ | ~~~~^~~~~~~~~~~~~~~~ JIS.cc:1822:12: note: place parentheses around the assignment to silence this warning 1822 | if( ucs = ANSItoUCS(ch1) ){ | ^ | ( ) JIS.cc:1822:12: note: use '==' to turn this assignment into an equality comparison 1822 | if( ucs = ANSItoUCS(ch1) ){ | ^ | == JIS.cc:2617:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2617 | if( fromURL = 0 <= CH3b ){ | ~~~~~~~~^~~~~~~~~~~ JIS.cc:2617:16: note: place parentheses around the assignment to silence this warning 2617 | if( fromURL = 0 <= CH3b ){ | ^ | ( ) JIS.cc:2617:16: note: use '==' to turn this assignment into an equality comparison 2617 | if( fromURL = 0 <= CH3b ){ | ^ | == JIS.cc:2675:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2675 | else | ^ JIS.cc:2695:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2695 | if( cx = JIS_dakuten(c1,c2,ucs1) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:2695:19: note: place parentheses around the assignment to silence this warning 2695 | if( cx = JIS_dakuten(c1,c2,ucs1) ){ | ^ | ( ) JIS.cc:2695:19: note: use '==' to turn this assignment into an equality comparison 2695 | if( cx = JIS_dakuten(c1,c2,ucs1) ){ | ^ | == JIS.cc:2707:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2707 | if( op[0] = isUTF8_HANKAKU(ch1,ch2,ch3) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:2707:18: note: place parentheses around the assignment to silence this warning 2707 | if( op[0] = isUTF8_HANKAKU(ch1,ch2,ch3) ){ | ^ | ( ) JIS.cc:2707:18: note: use '==' to turn this assignment into an equality comparison 2707 | if( op[0] = isUTF8_HANKAKU(ch1,ch2,ch3) ){ | ^ | == JIS.cc:2840:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2840 | }else | ^ JIS.cc:2836:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2836 | }else | ^ JIS.cc:2923:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2923 | }else | ^ JIS.cc:2989:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2989 | }else | ^ JIS.cc:3112:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 3112 | }else | ^ JIS.cc:3183:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 3183 | }else | ^ JIS.cc:3255:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 3255 | }else | ^ JIS.cc:2811:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2811 | }else | ^ JIS.cc:3375:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3375 | for( sp = str; ch = *sp++; ){ | ~~~^~~~~~~ JIS.cc:3375:20: note: place parentheses around the assignment to silence this warning 3375 | for( sp = str; ch = *sp++; ){ | ^ | ( ) JIS.cc:3375:20: note: use '==' to turn this assignment into an equality comparison 3375 | for( sp = str; ch = *sp++; ){ | ^ | == JIS.cc:3826:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3826 | if( len = UTF8toSJISX(ccx,op,ox,ucs) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:3826:14: note: place parentheses around the assignment to silence this warning 3826 | if( len = UTF8toSJISX(ccx,op,ox,ucs) ){ | ^ | ( ) JIS.cc:3826:14: note: use '==' to turn this assignment into an equality comparison 3826 | if( len = UTF8toSJISX(ccx,op,ox,ucs) ){ | ^ | == JIS.cc:3855:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3855 | if( len = UTF8toSJISX(ccx,op,ox,ucs) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:3855:14: note: place parentheses around the assignment to silence this warning 3855 | if( len = UTF8toSJISX(ccx,op,ox,ucs) ){ | ^ | ( ) JIS.cc:3855:14: note: use '==' to turn this assignment into an equality comparison 3855 | if( len = UTF8toSJISX(ccx,op,ox,ucs) ){ | ^ | == JIS.cc:3871:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3871 | if( len = UTF8toSJISX(ccx,op,ox,ucs) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:3871:14: note: place parentheses around the assignment to silence this warning 3871 | if( len = UTF8toSJISX(ccx,op,ox,ucs) ){ | ^ | ( ) JIS.cc:3871:14: note: use '==' to turn this assignment into an equality comparison 3871 | if( len = UTF8toSJISX(ccx,op,ox,ucs) ){ | ^ | == JIS.cc:4025:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4025 | if( mfp = fopen(file,"w") ){ | ~~~~^~~~~~~~~~~~~~~~~ JIS.cc:4025:10: note: place parentheses around the assignment to silence this warning 4025 | if( mfp = fopen(file,"w") ){ | ^ | ( ) JIS.cc:4025:10: note: use '==' to turn this assignment into an equality comparison 4025 | if( mfp = fopen(file,"w") ){ | ^ | == JIS.cc:4028:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4028 | if( uch = L2Umap[lch] ){ | ~~~~^~~~~~~~~~~~~ JIS.cc:4028:11: note: place parentheses around the assignment to silence this warning 4028 | if( uch = L2Umap[lch] ){ | ^ | ( ) JIS.cc:4028:11: note: use '==' to turn this assignment into an equality comparison 4028 | if( uch = L2Umap[lch] ){ | ^ | == JIS.cc:4046:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4046 | if( mfp = fopen_LIBPATH(file,"r",AVStr(xpath)) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:4046:10: note: place parentheses around the assignment to silence this warning 4046 | if( mfp = fopen_LIBPATH(file,"r",AVStr(xpath)) ){ | ^ | ( ) JIS.cc:4046:10: note: use '==' to turn this assignment into an equality comparison 4046 | if( mfp = fopen_LIBPATH(file,"r",AVStr(xpath)) ){ | ^ | == JIS.cc:4100:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4100 | if( desc = strstr(line,"Column #") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:4100:12: note: place parentheses around the assignment to silence this warning 4100 | if( desc = strstr(line,"Column #") ){ | ^ | ( ) JIS.cc:4100:12: note: use '==' to turn this assignment into an equality comparison 4100 | if( desc = strstr(line,"Column #") ){ | ^ | == JIS.cc:4188:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4188 | if( fp = fopen_LIBPATH(xfile,"r",AVStr(xpath)) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:4188:9: note: place parentheses around the assignment to silence this warning 4188 | if( fp = fopen_LIBPATH(xfile,"r",AVStr(xpath)) ){ | ^ | ( ) JIS.cc:4188:9: note: use '==' to turn this assignment into an equality comparison 4188 | if( fp = fopen_LIBPATH(xfile,"r",AVStr(xpath)) ){ | ^ | == JIS.cc:4209:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4209 | if( map = getenv("MAPUNICODE") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~ JIS.cc:4209:10: note: place parentheses around the assignment to silence this warning 4209 | if( map = getenv("MAPUNICODE") ) | ^ | ( ) JIS.cc:4209:10: note: use '==' to turn this assignment into an equality comparison 4209 | if( map = getenv("MAPUNICODE") ) | ^ | == 37 warnings generated. ../mkcpp codeconv.c codeconv.cc -- mkcpp set time: 1791324466 -> 1109628185 codeconv.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c codeconv.cc ../mkcpp str_stdio.c str_stdio.cc -- mkcpp set time: 1791324466 -> 1195673075 str_stdio.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c str_stdio.cc str_stdio.cc:225:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 225 | for( fp = fmt; fc = *fp; fp++ ){ | ~~~^~~~~ str_stdio.cc:225:20: note: place parentheses around the assignment to silence this warning 225 | for( fp = fmt; fc = *fp; fp++ ){ | ^ | ( ) str_stdio.cc:225:20: note: use '==' to turn this assignment into an equality comparison 225 | for( fp = fmt; fc = *fp; fp++ ){ | ^ | == str_stdio.cc:252:28: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 252 | for( fp = (Uchar*)fmt; fc = *fp; fp++ ){ | ~~~^~~~~ str_stdio.cc:252:28: note: place parentheses around the assignment to silence this warning 252 | for( fp = (Uchar*)fmt; fc = *fp; fp++ ){ | ^ | ( ) str_stdio.cc:252:28: note: use '==' to turn this assignment into an equality comparison 252 | for( fp = (Uchar*)fmt; fc = *fp; fp++ ){ | ^ | == 2 warnings generated. ../mkcpp ccx.c ccx.cc -- mkcpp set time: 1791324466 -> 1217107829 ccx.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c ccx.cc ../mkcpp html.c html.cc -- mkcpp set time: 1791324467 -> 1207224831 html.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c html.cc html.cc:162:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 162 | for( sp = sym; sc = *sp; sp++ ) | ~~~^~~~~ html.cc:162:20: note: place parentheses around the assignment to silence this warning 162 | for( sp = sym; sc = *sp; sp++ ) | ^ | ( ) html.cc:162:20: note: use '==' to turn this assignment into an equality comparison 162 | for( sp = sym; sc = *sp; sp++ ) | ^ | == html.cc:167:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 167 | for( ai = 0; sym1 = tab[ai]._sym; ai++ ){ | ~~~~~^~~~~~~~~~~~~~ html.cc:167:20: note: place parentheses around the assignment to silence this warning 167 | for( ai = 0; sym1 = tab[ai]._sym; ai++ ){ | ^ | ( ) html.cc:167:20: note: use '==' to turn this assignment into an equality comparison 167 | for( ai = 0; sym1 = tab[ai]._sym; ai++ ){ | ^ | == html.cc:206:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 206 | for( ai = 0; sym1 = tab[ai]._sym; ai++ ) | ~~~~~^~~~~~~~~~~~~~ html.cc:206:20: note: place parentheses around the assignment to silence this warning 206 | for( ai = 0; sym1 = tab[ai]._sym; ai++ ) | ^ | ( ) html.cc:206:20: note: use '==' to turn this assignment into an equality comparison 206 | for( ai = 0; sym1 = tab[ai]._sym; ai++ ) | ^ | == html.cc:217:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 217 | for( ai = 0; id1 = tab[ai]._id; ai++ ) | ~~~~^~~~~~~~~~~~~ html.cc:217:19: note: place parentheses around the assignment to silence this warning 217 | for( ai = 0; id1 = tab[ai]._id; ai++ ) | ^ | ( ) html.cc:217:19: note: use '==' to turn this assignment into an equality comparison 217 | for( ai = 0; id1 = tab[ai]._id; ai++ ) | ^ | == html.cc:228:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 228 | if( sym = id2sym0(tab,id) ) | ~~~~^~~~~~~~~~~~~~~~~ html.cc:228:10: note: place parentheses around the assignment to silence this warning 228 | if( sym = id2sym0(tab,id) ) | ^ | ( ) html.cc:228:10: note: use '==' to turn this assignment into an equality comparison 228 | if( sym = id2sym0(tab,id) ) | ^ | == html.cc:256:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 256 | for( ai = 0; ap = tab[ai]._sym; ai++ ){ | ~~~^~~~~~~~~~~~~~ html.cc:256:18: note: place parentheses around the assignment to silence this warning 256 | for( ai = 0; ap = tab[ai]._sym; ai++ ){ | ^ | ( ) html.cc:256:18: note: use '==' to turn this assignment into an equality comparison 256 | for( ai = 0; ap = tab[ai]._sym; ai++ ){ | ^ | == html.cc:976:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 976 | for( si = 2; sym = elemsym[si]._sym; si++ ){ | ~~~~^~~~~~~~~~~~~~~~~~ html.cc:976:19: note: place parentheses around the assignment to silence this warning 976 | for( si = 2; sym = elemsym[si]._sym; si++ ){ | ^ | ( ) html.cc:976:19: note: use '==' to turn this assignment into an equality comparison 976 | for( si = 2; sym = elemsym[si]._sym; si++ ){ | ^ | == html.cc:983:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 983 | for( si = 2; sym = attrsym[si]._sym; si++ ){ | ~~~~^~~~~~~~~~~~~~~~~~ html.cc:983:19: note: place parentheses around the assignment to silence this warning 983 | for( si = 2; sym = attrsym[si]._sym; si++ ){ | ^ | ( ) html.cc:983:19: note: use '==' to turn this assignment into an equality comparison 983 | for( si = 2; sym = attrsym[si]._sym; si++ ){ | ^ | == html.cc:1052:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1052 | for( ei = 0; es = entities[ei].ee; ei++ ){ | ~~~^~~~~~~~~~~~~~~~~ html.cc:1052:18: note: place parentheses around the assignment to silence this warning 1052 | for( ei = 0; es = entities[ei].ee; ei++ ){ | ^ | ( ) html.cc:1052:18: note: use '==' to turn this assignment into an equality comparison 1052 | for( ei = 0; es = entities[ei].ee; ei++ ){ | ^ | == html.cc:1053:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1053 | for( ej = 0; ec = es[off+ej]; ej++ ){ | ~~~^~~~~~~~~~~~ html.cc:1053:19: note: place parentheses around the assignment to silence this warning 1053 | for( ej = 0; ec = es[off+ej]; ej++ ){ | ^ | ( ) html.cc:1053:19: note: use '==' to turn this assignment into an equality comparison 1053 | for( ej = 0; ec = es[off+ej]; ej++ ){ | ^ | == html.cc:1102:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1102 | for( ei = 0; ee = entities[ei].ee; ei++ ){ | ~~~^~~~~~~~~~~~~~~~~ html.cc:1102:20: note: place parentheses around the assignment to silence this warning 1102 | for( ei = 0; ee = entities[ei].ee; ei++ ){ | ^ | ( ) html.cc:1102:20: note: use '==' to turn this assignment into an equality comparison 1102 | for( ei = 0; ee = entities[ei].ee; ei++ ){ | ^ | == html.cc:1153:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1153 | for( ei = 0; de = entities[ei].de; ei++ ){ | ~~~^~~~~~~~~~~~~~~~~ html.cc:1153:19: note: place parentheses around the assignment to silence this warning 1153 | for( ei = 0; de = entities[ei].de; ei++ ){ | ^ | ( ) html.cc:1153:19: note: use '==' to turn this assignment into an equality comparison 1153 | for( ei = 0; de = entities[ei].de; ei++ ){ | ^ | == html.cc:1158:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1158 | for( sp = src; sc = *sp; sp++ ){ | ~~~^~~~~ html.cc:1158:20: note: place parentheses around the assignment to silence this warning 1158 | for( sp = src; sc = *sp; sp++ ){ | ^ | ( ) html.cc:1158:20: note: use '==' to turn this assignment into an equality comparison 1158 | for( sp = src; sc = *sp; sp++ ){ | ^ | == html.cc:1244:28: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1244 | for( sp = (char*)src; sch = *sp; ){ | ~~~~^~~~~ html.cc:1244:28: note: place parentheses around the assignment to silence this warning 1244 | for( sp = (char*)src; sch = *sp; ){ | ^ | ( ) html.cc:1244:28: note: use '==' to turn this assignment into an equality comparison 1244 | for( sp = (char*)src; sch = *sp; ){ | ^ | == html.cc:1257:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1257 | for( bi = 0; bch = brks[bi]; bi++ ) | ~~~~^~~~~~~~~~ html.cc:1257:21: note: place parentheses around the assignment to silence this warning 1257 | for( bi = 0; bch = brks[bi]; bi++ ) | ^ | ( ) html.cc:1257:21: note: use '==' to turn this assignment into an equality comparison 1257 | for( bi = 0; bch = brks[bi]; bi++ ) | ^ | == html.cc:1522:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1522 | }else{ | ^ 16 warnings generated. ../mkcpp urlesc.c urlesc.cc -- mkcpp set time: 1791324467 -> 1218629352 urlesc.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c urlesc.cc urlesc.cc:34:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 34 | if( ep = strchr(str,'%') ){ | ~~~^~~~~~~~~~~~~~~~~ urlesc.cc:34:9: note: place parentheses around the assignment to silence this warning 34 | if( ep = strchr(str,'%') ){ | ^ | ( ) urlesc.cc:34:9: note: use '==' to turn this assignment into an equality comparison 34 | if( ep = strchr(str,'%') ){ | ^ | == urlesc.cc:62:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 62 | for( sp = url; ch = *sp; sp++ ){ | ~~~^~~~~ urlesc.cc:62:20: note: place parentheses around the assignment to silence this warning 62 | for( sp = url; ch = *sp; sp++ ){ | ^ | ( ) urlesc.cc:62:20: note: use '==' to turn this assignment into an equality comparison 62 | for( sp = url; ch = *sp; sp++ ){ | ^ | == urlesc.cc:106:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 106 | for( cp = dst; ch = *cp; cp++ ) | ~~~^~~~~ urlesc.cc:106:20: note: place parentheses around the assignment to silence this warning 106 | for( cp = dst; ch = *cp; cp++ ) | ^ | ( ) urlesc.cc:106:20: note: use '==' to turn this assignment into an equality comparison 106 | for( cp = dst; ch = *cp; cp++ ) | ^ | == urlesc.cc:156:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 156 | for( sp = src; ch = *sp; sp++ ){ | ~~~^~~~~ urlesc.cc:156:20: note: place parentheses around the assignment to silence this warning 156 | for( sp = src; ch = *sp; sp++ ){ | ^ | ( ) urlesc.cc:156:20: note: use '==' to turn this assignment into an equality comparison 156 | for( sp = src; ch = *sp; sp++ ){ | ^ | == urlesc.cc:283:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 283 | for( plen = 0; pch = pat[plen]; plen++ ){ | ~~~~^~~~~~~~~~~ urlesc.cc:283:21: note: place parentheses around the assignment to silence this warning 283 | for( plen = 0; pch = pat[plen]; plen++ ){ | ^ | ( ) urlesc.cc:283:21: note: use '==' to turn this assignment into an equality comparison 283 | for( plen = 0; pch = pat[plen]; plen++ ){ | ^ | == urlesc.cc:362:42: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 362 | for( sp = (const unsigned char*)src; ch = *sp; sp++ ){ | ~~~^~~~~ urlesc.cc:362:42: note: place parentheses around the assignment to silence this warning 362 | for( sp = (const unsigned char*)src; ch = *sp; sp++ ){ | ^ | ( ) urlesc.cc:362:42: note: use '==' to turn this assignment into an equality comparison 362 | for( sp = (const unsigned char*)src; ch = *sp; sp++ ){ | ^ | == urlesc.cc:417:42: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 417 | for( sp = (const unsigned char*)src; ch = *sp; sp++ ){ | ~~~^~~~~ urlesc.cc:417:42: note: place parentheses around the assignment to silence this warning 417 | for( sp = (const unsigned char*)src; ch = *sp; sp++ ){ | ^ | ( ) urlesc.cc:417:42: note: use '==' to turn this assignment into an equality comparison 417 | for( sp = (const unsigned char*)src; ch = *sp; sp++ ){ | ^ | == urlesc.cc:465:42: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 465 | for( sp = (const unsigned char*)src; ch = *sp; sp++ ){ | ~~~^~~~~ urlesc.cc:465:42: note: place parentheses around the assignment to silence this warning 465 | for( sp = (const unsigned char*)src; ch = *sp; sp++ ){ | ^ | ( ) urlesc.cc:465:42: note: use '==' to turn this assignment into an equality comparison 465 | for( sp = (const unsigned char*)src; ch = *sp; sp++ ){ | ^ | == urlesc.cc:485:42: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 485 | for( sp = (const unsigned char*)src; ch = *sp; sp++ ){ | ~~~^~~~~ urlesc.cc:485:42: note: place parentheses around the assignment to silence this warning 485 | for( sp = (const unsigned char*)src; ch = *sp; sp++ ){ | ^ | ( ) urlesc.cc:485:42: note: use '==' to turn this assignment into an equality comparison 485 | for( sp = (const unsigned char*)src; ch = *sp; sp++ ){ | ^ | == 9 warnings generated. ../mkcpp Strftime.c Strftime.cc -- mkcpp set time: 1791324467 -> 1226405612 Strftime.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c Strftime.cc Strftime.cc:246:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 246 | for( i = 0; mo = Month[i]; i++ ) | ~~~^~~~~~~~~~ Strftime.cc:246:17: note: place parentheses around the assignment to silence this warning 246 | for( i = 0; mo = Month[i]; i++ ) | ^ | ( ) Strftime.cc:246:17: note: use '==' to turn this assignment into an equality comparison 246 | for( i = 0; mo = Month[i]; i++ ) | ^ | == Strftime.cc:255:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 255 | for( i = 0; mo = Month[i]; i++ ) | ~~~^~~~~~~~~~ Strftime.cc:255:17: note: place parentheses around the assignment to silence this warning 255 | for( i = 0; mo = Month[i]; i++ ) | ^ | ( ) Strftime.cc:255:17: note: use '==' to turn this assignment into an equality comparison 255 | for( i = 0; mo = Month[i]; i++ ) | ^ | == Strftime.cc:266:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 266 | for( i = 0; wd = Wdays[i]; i++ ) | ~~~^~~~~~~~~~ Strftime.cc:266:17: note: place parentheses around the assignment to silence this warning 266 | for( i = 0; wd = Wdays[i]; i++ ) | ^ | ( ) Strftime.cc:266:17: note: use '==' to turn this assignment into an equality comparison 266 | for( i = 0; wd = Wdays[i]; i++ ) | ^ | == Strftime.cc:270:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 270 | for( i = 0; wd = Wdays[i]; i++ ) | ~~~^~~~~~~~~~ Strftime.cc:270:17: note: place parentheses around the assignment to silence this warning 270 | for( i = 0; wd = Wdays[i]; i++ ) | ^ | ( ) Strftime.cc:270:17: note: use '==' to turn this assignment into an equality comparison 270 | for( i = 0; wd = Wdays[i]; i++ ) | ^ | == Strftime.cc:273:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 273 | for( i = 0; wd = WDays[i]; i++ ) | ~~~^~~~~~~~~~ Strftime.cc:273:17: note: place parentheses around the assignment to silence this warning 273 | for( i = 0; wd = WDays[i]; i++ ) | ^ | ( ) Strftime.cc:273:17: note: use '==' to turn this assignment into an equality comparison 273 | for( i = 0; wd = WDays[i]; i++ ) | ^ | == Strftime.cc:517:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 517 | for( fp = fmt; ch = *fp; fp++ ){ | ~~~^~~~~ Strftime.cc:517:20: note: place parentheses around the assignment to silence this warning 517 | for( fp = fmt; ch = *fp; fp++ ){ | ^ | ( ) Strftime.cc:517:20: note: use '==' to turn this assignment into an equality comparison 517 | for( fp = fmt; ch = *fp; fp++ ){ | ^ | == Strftime.cc:672:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 672 | for( fp = fmt; ch = *fp; fp++ ){ | ~~~^~~~~ Strftime.cc:672:20: note: place parentheses around the assignment to silence this warning 672 | for( fp = fmt; ch = *fp; fp++ ){ | ^ | ( ) Strftime.cc:672:20: note: use '==' to turn this assignment into an equality comparison 672 | for( fp = fmt; ch = *fp; fp++ ){ | ^ | == 7 warnings generated. ../mkcpp Timeofday.c Timeofday.cc -- mkcpp set time: 1791324467 -> 1229869432 Timeofday.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c Timeofday.cc ../mkcpp strid.c strid.cc -- mkcpp set time: 1791324467 -> 1138489400 strid.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c strid.cc ../mkcpp hash.c hash.cc -- mkcpp set time: 1791324467 -> 1197625042 hash.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c hash.cc hash.cc:112:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 112 | for( ks = key; kc = *ks++; ) | ~~~^~~~~~~ hash.cc:112:20: note: place parentheses around the assignment to silence this warning 112 | for( ks = key; kc = *ks++; ) | ^ | ( ) hash.cc:112:20: note: use '==' to turn this assignment into an equality comparison 112 | for( ks = key; kc = *ks++; ) | ^ | == 1 warning generated. ../mkcpp bsort.c bsort.cc -- mkcpp set time: 1791324468 -> 1106162589 bsort.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c bsort.cc ../mkcpp codec.c codec.cc -- mkcpp set time: 1791324468 -> 1109634198 codec.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c codec.cc codec.cc:96:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 96 | for( ep = encs+1; ec1 = *ep; ep += 2 ){ | ~~~~^~~~~ codec.cc:96:25: note: place parentheses around the assignment to silence this warning 96 | for( ep = encs+1; ec1 = *ep; ep += 2 ){ | ^ | ( ) codec.cc:96:25: note: use '==' to turn this assignment into an equality comparison 96 | for( ep = encs+1; ec1 = *ep; ep += 2 ){ | ^ | == codec.cc:108:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 108 | if( dp = strpbrk(srcs,"\r\n") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ codec.cc:108:11: note: place parentheses around the assignment to silence this warning 108 | if( dp = strpbrk(srcs,"\r\n") ){ | ^ | ( ) codec.cc:108:11: note: use '==' to turn this assignment into an equality comparison 108 | if( dp = strpbrk(srcs,"\r\n") ){ | ^ | == 2 warnings generated. ../mkcpp uu.c uu.cc -- mkcpp set time: 1791324468 -> 1105751153 uu.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c uu.cc ../mkcpp pstitle.c pstitle.cc -- mkcpp set time: 1791324468 -> 1791324442 pstitle.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c pstitle.cc ../mkcpp signal.c signal.cc -- mkcpp set time: 1791324468 -> 1139996132 signal.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c signal.cc signal.cc:70:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 70 | case SIGHUP: return "HUP"; | ^ signal.cc:71:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 71 | case SIGINT: return "INT"; | ^ signal.cc:72:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 72 | case SIGQUIT: return "QUIT"; | ^ signal.cc:73:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 73 | case SIGILL: return "ILL"; | ^ signal.cc:75:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 75 | case SIGFPE: return "FPE"; | ^ signal.cc:76:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 76 | case SIGBUS: return "BUS"; | ^ signal.cc:77:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 77 | case SIGSEGV: return "SEGV"; | ^ signal.cc:78:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 78 | case SIGPIPE: return "PIPE"; | ^ signal.cc:80:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 80 | case SIGKILL: return "KILL"; | ^ signal.cc:81:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 81 | case SIGTERM: return "TERM"; | ^ signal.cc:83:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 83 | case SIGTRAP: return "TRAP"; | ^ signal.cc:84:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 84 | case SIGALRM: return "ALRM"; | ^ signal.cc:85:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 85 | case SIGCHLD: return "CHLD"; | ^ signal.cc:86:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 86 | case SIGEMT: return "EMT"; | ^ signal.cc:87:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 87 | default: return "???"; | ^ 15 warnings generated. ../mkcpp IsSolaris.c IsSolaris.cc -- mkcpp set time: 1791324468 -> 1099942850 IsSolaris.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c IsSolaris.cc ../mkcpp sched.c sched.cc -- mkcpp set time: 1791324468 -> 1195795175 sched.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c sched.cc sched.cc:340:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 340 | if( action = strpbrk(cronspecb,": \t") ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ sched.cc:340:13: note: place parentheses around the assignment to silence this warning 340 | if( action = strpbrk(cronspecb,": \t") ){ | ^ | ( ) sched.cc:340:13: note: use '==' to turn this assignment into an equality comparison 340 | if( action = strpbrk(cronspecb,": \t") ){ | ^ | == sched.cc:472:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 472 | if( d = v1[i] - v2[i] ) | ~~^~~~~~~~~~~~~~~ sched.cc:472:9: note: place parentheses around the assignment to silence this warning 472 | if( d = v1[i] - v2[i] ) | ^ | ( ) sched.cc:472:9: note: use '==' to turn this assignment into an equality comparison 472 | if( d = v1[i] - v2[i] ) | ^ | == 2 warnings generated. ../mkcpp readycc.c readycc.cc -- mkcpp set time: 1791324469 -> 1099000777 readycc.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c readycc.cc ../mkcpp fpoll.c fpoll.cc -- mkcpp set time: 1791324469 -> 1194544712 fpoll.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c fpoll.cc ../mkcpp fpolls.c fpolls.cc -- mkcpp set time: 1791324469 -> 1163033423 fpolls.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c fpolls.cc ../mkcpp frelay.c frelay.cc -- mkcpp set time: 1791324469 -> 1123368609 frelay.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c frelay.cc ../mkcpp timer.c timer.cc -- mkcpp set time: 1791324469 -> 1186870896 timer.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c timer.cc timer.cc:110:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 110 | if( oa = alarm(intvl) ) | ~~~^~~~~~~~~~~~~~ timer.cc:110:9: note: place parentheses around the assignment to silence this warning 110 | if( oa = alarm(intvl) ) | ^ | ( ) timer.cc:110:9: note: use '==' to turn this assignment into an equality comparison 110 | if( oa = alarm(intvl) ) | ^ | == timer.cc:128:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 128 | if( oa = tp->time ){ | ~~~^~~~~~~~~~ timer.cc:128:9: note: place parentheses around the assignment to silence this warning 128 | if( oa = tp->time ){ | ^ | ( ) timer.cc:128:9: note: use '==' to turn this assignment into an equality comparison 128 | if( oa = tp->time ){ | ^ | == timer.cc:191:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 191 | if( sec = msec / 1000 ) | ~~~~^~~~~~~~~~~~~ timer.cc:191:10: note: place parentheses around the assignment to silence this warning 191 | if( sec = msec / 1000 ) | ^ | ( ) timer.cc:191:10: note: use '==' to turn this assignment into an equality comparison 191 | if( sec = msec / 1000 ) | ^ | == timer.cc:194:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 194 | if( usec = (msec % 1000)*1000 ) | ~~~~~^~~~~~~~~~~~~~~~~~~~ timer.cc:194:11: note: place parentheses around the assignment to silence this warning 194 | if( usec = (msec % 1000)*1000 ) | ^ | ( ) timer.cc:194:11: note: use '==' to turn this assignment into an equality comparison 194 | if( usec = (msec % 1000)*1000 ) | ^ | == 4 warnings generated. ../mkcpp tar.c tar.cc -- mkcpp set time: 1791324469 -> 1201455127 tar.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c tar.cc tar.cc:166:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 166 | for( fi = 0; file1 = files[fi]; fi++ ){ | ~~~~~~^~~~~~~~~~~ tar.cc:166:21: note: place parentheses around the assignment to silence this warning 166 | for( fi = 0; file1 = files[fi]; fi++ ){ | ^ | ( ) tar.cc:166:21: note: use '==' to turn this assignment into an equality comparison 166 | for( fi = 0; file1 = files[fi]; fi++ ){ | ^ | == tar.cc:290:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 290 | for( fi = 0; file1 = files[fi]; fi++ ){ | ~~~~~~^~~~~~~~~~~ tar.cc:290:21: note: place parentheses around the assignment to silence this warning 290 | for( fi = 0; file1 = files[fi]; fi++ ){ | ^ | ( ) tar.cc:290:21: note: use '==' to turn this assignment into an equality comparison 290 | for( fi = 0; file1 = files[fi]; fi++ ){ | ^ | == tar.cc:524:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 524 | if( tfp = fopen(arg,"r+") ) | ~~~~^~~~~~~~~~~~~~~~~ tar.cc:524:15: note: place parentheses around the assignment to silence this warning 524 | if( tfp = fopen(arg,"r+") ) | ^ | ( ) tar.cc:524:15: note: use '==' to turn this assignment into an equality comparison 524 | if( tfp = fopen(arg,"r+") ) | ^ | == 3 warnings generated. ../mkcpp sed.c sed.cc -- mkcpp set time: 1791324469 -> 1199165288 sed.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c sed.cc sed.cc:79:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 79 | for(; sc = *sp; sp++ ){ | ~~~^~~~~ sed.cc:79:11: note: place parentheses around the assignment to silence this warning 79 | for(; sc = *sp; sp++ ){ | ^ | ( ) sed.cc:79:11: note: use '==' to turn this assignment into an equality comparison 79 | for(; sc = *sp; sp++ ){ | ^ | == sed.cc:95:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 95 | for( sp = (char*)str; sc = *sp; sp++ ){ | ~~~^~~~~ sed.cc:95:27: note: place parentheses around the assignment to silence this warning 95 | for( sp = (char*)str; sc = *sp; sp++ ){ | ^ | ( ) sed.cc:95:27: note: use '==' to turn this assignment into an equality comparison 95 | for( sp = (char*)str; sc = *sp; sp++ ){ | ^ | == sed.cc:148:29: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 148 | for( fp = sc->c_outpat; fc = *fp; fp++ ){ | ~~~^~~~~ sed.cc:148:29: note: place parentheses around the assignment to silence this warning 148 | for( fp = sc->c_outpat; fc = *fp; fp++ ){ | ^ | ( ) sed.cc:148:29: note: use '==' to turn this assignment into an equality comparison 148 | for( fp = sc->c_outpat; fc = *fp; fp++ ){ | ^ | == sed.cc:172:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 172 | if( next = frex_matchX(sc->c_matchrex,iline,&start) ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sed.cc:172:13: note: place parentheses around the assignment to silence this warning 172 | if( next = frex_matchX(sc->c_matchrex,iline,&start) ) | ^ | ( ) sed.cc:172:13: note: use '==' to turn this assignment into an equality comparison 172 | if( next = frex_matchX(sc->c_matchrex,iline,&start) ) | ^ | == sed.cc:191:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 191 | while( next = frex_matchX(sc->c_srcrex,ip,&start) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sed.cc:191:16: note: place parentheses around the assignment to silence this warning 191 | while( next = frex_matchX(sc->c_srcrex,ip,&start) ){ | ^ | ( ) sed.cc:191:16: note: use '==' to turn this assignment into an equality comparison 191 | while( next = frex_matchX(sc->c_srcrex,ip,&start) ){ | ^ | == sed.cc:226:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 226 | if( crp = strpbrk(iline,"\r\n") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ sed.cc:226:11: note: place parentheses around the assignment to silence this warning 226 | if( crp = strpbrk(iline,"\r\n") ){ | ^ | ( ) sed.cc:226:11: note: use '==' to turn this assignment into an equality comparison 226 | if( crp = strpbrk(iline,"\r\n") ){ | ^ | == 6 warnings generated. ../mkcpp nbio.c nbio.cc -- mkcpp set time: 1791324470 -> 1231444665 nbio.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c nbio.cc nbio.cc:667:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 667 | if( nready = PollIn(in,1) ) | ~~~~~~~^~~~~~~~~~~~~~ nbio.cc:667:14: note: place parentheses around the assignment to silence this warning 667 | if( nready = PollIn(in,1) ) | ^ | ( ) nbio.cc:667:14: note: use '==' to turn this assignment into an equality comparison 667 | if( nready = PollIn(in,1) ) | ^ | == nbio.cc:1048:43: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] 1048 | double Lastin[32],Now,Timeout,Idlest,Time(); | ^~ nbio.cc:1048:43: note: replace parentheses with an initializer to declare a variable 1048 | double Lastin[32],Now,Timeout,Idlest,Time(); | ^~ | = 0.0 nbio.cc:1151:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1151 | if( cb = RELAY_idle_cb ){ | ~~~^~~~~~~~~~~~~~~ nbio.cc:1151:10: note: place parentheses around the assignment to silence this warning 1151 | if( cb = RELAY_idle_cb ){ | ^ | ( ) nbio.cc:1151:10: note: use '==' to turn this assignment into an equality comparison 1151 | if( cb = RELAY_idle_cb ){ | ^ | == nbio.cc:1165:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1165 | if( cb = RELAY_idle_cb ){ | ~~~^~~~~~~~~~~~~~~ nbio.cc:1165:11: note: place parentheses around the assignment to silence this warning 1165 | if( cb = RELAY_idle_cb ){ | ^ | ( ) nbio.cc:1165:11: note: use '==' to turn this assignment into an equality comparison 1165 | if( cb = RELAY_idle_cb ){ | ^ | == 4 warnings generated. ../mkcpp vsaddr.c vsaddr.cc -- mkcpp set time: 1791324470 -> 1226444942 vsaddr.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c vsaddr.cc vsaddr.cc:56:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 56 | else | ^ vsaddr.cc:166:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 166 | if( root = VSA_afunixroot ){ | ~~~~~^~~~~~~~~~~~~~~~ vsaddr.cc:166:11: note: place parentheses around the assignment to silence this warning 166 | if( root = VSA_afunixroot ){ | ^ | ( ) vsaddr.cc:166:11: note: use '==' to turn this assignment into an equality comparison 166 | if( root = VSA_afunixroot ){ | ^ | == vsaddr.cc:202:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 202 | for( sp = path; ch = *sp; sp++ ){ | ~~~^~~~~ vsaddr.cc:202:21: note: place parentheses around the assignment to silence this warning 202 | for( sp = path; ch = *sp; sp++ ){ | ^ | ( ) vsaddr.cc:202:21: note: use '==' to turn this assignment into an equality comparison 202 | for( sp = path; ch = *sp; sp++ ){ | ^ | == vsaddr.cc:338:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 338 | }else{ | ^ vsaddr.cc:398:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 398 | else ok = inet_ntop(AF_INET6,&((SIN6*)sap)->sin6_addr,hbuf,sizeof(hbuf)) != NULL; | ^ vsaddr.cc:509:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 509 | if( ap = strtailstr(dst,".ipv6") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ vsaddr.cc:509:9: note: place parentheses around the assignment to silence this warning 509 | if( ap = strtailstr(dst,".ipv6") ){ | ^ | ( ) vsaddr.cc:509:9: note: use '==' to turn this assignment into an equality comparison 509 | if( ap = strtailstr(dst,".ipv6") ){ | ^ | == vsaddr.cc:565:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 565 | for( np = name; nc = *np; np++ ){ | ~~~^~~~~ vsaddr.cc:565:21: note: place parentheses around the assignment to silence this warning 565 | for( np = name; nc = *np; np++ ){ | ^ | ( ) vsaddr.cc:565:21: note: use '==' to turn this assignment into an equality comparison 565 | for( np = name; nc = *np; np++ ){ | ^ | == vsaddr.cc:587:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 587 | for( ap = addr; ac = *ap; ap++ ){ | ~~~^~~~~ vsaddr.cc:587:21: note: place parentheses around the assignment to silence this warning 587 | for( ap = addr; ac = *ap; ap++ ){ | ^ | ( ) vsaddr.cc:587:21: note: use '==' to turn this assignment into an equality comparison 587 | for( ap = addr; ac = *ap; ap++ ){ | ^ | == vsaddr.cc:853:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 853 | if( pp = strchr(addr,':') ){ | ~~~^~~~~~~~~~~~~~~~~~ vsaddr.cc:853:10: note: place parentheses around the assignment to silence this warning 853 | if( pp = strchr(addr,':') ){ | ^ | ( ) vsaddr.cc:853:10: note: use '==' to turn this assignment into an equality comparison 853 | if( pp = strchr(addr,':') ){ | ^ | == vsaddr.cc:862:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 862 | if( addr = VSA_ntoa(sa) ){ | ~~~~~^~~~~~~~~~~~~~ vsaddr.cc:862:11: note: place parentheses around the assignment to silence this warning 862 | if( addr = VSA_ntoa(sa) ){ | ^ | ( ) vsaddr.cc:862:11: note: use '==' to turn this assignment into an equality comparison 862 | if( addr = VSA_ntoa(sa) ){ | ^ | == 10 warnings generated. ../mkcpp pelcgb.c pelcgb.cc -- mkcpp set time: 1791324470 -> 1171395622 pelcgb.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c pelcgb.cc pelcgb.cc:253:11: warning: unsequenced modification and access to 'ox' [-Wunsequenced] 253 | out[ox++] = (out[oi++] + ox) + crc; | ^ ~~ pelcgb.cc:539:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 539 | if( env = getenv("CCRYMAP") ) map = atoi(env); | ~~~~^~~~~~~~~~~~~~~~~~~ pelcgb.cc:539:10: note: place parentheses around the assignment to silence this warning 539 | if( env = getenv("CCRYMAP") ) map = atoi(env); | ^ | ( ) pelcgb.cc:539:10: note: use '==' to turn this assignment into an equality comparison 539 | if( env = getenv("CCRYMAP") ) map = atoi(env); | ^ | == pelcgb.cc:540:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 540 | if( env = getenv("CCRYLEN") ) bklen = atoi(env); | ~~~~^~~~~~~~~~~~~~~~~~~ pelcgb.cc:540:10: note: place parentheses around the assignment to silence this warning 540 | if( env = getenv("CCRYLEN") ) bklen = atoi(env); | ^ | ( ) pelcgb.cc:540:10: note: use '==' to turn this assignment into an equality comparison 540 | if( env = getenv("CCRYLEN") ) bklen = atoi(env); | ^ | == pelcgb.cc:541:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 541 | if( env = getenv("CCRYDEBUG") ) debug = atoi(env); | ~~~~^~~~~~~~~~~~~~~~~~~~~ pelcgb.cc:541:10: note: place parentheses around the assignment to silence this warning 541 | if( env = getenv("CCRYDEBUG") ) debug = atoi(env); | ^ | ( ) pelcgb.cc:541:10: note: use '==' to turn this assignment into an equality comparison 541 | if( env = getenv("CCRYDEBUG") ) debug = atoi(env); | ^ | == pelcgb.cc:609:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 609 | for( s = str; ch = *s; s++ ){ | ~~~^~~~ pelcgb.cc:609:19: note: place parentheses around the assignment to silence this warning 609 | for( s = str; ch = *s; s++ ){ | ^ | ( ) pelcgb.cc:609:19: note: use '==' to turn this assignment into an equality comparison 609 | for( s = str; ch = *s; s++ ){ | ^ | == 5 warnings generated. ../mkcpp credhy.c credhy.cc -- mkcpp set time: 1791324470 -> 1791324442 credhy.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c credhy.cc credhy.cc:540:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 540 | if( fp = fopen(CREDHY_CACHE,"r") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ credhy.cc:540:9: note: place parentheses around the assignment to silence this warning 540 | if( fp = fopen(CREDHY_CACHE,"r") ){ | ^ | ( ) credhy.cc:540:9: note: use '==' to turn this assignment into an equality comparison 540 | if( fp = fopen(CREDHY_CACHE,"r") ){ | ^ | == credhy.cc:733:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 733 | if( on1 |= N[i] ){ | ~~~~^~~~~~~ credhy.cc:733:11: note: place parentheses around the assignment to silence this warning 733 | if( on1 |= N[i] ){ | ^ | ( ) credhy.cc:733:11: note: use '!=' to turn this compound assignment into an inequality comparison 733 | if( on1 |= N[i] ){ | ^~ | != credhy.cc:790:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 790 | if( on |= M[i] ){ | ~~~^~~~~~~ credhy.cc:790:10: note: place parentheses around the assignment to silence this warning 790 | if( on |= M[i] ){ | ^ | ( ) credhy.cc:790:10: note: use '!=' to turn this compound assignment into an inequality comparison 790 | if( on |= M[i] ){ | ^~ | != credhy.cc:1834:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1834 | if( strenc = (strchr(opts,CTYPEB) != 0) ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ credhy.cc:1834:13: note: place parentheses around the assignment to silence this warning 1834 | if( strenc = (strchr(opts,CTYPEB) != 0) ){ | ^ | ( ) credhy.cc:1834:13: note: use '==' to turn this assignment into an equality comparison 1834 | if( strenc = (strchr(opts,CTYPEB) != 0) ){ | ^ | == credhy.cc:1837:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1837 | if( b64enc = (strchr(opts,CTYPE64) != 0) ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ credhy.cc:1837:13: note: place parentheses around the assignment to silence this warning 1837 | if( b64enc = (strchr(opts,CTYPE64) != 0) ){ | ^ | ( ) credhy.cc:1837:13: note: use '==' to turn this assignment into an equality comparison 1837 | if( b64enc = (strchr(opts,CTYPE64) != 0) ){ | ^ | == credhy.cc:1840:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1840 | if( msprea = (strchr(opts,COPTSTS) != 0) ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ credhy.cc:1840:13: note: place parentheses around the assignment to silence this warning 1840 | if( msprea = (strchr(opts,COPTSTS) != 0) ){ | ^ | ( ) credhy.cc:1840:13: note: use '==' to turn this assignment into an equality comparison 1840 | if( msprea = (strchr(opts,COPTSTS) != 0) ){ | ^ | == credhy.cc:2038:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2038 | for( sp = src; schr = *sp; sp++ ){ | ~~~~~^~~~~ credhy.cc:2038:22: note: place parentheses around the assignment to silence this warning 2038 | for( sp = src; schr = *sp; sp++ ){ | ^ | ( ) credhy.cc:2038:22: note: use '==' to turn this assignment into an equality comparison 2038 | for( sp = src; schr = *sp; sp++ ){ | ^ | == 7 warnings generated. ../mkcpp cksum.c cksum.cc -- mkcpp set time: 1791324471 -> 1226405589 cksum.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c cksum.cc cksum.cc:57:23: warning: expression result unused [-Wunused-value] 57 | for( li = 0; li < 4; li ){ | ^~ cksum.cc:99:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 99 | if( fp = fopen(file,"r") ){ | ~~~^~~~~~~~~~~~~~~~~ cksum.cc:99:9: note: place parentheses around the assignment to silence this warning 99 | if( fp = fopen(file,"r") ){ | ^ | ( ) cksum.cc:99:9: note: use '==' to turn this assignment into an equality comparison 99 | if( fp = fopen(file,"r") ){ | ^ | == cksum.cc:107:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 107 | if( sum = fopen(sumfile,"w") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~ cksum.cc:107:11: note: place parentheses around the assignment to silence this warning 107 | if( sum = fopen(sumfile,"w") ){ | ^ | ( ) cksum.cc:107:11: note: use '==' to turn this assignment into an equality comparison 107 | if( sum = fopen(sumfile,"w") ){ | ^ | == cksum.cc:128:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 128 | for( ci = 0; ch = line[ci]; ci++ ){ | ~~~^~~~~~~~~~ cksum.cc:128:20: note: place parentheses around the assignment to silence this warning 128 | for( ci = 0; ch = line[ci]; ci++ ){ | ^ | ( ) cksum.cc:128:20: note: use '==' to turn this assignment into an equality comparison 128 | for( ci = 0; ch = line[ci]; ci++ ){ | ^ | == cksum.cc:193:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 193 | if( fp = fopen(file,"r") ){ | ~~~^~~~~~~~~~~~~~~~~ cksum.cc:193:12: note: place parentheses around the assignment to silence this warning 193 | if( fp = fopen(file,"r") ){ | ^ | ( ) cksum.cc:193:12: note: use '==' to turn this assignment into an equality comparison 193 | if( fp = fopen(file,"r") ){ | ^ | == cksum.cc:249:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 249 | if( fp = fopen(av[ai],"r") ){ | ~~~^~~~~~~~~~~~~~~~~~~ cksum.cc:249:11: note: place parentheses around the assignment to silence this warning 249 | if( fp = fopen(av[ai],"r") ){ | ^ | ( ) cksum.cc:249:11: note: use '==' to turn this assignment into an equality comparison 249 | if( fp = fopen(av[ai],"r") ){ | ^ | == cksum.cc:251:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 251 | if( dp = strpbrk(line,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ cksum.cc:251:13: note: place parentheses around the assignment to silence this warning 251 | if( dp = strpbrk(line,"\r\n") ) | ^ | ( ) cksum.cc:251:13: note: use '==' to turn this assignment into an equality comparison 251 | if( dp = strpbrk(line,"\r\n") ) | ^ | == 7 warnings generated. ../mkcpp setutimes.c setutimes.cc -- mkcpp set time: 1791324471 -> 1217718349 setutimes.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c setutimes.cc setutimes.cc:152:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 152 | if( fp = fopen(path,"a") ){ | ~~~^~~~~~~~~~~~~~~~~ setutimes.cc:152:9: note: place parentheses around the assignment to silence this warning 152 | if( fp = fopen(path,"a") ){ | ^ | ( ) setutimes.cc:152:9: note: use '==' to turn this assignment into an equality comparison 152 | if( fp = fopen(path,"a") ){ | ^ | == 1 warning generated. ../mkcpp file.c file.cc -- mkcpp set time: 1791324471 -> 1227856710 file.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c file.cc file.cc:282:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 282 | if( fp = fopen(path,"w") ){ | ~~~^~~~~~~~~~~~~~~~~ file.cc:282:11: note: place parentheses around the assignment to silence this warning 282 | if( fp = fopen(path,"w") ){ | ^ | ( ) file.cc:282:11: note: use '==' to turn this assignment into an equality comparison 282 | if( fp = fopen(path,"w") ){ | ^ | == file.cc:803:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 803 | for( sp = buff; sc = *sp; sp++ ){ | ~~~^~~~~ file.cc:803:21: note: place parentheses around the assignment to silence this warning 803 | for( sp = buff; sc = *sp; sp++ ){ | ^ | ( ) file.cc:803:21: note: use '==' to turn this assignment into an equality comparison 803 | for( sp = buff; sc = *sp; sp++ ){ | ^ | == file.cc:909:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 909 | if( size = *sizep ){ | ~~~~~^~~~~~~~ file.cc:909:11: note: place parentheses around the assignment to silence this warning 909 | if( size = *sizep ){ | ^ | ( ) file.cc:909:11: note: use '==' to turn this assignment into an equality comparison 909 | if( size = *sizep ){ | ^ | == file.cc:932:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 932 | if( dp = strpbrk(str,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~ file.cc:932:10: note: place parentheses around the assignment to silence this warning 932 | if( dp = strpbrk(str,"\r\n") ) | ^ | ( ) file.cc:932:10: note: use '==' to turn this assignment into an equality comparison 932 | if( dp = strpbrk(str,"\r\n") ) | ^ | == file.cc:1089:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1089 | for( li = 0; dir1 = pathv[li]; li++ ){ | ~~~~~^~~~~~~~~~~ file.cc:1089:20: note: place parentheses around the assignment to silence this warning 1089 | for( li = 0; dir1 = pathv[li]; li++ ){ | ^ | ( ) file.cc:1089:20: note: use '==' to turn this assignment into an equality comparison 1089 | for( li = 0; dir1 = pathv[li]; li++ ){ | ^ | == file.cc:1161:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1161 | if( fp = fopen(file,mode) ) | ~~~^~~~~~~~~~~~~~~~~~ file.cc:1161:10: note: place parentheses around the assignment to silence this warning 1161 | if( fp = fopen(file,mode) ) | ^ | ( ) file.cc:1161:10: note: use '==' to turn this assignment into an equality comparison 1161 | if( fp = fopen(file,mode) ) | ^ | == file.cc:1165:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1165 | if( libpath = getenv("LIBPATH") ) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~ file.cc:1165:14: note: place parentheses around the assignment to silence this warning 1165 | if( libpath = getenv("LIBPATH") ) | ^ | ( ) file.cc:1165:14: note: use '==' to turn this assignment into an equality comparison 1165 | if( libpath = getenv("LIBPATH") ) | ^ | == file.cc:1191:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1191 | if( fp = fopen_LIBPATH(file,"r",AVStr(xfile)) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file.cc:1191:9: note: place parentheses around the assignment to silence this warning 1191 | if( fp = fopen_LIBPATH(file,"r",AVStr(xfile)) ){ | ^ | ( ) file.cc:1191:9: note: use '==' to turn this assignment into an equality comparison 1191 | if( fp = fopen_LIBPATH(file,"r",AVStr(xfile)) ){ | ^ | == file.cc:1418:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1418 | }else | ^ file.cc:1501:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1501 | if( len = isFullpath(go) ){ | ~~~~^~~~~~~~~~~~~~~~ file.cc:1501:10: note: place parentheses around the assignment to silence this warning 1501 | if( len = isFullpath(go) ){ | ^ | ( ) file.cc:1501:10: note: use '==' to turn this assignment into an equality comparison 1501 | if( len = isFullpath(go) ){ | ^ | == file.cc:1531:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1531 | if( cp = FindRDirSep(cwd) ){ | ~~~^~~~~~~~~~~~~~~~~~ file.cc:1531:12: note: place parentheses around the assignment to silence this warning 1531 | if( cp = FindRDirSep(cwd) ){ | ^ | ( ) file.cc:1531:12: note: use '==' to turn this assignment into an equality comparison 1531 | if( cp = FindRDirSep(cwd) ){ | ^ | == file.cc:1539:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1539 | if( cp = FindDirSep(go) ) | ~~~^~~~~~~~~~~~~~~~ file.cc:1539:11: note: place parentheses around the assignment to silence this warning 1539 | if( cp = FindDirSep(go) ) | ^ | ( ) file.cc:1539:11: note: use '==' to turn this assignment into an equality comparison 1539 | if( cp = FindDirSep(go) ) | ^ | == 12 warnings generated. ../mkcpp fstat.c fstat.cc -- mkcpp set time: 1791324471 -> 1224807990 fstat.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c fstat.cc fstat.cc:571:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 571 | if( vp = strrpbrk(vdir,"/\\") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ fstat.cc:571:9: note: place parentheses around the assignment to silence this warning 571 | if( vp = strrpbrk(vdir,"/\\") ){ | ^ | ( ) fstat.cc:571:9: note: use '==' to turn this assignment into an equality comparison 571 | if( vp = strrpbrk(vdir,"/\\") ){ | ^ | == fstat.cc:665:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 665 | if( ep = strrchr(name,'.') ) | ~~~^~~~~~~~~~~~~~~~~~~ fstat.cc:665:10: note: place parentheses around the assignment to silence this warning 665 | if( ep = strrchr(name,'.') ) | ^ | ( ) fstat.cc:665:10: note: use '==' to turn this assignment into an equality comparison 665 | if( ep = strrchr(name,'.') ) | ^ | == fstat.cc:680:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 680 | if( f1 = strpbrk(fact1,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~ fstat.cc:680:10: note: place parentheses around the assignment to silence this warning 680 | if( f1 = strpbrk(fact1,"\r\n") ) | ^ | ( ) fstat.cc:680:10: note: use '==' to turn this assignment into an equality comparison 680 | if( f1 = strpbrk(fact1,"\r\n") ) | ^ | == fstat.cc:689:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 689 | if( xp = strrpbrk(xpath,"/\\") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~ fstat.cc:689:11: note: place parentheses around the assignment to silence this warning 689 | if( xp = strrpbrk(xpath,"/\\") ){ | ^ | ( ) fstat.cc:689:11: note: use '==' to turn this assignment into an equality comparison 689 | if( xp = strrpbrk(xpath,"/\\") ){ | ^ | == fstat.cc:778:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 778 | for( sp = fmt; sc = *sp; sp++ ){ | ~~~^~~~~ fstat.cc:778:20: note: place parentheses around the assignment to silence this warning 778 | for( sp = fmt; sc = *sp; sp++ ){ | ^ | ( ) fstat.cc:778:20: note: use '==' to turn this assignment into an equality comparison 778 | for( sp = fmt; sc = *sp; sp++ ){ | ^ | == fstat.cc:890:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 890 | if( fp = fopen(path,"r") ){ | ~~~^~~~~~~~~~~~~~~~~ fstat.cc:890:12: note: place parentheses around the assignment to silence this warning 890 | if( fp = fopen(path,"r") ){ | ^ | ( ) fstat.cc:890:12: note: use '==' to turn this assignment into an equality comparison 890 | if( fp = fopen(path,"r") ){ | ^ | == fstat.cc:948:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 948 | if( diff = e2->s_ikey - e1->s_ikey ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ fstat.cc:948:11: note: place parentheses around the assignment to silence this warning 948 | if( diff = e2->s_ikey - e1->s_ikey ) | ^ | ( ) fstat.cc:948:11: note: use '==' to turn this assignment into an equality comparison 948 | if( diff = e2->s_ikey - e1->s_ikey ) | ^ | == fstat.cc:1053:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1053 | if( dp = strrchr(vbase,'/') ) | ~~~^~~~~~~~~~~~~~~~~~~~ fstat.cc:1053:13: note: place parentheses around the assignment to silence this warning 1053 | if( dp = strrchr(vbase,'/') ) | ^ | ( ) fstat.cc:1053:13: note: use '==' to turn this assignment into an equality comparison 1053 | if( dp = strrchr(vbase,'/') ) | ^ | == fstat.cc:1063:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1063 | if( dp = strrchr(dirpath,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ fstat.cc:1063:10: note: place parentheses around the assignment to silence this warning 1063 | if( dp = strrchr(dirpath,'/') ){ | ^ | ( ) fstat.cc:1063:10: note: use '==' to turn this assignment into an equality comparison 1063 | if( dp = strrchr(dirpath,'/') ){ | ^ | == fstat.cc:1100:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1100 | if( dp = strstr(fmt,"%D") ) | ~~~^~~~~~~~~~~~~~~~~~ fstat.cc:1100:10: note: place parentheses around the assignment to silence this warning 1100 | if( dp = strstr(fmt,"%D") ) | ^ | ( ) fstat.cc:1100:10: note: use '==' to turn this assignment into an equality comparison 1100 | if( dp = strstr(fmt,"%D") ) | ^ | == fstat.cc:1048:20: warning: expression result unused [-Wunused-value] 1048 | while( op[1] ) *op++; /* skip remaining */ | ^~~~~ 11 warnings generated. ../mkcpp pam.c pam.cc -- mkcpp set time: 1791324471 -> 1162428133 pam.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c pam.cc clang -o ../filters/mkstab ../filters/mkstab.c ../filters/mkstab.c:76:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 76 | if( sp = strstr(line,"/*BEGIN_STAB") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../filters/mkstab.c:76:10: note: place parentheses around the assignment to silence this warning 76 | if( sp = strstr(line,"/*BEGIN_STAB") ){ | ^ | ( ) ../filters/mkstab.c:76:10: note: use '==' to turn this assignment into an equality comparison 76 | if( sp = strstr(line,"/*BEGIN_STAB") ){ | ^ | == ../filters/mkstab.c:102:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 102 | for( sp = line; ch = *sp; sp++ ){ | ~~~^~~~~ ../filters/mkstab.c:102:22: note: place parentheses around the assignment to silence this warning 102 | for( sp = line; ch = *sp; sp++ ){ | ^ | ( ) ../filters/mkstab.c:102:22: note: use '==' to turn this assignment into an equality comparison 102 | for( sp = line; ch = *sp; sp++ ){ | ^ | == ../filters/mkstab.c:106:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 106 | while( ch = *sp ){ | ~~~^~~~~ ../filters/mkstab.c:106:13: note: place parentheses around the assignment to silence this warning 106 | while( ch = *sp ){ | ^ | ( ) ../filters/mkstab.c:106:13: note: use '==' to turn this assignment into an equality comparison 106 | while( ch = *sp ){ | ^ | == ../filters/mkstab.c:156:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 156 | if( op = strstr(line,"/*OPT(") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~ ../filters/mkstab.c:156:10: note: place parentheses around the assignment to silence this warning 156 | if( op = strstr(line,"/*OPT(") ){ | ^ | ( ) ../filters/mkstab.c:156:10: note: use '==' to turn this assignment into an equality comparison 156 | if( op = strstr(line,"/*OPT(") ){ | ^ | == 4 warnings generated. ../filters/mkstab < libpam.c > libpam_dl.c ../mkcpp libpam_dl.c libpam_dl.cc -- mkcpp set time: 1791324472 -> 1791324472 libpam_dl.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c libpam_dl.cc libpam_dl.cc:78:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 78 | /*DLST*/ {"#pam"}, /*handle*/ | ^ libpam_dl.cc:79:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 79 | /*DLST*/ {"pam_start",&pam_start_PTR_}, | ^ libpam_dl.cc:80:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 80 | /*DLST*/ {"pam_end",&pam_end_PTR_}, | ^ libpam_dl.cc:81:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 81 | /*DLST*/ {"pam_authenticate",&pam_authenticate_PTR_}, | ^ 4 warnings generated. ../mkcpp passwd.c passwd.cc -- mkcpp set time: 1791324472 -> 1217071727 passwd.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c passwd.cc passwd.cc:86:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 86 | if( passwd = GETpwuid(uid) ) | ~~~~~~~^~~~~~~~~~~~~~~ passwd.cc:86:13: note: place parentheses around the assignment to silence this warning 86 | if( passwd = GETpwuid(uid) ) | ^ | ( ) passwd.cc:86:13: note: use '==' to turn this assignment into an equality comparison 86 | if( passwd = GETpwuid(uid) ) | ^ | == passwd.cc:120:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 120 | if( passwd = GETpwuid(uid) ) | ~~~~~~~^~~~~~~~~~~~~~~ passwd.cc:120:13: note: place parentheses around the assignment to silence this warning 120 | if( passwd = GETpwuid(uid) ) | ^ | ( ) passwd.cc:120:13: note: use '==' to turn this assignment into an equality comparison 120 | if( passwd = GETpwuid(uid) ) | ^ | == passwd.cc:127:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 127 | if( passwd = GETpwuid(uid) ){ | ~~~~~~~^~~~~~~~~~~~~~~ passwd.cc:127:13: note: place parentheses around the assignment to silence this warning 127 | if( passwd = GETpwuid(uid) ){ | ^ | ( ) passwd.cc:127:13: note: use '==' to turn this assignment into an equality comparison 127 | if( passwd = GETpwuid(uid) ){ | ^ | == passwd.cc:136:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 136 | if( group = GETgrgid(gid) ) | ~~~~~~^~~~~~~~~~~~~~~ passwd.cc:136:12: note: place parentheses around the assignment to silence this warning 136 | if( group = GETgrgid(gid) ) | ^ | ( ) passwd.cc:136:12: note: use '==' to turn this assignment into an equality comparison 136 | if( group = GETgrgid(gid) ) | ^ | == passwd.cc:162:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 162 | if( passwd = GETpwnam(user) ) | ~~~~~~~^~~~~~~~~~~~~~~~ passwd.cc:162:13: note: place parentheses around the assignment to silence this warning 162 | if( passwd = GETpwnam(user) ) | ^ | ( ) passwd.cc:162:13: note: use '==' to turn this assignment into an equality comparison 162 | if( passwd = GETpwnam(user) ) | ^ | == passwd.cc:169:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 169 | if( group = GETgrnam(gname) ) | ~~~~~~^~~~~~~~~~~~~~~~~ passwd.cc:169:12: note: place parentheses around the assignment to silence this warning 169 | if( group = GETgrnam(gname) ) | ^ | ( ) passwd.cc:169:12: note: use '==' to turn this assignment into an equality comparison 169 | if( group = GETgrnam(gname) ) | ^ | == passwd.cc:182:42: warning: format specifies type 'unsigned int' but the argument has type 'struct passwd *' [-Wformat] 182 | printf("getpwuid(%d)=%X, errno=%d\n",id,pw,errno); | ~~ ^~ passwd.cc:188:47: warning: format specifies type 'unsigned int' but the argument has type 'struct passwd *' [-Wformat] 188 | printf(">>> getpwuid(%d)=%X, errno=%d\n",id,pw,errno); | ~~ ^~ passwd.cc:211:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 211 | if( dp = strchr(user_group,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ passwd.cc:211:9: note: place parentheses around the assignment to silence this warning 211 | if( dp = strchr(user_group,'/') ){ | ^ | ( ) passwd.cc:211:9: note: use '==' to turn this assignment into an equality comparison 211 | if( dp = strchr(user_group,'/') ){ | ^ | == passwd.cc:212:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 212 | if( len = dp - user_group ){ | ~~~~^~~~~~~~~~~~~~~~~ passwd.cc:212:11: note: place parentheses around the assignment to silence this warning 212 | if( len = dp - user_group ){ | ^ | ( ) passwd.cc:212:11: note: use '==' to turn this assignment into an equality comparison 212 | if( len = dp - user_group ){ | ^ | == passwd.cc:225:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 225 | if( pw = GETpwuid(uid) ) | ~~~^~~~~~~~~~~~~~~ passwd.cc:225:10: note: place parentheses around the assignment to silence this warning 225 | if( pw = GETpwuid(uid) ) | ^ | ( ) passwd.cc:225:10: note: use '==' to turn this assignment into an equality comparison 225 | if( pw = GETpwuid(uid) ) | ^ | == passwd.cc:228:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 228 | if( pw = GETpwnam(user) ){ | ~~~^~~~~~~~~~~~~~~~ passwd.cc:228:9: note: place parentheses around the assignment to silence this warning 228 | if( pw = GETpwnam(user) ){ | ^ | ( ) passwd.cc:228:9: note: use '==' to turn this assignment into an equality comparison 228 | if( pw = GETpwnam(user) ){ | ^ | == passwd.cc:236:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 236 | if( gr = GETgrnam(group) ) | ~~~^~~~~~~~~~~~~~~~~ passwd.cc:236:9: note: place parentheses around the assignment to silence this warning 236 | if( gr = GETgrnam(group) ) | ^ | ( ) passwd.cc:236:9: note: use '==' to turn this assignment into an equality comparison 236 | if( gr = GETgrnam(group) ) | ^ | == passwd.cc:288:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 288 | if( vp = strchr(vp,':') ){ | ~~~^~~~~~~~~~~~~~~~ passwd.cc:288:9: note: place parentheses around the assignment to silence this warning 288 | if( vp = strchr(vp,':') ){ | ^ | ( ) passwd.cc:288:9: note: use '==' to turn this assignment into an equality comparison 288 | if( vp = strchr(vp,':') ){ | ^ | == passwd.cc:291:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 291 | if( vp = strchr(vp,':') ){ | ~~~^~~~~~~~~~~~~~~~ passwd.cc:291:9: note: place parentheses around the assignment to silence this warning 291 | if( vp = strchr(vp,':') ){ | ^ | ( ) passwd.cc:291:9: note: use '==' to turn this assignment into an equality comparison 291 | if( vp = strchr(vp,':') ){ | ^ | == passwd.cc:294:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 294 | if( vp = strchr(vp,':') ){ | ~~~^~~~~~~~~~~~~~~~ passwd.cc:294:9: note: place parentheses around the assignment to silence this warning 294 | if( vp = strchr(vp,':') ){ | ^ | ( ) passwd.cc:294:9: note: use '==' to turn this assignment into an equality comparison 294 | if( vp = strchr(vp,':') ){ | ^ | == passwd.cc:297:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 297 | if( vp = strchr(vp,':') ){ | ~~~^~~~~~~~~~~~~~~~ passwd.cc:297:9: note: place parentheses around the assignment to silence this warning 297 | if( vp = strchr(vp,':') ){ | ^ | ( ) passwd.cc:297:9: note: use '==' to turn this assignment into an equality comparison 297 | if( vp = strchr(vp,':') ){ | ^ | == passwd.cc:300:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 300 | if( vp = strchr(vp,':') ){ | ~~~^~~~~~~~~~~~~~~~ passwd.cc:300:9: note: place parentheses around the assignment to silence this warning 300 | if( vp = strchr(vp,':') ){ | ^ | ( ) passwd.cc:300:9: note: use '==' to turn this assignment into an equality comparison 300 | if( vp = strchr(vp,':') ){ | ^ | == passwd.cc:303:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 303 | if( vp = strchr(vp,':') ){ | ~~~^~~~~~~~~~~~~~~~ passwd.cc:303:9: note: place parentheses around the assignment to silence this warning 303 | if( vp = strchr(vp,':') ){ | ^ | ( ) passwd.cc:303:9: note: use '==' to turn this assignment into an equality comparison 303 | if( vp = strchr(vp,':') ){ | ^ | == passwd.cc:313:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 313 | if( pw = getpwuid(uid) ) | ~~~^~~~~~~~~~~~~~~ passwd.cc:313:9: note: place parentheses around the assignment to silence this warning 313 | if( pw = getpwuid(uid) ) | ^ | ( ) passwd.cc:313:9: note: use '==' to turn this assignment into an equality comparison 313 | if( pw = getpwuid(uid) ) | ^ | == In file included from passwd.cc:335: ./pam.c:108:2: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 108 | sprintf(auth,"%s:%s",user,pass); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ In file included from passwd.cc:335: ./pam.c:325:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 325 | sprintf(remote,"%s:%d",host,port); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ 22 warnings generated. ../mkcpp syslog.c syslog.cc -- mkcpp set time: 1791324472 -> 1222028222 syslog.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c syslog.cc ../mkcpp lock.c lock.cc -- mkcpp set time: 1791324472 -> 1210859698 lock.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c lock.cc ../mkcpp dglibs.c dglibs.cc -- mkcpp set time: 1791324472 -> 1230180237 dglibs.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c dglibs.cc dglibs.cc:32:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 32 | if( val = getv(MAIN_argv,name) ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~ dglibs.cc:32:11: note: place parentheses around the assignment to silence this warning 32 | if( val = getv(MAIN_argv,name) ) | ^ | ( ) dglibs.cc:32:11: note: use '==' to turn this assignment into an equality comparison 32 | if( val = getv(MAIN_argv,name) ) | ^ | == 1 warning generated. ../mkcpp forkspawn.c forkspawn.cc -- mkcpp set time: 1791324472 -> 1215500857 forkspawn.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c forkspawn.cc forkspawn.cc:124:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 124 | { register int pid; | ^~~~~~~~ forkspawn.cc:374:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 374 | if( env = getenv("PATH") ) | ~~~~^~~~~~~~~~~~~~~~ forkspawn.cc:374:10: note: place parentheses around the assignment to silence this warning 374 | if( env = getenv("PATH") ) | ^ | ( ) forkspawn.cc:374:10: note: use '==' to turn this assignment into an equality comparison 374 | if( env = getenv("PATH") ) | ^ | == 2 warnings generated. ../mkcpp Thread.c Thread.cc -- mkcpp set time: 1791324473 -> 1227227986 Thread.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c Thread.cc Thread.cc:220:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 220 | if( tid = tp->t_id ){ | ~~~~^~~~~~~~~~ Thread.cc:220:11: note: place parentheses around the assignment to silence this warning 220 | if( tid = tp->t_id ){ | ^ | ( ) Thread.cc:220:11: note: use '==' to turn this assignment into an equality comparison 220 | if( tid = tp->t_id ){ | ^ | == Thread.cc:313:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 313 | if( gid = getthreadgid(tid) ){ | ~~~~^~~~~~~~~~~~~~~~~~~ Thread.cc:313:10: note: place parentheses around the assignment to silence this warning 313 | if( gid = getthreadgid(tid) ){ | ^ | ( ) Thread.cc:313:10: note: use '==' to turn this assignment into an equality comparison 313 | if( gid = getthreadgid(tid) ){ | ^ | == 2 warnings generated. ../mkcpp randstack.c randstack.cc -- mkcpp set time: 1791324473 -> 1227739745 randstack.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c randstack.cc randstack.cc:85:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 85 | arg.s_what = "#### RANDSTACK"; | ^ randstack.cc:286:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 286 | for( ei = 0; es = environ[ei]; ei++ ); | ~~~^~~~~~~~~~~~~ randstack.cc:286:18: note: place parentheses around the assignment to silence this warning 286 | for( ei = 0; es = environ[ei]; ei++ ); | ^ | ( ) randstack.cc:286:18: note: use '==' to turn this assignment into an equality comparison 286 | for( ei = 0; es = environ[ei]; ei++ ); | ^ | == randstack.cc:289:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 289 | for( ei = 0; es = environ[ei]; ei++ ){ | ~~~^~~~~~~~~~~~~ randstack.cc:289:18: note: place parentheses around the assignment to silence this warning 289 | for( ei = 0; es = environ[ei]; ei++ ){ | ^ | ( ) randstack.cc:289:18: note: use '==' to turn this assignment into an equality comparison 289 | for( ei = 0; es = environ[ei]; ei++ ){ | ^ | == 3 warnings generated. ../mkcpp rawcopy.c rawcopy.cc -- mkcpp set time: 1791324473 -> 1162703125 rawcopy.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c rawcopy.cc ../mkcpp hostaddr.c hostaddr.cc -- mkcpp set time: 1791324473 -> 1201450458 hostaddr.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c hostaddr.cc ../mkcpp socks5.c socks5.cc -- mkcpp set time: 1791324473 -> 1229658033 socks5.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c socks5.cc socks5.cc:125:16: warning: unsequenced modification and access to 'pi' [-Wunsequenced] 125 | PK->p_port = (GETPC() << 8) | GETPC(); | ^ ~~~~~~~ socks5.cc:90:40: note: expanded from macro 'GETPC' 90 | #define GETPC() ((rcc <= pi)?-1:pack[pi++]) | ^ socks5.cc:948:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 948 | if( clport = VSA_port(&clnt) ) | ~~~~~~~^~~~~~~~~~~~~~~~~ socks5.cc:948:15: note: place parentheses around the assignment to silence this warning 948 | if( clport = VSA_port(&clnt) ) | ^ | ( ) socks5.cc:948:15: note: use '==' to turn this assignment into an equality comparison 948 | if( clport = VSA_port(&clnt) ) | ^ | == socks5.cc:971:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 971 | if( viaSocks = selectSockServ(ctx,&PK,&viaSocksb) ){ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ socks5.cc:971:17: note: place parentheses around the assignment to silence this warning 971 | if( viaSocks = selectSockServ(ctx,&PK,&viaSocksb) ){ | ^ | ( ) socks5.cc:971:17: note: use '==' to turn this assignment into an equality comparison 971 | if( viaSocks = selectSockServ(ctx,&PK,&viaSocksb) ){ | ^ | == socks5.cc:1080:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1080 | if( bp = strrchr(bhost,':') ){ | ~~~^~~~~~~~~~~~~~~~~~~~ socks5.cc:1080:9: note: place parentheses around the assignment to silence this warning 1080 | if( bp = strrchr(bhost,':') ){ | ^ | ( ) socks5.cc:1080:9: note: use '==' to turn this assignment into an equality comparison 1080 | if( bp = strrchr(bhost,':') ){ | ^ | == socks5.cc:1115:17: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] 1115 | int idlethreads(); | ^~ socks5.cc:1115:17: note: replace parentheses with an initializer to declare a variable 1115 | int idlethreads(); | ^~ | = 0 socks5.cc:1140:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1140 | if( lp = strtailstr(local,ACCONN) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ socks5.cc:1140:9: note: place parentheses around the assignment to silence this warning 1140 | if( lp = strtailstr(local,ACCONN) ){ | ^ | ( ) socks5.cc:1140:9: note: use '==' to turn this assignment into an equality comparison 1140 | if( lp = strtailstr(local,ACCONN) ){ | ^ | == socks5.cc:1399:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1399 | if( viasocks = GetViaSocks(ctx,host,port) ){ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ socks5.cc:1399:16: note: place parentheses around the assignment to silence this warning 1399 | if( viasocks = GetViaSocks(ctx,host,port) ){ | ^ | ( ) socks5.cc:1399:16: note: use '==' to turn this assignment into an equality comparison 1399 | if( viasocks = GetViaSocks(ctx,host,port) ){ | ^ | == 7 warnings generated. ../mkcpp cfilib.c cfilib.cc -- mkcpp set time: 1791324473 -> 1186094968 cfilib.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c cfilib.cc cfilib.cc:43:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 43 | if( env = getenv(name) ) | ~~~~^~~~~~~~~~~~~~ cfilib.cc:43:10: note: place parentheses around the assignment to silence this warning 43 | if( env = getenv(name) ) | ^ | ( ) cfilib.cc:43:10: note: use '==' to turn this assignment into an equality comparison 43 | if( env = getenv(name) ) | ^ | == cfilib.cc:82:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 82 | if( env = getenv("CFI_SHARED_LOCK") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ cfilib.cc:82:11: note: place parentheses around the assignment to silence this warning 82 | if( env = getenv("CFI_SHARED_LOCK") ){ | ^ | ( ) cfilib.cc:82:11: note: use '==' to turn this assignment into an equality comparison 82 | if( env = getenv("CFI_SHARED_LOCK") ){ | ^ | == cfilib.cc:83:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 83 | if( fp = fopen(env,"r+") ){ | ~~~^~~~~~~~~~~~~~~~~ cfilib.cc:83:11: note: place parentheses around the assignment to silence this warning 83 | if( fp = fopen(env,"r+") ){ | ^ | ( ) cfilib.cc:83:11: note: use '==' to turn this assignment into an equality comparison 83 | if( fp = fopen(env,"r+") ){ | ^ | == cfilib.cc:128:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 128 | if( env = getenv("CFI_FILTER_ID") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ cfilib.cc:128:10: note: place parentheses around the assignment to silence this warning 128 | if( env = getenv("CFI_FILTER_ID") ){ | ^ | ( ) cfilib.cc:128:10: note: use '==' to turn this assignment into an equality comparison 128 | if( env = getenv("CFI_FILTER_ID") ){ | ^ | == cfilib.cc:135:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 135 | if( env = getenv("CFI_SHARED_FD") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ cfilib.cc:135:10: note: place parentheses around the assignment to silence this warning 135 | if( env = getenv("CFI_SHARED_FD") ){ | ^ | ( ) cfilib.cc:135:10: note: use '==' to turn this assignment into an equality comparison 135 | if( env = getenv("CFI_SHARED_FD") ){ | ^ | == 5 warnings generated. ../mkcpp wince.c wince.cc -- mkcpp set time: 1791324474 -> 1232521896 wince.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c wince.cc wince.cc:1:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1 | char *SIGN_wince_c="{FILESIGN=wince.c:20090121161128+0900:77b38cf6f80b6a64:Author@DeleGate.ORG:m0UFZn1yhY5emR4OLyWV9i7FocgXsTXzK7CbqwkW1HOpXHeMSbnD1xXHrq5nPbSQgWOpMdVWOvFnc5wfaIPCFri2AopTeLff8/aaezASUmTYNBj20S7hQx75ldRU0wa9qAQOZqn3sXEXvcgaPA3ZZFGeoCK5Mi5fXwew4mNqgfI=}"; | ^ 1 warning generated. ../mkcpp winmo.c winmo.cc -- mkcpp set time: 1791324474 -> 1232521896 winmo.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c winmo.cc winmo.cc:1:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1 | char *SIGN_winmo_c="{FILESIGN=wince.c:20081128095714+0900:7b91d7c7ba5c1112:Author@DeleGate.ORG:liMVh+rWlE+yrUJnvhw2kzf9ba4wJxXZxVFqxLrVk7Ld1U0UA5iznuvRlO52Z+fDDy1fYPf7LGUOaRol0B6g81w35teM5eaqX58IJylKuaI9/rrYOwzBTIG/0kKrTIbzzXjm12w/YpMrWamN6EQNYcU3ZORvJQhEpWJGFFOMO0Q=}"; | ^ 1 warning generated. ../mkcpp winsspi.c winsspi.cc -- mkcpp set time: 1791324474 -> 1232521896 winsspi.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c winsspi.cc winsspi.cc:1:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1 | char *SIGN_winssl_c="{FILESIGN=winsspi.c:20081207132943+0900:45a2b7619abdb6ad:Author@DeleGate.ORG:WJmLjdzN42ycjQMXROY6HjnG2qJZh4XU14qoCgQl8u2OREC6Fw5ptiiO6qaEJ2tVkDUm+TmRjjsCVDJW3QOX68Cwzcf3k5XAu2CM16qzWFtoVx59thWFZ3KEAIi1Y9TVFsnWTLPxu/JLxZrRunl69AjA7zkwHhhfF7J0iyJ682Y=}"; | ^ 1 warning generated. ../mkcpp winnat.c winnat.cc -- mkcpp set time: 1791324474 -> 1232521896 winnat.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c winnat.cc winnat.cc:1:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1 | char *SIGN_winnat_c="{FILESIGN=winssl.c:20080802225356+0900:14bdef8ffd23c1be:Author@DeleGate.ORG:bF4m3523fnuPABw+VnKCpPoE0hy35INjqU4cOuNOkvPFNcBVub14fXjiE+sHJDbUpAlFXSQ5gt6Vj1D24woVu3H3nz+Q5I+nfn3HwP8hzt3F8Jn/Nb/PeOSVs8ors1Qd+JeyehsDJMGiB6bofEQeQQKx+r+r0840Q7VdAZTvwX8=}"; | ^ 1 warning generated. ../mkcpp unix.c unix.cc -- mkcpp set time: 1791324474 -> 1227739719 unix.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c unix.cc unix.cc:357:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 357 | if( name = ttyname(fd) ){ | ~~~~~^~~~~~~~~~~~~ unix.cc:357:12: note: place parentheses around the assignment to silence this warning 357 | if( name = ttyname(fd) ){ | ^ | ( ) unix.cc:357:12: note: use '==' to turn this assignment into an equality comparison 357 | if( name = ttyname(fd) ){ | ^ | == In file included from unix.cc:674: ./windows0.c:100:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 100 | if( path = tmpfiles[ti] ){ | ~~~~~^~~~~~~~~~~~~~ ./windows0.c:100:15: note: place parentheses around the assignment to silence this warning 100 | if( path = tmpfiles[ti] ){ | ^ | ( ) ./windows0.c:100:15: note: use '==' to turn this assignment into an equality comparison 100 | if( path = tmpfiles[ti] ){ | ^ | == ./windows0.c:119:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 119 | sprintf(buf,"%*s",strlen(npath)+5," "); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ In file included from unix.cc:674: ./windows0.c:119:18: warning: field width should have type 'int', but argument has type 'size_t' (aka 'unsigned long') [-Wformat] 119 | sprintf(buf,"%*s",strlen(npath)+5," "); | ~~^ ~~~~~~~~~~~~~~~ ./windows0.c:128:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 128 | if( opath = tmpfiles[fd] ){ | ~~~~~~^~~~~~~~~~~~~~ ./windows0.c:128:12: note: place parentheses around the assignment to silence this warning 128 | if( opath = tmpfiles[fd] ){ | ^ | ( ) ./windows0.c:128:12: note: use '==' to turn this assignment into an equality comparison 128 | if( opath = tmpfiles[fd] ){ | ^ | == ./windows0.c:144:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 144 | if( fp = fopen(path,"w+") ){ | ~~~^~~~~~~~~~~~~~~~~~ ./windows0.c:144:9: note: place parentheses around the assignment to silence this warning 144 | if( fp = fopen(path,"w+") ){ | ^ | ( ) ./windows0.c:144:9: note: use '==' to turn this assignment into an equality comparison 144 | if( fp = fopen(path,"w+") ){ | ^ | == ./windows0.c:160:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 160 | if( fp = fopen(path,FOPEN_RWB) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~ ./windows0.c:160:10: note: place parentheses around the assignment to silence this warning 160 | if( fp = fopen(path,FOPEN_RWB) ) | ^ | ( ) ./windows0.c:160:10: note: use '==' to turn this assignment into an equality comparison 160 | if( fp = fopen(path,FOPEN_RWB) ) | ^ | == ./windows0.c:166:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 166 | if( fp = fdopen(fd,FOPEN_RWB) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ ./windows0.c:166:11: note: place parentheses around the assignment to silence this warning 166 | if( fp = fdopen(fd,FOPEN_RWB) ){ | ^ | ( ) ./windows0.c:166:11: note: use '==' to turn this assignment into an equality comparison 166 | if( fp = fdopen(fd,FOPEN_RWB) ){ | ^ | == 8 warnings generated. ../mkcpp windows.c windows.cc -- mkcpp set time: 1791324474 -> 1232521896 windows.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c windows.cc windows.cc:1:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1 | char *SIGN_windows_c="{FILESIGN=windows.c:20090121161128+0900:7780084559ce8123:Author@DeleGate.ORG:mElWxxyjER+UlTyNSwDE0QWONCXRa71b8I1QxTNezY5H7cvyGZNcPZQo4wV1kp3lLN2VAnFtLnGvoRG4s1OFlGYThzLL9nG5gaOZMFp+8uIVGe6OgTw3ttvzca4ZOp0noquzW/QLJTBmmJypoS1ug8C0f1q8m4fCLaDHOuQhlpM=}"; | ^ 1 warning generated. ../mkcpp Finish.c Finish.cc -- mkcpp set time: 1791324474 -> 1195759435 Finish.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../include -Wno-narrowing -pipe -Os -c Finish.cc rm -f library.a ar cr library.a SLL.o String.o ystring.o TLEX.o JIS.o codeconv.o str_stdio.o ccx.o html.o urlesc.o Strftime.o Timeofday.o strid.o hash.o bsort.o codec.o uu.o pstitle.o signal.o IsSolaris.o sched.o readycc.o fpoll.o fpolls.o frelay.o timer.o tar.o sed.o nbio.o vsaddr.o pelcgb.o credhy.o cksum.o setutimes.o file.o fstat.o pam.o libpam_dl.o passwd.o syslog.o lock.o dglibs.o forkspawn.o Thread.o randstack.o rawcopy.o hostaddr.o socks5.o cfilib.o wince.o winmo.o winsspi.o winnat.o unix.o windows.o Finish.o /usr/bin/ranlib library.a **[0] move ../rary/library.a to ../lib/library.a /var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe -makeat ../lib/libcfi.a ../filters libcfi.a "/opt/pkg/bin/bmake" libx MAKE="/opt/pkg/bin/bmake" SHELL="/opt/pkg/bin/mksh" CC="clang" CFLAGS="-O2 -x c++ -DQS -DNONC99" HDRDIR="-I../gen -I../include -Wno-narrowing -pipe -Os" RANLIB="/usr/bin/ranlib" LDFLAGS=" -L../lib" LIBDIR="-L../lib" NETLIB="-ldl -lutil -lpthread -lpam -lstdc++" AR="ar" TAR="tar" SSLLIB="" [clang -c -O2 -x c++ -DQS -DNONC99 ] NONC99 = 2 ####### -makeat: /var/tmp/work/net/delegate/work/delegate9.9.1/filters /var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe -cksum 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 /var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe -mkmake "/opt/pkg/bin/bmake" Makefile.go "clang" "-O2 -x c++ -DQS -DNONC99 -Dm64" "" "-L../lib" "/usr/bin/ranlib" "-ldl -lutil -lpthread -lpam -lstdc++" NETLIB "" "../../SSL/libssl.a ../../SSL/libcrypto.a -lcrypto -lssl -lcrypt -lkssl " @LIBSSL mkmake: [clang -c -O2 -x c++ -DQS -DNONC99 -Dm64 ] NONC99 = 2 #### [/var/tmp/work/net/delegate/work/delegate9.9.1/filters] creating Makefile.go cpyfile Makefile[1-0][0-79e3b6] > Makefile.go #ifdef UNIX,OS2EMX ################################################ [SET] MKMAKE=/var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe [SET] RANLIB=/usr/bin/ranlib - checking availability of -ldl [] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lutil [-ldl] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lpthread [-ldl -lutil] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lpam [-ldl -lutil -lpthread] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lstdc++ [-ldl -lutil -lpthread -lpam] cpyfile: cannot read 'DELEGATE_CONF' [SET] NETLIB=-ldl -lutil -lpthread -lpam -lstdc++ - checking availability of ../../SSL/libssl.a [] cpyfile: cannot read 'DELEGATE_CONF' *** -mkmake exit(-1) - checking availability of ../../SSL/libcrypto.a [] cpyfile: cannot read 'DELEGATE_CONF' *** -mkmake exit(-1) - checking availability of -lcrypto [] cpyfile: cannot read 'DELEGATE_CONF' *** -mkmake exit(-1) - checking availability of -lssl [] cpyfile: cannot read 'DELEGATE_CONF' *** -mkmake exit(-1) - checking availability of -lcrypt [] cpyfile: cannot read 'DELEGATE_CONF' *** -mkmake exit(-1) - checking availability of -lkssl [] cpyfile: cannot read 'DELEGATE_CONF' *** -mkmake exit(-1) [don't SET] LIBSSL= cpyfile: cannot read 'DELEGATE_CONF' cpyfile Makefile[0-0][79e468-0] > Makefile.go #ifdef UNIX,OS2EMX ################################################ /opt/pkg/bin/bmake -f Makefile.go libcfi.a SHELL="/opt/pkg/bin/mksh" HDRDIR="-I../gen -I../include -Wno-narrowing -pipe -Os" ../mkcpp dl.c dl.cc -- mkcpp set time: 1791324476 -> 1231569639 dl.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c dl.cc dl.cc:59:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 59 | "dglib%s.dylib", | ^ dl.cc:60:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 60 | "lib%s.0.9.8.dylib", /* 9.2.5 for a while */ | ^ dl.cc:61:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 61 | "lib%s.dylib", | ^ dl.cc:76:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 76 | "%s", | ^ dl.cc:108:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 108 | if( p1 = strrchr(pat1,'*') ) | ~~~^~~~~~~~~~~~~~~~~~~ dl.cc:108:10: note: place parentheses around the assignment to silence this warning 108 | if( p1 = strrchr(pat1,'*') ) | ^ | ( ) dl.cc:108:10: note: use '==' to turn this assignment into an equality comparison 108 | if( p1 = strrchr(pat1,'*') ) | ^ | == dl.cc:139:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 139 | if( ldpath = getenv(LDPATHENV) ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~ dl.cc:139:13: note: place parentheses around the assignment to silence this warning 139 | if( ldpath = getenv(LDPATHENV) ){ | ^ | ( ) dl.cc:139:13: note: use '==' to turn this assignment into an equality comparison 139 | if( ldpath = getenv(LDPATHENV) ){ | ^ | == dl.cc:213:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 213 | for( i = 0; pat1 = libpat[i]; i++ ){ | ~~~~~^~~~~~~~~~~ dl.cc:213:20: note: place parentheses around the assignment to silence this warning 213 | for( i = 0; pat1 = libpat[i]; i++ ){ | ^ | ( ) dl.cc:213:20: note: use '==' to turn this assignment into an equality comparison 213 | for( i = 0; pat1 = libpat[i]; i++ ){ | ^ | == dl.cc:227:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 227 | if( pat1 = getenv(dlpathe) ){ | ~~~~~^~~~~~~~~~~~~~~~~ dl.cc:227:11: note: place parentheses around the assignment to silence this warning 227 | if( pat1 = getenv(dlpathe) ){ | ^ | ( ) dl.cc:227:11: note: use '==' to turn this assignment into an equality comparison 227 | if( pat1 = getenv(dlpathe) ){ | ^ | == dl.cc:243:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 243 | for( i = 0; pat1 = libpat[i]; i++ ){ | ~~~~~^~~~~~~~~~~ dl.cc:243:19: note: place parentheses around the assignment to silence this warning 243 | for( i = 0; pat1 = libpat[i]; i++ ){ | ^ | ( ) dl.cc:243:19: note: use '==' to turn this assignment into an equality comparison 243 | for( i = 0; pat1 = libpat[i]; i++ ){ | ^ | == dl.cc:272:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 272 | if( handle = dlopen(xpath,RTLD_NOW) ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ dl.cc:272:15: note: place parentheses around the assignment to silence this warning 272 | if( handle = dlopen(xpath,RTLD_NOW) ){ | ^ | ( ) dl.cc:272:15: note: use '==' to turn this assignment into an equality comparison 272 | if( handle = dlopen(xpath,RTLD_NOW) ){ | ^ | == dl.cc:288:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 288 | if( err = dlerror() ){ | ~~~~^~~~~~~~~~~ dl.cc:288:12: note: place parentheses around the assignment to silence this warning 288 | if( err = dlerror() ){ | ^ | ( ) dl.cc:288:12: note: use '==' to turn this assignment into an equality comparison 288 | if( err = dlerror() ){ | ^ | == dl.cc:310:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 310 | for( i = 0; name= dl[i].name; i++ ){ | ~~~~^~~~~~~~~~~~ dl.cc:310:18: note: place parentheses around the assignment to silence this warning 310 | for( i = 0; name= dl[i].name; i++ ){ | ^ | ( ) dl.cc:310:18: note: use '==' to turn this assignment into an equality comparison 310 | for( i = 0; name= dl[i].name; i++ ){ | ^ | == dl.cc:381:22: warning: format specifies type 'unsigned int' but the argument has type 'const void *' [-Wformat] 381 | printf("%08X %s\n",addr,sym); | ~~~~ ^~~~ 13 warnings generated. echo 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 | xargs -n 1 /var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe -cksum ../mkcpp cfi.c cfi.cc -- mkcpp set time: 1791324476 -> 1224309206 cfi.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../gen -I../include -Wno-narrowing -pipe -Os -c cfi.cc cfi.cc:253:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 253 | for( np = name; ch = *np; np++ ){ | ~~~^~~~~ cfi.cc:253:21: note: place parentheses around the assignment to silence this warning 253 | for( np = name; ch = *np; np++ ){ | ^ | ( ) cfi.cc:253:21: note: use '==' to turn this assignment into an equality comparison 253 | for( np = name; ch = *np; np++ ){ | ^ | == cfi.cc:267:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 267 | for( sp = spec; sc = *sp; ){ | ~~~^~~~~ cfi.cc:267:21: note: place parentheses around the assignment to silence this warning 267 | for( sp = spec; sc = *sp; ){ | ^ | ( ) cfi.cc:267:21: note: use '==' to turn this assignment into an equality comparison 267 | for( sp = spec; sc = *sp; ){ | ^ | == cfi.cc:444:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 444 | if( vp = getFieldValue(spec,field,value,size) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cfi.cc:444:9: note: place parentheses around the assignment to silence this warning 444 | if( vp = getFieldValue(spec,field,value,size) ) | ^ | ( ) cfi.cc:444:9: note: use '==' to turn this assignment into an equality comparison 444 | if( vp = getFieldValue(spec,field,value,size) ) | ^ | == cfi.cc:448:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 448 | if( vp = getFieldValue(spec,field,value,size) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cfi.cc:448:9: note: place parentheses around the assignment to silence this warning 448 | if( vp = getFieldValue(spec,field,value,size) ) | ^ | ( ) cfi.cc:448:9: note: use '==' to turn this assignment into an equality comparison 448 | if( vp = getFieldValue(spec,field,value,size) ) | ^ | == cfi.cc:464:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 464 | for( sp = fvalue; sc = *sp; sp++ ){ | ~~~^~~~~ cfi.cc:464:23: note: place parentheses around the assignment to silence this warning 464 | for( sp = fvalue; sc = *sp; sp++ ){ | ^ | ( ) cfi.cc:464:23: note: use '==' to turn this assignment into an equality comparison 464 | for( sp = fvalue; sc = *sp; sp++ ){ | ^ | == cfi.cc:662:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 662 | if( crlf = strpbrk(statline,"\r\n") ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ cfi.cc:662:14: note: place parentheses around the assignment to silence this warning 662 | if( crlf = strpbrk(statline,"\r\n") ) | ^ | ( ) cfi.cc:662:14: note: use '==' to turn this assignment into an equality comparison 662 | if( crlf = strpbrk(statline,"\r\n") ) | ^ | == 6 warnings generated. ../mkcpp cafe.c cafe.cc -- mkcpp set time: 1791324476 -> 1205529495 cafe.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c cafe.cc cafe.cc:158:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 158 | for( dp = dir; dc = *dp; dp++ ){ | ~~~^~~~~ cafe.cc:158:21: note: place parentheses around the assignment to silence this warning 158 | for( dp = dir; dc = *dp; dp++ ){ | ^ | ( ) cafe.cc:158:21: note: use '==' to turn this assignment into an equality comparison 158 | for( dp = dir; dc = *dp; dp++ ){ | ^ | == cafe.cc:189:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 189 | if( dp = strrchr(xpath,'/') ) | ~~~^~~~~~~~~~~~~~~~~~~~ cafe.cc:189:10: note: place parentheses around the assignment to silence this warning 189 | if( dp = strrchr(xpath,'/') ) | ^ | ( ) cafe.cc:189:10: note: use '==' to turn this assignment into an equality comparison 189 | if( dp = strrchr(xpath,'/') ) | ^ | == cafe.cc:294:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 294 | for( ix = 0; dev1 = ICs[ix].ic_dev; ix++ ){ | ~~~~~^~~~~~~~~~~~~~~~ cafe.cc:294:20: note: place parentheses around the assignment to silence this warning 294 | for( ix = 0; dev1 = ICs[ix].ic_dev; ix++ ){ | ^ | ( ) cafe.cc:294:20: note: use '==' to turn this assignment into an equality comparison 294 | for( ix = 0; dev1 = ICs[ix].ic_dev; ix++ ){ | ^ | == cafe.cc:420:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 420 | if( diff = (*i1)->i_atime - (*i2)->i_atime ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cafe.cc:420:11: note: place parentheses around the assignment to silence this warning 420 | if( diff = (*i1)->i_atime - (*i2)->i_atime ) | ^ | ( ) cafe.cc:420:11: note: use '==' to turn this assignment into an equality comparison 420 | if( diff = (*i1)->i_atime - (*i2)->i_atime ) | ^ | == cafe.cc:422:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 422 | if( diff = (*i2)->i_blks - (*i1)->i_blks ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cafe.cc:422:11: note: place parentheses around the assignment to silence this warning 422 | if( diff = (*i2)->i_blks - (*i1)->i_blks ) | ^ | ( ) cafe.cc:422:11: note: use '==' to turn this assignment into an equality comparison 422 | if( diff = (*i2)->i_blks - (*i1)->i_blks ) | ^ | == cafe.cc:523:19: warning: format specifies type 'int' but the argument has type '__darwin_ino64_t' (aka 'unsigned long long') [-Wformat] 523 | printf("%8d ",st.st_ino); | ~~~ ^~~~~~~~~ | %8llu cafe.cc:612:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 612 | else match = 0; | ^ cafe.cc:629:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 629 | if( np = strrpbrk(file,"/") ){ | ~~~^~~~~~~~~~~~~~~~~~~~ cafe.cc:629:10: note: place parentheses around the assignment to silence this warning 629 | if( np = strrpbrk(file,"/") ){ | ^ | ( ) cafe.cc:629:10: note: use '==' to turn this assignment into an equality comparison 629 | if( np = strrpbrk(file,"/") ){ | ^ | == 8 warnings generated. echo 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 | xargs -n 1 /var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe -cksum ../mkcpp backup.c backup.cc -- mkcpp set time: 1791324476 -> 1150288834 backup.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c backup.cc backup.cc:99:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 99 | if( sfp = fopen(src,"r") ){ | ~~~~^~~~~~~~~~~~~~~~ backup.cc:99:11: note: place parentheses around the assignment to silence this warning 99 | if( sfp = fopen(src,"r") ){ | ^ | ( ) backup.cc:99:11: note: use '==' to turn this assignment into an equality comparison 99 | if( sfp = fopen(src,"r") ){ | ^ | == backup.cc:134:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 134 | if( sp = strpbrk(src1,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ backup.cc:134:10: note: place parentheses around the assignment to silence this warning 134 | if( sp = strpbrk(src1,"\r\n") ) | ^ | ( ) backup.cc:134:10: note: use '==' to turn this assignment into an equality comparison 134 | if( sp = strpbrk(src1,"\r\n") ) | ^ | == 2 warnings generated. echo 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 | xargs -n 1 /var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe -cksum ../mkcpp dping.c dping.cc -- mkcpp set time: 1791324477 -> 1101989489 dping.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c dping.cc dping.cc:28:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 28 | for( oi = 0; oc = outstr[oi]; oi++ ){ | ~~~^~~~~~~~~~~~ dping.cc:28:18: note: place parentheses around the assignment to silence this warning 28 | for( oi = 0; oc = outstr[oi]; oi++ ){ | ^ | ( ) dping.cc:28:18: note: use '==' to turn this assignment into an equality comparison 28 | for( oi = 0; oc = outstr[oi]; oi++ ){ | ^ | == 1 warning generated. echo 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 | xargs -n 1 /var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe -cksum ../mkcpp swft.c swft.cc -- mkcpp set time: 1791324477 -> 1230165632 swft.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c swft.cc swft.cc:110:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 110 | if( rp = swf->s_path_base ){ | ~~~^~~~~~~~~~~~~~~~~~ swft.cc:110:10: note: place parentheses around the assignment to silence this warning 110 | if( rp = swf->s_path_base ){ | ^ | ( ) swft.cc:110:10: note: use '==' to turn this assignment into an equality comparison 110 | if( rp = swf->s_path_base ){ | ^ | == 1 warning generated. echo 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 | xargs -n 1 /var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe -cksum ../mkcpp pdft.c pdft.cc -- mkcpp set time: 1791324477 -> 1791324442 pdft.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c pdft.cc pdft.cc:507:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 507 | for( sp = str; ch = *sp; sp++ ){ | ~~~^~~~~ pdft.cc:507:20: note: place parentheses around the assignment to silence this warning 507 | for( sp = str; ch = *sp; sp++ ){ | ^ | ( ) pdft.cc:507:20: note: use '==' to turn this assignment into an equality comparison 507 | for( sp = str; ch = *sp; sp++ ){ | ^ | == pdft.cc:603:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 603 | for( sp = str; ch = *sp; sp++ ) | ~~~^~~~~ pdft.cc:603:20: note: place parentheses around the assignment to silence this warning 603 | for( sp = str; ch = *sp; sp++ ) | ^ | ( ) pdft.cc:603:20: note: use '==' to turn this assignment into an equality comparison 603 | for( sp = str; ch = *sp; sp++ ) | ^ | == pdft.cc:622:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 622 | char *eos = "endstream"; | ^ pdft.cc:792:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 792 | if( sp = strstr(line,"/P ") ){ | ~~~^~~~~~~~~~~~~~~~~~~~ pdft.cc:792:10: note: place parentheses around the assignment to silence this warning 792 | if( sp = strstr(line,"/P ") ){ | ^ | ( ) pdft.cc:792:10: note: use '==' to turn this assignment into an equality comparison 792 | if( sp = strstr(line,"/P ") ){ | ^ | == pdft.cc:794:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 794 | if( sp = strstr(line,"/ID[<") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ pdft.cc:794:10: note: place parentheses around the assignment to silence this warning 794 | if( sp = strstr(line,"/ID[<") ){ | ^ | ( ) pdft.cc:794:10: note: use '==' to turn this assignment into an equality comparison 794 | if( sp = strstr(line,"/ID[<") ){ | ^ | == pdft.cc:814:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 814 | if( sp = strstr(pdf->p_objsrc,"/O") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdft.cc:814:9: note: place parentheses around the assignment to silence this warning 814 | if( sp = strstr(pdf->p_objsrc,"/O") ){ | ^ | ( ) pdft.cc:814:9: note: use '==' to turn this assignment into an equality comparison 814 | if( sp = strstr(pdf->p_objsrc,"/O") ){ | ^ | == pdft.cc:821:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 821 | if( sp = strstr(pdf->p_objsrc,"/U") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdft.cc:821:9: note: place parentheses around the assignment to silence this warning 821 | if( sp = strstr(pdf->p_objsrc,"/U") ){ | ^ | ( ) pdft.cc:821:9: note: use '==' to turn this assignment into an equality comparison 821 | if( sp = strstr(pdf->p_objsrc,"/U") ){ | ^ | == pdft.cc:827:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 827 | if( sp = strstr(pdf->p_objsrc,"/V") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdft.cc:827:9: note: place parentheses around the assignment to silence this warning 827 | if( sp = strstr(pdf->p_objsrc,"/V") ){ | ^ | ( ) pdft.cc:827:9: note: use '==' to turn this assignment into an equality comparison 827 | if( sp = strstr(pdf->p_objsrc,"/V") ){ | ^ | == pdft.cc:830:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 830 | if( sp = strstr(pdf->p_objsrc,"/R") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdft.cc:830:9: note: place parentheses around the assignment to silence this warning 830 | if( sp = strstr(pdf->p_objsrc,"/R") ){ | ^ | ( ) pdft.cc:830:9: note: use '==' to turn this assignment into an equality comparison 830 | if( sp = strstr(pdf->p_objsrc,"/R") ){ | ^ | == pdft.cc:833:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 833 | if( sp = strstr(pdf->p_objsrc,"/P") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdft.cc:833:9: note: place parentheses around the assignment to silence this warning 833 | if( sp = strstr(pdf->p_objsrc,"/P") ){ | ^ | ( ) pdft.cc:833:9: note: use '==' to turn this assignment into an equality comparison 833 | if( sp = strstr(pdf->p_objsrc,"/P") ){ | ^ | == pdft.cc:836:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 836 | if( sp = strstr(pdf->p_objsrc,"/Length") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdft.cc:836:9: note: place parentheses around the assignment to silence this warning 836 | if( sp = strstr(pdf->p_objsrc,"/Length") ){ | ^ | ( ) pdft.cc:836:9: note: use '==' to turn this assignment into an equality comparison 836 | if( sp = strstr(pdf->p_objsrc,"/Length") ){ | ^ | == pdft.cc:1042:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1042 | if( sp = strstr(token,"/FlateDecode") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdft.cc:1042:10: note: place parentheses around the assignment to silence this warning 1042 | if( sp = strstr(token,"/FlateDecode") ){ | ^ | ( ) pdft.cc:1042:10: note: use '==' to turn this assignment into an equality comparison 1042 | if( sp = strstr(token,"/FlateDecode") ){ | ^ | == pdft.cc:1088:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1088 | if( sp = strstr(token,"stream") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ pdft.cc:1088:10: note: place parentheses around the assignment to silence this warning 1088 | if( sp = strstr(token,"stream") ){ | ^ | ( ) pdft.cc:1088:10: note: use '==' to turn this assignment into an equality comparison 1088 | if( sp = strstr(token,"stream") ){ | ^ | == 13 warnings generated. echo 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 | xargs -n 1 /var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe -cksum ./mkstab < sslway.c > sslway_dl.c ../mkcpp sslway_dl.c sslway_dl.cc -- mkcpp set time: 1791324477 -> 1791324477 sslway_dl.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c sslway_dl.cc sslway_dl.cc:640:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 640 | if( op = strstr(val,"wait") ){ | ~~~^~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:640:10: note: place parentheses around the assignment to silence this warning 640 | if( op = strstr(val,"wait") ){ | ^ | ( ) sslway_dl.cc:640:10: note: use '==' to turn this assignment into an equality comparison 640 | if( op = strstr(val,"wait") ){ | ^ | == sslway_dl.cc:705:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 705 | static char *CERTF_PASS = "common.pas"; | ^ sslway_dl.cc:706:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 706 | static char *CERTF_ME = "me.pem"; | ^ sslway_dl.cc:707:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 707 | static char *CERTF_TOSV = "to-sv.pem"; /* to be shown to servers */ | ^ sslway_dl.cc:708:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 708 | static char *CERTF_SVP = "to-sv.%s.pem"; /* to be shown to the server %s */ | ^ sslway_dl.cc:709:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 709 | static char *CERTF_TOCL = "to-cl.pem"; /* to be shown to clients */ | ^ sslway_dl.cc:710:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 710 | static char *CERTF_CLP = "to-cl.%s.pem"; /* to be shown to the client %s */ | ^ sslway_dl.cc:711:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 711 | static char *CERTF_SNI = "sn.%s.pem"; /* SNI */ | ^ sslway_dl.cc:712:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 712 | static char *CERTF_NIF = "if.%s.pem"; /* for the network interface */ | ^ sslway_dl.cc:714:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 714 | static char *CERTF_SVCA = "ca-sv.pem"; | ^ sslway_dl.cc:715:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 715 | static char *CERTD_SVCA = "ca-sv"; | ^ sslway_dl.cc:716:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 716 | static char *CERTF_CLCA = "ca-cl.pem"; | ^ sslway_dl.cc:717:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 717 | static char *CERTD_CLCA = "ca-cl"; | ^ sslway_dl.cc:803:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 803 | if( env = getenv("CFI_IDENT") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:803:10: note: place parentheses around the assignment to silence this warning 803 | if( env = getenv("CFI_IDENT") ){ | ^ | ( ) sslway_dl.cc:803:10: note: use '==' to turn this assignment into an equality comparison 803 | if( env = getenv("CFI_IDENT") ){ | ^ | == sslway_dl.cc:806:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 806 | if( fp = fdopen(dup(fd),"w") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:806:11: note: place parentheses around the assignment to silence this warning 806 | if( fp = fdopen(dup(fd),"w") ){ | ^ | ( ) sslway_dl.cc:806:11: note: use '==' to turn this assignment into an equality comparison 806 | if( fp = fdopen(dup(fd),"w") ){ | ^ | == sslway_dl.cc:825:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 825 | if( peer = SSL_get_peer_certificate(ssl) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:825:11: note: place parentheses around the assignment to silence this warning 825 | if( peer = SSL_get_peer_certificate(ssl) ){ | ^ | ( ) sslway_dl.cc:825:11: note: use '==' to turn this assignment into an equality comparison 825 | if( peer = SSL_get_peer_certificate(ssl) ){ | ^ | == sslway_dl.cc:835:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 835 | if( dp = (char*)strcasestr(sb,"/emailAddress=") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:835:10: note: place parentheses around the assignment to silence this warning 835 | if( dp = (char*)strcasestr(sb,"/emailAddress=") ) | ^ | ( ) sslway_dl.cc:835:10: note: use '==' to turn this assignment into an equality comparison 835 | if( dp = (char*)strcasestr(sb,"/emailAddress=") ) | ^ | == sslway_dl.cc:838:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 838 | if( dp = (char*)strcasestr(sb,"/email=") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:838:10: note: place parentheses around the assignment to silence this warning 838 | if( dp = (char*)strcasestr(sb,"/email=") ) | ^ | ( ) sslway_dl.cc:838:10: note: use '==' to turn this assignment into an equality comparison 838 | if( dp = (char*)strcasestr(sb,"/email=") ) | ^ | == sslway_dl.cc:865:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 865 | while( code = ERR_get_error() ){ | ~~~~~^~~~~~~~~~~~~~~~~ sslway_dl.cc:865:15: note: place parentheses around the assignment to silence this warning 865 | while( code = ERR_get_error() ){ | ^ | ( ) sslway_dl.cc:865:15: note: use '==' to turn this assignment into an equality comparison 865 | while( code = ERR_get_error() ){ | ^ | == sslway_dl.cc:885:6: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 885 | Lap("ssl_conn() start"); | ^ sslway_dl.cc:895:6: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 895 | Lap("before connect"); | ^ sslway_dl.cc:908:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 908 | Lap("after connect"); | ^ sslway_dl.cc:918:6: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 918 | Lap("ssl_acc() start"); | ^ sslway_dl.cc:927:6: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 927 | Lap("before accept"); | ^ sslway_dl.cc:940:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 940 | Lap("after accept"); | ^ sslway_dl.cc:951:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 951 | if( dp = strtailstr(xpath,".pem") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:951:10: note: place parentheses around the assignment to silence this warning 951 | if( dp = strtailstr(xpath,".pem") ){ | ^ | ( ) sslway_dl.cc:951:10: note: use '==' to turn this assignment into an equality comparison 951 | if( dp = strtailstr(xpath,".pem") ){ | ^ | == sslway_dl.cc:1117:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1117 | if( sslver = serv ? cl_sslver : sv_sslver ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:1117:13: note: place parentheses around the assignment to silence this warning 1117 | if( sslver = serv ? cl_sslver : sv_sslver ){ | ^ | ( ) sslway_dl.cc:1117:13: note: use '==' to turn this assignment into an equality comparison 1117 | if( sslver = serv ? cl_sslver : sv_sslver ){ | ^ | == sslway_dl.cc:1152:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1152 | if( sslnover = serv ? cl_sslnover : sv_sslnover ){ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:1152:15: note: place parentheses around the assignment to silence this warning 1152 | if( sslnover = serv ? cl_sslnover : sv_sslnover ){ | ^ | ( ) sslway_dl.cc:1152:15: note: use '==' to turn this assignment into an equality comparison 1152 | if( sslnover = serv ? cl_sslnover : sv_sslnover ){ | ^ | == sslway_dl.cc:1170:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1170 | if( dp = strrpbrk(passfile,"/\\") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:1170:10: note: place parentheses around the assignment to silence this warning 1170 | if( dp = strrpbrk(passfile,"/\\") ) | ^ | ( ) sslway_dl.cc:1170:10: note: use '==' to turn this assignment into an equality comparison 1170 | if( dp = strrpbrk(passfile,"/\\") ) | ^ | == sslway_dl.cc:1189:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1189 | if( dp = strpbrk(line,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:1189:9: note: place parentheses around the assignment to silence this warning 1189 | if( dp = strpbrk(line,"\r\n") ) | ^ | ( ) sslway_dl.cc:1189:9: note: use '==' to turn this assignment into an equality comparison 1189 | if( dp = strpbrk(line,"\r\n") ) | ^ | == sslway_dl.cc:1223:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1223 | if( env = getenv("REMOTE_ADDR") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:1223:10: note: place parentheses around the assignment to silence this warning 1223 | if( env = getenv("REMOTE_ADDR") ){ | ^ | ( ) sslway_dl.cc:1223:10: note: use '==' to turn this assignment into an equality comparison 1223 | if( env = getenv("REMOTE_ADDR") ){ | ^ | == sslway_dl.cc:1226:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1226 | if( env = getenv("SERVER_ADDR") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:1226:10: note: place parentheses around the assignment to silence this warning 1226 | if( env = getenv("SERVER_ADDR") ){ | ^ | ( ) sslway_dl.cc:1226:10: note: use '==' to turn this assignment into an equality comparison 1226 | if( env = getenv("SERVER_ADDR") ){ | ^ | == sslway_dl.cc:1266:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1266 | if( cert = SSL_get_certificate(ssl) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:1266:11: note: place parentheses around the assignment to silence this warning 1266 | if( cert = SSL_get_certificate(ssl) ){ | ^ | ( ) sslway_dl.cc:1266:11: note: use '==' to turn this assignment into an equality comparison 1266 | if( cert = SSL_get_certificate(ssl) ){ | ^ | == sslway_dl.cc:1300:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1300 | Lap("saveContext OK"); | ^ sslway_dl.cc:1338:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1338 | if( dp = strchr(fid,'\n') ) | ~~~^~~~~~~~~~~~~~~~~~ sslway_dl.cc:1338:9: note: place parentheses around the assignment to silence this warning 1338 | if( dp = strchr(fid,'\n') ) | ^ | ( ) sslway_dl.cc:1338:9: note: use '==' to turn this assignment into an equality comparison 1338 | if( dp = strchr(fid,'\n') ) | ^ | == sslway_dl.cc:1372:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1372 | Lap("loadContext OK"); | ^ sslway_dl.cc:1552:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1552 | Lap("loadSession OK"); | ^ sslway_dl.cc:1554:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1554 | Lap("loadSession NONE"); | ^ sslway_dl.cc:1569:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1569 | if( lkfp = CFI_LockFp() ){ | ~~~~~^~~~~~~~~~~~~~ sslway_dl.cc:1569:11: note: place parentheses around the assignment to silence this warning 1569 | if( lkfp = CFI_LockFp() ){ | ^ | ( ) sslway_dl.cc:1569:11: note: use '==' to turn this assignment into an equality comparison 1569 | if( lkfp = CFI_LockFp() ){ | ^ | == sslway_dl.cc:1729:6: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1729 | Lap("saveSession OK"); | ^ sslway_dl.cc:1744:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1744 | if( lkfp = CFI_LockFp() ){ | ~~~~~^~~~~~~~~~~~~~ sslway_dl.cc:1744:11: note: place parentheses around the assignment to silence this warning 1744 | if( lkfp = CFI_LockFp() ){ | ^ | ( ) sslway_dl.cc:1744:11: note: use '==' to turn this assignment into an equality comparison 1744 | if( lkfp = CFI_LockFp() ){ | ^ | == sslway_dl.cc:1747:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1747 | if( fp = CFI_fopenShared("r+") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:1747:10: note: place parentheses around the assignment to silence this warning 1747 | if( fp = CFI_fopenShared("r+") ){ | ^ | ( ) sslway_dl.cc:1747:10: note: use '==' to turn this assignment into an equality comparison 1747 | if( fp = CFI_fopenShared("r+") ){ | ^ | == sslway_dl.cc:1798:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1798 | if( yp = strrchr(ykeyfile,'.') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:1798:10: note: place parentheses around the assignment to silence this warning 1798 | if( yp = strrchr(ykeyfile,'.') ){ | ^ | ( ) sslway_dl.cc:1798:10: note: use '==' to turn this assignment into an equality comparison 1798 | if( yp = strrchr(ykeyfile,'.') ){ | ^ | == sslway_dl.cc:1805:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1805 | if( dp = strrchr(keyfile,'.') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:1805:9: note: place parentheses around the assignment to silence this warning 1805 | if( dp = strrchr(keyfile,'.') ){ | ^ | ( ) sslway_dl.cc:1805:9: note: use '==' to turn this assignment into an equality comparison 1805 | if( dp = strrchr(keyfile,'.') ){ | ^ | == sslway_dl.cc:1926:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1926 | if( vhost = getenv("SERVER_NAME") ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:1926:12: note: place parentheses around the assignment to silence this warning 1926 | if( vhost = getenv("SERVER_NAME") ){ | ^ | ( ) sslway_dl.cc:1926:12: note: use '==' to turn this assignment into an equality comparison 1926 | if( vhost = getenv("SERVER_NAME") ){ | ^ | == sslway_dl.cc:2030:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2030 | if( Bp = BIO_new_file(path,"r") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:2030:10: note: place parentheses around the assignment to silence this warning 2030 | if( Bp = BIO_new_file(path,"r") ){ | ^ | ( ) sslway_dl.cc:2030:10: note: use '==' to turn this assignment into an equality comparison 2030 | if( Bp = BIO_new_file(path,"r") ){ | ^ | == sslway_dl.cc:2031:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2031 | if( dh = PEM_read_bio_DHparams(Bp,NULL,NULL,NULL) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:2031:11: note: place parentheses around the assignment to silence this warning 2031 | if( dh = PEM_read_bio_DHparams(Bp,NULL,NULL,NULL) ){ | ^ | ( ) sslway_dl.cc:2031:11: note: use '==' to turn this assignment into an equality comparison 2031 | if( dh = PEM_read_bio_DHparams(Bp,NULL,NULL,NULL) ){ | ^ | == sslway_dl.cc:2199:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 2199 | nego_FTPDATAcl(conSSL,"",0); | ^ sslway_dl.cc:2421:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2421 | if( dp = strpbrk(buf,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:2421:10: note: place parentheses around the assignment to silence this warning 2421 | if( dp = strpbrk(buf,"\r\n") ) | ^ | ( ) sslway_dl.cc:2421:10: note: use '==' to turn this assignment into an equality comparison 2421 | if( dp = strpbrk(buf,"\r\n") ) | ^ | == sslway_dl.cc:2540:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2540 | if( dp = strpbrk(buf,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:2540:10: note: place parentheses around the assignment to silence this warning 2540 | if( dp = strpbrk(buf,"\r\n") ) | ^ | ( ) sslway_dl.cc:2540:10: note: use '==' to turn this assignment into an equality comparison 2540 | if( dp = strpbrk(buf,"\r\n") ) | ^ | == sslway_dl.cc:2894:6: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 2894 | Lap("start"); | ^ sslway_dl.cc:2897:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2897 | if( env = getenv("CFI_FILTER_ID") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:2897:10: note: place parentheses around the assignment to silence this warning 2897 | if( env = getenv("CFI_FILTER_ID") ) | ^ | ( ) sslway_dl.cc:2897:10: note: use '==' to turn this assignment into an equality comparison 2897 | if( env = getenv("CFI_FILTER_ID") ) | ^ | == sslway_dl.cc:2904:6: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 2904 | Lap("init done"); | ^ sslway_dl.cc:2906:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2906 | if( env = getenv("CFI_TYPE") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:2906:10: note: place parentheses around the assignment to silence this warning 2906 | if( env = getenv("CFI_TYPE") ){ | ^ | ( ) sslway_dl.cc:2906:10: note: use '==' to turn this assignment into an equality comparison 2906 | if( env = getenv("CFI_TYPE") ){ | ^ | == sslway_dl.cc:2916:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2916 | if( env = getenv("CFI_STAT") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:2916:10: note: place parentheses around the assignment to silence this warning 2916 | if( env = getenv("CFI_STAT") ){ | ^ | ( ) sslway_dl.cc:2916:10: note: use '==' to turn this assignment into an equality comparison 2916 | if( env = getenv("CFI_STAT") ){ | ^ | == sslway_dl.cc:2923:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2923 | if( env = getenv("CFI_SYNC") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:2923:10: note: place parentheses around the assignment to silence this warning 2923 | if( env = getenv("CFI_SYNC") ){ | ^ | ( ) sslway_dl.cc:2923:10: note: use '==' to turn this assignment into an equality comparison 2923 | if( env = getenv("CFI_SYNC") ){ | ^ | == sslway_dl.cc:2930:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2930 | if( env = GetEnv("SSL_KEY_PASSWD") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:2930:10: note: place parentheses around the assignment to silence this warning 2930 | if( env = GetEnv("SSL_KEY_PASSWD") ) | ^ | ( ) sslway_dl.cc:2930:10: note: use '==' to turn this assignment into an equality comparison 2930 | if( env = GetEnv("SSL_KEY_PASSWD") ) | ^ | == sslway_dl.cc:2932:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2932 | if( env = GetEnv("SSL_CLIENT_KEY_PASSWD") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:2932:10: note: place parentheses around the assignment to silence this warning 2932 | if( env = GetEnv("SSL_CLIENT_KEY_PASSWD") ) | ^ | ( ) sslway_dl.cc:2932:10: note: use '==' to turn this assignment into an equality comparison 2932 | if( env = GetEnv("SSL_CLIENT_KEY_PASSWD") ) | ^ | == sslway_dl.cc:2934:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2934 | if( env = GetEnv("SSL_SERVER_KEY_PASSWD") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:2934:10: note: place parentheses around the assignment to silence this warning 2934 | if( env = GetEnv("SSL_SERVER_KEY_PASSWD") ) | ^ | ( ) sslway_dl.cc:2934:10: note: use '==' to turn this assignment into an equality comparison 2934 | if( env = GetEnv("SSL_SERVER_KEY_PASSWD") ) | ^ | == sslway_dl.cc:2951:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2951 | if( env = GetEnv("SSL_CIPHER") ) cipher_list = env; | ~~~~^~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:2951:10: note: place parentheses around the assignment to silence this warning 2951 | if( env = GetEnv("SSL_CIPHER") ) cipher_list = env; | ^ | ( ) sslway_dl.cc:2951:10: note: use '==' to turn this assignment into an equality comparison 2951 | if( env = GetEnv("SSL_CIPHER") ) cipher_list = env; | ^ | == sslway_dl.cc:2953:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2953 | if( env = GetEnv("SSL_CERT_FILE") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:2953:10: note: place parentheses around the assignment to silence this warning 2953 | if( env = GetEnv("SSL_CERT_FILE") ) | ^ | ( ) sslway_dl.cc:2953:10: note: use '==' to turn this assignment into an equality comparison 2953 | if( env = GetEnv("SSL_CERT_FILE") ) | ^ | == sslway_dl.cc:2956:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2956 | if( env = GetEnv("SSL_SERVER_KEY_FILE" ) ) sv_key = env; | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:2956:10: note: place parentheses around the assignment to silence this warning 2956 | if( env = GetEnv("SSL_SERVER_KEY_FILE" ) ) sv_key = env; | ^ | ( ) sslway_dl.cc:2956:10: note: use '==' to turn this assignment into an equality comparison 2956 | if( env = GetEnv("SSL_SERVER_KEY_FILE" ) ) sv_key = env; | ^ | == sslway_dl.cc:2957:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2957 | if( env = GetEnv("SSL_SERVER_CERT_FILE") ) sv_cert = env; | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:2957:10: note: place parentheses around the assignment to silence this warning 2957 | if( env = GetEnv("SSL_SERVER_CERT_FILE") ) sv_cert = env; | ^ | ( ) sslway_dl.cc:2957:10: note: use '==' to turn this assignment into an equality comparison 2957 | if( env = GetEnv("SSL_SERVER_CERT_FILE") ) sv_cert = env; | ^ | == sslway_dl.cc:2959:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2959 | if( env = GetEnv("SSL_CLIENT_KEY_FILE" ) ) cl_key = env; | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:2959:10: note: place parentheses around the assignment to silence this warning 2959 | if( env = GetEnv("SSL_CLIENT_KEY_FILE" ) ) cl_key = env; | ^ | ( ) sslway_dl.cc:2959:10: note: use '==' to turn this assignment into an equality comparison 2959 | if( env = GetEnv("SSL_CLIENT_KEY_FILE" ) ) cl_key = env; | ^ | == sslway_dl.cc:2960:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2960 | if( env = GetEnv("SSL_CLIENT_CERT_FILE") ) cl_cert = env; | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:2960:10: note: place parentheses around the assignment to silence this warning 2960 | if( env = GetEnv("SSL_CLIENT_CERT_FILE") ) cl_cert = env; | ^ | ( ) sslway_dl.cc:2960:10: note: use '==' to turn this assignment into an equality comparison 2960 | if( env = GetEnv("SSL_CLIENT_CERT_FILE") ) cl_cert = env; | ^ | == sslway_dl.cc:2962:6: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 2962 | Lap("begin args"); | ^ sslway_dl.cc:3131:6: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3131 | Lap("end args"); | ^ sslway_dl.cc:3136:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3136 | if( do_acc = do_accSSL ){ | ~~~~~~~^~~~~~~~~~~ sslway_dl.cc:3136:13: note: place parentheses around the assignment to silence this warning 3136 | if( do_acc = do_accSSL ){ | ^ | ( ) sslway_dl.cc:3136:13: note: use '==' to turn this assignment into an equality comparison 3136 | if( do_acc = do_accSSL ){ | ^ | == sslway_dl.cc:3140:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3140 | if( do_con = do_conSSL ){ | ~~~~~~~^~~~~~~~~~~ sslway_dl.cc:3140:13: note: place parentheses around the assignment to silence this warning 3140 | if( do_con = do_conSSL ){ | ^ | ( ) sslway_dl.cc:3140:13: note: use '==' to turn this assignment into an equality comparison 3140 | if( do_con = do_conSSL ){ | ^ | == sslway_dl.cc:3150:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3150 | Lap("end rand_seed"); | ^ sslway_dl.cc:3161:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3161 | Lap("nodelay set"); | ^ sslway_dl.cc:3194:6: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3194 | Lap("start con/acc"); | ^ sslway_dl.cc:3246:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3246 | Lap("before ssl_new"); | ^ sslway_dl.cc:3248:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3248 | Lap("after ssl_new"); | ^ sslway_dl.cc:3267:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3267 | Lap("before loadContext"); | ^ sslway_dl.cc:3276:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3276 | Lap("after loadContext"); | ^ sslway_dl.cc:3318:6: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3318 | Lap("start relay ..."); | ^ sslway_dl.cc:3471:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3471 | if( ok = sslway_dl0() ){ | ~~~^~~~~~~~~~~~~~ sslway_dl.cc:3471:9: note: place parentheses around the assignment to silence this warning 3471 | if( ok = sslway_dl0() ){ | ^ | ( ) sslway_dl.cc:3471:9: note: use '==' to turn this assignment into an equality comparison 3471 | if( ok = sslway_dl0() ){ | ^ | == sslway_dl.cc:3543:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3543 | /*DLST*/ {"#ssl"}, /*handle*/ | ^ sslway_dl.cc:3544:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3544 | /*DLST*/ {"SSLeay_version",&SSLeay_version_PTR_}, | ^ sslway_dl.cc:3545:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3545 | /*DLST*/ {"BIO_s_mem",&BIO_s_mem_PTR_}, | ^ sslway_dl.cc:3546:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3546 | /*DLST*/ {"BIO_new",&BIO_new_PTR_}, | ^ sslway_dl.cc:3547:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3547 | /*DLST*/ {"BIO_puts",&BIO_puts_PTR_}, | ^ sslway_dl.cc:3548:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3548 | /*DLST*/ {"BIO_gets",&BIO_gets_PTR_}, | ^ sslway_dl.cc:3549:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3549 | /*DLST*/ {"BIO_new_fp",&BIO_new_fp_PTR_}, | ^ sslway_dl.cc:3550:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3550 | /*DLST*/ {"BIO_free",&BIO_free_PTR_}, | ^ sslway_dl.cc:3551:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3551 | /*DLST*/ {"PEM_read_bio_X509",&PEM_read_bio_X509_PTR_}, | ^ sslway_dl.cc:3552:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3552 | /*DLST*/ {"PEM_read_bio_RSAPrivateKey",&PEM_read_bio_RSAPrivateKey_PTR_}, | ^ sslway_dl.cc:3553:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3553 | /*DLST*/ {"SSL_CTX_new",&SSL_CTX_new_PTR_}, | ^ sslway_dl.cc:3554:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3554 | /*DLST*/ {"ERR_clear_error",&ERR_clear_error_PTR_}, | ^ sslway_dl.cc:3555:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3555 | /*DLST*/ {"SSL_library_init",&SSL_library_init_PTR_}, | ^ sslway_dl.cc:3556:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3556 | /*DLST*/ {"SSL_new",&SSL_new_PTR_}, | ^ sslway_dl.cc:3557:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3557 | /*DLST*/ {"SSL_set_fd",&SSL_set_fd_PTR_}, | ^ sslway_dl.cc:3558:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3558 | /*DLST*/ {"SSL_connect",&SSL_connect_PTR_}, | ^ sslway_dl.cc:3559:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3559 | /*DLST*/ {"SSL_accept",&SSL_accept_PTR_}, | ^ sslway_dl.cc:3560:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3560 | /*DLST*/ {"SSL_write",&SSL_write_PTR_}, | ^ sslway_dl.cc:3561:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3561 | /*DLST*/ {"SSL_read",&SSL_read_PTR_}, | ^ sslway_dl.cc:3562:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3562 | /*DLST*/ {"SSL_pending",&SSL_pending_PTR_}, | ^ sslway_dl.cc:3563:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3563 | /*DLST*/ {"SSL_shutdown",&SSL_shutdown_PTR_}, | ^ sslway_dl.cc:3564:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3564 | /*DLST*/ {"SSL_get_shutdown",&SSL_get_shutdown_PTR_}, | ^ sslway_dl.cc:3565:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3565 | /*DLST*/ {"SSL_set_connect_state",&SSL_set_connect_state_PTR_}, | ^ sslway_dl.cc:3566:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3566 | /*DLST*/ {"SSL_set_accept_state",&SSL_set_accept_state_PTR_}, | ^ sslway_dl.cc:3567:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3567 | /*DLST*/ {"SSL_load_error_strings",&SSL_load_error_strings_PTR_}, | ^ sslway_dl.cc:3568:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3568 | /*DLST*/ {"SSL_get_error",&SSL_get_error_PTR_}, | ^ sslway_dl.cc:3569:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3569 | /*DLST*/ {"SSL_get_peer_certificate",&SSL_get_peer_certificate_PTR_}, | ^ sslway_dl.cc:3570:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3570 | /*DLST*/ {"SSL_SESSION_new",&SSL_SESSION_new_PTR_}, | ^ sslway_dl.cc:3571:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3571 | /*DLST*/ {"SSL_set_SSL_CTX",&SSL_set_SSL_CTX_PTR_,"0"}, | ^ sslway_dl.cc:3571:51: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3571 | /*DLST*/ {"SSL_set_SSL_CTX",&SSL_set_SSL_CTX_PTR_,"0"}, | ^ sslway_dl.cc:3572:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3572 | /*DLST*/ {"SSL_get_servername",&SSL_get_servername_PTR_,"0"}, | ^ sslway_dl.cc:3572:57: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3572 | /*DLST*/ {"SSL_get_servername",&SSL_get_servername_PTR_,"0"}, | ^ sslway_dl.cc:3573:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3573 | /*DLST*/ {"SSL_get_servername_type",&SSL_get_servername_type_PTR_,"0"}, | ^ sslway_dl.cc:3573:67: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3573 | /*DLST*/ {"SSL_get_servername_type",&SSL_get_servername_type_PTR_,"0"}, | ^ sslway_dl.cc:3574:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3574 | /*DLST*/ {"SSL_CTX_callback_ctrl",&SSL_CTX_callback_ctrl_PTR_,"0"}, | ^ sslway_dl.cc:3574:63: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3574 | /*DLST*/ {"SSL_CTX_callback_ctrl",&SSL_CTX_callback_ctrl_PTR_,"0"}, | ^ sslway_dl.cc:3575:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3575 | /*DLST*/ {"SSL_CTX_add_session",&SSL_CTX_add_session_PTR_}, | ^ sslway_dl.cc:3576:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3576 | /*DLST*/ {"SSL_get_session",&SSL_get_session_PTR_}, | ^ sslway_dl.cc:3577:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3577 | /*DLST*/ {"SSL_set_session",&SSL_set_session_PTR_}, | ^ sslway_dl.cc:3578:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3578 | /*DLST*/ {"SSL_CTX_use_certificate",&SSL_CTX_use_certificate_PTR_}, | ^ sslway_dl.cc:3579:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3579 | /*DLST*/ {"SSL_CTX_use_PrivateKey",&SSL_CTX_use_PrivateKey_PTR_}, | ^ sslway_dl.cc:3580:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3580 | /*DLST*/ {"SSL_get_certificate",&SSL_get_certificate_PTR_}, | ^ sslway_dl.cc:3581:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3581 | /*DLST*/ {"SSL_get_privatekey",&SSL_get_privatekey_PTR_}, | ^ sslway_dl.cc:3582:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3582 | /*DLST*/ {"d2i_SSL_SESSION",&d2i_SSL_SESSION_PTR_}, | ^ sslway_dl.cc:3583:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3583 | /*DLST*/ {"i2d_SSL_SESSION",&i2d_SSL_SESSION_PTR_}, | ^ sslway_dl.cc:3584:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3584 | /*DLST*/ {"d2i_X509",&d2i_X509_PTR_}, | ^ sslway_dl.cc:3585:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3585 | /*DLST*/ {"i2d_X509",&i2d_X509_PTR_}, | ^ sslway_dl.cc:3586:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3586 | /*DLST*/ {"d2i_PrivateKey",&d2i_PrivateKey_PTR_}, | ^ sslway_dl.cc:3587:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3587 | /*DLST*/ {"i2d_PrivateKey",&i2d_PrivateKey_PTR_}, | ^ sslway_dl.cc:3588:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3588 | /*DLST*/ {"SSL_ctrl",&SSL_ctrl_PTR_}, | ^ sslway_dl.cc:3589:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3589 | /*DLST*/ {"SSL_CTX_ctrl",&SSL_CTX_ctrl_PTR_}, | ^ sslway_dl.cc:3590:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3590 | /*DLST*/ {"SSL_CTX_check_private_key",&SSL_CTX_check_private_key_PTR_}, | ^ sslway_dl.cc:3591:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3591 | /*DLST*/ {"SSL_CTX_get_cert_store",&SSL_CTX_get_cert_store_PTR_}, | ^ sslway_dl.cc:3592:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3592 | /*DLST*/ {"SSL_CTX_load_verify_locations",&SSL_CTX_load_verify_locations_PTR_}, | ^ sslway_dl.cc:3593:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3593 | /*DLST*/ {"SSL_CTX_set_cipher_list",&SSL_CTX_set_cipher_list_PTR_}, | ^ sslway_dl.cc:3594:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3594 | /*DLST*/ {"SSL_CTX_set_default_passwd_cb",&SSL_CTX_set_default_passwd_cb_PTR_}, | ^ sslway_dl.cc:3595:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3595 | /*DLST*/ {"SSL_CTX_set_default_verify_paths",&SSL_CTX_set_default_verify_paths_PTR_}, | ^ sslway_dl.cc:3596:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3596 | /*DLST*/ {"SSL_CTX_set_tmp_rsa_callback",&SSL_CTX_set_tmp_rsa_callback_PTR_}, | ^ sslway_dl.cc:3597:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3597 | /*DLST*/ {"SSL_CTX_set_verify",&SSL_CTX_set_verify_PTR_}, | ^ sslway_dl.cc:3598:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3598 | /*DLST*/ {"SSL_CTX_use_RSAPrivateKey_file",&SSL_CTX_use_RSAPrivateKey_file_PTR_}, | ^ sslway_dl.cc:3599:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3599 | /*DLST*/ {"SSL_CTX_use_certificate_file",&SSL_CTX_use_certificate_file_PTR_}, | ^ sslway_dl.cc:3600:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3600 | /*DLST*/ {"SSL_CTX_use_certificate_chain_file",&SSL_CTX_use_certificate_chain_file_PTR_,"0"}, | ^ sslway_dl.cc:3600:89: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3600 | /*DLST*/ {"SSL_CTX_use_certificate_chain_file",&SSL_CTX_use_certificate_chain_file_PTR_,"0"}, | ^ sslway_dl.cc:3601:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3601 | /*DLST*/ {"SSLv2_server_method",&SSLv2_server_method_PTR_}, | ^ sslway_dl.cc:3602:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3602 | /*DLST*/ {"SSLv2_client_method",&SSLv2_client_method_PTR_}, | ^ sslway_dl.cc:3603:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3603 | /*DLST*/ {"SSLv3_server_method",&SSLv3_server_method_PTR_}, | ^ sslway_dl.cc:3604:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3604 | /*DLST*/ {"SSLv3_client_method",&SSLv3_client_method_PTR_}, | ^ sslway_dl.cc:3605:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3605 | /*DLST*/ {"SSLv23_server_method",&SSLv23_server_method_PTR_}, | ^ sslway_dl.cc:3606:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3606 | /*DLST*/ {"SSLv23_client_method",&SSLv23_client_method_PTR_}, | ^ sslway_dl.cc:3607:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3607 | /*DLST*/ {"TLSv1_server_method",&TLSv1_server_method_PTR_}, | ^ sslway_dl.cc:3608:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3608 | /*DLST*/ {"TLSv1_client_method",&TLSv1_client_method_PTR_}, | ^ sslway_dl.cc:3609:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3609 | /*DLST*/ {"X509_get_issuer_name",&X509_get_issuer_name_PTR_}, | ^ sslway_dl.cc:3610:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3610 | /*DLST*/ {"i2d_X509_bio",&i2d_X509_bio_PTR_}, | ^ sslway_dl.cc:3611:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3611 | /*DLST*/ {"X509_NAME_oneline",&X509_NAME_oneline_PTR_}, | ^ sslway_dl.cc:3612:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3612 | /*DLST*/ {"X509_verify_cert_error_string",&X509_verify_cert_error_string_PTR_}, | ^ sslway_dl.cc:3613:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3613 | /*DLST*/ {"X509_STORE_CTX_get_current_cert",&X509_STORE_CTX_get_current_cert_PTR_}, | ^ sslway_dl.cc:3614:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3614 | /*DLST*/ {"X509_STORE_CTX_get_error",&X509_STORE_CTX_get_error_PTR_}, | ^ sslway_dl.cc:3615:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3615 | /*DLST*/ {"X509_STORE_CTX_get_error_depth",&X509_STORE_CTX_get_error_depth_PTR_}, | ^ sslway_dl.cc:3616:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3616 | /*DLST*/ {"X509_get_subject_name",&X509_get_subject_name_PTR_}, | ^ sslway_dl.cc:3617:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3617 | /*DLST*/ {"X509_free",&X509_free_PTR_}, | ^ sslway_dl.cc:3618:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3618 | /*DLST*/ {"SSL_CTX_use_RSAPrivateKey",&SSL_CTX_use_RSAPrivateKey_PTR_}, | ^ sslway_dl.cc:3619:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3619 | /*DLST*/ {"RSA_generate_key",&RSA_generate_key_PTR_}, | ^ sslway_dl.cc:3620:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3620 | /*DLST*/ {"ERR_load_crypto_strings",&ERR_load_crypto_strings_PTR_}, | ^ sslway_dl.cc:3621:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3621 | /*DLST*/ {"PEM_read_bio_PrivateKey",&PEM_read_bio_PrivateKey_PTR_}, | ^ sslway_dl.cc:3622:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3622 | /*DLST*/ {"PEM_read_X509",&PEM_read_X509_PTR_}, | ^ sslway_dl.cc:3623:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3623 | /*DLST*/ {"PEM_read_bio_PUBKEY",&PEM_read_bio_PUBKEY_PTR_}, | ^ sslway_dl.cc:3624:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3624 | /*DLST*/ {"RSA_size",&RSA_size_PTR_}, | ^ sslway_dl.cc:3625:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3625 | /*DLST*/ {"EVP_PKEY_get1_RSA",&EVP_PKEY_get1_RSA_PTR_}, | ^ sslway_dl.cc:3626:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3626 | /*DLST*/ {"X509_get_pubkey",&X509_get_pubkey_PTR_}, | ^ sslway_dl.cc:3627:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3627 | /*DLST*/ {"RSA_private_encrypt",&RSA_private_encrypt_PTR_}, | ^ sslway_dl.cc:3628:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3628 | /*DLST*/ {"RSA_public_decrypt",&RSA_public_decrypt_PTR_}, | ^ sslway_dl.cc:3629:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3629 | /*DLST*/ {"RSA_sign",&RSA_sign_PTR_}, | ^ sslway_dl.cc:3630:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3630 | /*DLST*/ {"RSA_verify",&RSA_verify_PTR_}, | ^ sslway_dl.cc:3631:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3631 | /*DLST*/ {"ERR_get_error",&ERR_get_error_PTR_}, | ^ sslway_dl.cc:3632:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3632 | /*DLST*/ {"ERR_error_string_n",&ERR_error_string_n_PTR_}, | ^ sslway_dl.cc:3633:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3633 | /*DLST*/ {"ERR_print_errors_fp",&ERR_print_errors_fp_PTR_}, | ^ sslway_dl.cc:3634:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3634 | /*DLST*/ {"RAND_seed",&RAND_seed_PTR_}, | ^ sslway_dl.cc:3635:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3635 | /*DLST*/ {"X509_STORE_set_flags",&X509_STORE_set_flags_PTR_,"0"}, | ^ sslway_dl.cc:3635:61: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3635 | /*DLST*/ {"X509_STORE_set_flags",&X509_STORE_set_flags_PTR_,"0"}, | ^ sslway_dl.cc:3636:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3636 | /*DLST*/ {"RC4_set_key",&RC4_set_key_PTR_}, | ^ sslway_dl.cc:3637:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3637 | /*DLST*/ {"RC4",&RC4_PTR_}, | ^ sslway_dl.cc:3638:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3638 | /*DLST*/ {"SSL_CTX_set_session_id_context",&SSL_CTX_set_session_id_context_PTR_,"0"}, | ^ sslway_dl.cc:3638:81: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3638 | /*DLST*/ {"SSL_CTX_set_session_id_context",&SSL_CTX_set_session_id_context_PTR_,"0"}, | ^ sslway_dl.cc:3639:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3639 | /*DLST*/ {"SSL_CTX_set_generate_session_id",&SSL_CTX_set_generate_session_id_PTR_,"0"}, | ^ sslway_dl.cc:3639:83: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3639 | /*DLST*/ {"SSL_CTX_set_generate_session_id",&SSL_CTX_set_generate_session_id_PTR_,"0"}, | ^ sslway_dl.cc:3640:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3640 | /*DLST*/ {"ENGINE_load_builtin_engines",&ENGINE_load_builtin_engines_PTR_,"0"}, | ^ sslway_dl.cc:3640:75: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3640 | /*DLST*/ {"ENGINE_load_builtin_engines",&ENGINE_load_builtin_engines_PTR_,"0"}, | ^ sslway_dl.cc:3641:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3641 | /*DLST*/ {"OPENSSL_add_all_algorithms_conf",&OPENSSL_add_all_algorithms_conf_PTR_,"0"}, | ^ sslway_dl.cc:3641:83: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3641 | /*DLST*/ {"OPENSSL_add_all_algorithms_conf",&OPENSSL_add_all_algorithms_conf_PTR_,"0"}, | ^ sslway_dl.cc:3642:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3642 | /*DLST*/ {"BIO_new_file",&BIO_new_file_PTR_}, | ^ sslway_dl.cc:3643:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3643 | /*DLST*/ {"PEM_read_bio_DHparams",&PEM_read_bio_DHparams_PTR_,"0"}, | ^ sslway_dl.cc:3643:63: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3643 | /*DLST*/ {"PEM_read_bio_DHparams",&PEM_read_bio_DHparams_PTR_,"0"}, | ^ sslway_dl.cc:3644:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3644 | /*DLST*/ {"DH_free",&DH_free_PTR_,"0"}, | ^ sslway_dl.cc:3644:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3644 | /*DLST*/ {"DH_free",&DH_free_PTR_,"0"}, | ^ 192 warnings generated. echo 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 | xargs -n 1 /var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe -cksum ./mkstab < gzip.c > gzip_dl.c ../mkcpp gzip_dl.c gzip_dl.cc -- mkcpp set time: 1791324478 -> 1791324478 gzip_dl.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c gzip_dl.cc gzip_dl.cc:220:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 220 | if( sock = SocketOf(fd) ){ | ~~~~~^~~~~~~~~~~~~~ gzip_dl.cc:220:11: note: place parentheses around the assignment to silence this warning 220 | if( sock = SocketOf(fd) ){ | ^ | ( ) gzip_dl.cc:220:11: note: use '==' to turn this assignment into an equality comparison 220 | if( sock = SocketOf(fd) ){ | ^ | == gzip_dl.cc:402:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 402 | if( _gzfuncs = (GZFUNCS)mydlsym("gzfuncs") ){ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gzip_dl.cc:402:16: note: place parentheses around the assignment to silence this warning 402 | if( _gzfuncs = (GZFUNCS)mydlsym("gzfuncs") ){ | ^ | ( ) gzip_dl.cc:402:16: note: use '==' to turn this assignment into an equality comparison 402 | if( _gzfuncs = (GZFUNCS)mydlsym("gzfuncs") ){ | ^ | == gzip_dl.cc:892:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 892 | if( ready = inputReady(fd,&rd) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~ gzip_dl.cc:892:14: note: place parentheses around the assignment to silence this warning 892 | if( ready = inputReady(fd,&rd) ){ | ^ | ( ) gzip_dl.cc:892:14: note: use '==' to turn this assignment into an equality comparison 892 | if( ready = inputReady(fd,&rd) ){ | ^ | == gzip_dl.cc:896:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 896 | }else{ | ^ gzip_dl.cc:1012:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1012 | /*DLST*/ {"#zlib"}, /*handle*/ | ^ gzip_dl.cc:1013:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1013 | /*DLST*/ {"zlibVersion",&zlibVersion_PTR_}, | ^ gzip_dl.cc:1014:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1014 | /*DLST*/ {"gzopen",&gzopen_PTR_}, | ^ gzip_dl.cc:1015:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1015 | /*DLST*/ {"gzdopen",&gzdopen_PTR_}, | ^ gzip_dl.cc:1016:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1016 | /*DLST*/ {"gzwrite",&gzwrite_PTR_}, | ^ gzip_dl.cc:1017:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1017 | /*DLST*/ {"gzflush",&gzflush_PTR_}, | ^ gzip_dl.cc:1018:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1018 | /*DLST*/ {"gzread",&gzread_PTR_}, | ^ gzip_dl.cc:1019:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1019 | /*DLST*/ {"gzeof",&gzeof_PTR_}, | ^ gzip_dl.cc:1020:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1020 | /*DLST*/ {"gztell",&gztell_PTR_}, | ^ gzip_dl.cc:1021:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1021 | /*DLST*/ {"gzclose",&gzclose_PTR_}, | ^ gzip_dl.cc:1022:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1022 | /*DLST*/ {"gziocallback",&gziocallback_PTR_,"0"}, | ^ gzip_dl.cc:1022:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1022 | /*DLST*/ {"gziocallback",&gziocallback_PTR_,"0"}, | ^ gzip_dl.cc:1023:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1023 | /*DLST*/ {"gzerror",&gzerror_PTR_}, | ^ gzip_dl.cc:1024:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1024 | /*DLST*/ {"compress2",&compress2_PTR_}, | ^ gzip_dl.cc:1025:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1025 | /*DLST*/ {"uncompress",&uncompress_PTR_}, | ^ gzip_dl.cc:1026:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1026 | /*DLST*/ {"inflateInit_",&inflateInit__PTR_}, | ^ gzip_dl.cc:1027:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1027 | /*DLST*/ {"inflateEnd",&inflateEnd_PTR_}, | ^ gzip_dl.cc:1028:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1028 | /*DLST*/ {"inflate",&inflate_PTR_}, | ^ 22 warnings generated. echo 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 | xargs -n 1 /var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe -cksum ./mkstab < m17nccx.c > m17nccx_dl.c ../mkcpp m17nccx_dl.c m17nccx_dl.cc -- mkcpp set time: 1791324478 -> 1791324478 m17nccx_dl.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c m17nccx_dl.cc m17nccx_dl.cc:368:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 368 | /*DLST*/ {"#m17n"}, /*handle*/ | ^ m17nccx_dl.cc:369:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 369 | /*DLST*/ {"msymbol",&msymbol_PTR_}, | ^ m17nccx_dl.cc:370:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 370 | /*DLST*/ {"mtext",&mtext_PTR_}, | ^ m17nccx_dl.cc:371:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 371 | /*DLST*/ {"m17n_init",&m17n_init_PTR_}, | ^ m17nccx_dl.cc:372:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 372 | /*DLST*/ {"mconv_resolve_coding",&mconv_resolve_coding_PTR_}, | ^ m17nccx_dl.cc:373:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 373 | /*DLST*/ {"mconv_stream_converter",&mconv_stream_converter_PTR_}, | ^ m17nccx_dl.cc:374:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 374 | /*DLST*/ {"mconv_buffer_converter",&mconv_buffer_converter_PTR_}, | ^ m17nccx_dl.cc:375:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 375 | /*DLST*/ {"mconv_decode",&mconv_decode_PTR_}, | ^ m17nccx_dl.cc:376:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 376 | /*DLST*/ {"mconv_encode",&mconv_encode_PTR_}, | ^ m17nccx_dl.cc:377:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 377 | /*DLST*/ {"mconv_free_converter",&mconv_free_converter_PTR_}, | ^ m17nccx_dl.cc:378:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 378 | /*DLST*/ {"m17n_object_unref",&m17n_object_unref_PTR_}, | ^ m17nccx_dl.cc:379:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 379 | /*DLST*/ {"m17n_fini",&m17n_fini_PTR_}, | ^ 12 warnings generated. echo 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 | xargs -n 1 /var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe -cksum rm -f libcfi.a ar cr libcfi.a dl.o cfi.o cafe.o backup.o dping.o swft.o pdft.o sslway_dl.o gzip_dl.o m17nccx_dl.o /usr/bin/ranlib libcfi.a **[0] move ../filters/libcfi.a to ../lib/libcfi.a /var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe -makeat ../lib/libfsx.a ../fsx libfsx.a "/opt/pkg/bin/bmake" libx MAKE="/opt/pkg/bin/bmake" SHELL="/opt/pkg/bin/mksh" CC="clang" CFLAGS="-O2 -x c++ -DQS -DNONC99" HDRDIR="-I../gen -I../include -Wno-narrowing -pipe -Os" RANLIB="/usr/bin/ranlib" LDFLAGS=" -L../lib" LIBDIR="-L../lib" NETLIB="-ldl -lutil -lpthread -lpam -lstdc++" AR="ar" TAR="tar" [clang -c -O2 -x c++ -DQS -DNONC99 ] NONC99 = 2 ####### -makeat: /var/tmp/work/net/delegate/work/delegate9.9.1/fsx /var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe -cksum Makefile any2fdif.c /var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe -mkmake "/opt/pkg/bin/bmake" Makefile.go "clang" "-O2 -x c++ -DQS -DNONC99 -Dm64" "" "-L../lib" "/usr/bin/ranlib" "-ldl -lutil -lpthread -lpam -lstdc++" NETLIB mkmake: [clang -c -O2 -x c++ -DQS -DNONC99 -Dm64 ] NONC99 = 2 #### [/var/tmp/work/net/delegate/work/delegate9.9.1/fsx] creating Makefile.go cpyfile Makefile[1-0][0-7e63b6] > Makefile.go #ifdef UNIX,OS2EMX ################################################ [SET] MKMAKE=/var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe [SET] RANLIB=/usr/bin/ranlib - checking availability of -ldl [] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lutil [-ldl] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lpthread [-ldl -lutil] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lpam [-ldl -lutil -lpthread] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lstdc++ [-ldl -lutil -lpthread -lpam] cpyfile: cannot read 'DELEGATE_CONF' [SET] NETLIB=-ldl -lutil -lpthread -lpam -lstdc++ cpyfile: cannot read 'DELEGATE_CONF' cpyfile Makefile[0-0][7e6468-0] > Makefile.go #ifdef UNIX,OS2EMX ################################################ /opt/pkg/bin/bmake -f Makefile.go CFLAGS="-O2 -x c++ -DQS -DNONC99 -Dm64" libfsx.a SHELL="/opt/pkg/bin/mksh" HDRDIR="-I../gen -I../include -Wno-narrowing -pipe -Os" ../mkcpp any2fdif.c any2fdif.cc -- mkcpp set time: 1791324479 -> 1791324442 any2fdif.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../gen -I../include -Wno-narrowing -pipe -Os -I../include -c any2fdif.cc any2fdif.cc:333:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 333 | for( xi = 0; cext = types[xi].ext; xi++ ){ | ~~~~~^~~~~~~~~~~~~~~ any2fdif.cc:333:20: note: place parentheses around the assignment to silence this warning 333 | for( xi = 0; cext = types[xi].ext; xi++ ){ | ^ | ( ) any2fdif.cc:333:20: note: use '==' to turn this assignment into an equality comparison 333 | for( xi = 0; cext = types[xi].ext; xi++ ){ | ^ | == any2fdif.cc:362:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 362 | for( xi = 0; cext = types[xi].ext; xi++ ){ | ~~~~~^~~~~~~~~~~~~~~ any2fdif.cc:362:20: note: place parentheses around the assignment to silence this warning 362 | for( xi = 0; cext = types[xi].ext; xi++ ){ | ^ | ( ) any2fdif.cc:362:20: note: use '==' to turn this assignment into an equality comparison 362 | for( xi = 0; cext = types[xi].ext; xi++ ){ | ^ | == any2fdif.cc:380:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 380 | if( cp = strtailstr(url,"/@") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:380:9: note: place parentheses around the assignment to silence this warning 380 | if( cp = strtailstr(url,"/@") ){ | ^ | ( ) any2fdif.cc:380:9: note: use '==' to turn this assignment into an equality comparison 380 | if( cp = strtailstr(url,"/@") ){ | ^ | == any2fdif.cc:384:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 384 | if( cp = strtailstr(url,"/=") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:384:9: note: place parentheses around the assignment to silence this warning 384 | if( cp = strtailstr(url,"/=") ){ | ^ | ( ) any2fdif.cc:384:9: note: use '==' to turn this assignment into an equality comparison 384 | if( cp = strtailstr(url,"/=") ){ | ^ | == any2fdif.cc:388:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 388 | if( qp = strchr(url,'?') ) | ~~~^~~~~~~~~~~~~~~~~ any2fdif.cc:388:9: note: place parentheses around the assignment to silence this warning 388 | if( qp = strchr(url,'?') ) | ^ | ( ) any2fdif.cc:388:9: note: use '==' to turn this assignment into an equality comparison 388 | if( qp = strchr(url,'?') ) | ^ | == any2fdif.cc:395:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 395 | if( dp = strrchr(url,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~ any2fdif.cc:395:9: note: place parentheses around the assignment to silence this warning 395 | if( dp = strrchr(url,'/') ){ | ^ | ( ) any2fdif.cc:395:9: note: use '==' to turn this assignment into an equality comparison 395 | if( dp = strrchr(url,'/') ){ | ^ | == any2fdif.cc:396:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 396 | if( dp = strrchr(dp+1,'.') ) | ~~~^~~~~~~~~~~~~~~~~~~ any2fdif.cc:396:10: note: place parentheses around the assignment to silence this warning 396 | if( dp = strrchr(dp+1,'.') ) | ^ | ( ) any2fdif.cc:396:10: note: use '==' to turn this assignment into an equality comparison 396 | if( dp = strrchr(dp+1,'.') ) | ^ | == any2fdif.cc:405:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 405 | for( xi = 0; cext = types[xi].ext; xi++ ){ | ~~~~~^~~~~~~~~~~~~~~ any2fdif.cc:405:20: note: place parentheses around the assignment to silence this warning 405 | for( xi = 0; cext = types[xi].ext; xi++ ){ | ^ | ( ) any2fdif.cc:405:20: note: use '==' to turn this assignment into an equality comparison 405 | for( xi = 0; cext = types[xi].ext; xi++ ){ | ^ | == any2fdif.cc:530:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 530 | for( xi = 0; cext = types[xi].ext; xi++ ){ | ~~~~~^~~~~~~~~~~~~~~ any2fdif.cc:530:20: note: place parentheses around the assignment to silence this warning 530 | for( xi = 0; cext = types[xi].ext; xi++ ){ | ^ | ( ) any2fdif.cc:530:20: note: use '==' to turn this assignment into an equality comparison 530 | for( xi = 0; cext = types[xi].ext; xi++ ){ | ^ | == any2fdif.cc:536:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 536 | for( xi = 0; cext = types[xi].ext; xi++ ){ | ~~~~~^~~~~~~~~~~~~~~ any2fdif.cc:536:20: note: place parentheses around the assignment to silence this warning 536 | for( xi = 0; cext = types[xi].ext; xi++ ){ | ^ | ( ) any2fdif.cc:536:20: note: use '==' to turn this assignment into an equality comparison 536 | for( xi = 0; cext = types[xi].ext; xi++ ){ | ^ | == any2fdif.cc:537:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 537 | if( cnt = types[xi].cnt ){ | ~~~~^~~~~~~~~~~~~~~ any2fdif.cc:537:11: note: place parentheses around the assignment to silence this warning 537 | if( cnt = types[xi].cnt ){ | ^ | ( ) any2fdif.cc:537:11: note: use '==' to turn this assignment into an equality comparison 537 | if( cnt = types[xi].cnt ){ | ^ | == any2fdif.cc:753:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 753 | if( ref = Urls[i].u_referer ){ | ~~~~^~~~~~~~~~~~~~~~~~~ any2fdif.cc:753:12: note: place parentheses around the assignment to silence this warning 753 | if( ref = Urls[i].u_referer ){ | ^ | ( ) any2fdif.cc:753:12: note: use '==' to turn this assignment into an equality comparison 753 | if( ref = Urls[i].u_referer ){ | ^ | == any2fdif.cc:773:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 773 | if( dp = strrchr(login,':') ){ | ~~~^~~~~~~~~~~~~~~~~~~~ any2fdif.cc:773:9: note: place parentheses around the assignment to silence this warning 773 | if( dp = strrchr(login,':') ){ | ^ | ( ) any2fdif.cc:773:9: note: use '==' to turn this assignment into an equality comparison 773 | if( dp = strrchr(login,':') ){ | ^ | == any2fdif.cc:777:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 777 | if( dp = strchr(upath,'#') ) | ~~~^~~~~~~~~~~~~~~~~~~ any2fdif.cc:777:9: note: place parentheses around the assignment to silence this warning 777 | if( dp = strchr(upath,'#') ) | ^ | ( ) any2fdif.cc:777:9: note: use '==' to turn this assignment into an equality comparison 777 | if( dp = strchr(upath,'#') ) | ^ | == any2fdif.cc:814:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 814 | if( dp = strstr(basedir,"//") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:814:9: note: place parentheses around the assignment to silence this warning 814 | if( dp = strstr(basedir,"//") ){ | ^ | ( ) any2fdif.cc:814:9: note: use '==' to turn this assignment into an equality comparison 814 | if( dp = strstr(basedir,"//") ){ | ^ | == any2fdif.cc:817:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 817 | if( tp = strpbrk(dp,"?") ) | ~~~^~~~~~~~~~~~~~~~~ any2fdif.cc:817:10: note: place parentheses around the assignment to silence this warning 817 | if( tp = strpbrk(dp,"?") ) | ^ | ( ) any2fdif.cc:817:10: note: use '==' to turn this assignment into an equality comparison 817 | if( tp = strpbrk(dp,"?") ) | ^ | == any2fdif.cc:819:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 819 | if( tp = strchr(dp,'/') ) | ~~~^~~~~~~~~~~~~~~~ any2fdif.cc:819:10: note: place parentheses around the assignment to silence this warning 819 | if( tp = strchr(dp,'/') ) | ^ | ( ) any2fdif.cc:819:10: note: use '==' to turn this assignment into an equality comparison 819 | if( tp = strchr(dp,'/') ) | ^ | == any2fdif.cc:822:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 822 | if( tp = strrchr(dp,'/') ) | ~~~^~~~~~~~~~~~~~~~~ any2fdif.cc:822:10: note: place parentheses around the assignment to silence this warning 822 | if( tp = strrchr(dp,'/') ) | ^ | ( ) any2fdif.cc:822:10: note: use '==' to turn this assignment into an equality comparison 822 | if( tp = strrchr(dp,'/') ) | ^ | == any2fdif.cc:945:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 945 | if( dp = strchr(url,'#') ) | ~~~^~~~~~~~~~~~~~~~~ any2fdif.cc:945:11: note: place parentheses around the assignment to silence this warning 945 | if( dp = strchr(url,'#') ) | ^ | ( ) any2fdif.cc:945:11: note: use '==' to turn this assignment into an equality comparison 945 | if( dp = strchr(url,'#') ) | ^ | == any2fdif.cc:1062:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1062 | if( dp = strpbrk(url,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:1062:10: note: place parentheses around the assignment to silence this warning 1062 | if( dp = strpbrk(url,"\r\n") ) | ^ | ( ) any2fdif.cc:1062:10: note: use '==' to turn this assignment into an equality comparison 1062 | if( dp = strpbrk(url,"\r\n") ) | ^ | == any2fdif.cc:1193:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1193 | if( env = getenv("FSXHOME") ){ | ~~~~^~~~~~~~~~~~~~~~~~~ any2fdif.cc:1193:12: note: place parentheses around the assignment to silence this warning 1193 | if( env = getenv("FSXHOME") ){ | ^ | ( ) any2fdif.cc:1193:12: note: use '==' to turn this assignment into an equality comparison 1193 | if( env = getenv("FSXHOME") ){ | ^ | == any2fdif.cc:1212:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1212 | if( dp = strrchr(outdir,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:1212:11: note: place parentheses around the assignment to silence this warning 1212 | if( dp = strrchr(outdir,'/') ){ | ^ | ( ) any2fdif.cc:1212:11: note: use '==' to turn this assignment into an equality comparison 1212 | if( dp = strrchr(outdir,'/') ){ | ^ | == any2fdif.cc:1377:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1377 | if( ocode = get_CHARCODE(0) ){ | ~~~~~~^~~~~~~~~~~~~~~~~ any2fdif.cc:1377:12: note: place parentheses around the assignment to silence this warning 1377 | if( ocode = get_CHARCODE(0) ){ | ^ | ( ) any2fdif.cc:1377:12: note: use '==' to turn this assignment into an equality comparison 1377 | if( ocode = get_CHARCODE(0) ){ | ^ | == any2fdif.cc:1403:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1403 | if( dp = strrchr(execpath,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:1403:10: note: place parentheses around the assignment to silence this warning 1403 | if( dp = strrchr(execpath,'/') ){ | ^ | ( ) any2fdif.cc:1403:10: note: use '==' to turn this assignment into an equality comparison 1403 | if( dp = strrchr(execpath,'/') ){ | ^ | == any2fdif.cc:1409:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1409 | if( dp = strrchr(rx,'/') ) | ~~~^~~~~~~~~~~~~~~~~ any2fdif.cc:1409:11: note: place parentheses around the assignment to silence this warning 1409 | if( dp = strrchr(rx,'/') ) | ^ | ( ) any2fdif.cc:1409:11: note: use '==' to turn this assignment into an equality comparison 1409 | if( dp = strrchr(rx,'/') ) | ^ | == any2fdif.cc:1470:28: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] 1470 | struct sed_env *sed_new(); | ^~ any2fdif.cc:1470:28: note: replace parentheses with an initializer to declare a variable 1470 | struct sed_env *sed_new(); | ^~ | = nullptr any2fdif.cc:1698:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1698 | for( sp = src; ch = *sp; sp++ ){ | ~~~^~~~~ any2fdif.cc:1698:20: note: place parentheses around the assignment to silence this warning 1698 | for( sp = src; ch = *sp; sp++ ){ | ^ | ( ) any2fdif.cc:1698:20: note: use '==' to turn this assignment into an equality comparison 1698 | for( sp = src; ch = *sp; sp++ ){ | ^ | == any2fdif.cc:1793:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1793 | for( lp = line; ch = *lp; lp++ ){ | ~~~^~~~~ any2fdif.cc:1793:21: note: place parentheses around the assignment to silence this warning 1793 | for( lp = line; ch = *lp; lp++ ){ | ^ | ( ) any2fdif.cc:1793:21: note: use '==' to turn this assignment into an equality comparison 1793 | for( lp = line; ch = *lp; lp++ ){ | ^ | == any2fdif.cc:1830:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1830 | if( dp = strchr(line,':') ) | ~~~^~~~~~~~~~~~~~~~~~ any2fdif.cc:1830:10: note: place parentheses around the assignment to silence this warning 1830 | if( dp = strchr(line,':') ) | ^ | ( ) any2fdif.cc:1830:10: note: use '==' to turn this assignment into an equality comparison 1830 | if( dp = strchr(line,':') ) | ^ | == any2fdif.cc:1831:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1831 | if( dp = strchr(dp+1,'(') ) | ~~~^~~~~~~~~~~~~~~~~~ any2fdif.cc:1831:10: note: place parentheses around the assignment to silence this warning 1831 | if( dp = strchr(dp+1,'(') ) | ^ | ( ) any2fdif.cc:1831:10: note: use '==' to turn this assignment into an equality comparison 1831 | if( dp = strchr(dp+1,'(') ) | ^ | == any2fdif.cc:1832:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1832 | if( dp = strchr(dp+1,')') ) | ~~~^~~~~~~~~~~~~~~~~~ any2fdif.cc:1832:10: note: place parentheses around the assignment to silence this warning 1832 | if( dp = strchr(dp+1,')') ) | ^ | ( ) any2fdif.cc:1832:10: note: use '==' to turn this assignment into an equality comparison 1832 | if( dp = strchr(dp+1,')') ) | ^ | == any2fdif.cc:1844:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1844 | for( dp = line; ch = *dp; dp++ ){ | ~~~^~~~~ any2fdif.cc:1844:21: note: place parentheses around the assignment to silence this warning 1844 | for( dp = line; ch = *dp; dp++ ){ | ^ | ( ) any2fdif.cc:1844:21: note: use '==' to turn this assignment into an equality comparison 1844 | for( dp = line; ch = *dp; dp++ ){ | ^ | == any2fdif.cc:1876:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1876 | for( ip = inb; ch = *ip; ip++ ){ | ~~~^~~~~ any2fdif.cc:1876:21: note: place parentheses around the assignment to silence this warning 1876 | for( ip = inb; ch = *ip; ip++ ){ | ^ | ( ) any2fdif.cc:1876:21: note: use '==' to turn this assignment into an equality comparison 1876 | for( ip = inb; ch = *ip; ip++ ){ | ^ | == any2fdif.cc:1880:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1880 | }else | ^ any2fdif.cc:1902:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1902 | for( ip = inb; ch = *ip; ip++ ){ | ~~~^~~~~ any2fdif.cc:1902:22: note: place parentheses around the assignment to silence this warning 1902 | for( ip = inb; ch = *ip; ip++ ){ | ^ | ( ) any2fdif.cc:1902:22: note: use '==' to turn this assignment into an equality comparison 1902 | for( ip = inb; ch = *ip; ip++ ){ | ^ | == any2fdif.cc:1922:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1922 | if( issp = isspace(ch) ) | ~~~~~^~~~~~~~~~~~~ any2fdif.cc:1922:14: note: place parentheses around the assignment to silence this warning 1922 | if( issp = isspace(ch) ) | ^ | ( ) any2fdif.cc:1922:14: note: use '==' to turn this assignment into an equality comparison 1922 | if( issp = isspace(ch) ) | ^ | == any2fdif.cc:2086:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2086 | for( nb = 0; rcc = fread(inb,1,sizeof(inb)-1,in); nb++ ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:2086:19: note: place parentheses around the assignment to silence this warning 2086 | for( nb = 0; rcc = fread(inb,1,sizeof(inb)-1,in); nb++ ){ | ^ | ( ) any2fdif.cc:2086:19: note: use '==' to turn this assignment into an equality comparison 2086 | for( nb = 0; rcc = fread(inb,1,sizeof(inb)-1,in); nb++ ){ | ^ | == any2fdif.cc:2155:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2155 | if( dp = strrpbrk(path,"/\\") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:2155:9: note: place parentheses around the assignment to silence this warning 2155 | if( dp = strrpbrk(path,"/\\") ) | ^ | ( ) any2fdif.cc:2155:9: note: use '==' to turn this assignment into an equality comparison 2155 | if( dp = strrpbrk(path,"/\\") ) | ^ | == any2fdif.cc:2197:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2197 | if( dp = strrpbrk(xpath,"/\\") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:2197:10: note: place parentheses around the assignment to silence this warning 2197 | if( dp = strrpbrk(xpath,"/\\") ){ | ^ | ( ) any2fdif.cc:2197:10: note: use '==' to turn this assignment into an equality comparison 2197 | if( dp = strrpbrk(xpath,"/\\") ){ | ^ | == any2fdif.cc:2418:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2418 | if( sp = strchr(fval,';') ) | ~~~^~~~~~~~~~~~~~~~~~ any2fdif.cc:2418:12: note: place parentheses around the assignment to silence this warning 2418 | if( sp = strchr(fval,';') ) | ^ | ( ) any2fdif.cc:2418:12: note: use '==' to turn this assignment into an equality comparison 2418 | if( sp = strchr(fval,';') ) | ^ | == any2fdif.cc:2498:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2498 | if( ecode = scanText(in,Tmp0,AVStr(charset),apath) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:2498:13: note: place parentheses around the assignment to silence this warning 2498 | if( ecode = scanText(in,Tmp0,AVStr(charset),apath) ) | ^ | ( ) any2fdif.cc:2498:13: note: use '==' to turn this assignment into an equality comparison 2498 | if( ecode = scanText(in,Tmp0,AVStr(charset),apath) ) | ^ | == any2fdif.cc:2509:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2509 | if( ecode = scanText(Tmp0,Tmp1,AVStr(charset),apath) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:2509:14: note: place parentheses around the assignment to silence this warning 2509 | if( ecode = scanText(Tmp0,Tmp1,AVStr(charset),apath) ) | ^ | ( ) any2fdif.cc:2509:14: note: use '==' to turn this assignment into an equality comparison 2509 | if( ecode = scanText(Tmp0,Tmp1,AVStr(charset),apath) ) | ^ | == any2fdif.cc:2596:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2596 | if( ap = strchr(Author,'<') ){ | ~~~^~~~~~~~~~~~~~~~~~~~ any2fdif.cc:2596:11: note: place parentheses around the assignment to silence this warning 2596 | if( ap = strchr(Author,'<') ){ | ^ | ( ) any2fdif.cc:2596:11: note: use '==' to turn this assignment into an equality comparison 2596 | if( ap = strchr(Author,'<') ){ | ^ | == any2fdif.cc:2625:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2625 | for( ip = inb; ch = *ip; ip++ ){ | ~~~^~~~~ any2fdif.cc:2625:21: note: place parentheses around the assignment to silence this warning 2625 | for( ip = inb; ch = *ip; ip++ ){ | ^ | ( ) any2fdif.cc:2625:21: note: use '==' to turn this assignment into an equality comparison 2625 | for( ip = inb; ch = *ip; ip++ ){ | ^ | == any2fdif.cc:2629:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2629 | }else | ^ any2fdif.cc:2691:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2691 | for( ip = inb; ch = *ip; ip++ ){ | ~~~^~~~~ any2fdif.cc:2691:23: note: place parentheses around the assignment to silence this warning 2691 | for( ip = inb; ch = *ip; ip++ ){ | ^ | ( ) any2fdif.cc:2691:23: note: use '==' to turn this assignment into an equality comparison 2691 | for( ip = inb; ch = *ip; ip++ ){ | ^ | == any2fdif.cc:2717:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2717 | if( issp = isspace(ch) ) | ~~~~~^~~~~~~~~~~~~ any2fdif.cc:2717:15: note: place parentheses around the assignment to silence this warning 2717 | if( issp = isspace(ch) ) | ^ | ( ) any2fdif.cc:2717:15: note: use '==' to turn this assignment into an equality comparison 2717 | if( issp = isspace(ch) ) | ^ | == any2fdif.cc:2754:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2754 | if( ap = strcasestr(Address,"mail") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:2754:10: note: place parentheses around the assignment to silence this warning 2754 | if( ap = strcasestr(Address,"mail") ){ | ^ | ( ) any2fdif.cc:2754:10: note: use '==' to turn this assignment into an equality comparison 2754 | if( ap = strcasestr(Address,"mail") ){ | ^ | == any2fdif.cc:2762:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2762 | if( ap = strcasestr(Address," by ") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:2762:10: note: place parentheses around the assignment to silence this warning 2762 | if( ap = strcasestr(Address," by ") ){ | ^ | ( ) any2fdif.cc:2762:10: note: use '==' to turn this assignment into an equality comparison 2762 | if( ap = strcasestr(Address," by ") ){ | ^ | == any2fdif.cc:3003:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3003 | if( dp = strstr(xline,"') ){ | ~~~^~~~~~~~~~~~~~~~ any2fdif.cc:3005:12: note: place parentheses around the assignment to silence this warning 3005 | if( ep = strchr(dp,'>') ){ | ^ | ( ) any2fdif.cc:3005:12: note: use '==' to turn this assignment into an equality comparison 3005 | if( ep = strchr(dp,'>') ){ | ^ | == any2fdif.cc:3157:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3157 | if( xp = strstr(authcand,"--") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:3157:12: note: place parentheses around the assignment to silence this warning 3157 | if( xp = strstr(authcand,"--") ) | ^ | ( ) any2fdif.cc:3157:12: note: use '==' to turn this assignment into an equality comparison 3157 | if( xp = strstr(authcand,"--") ) | ^ | == any2fdif.cc:3176:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3176 | if( end = (ch == '/') ){ | ~~~~^~~~~~~~~~~~~ any2fdif.cc:3176:11: note: place parentheses around the assignment to silence this warning 3176 | if( end = (ch == '/') ){ | ^ | ( ) any2fdif.cc:3176:11: note: use '==' to turn this assignment into an equality comparison 3176 | if( end = (ch == '/') ){ | ^ | == any2fdif.cc:3238:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3238 | if( adp = strchr(Author,'?') ) | ~~~~^~~~~~~~~~~~~~~~~~~~ any2fdif.cc:3238:13: note: place parentheses around the assignment to silence this warning 3238 | if( adp = strchr(Author,'?') ) | ^ | ( ) any2fdif.cc:3238:13: note: use '==' to turn this assignment into an equality comparison 3238 | if( adp = strchr(Author,'?') ) | ^ | == any2fdif.cc:3296:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3296 | if( qp = strchr(con,'?') ) | ~~~^~~~~~~~~~~~~~~~~ any2fdif.cc:3296:12: note: place parentheses around the assignment to silence this warning 3296 | if( qp = strchr(con,'?') ) | ^ | ( ) any2fdif.cc:3296:12: note: use '==' to turn this assignment into an equality comparison 3296 | if( qp = strchr(con,'?') ) | ^ | == any2fdif.cc:3660:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3660 | if( tp = strstr(s,p) ) | ~~~^~~~~~~~~~~~~ any2fdif.cc:3660:9: note: place parentheses around the assignment to silence this warning 3660 | if( tp = strstr(s,p) ) | ^ | ( ) any2fdif.cc:3660:9: note: use '==' to turn this assignment into an equality comparison 3660 | if( tp = strstr(s,p) ) | ^ | == any2fdif.cc:3710:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3710 | if( dp = strcasestr(fval,"charset=") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:3710:9: note: place parentheses around the assignment to silence this warning 3710 | if( dp = strcasestr(fval,"charset=") ){ | ^ | ( ) any2fdif.cc:3710:9: note: use '==' to turn this assignment into an equality comparison 3710 | if( dp = strcasestr(fval,"charset=") ){ | ^ | == any2fdif.cc:3735:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3735 | for( cp = author; ch = *cp; cp++ ){ | ~~~^~~~~ any2fdif.cc:3735:23: note: place parentheses around the assignment to silence this warning 3735 | for( cp = author; ch = *cp; cp++ ){ | ^ | ( ) any2fdif.cc:3735:23: note: use '==' to turn this assignment into an equality comparison 3735 | for( cp = author; ch = *cp; cp++ ){ | ^ | == any2fdif.cc:3747:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3747 | if( cp = strcasestr(author,"All Right") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:3747:9: note: place parentheses around the assignment to silence this warning 3747 | if( cp = strcasestr(author,"All Right") ) | ^ | ( ) any2fdif.cc:3747:9: note: use '==' to turn this assignment into an equality comparison 3747 | if( cp = strcasestr(author,"All Right") ) | ^ | == any2fdif.cc:3812:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3812 | if( cp = strstr(copyr,"©") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:3812:9: note: place parentheses around the assignment to silence this warning 3812 | if( cp = strstr(copyr,"©") ){ | ^ | ( ) any2fdif.cc:3812:9: note: use '==' to turn this assignment into an equality comparison 3812 | if( cp = strstr(copyr,"©") ){ | ^ | == any2fdif.cc:3826:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3826 | if( cp = strcasestr(copyr,"Copyright") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:3826:9: note: place parentheses around the assignment to silence this warning 3826 | if( cp = strcasestr(copyr,"Copyright") ){ | ^ | ( ) any2fdif.cc:3826:9: note: use '==' to turn this assignment into an equality comparison 3826 | if( cp = strcasestr(copyr,"Copyright") ){ | ^ | == any2fdif.cc:3853:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3853 | if( np = strcasestr(cp,"Copyright") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:3853:11: note: place parentheses around the assignment to silence this warning 3853 | if( np = strcasestr(cp,"Copyright") ){ | ^ | ( ) any2fdif.cc:3853:11: note: use '==' to turn this assignment into an equality comparison 3853 | if( np = strcasestr(cp,"Copyright") ){ | ^ | == any2fdif.cc:3872:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3872 | if( cp = strcasestr(copyr,"All Rights") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:3872:9: note: place parentheses around the assignment to silence this warning 3872 | if( cp = strcasestr(copyr,"All Rights") ){ | ^ | ( ) any2fdif.cc:3872:9: note: use '==' to turn this assignment into an equality comparison 3872 | if( cp = strcasestr(copyr,"All Rights") ){ | ^ | == any2fdif.cc:3875:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3875 | if( cp = strcasestr(cp,"Reserved by") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:3875:10: note: place parentheses around the assignment to silence this warning 3875 | if( cp = strcasestr(cp,"Reserved by") ){ | ^ | ( ) any2fdif.cc:3875:10: note: use '==' to turn this assignment into an equality comparison 3875 | if( cp = strcasestr(cp,"Reserved by") ){ | ^ | == any2fdif.cc:3941:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3941 | if( cleng = isMultiBytesChar(sp) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:3941:13: note: place parentheses around the assignment to silence this warning 3941 | if( cleng = isMultiBytesChar(sp) ){ | ^ | ( ) any2fdif.cc:3941:13: note: use '==' to turn this assignment into an equality comparison 3941 | if( cleng = isMultiBytesChar(sp) ){ | ^ | == any2fdif.cc:3987:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3987 | if( xfp = fopen_PATH(vpath,file,mode,AVStr(fullpath)/*,size*/) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:3987:10: note: place parentheses around the assignment to silence this warning 3987 | if( xfp = fopen_PATH(vpath,file,mode,AVStr(fullpath)/*,size*/) ){ | ^ | ( ) any2fdif.cc:3987:10: note: use '==' to turn this assignment into an equality comparison 3987 | if( xfp = fopen_PATH(vpath,file,mode,AVStr(fullpath)/*,size*/) ){ | ^ | == any2fdif.cc:4006:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4006 | if( env = getenv("PATH") ){ | ~~~~^~~~~~~~~~~~~~~~ any2fdif.cc:4006:10: note: place parentheses around the assignment to silence this warning 4006 | if( env = getenv("PATH") ){ | ^ | ( ) any2fdif.cc:4006:10: note: use '==' to turn this assignment into an equality comparison 4006 | if( env = getenv("PATH") ){ | ^ | == any2fdif.cc:4022:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4022 | if( dp = strrchr(rpath,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~~~ any2fdif.cc:4022:9: note: place parentheses around the assignment to silence this warning 4022 | if( dp = strrchr(rpath,'/') ){ | ^ | ( ) any2fdif.cc:4022:9: note: use '==' to turn this assignment into an equality comparison 4022 | if( dp = strrchr(rpath,'/') ){ | ^ | == any2fdif.cc:4043:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4043 | if( ufrom = (strncmp(head,"From ",5) == 0) ){ /* Unix mailbox format */ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:4043:12: note: place parentheses around the assignment to silence this warning 4043 | if( ufrom = (strncmp(head,"From ",5) == 0) ){ /* Unix mailbox format */ | ^ | ( ) any2fdif.cc:4043:12: note: use '==' to turn this assignment into an equality comparison 4043 | if( ufrom = (strncmp(head,"From ",5) == 0) ){ /* Unix mailbox format */ | ^ | == any2fdif.cc:4180:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4180 | for( s = (char*)str; ch = *s; s++ ){ | ~~~^~~~ any2fdif.cc:4180:26: note: place parentheses around the assignment to silence this warning 4180 | for( s = (char*)str; ch = *s; s++ ){ | ^ | ( ) any2fdif.cc:4180:26: note: use '==' to turn this assignment into an equality comparison 4180 | for( s = (char*)str; ch = *s; s++ ){ | ^ | == 70 warnings generated. rm -f libfsx.a ar cr libfsx.a any2fdif.o /usr/bin/ranlib libfsx.a **[0] move ../fsx/libfsx.a to ../lib/libfsx.a /var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe -makeat ../lib/libsubst.a ../maker libsubst.a "/opt/pkg/bin/bmake" libx MAKE="/opt/pkg/bin/bmake" SHELL="/opt/pkg/bin/mksh" CC="clang" CFLAGS="-O2 -x c++ -DQS -DNONC99" HDRDIR="-I../gen -I../include -Wno-narrowing -pipe -Os" RANLIB="/usr/bin/ranlib" LDFLAGS=" -L../lib" LIBDIR="-L../lib" NETLIB="-ldl -lutil -lpthread -lpam -lstdc++" AR="ar" TAR="tar" LDFLAGS=" -L../lib" LDLIBS="../lib/libresolvy.a ../lib/libteleport.a ../lib/libmd5.a ../lib/libcfi.a ../lib/library.a ../lib/libmimekit.a ../lib/libfsx.a -ldl -lutil -lpthread -lpam -lstdc++ ../lib/library.a -lc" [clang -c -O2 -x c++ -DQS -DNONC99 ] NONC99 = 2 ####### -makeat: /var/tmp/work/net/delegate/work/delegate9.9.1/maker /var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe -cksum 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 /var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe -unlink libsubst.a.list *** exit(-1): -unlink at /var/tmp/work/net/delegate/work/delegate9.9.1/maker [0] /var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe [1] libsubst.a.list *** Error code 255 (ignored) /var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe -unlink libsubstx.a.list *** exit(-1): -unlink at /var/tmp/work/net/delegate/work/delegate9.9.1/maker [0] /var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe [1] libsubstx.a.list *** Error code 255 (ignored) /var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe -mkmake "/opt/pkg/bin/bmake" Makefile.go "clang" "-O2 -x c++ -DQS -DNONC99 -Dm64" "" "-L../lib" "/usr/bin/ranlib" "-ldl -lutil -lpthread -lpam -lstdc++" NETLIB mkmake: [clang -c -O2 -x c++ -DQS -DNONC99 -Dm64 ] NONC99 = 2 #### [/var/tmp/work/net/delegate/work/delegate9.9.1/maker] creating Makefile.go cpyfile Makefile[1-0][0-20823b6] > Makefile.go #ifdef UNIX,OS2EMX ################################################ [SET] MKMAKE=/var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe [SET] RANLIB=/usr/bin/ranlib - checking availability of -ldl [] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lutil [-ldl] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lpthread [-ldl -lutil] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lpam [-ldl -lutil -lpthread] cpyfile: cannot read 'DELEGATE_CONF' - checking availability of -lstdc++ [-ldl -lutil -lpthread -lpam] cpyfile: cannot read 'DELEGATE_CONF' [SET] NETLIB=-ldl -lutil -lpthread -lpam -lstdc++ cpyfile: cannot read 'DELEGATE_CONF' cpyfile Makefile[0-0][2082468-0] > Makefile.go #ifdef UNIX,OS2EMX ################################################ /opt/pkg/bin/bmake -f Makefile.go libsubst.a MAKEFILE=Makefile.go MKMAKE=/var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe SHELL="/opt/pkg/bin/mksh" HDRDIR="-I../gen -I../include -Wno-narrowing -pipe -Os" LIBDIR="-L../lib" LDFLAGS="-L../lib" rm -f libtemp.a /var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe -subst libck "/opt/pkg/bin/bmake" "Makefile.go" "clang" "-O2 -x c++ -DQS -DNONC99 -Dm64" "-I../gen -I../include -Wno-narrowing -pipe -Os" "/usr/bin/ranlib" "libsubst.a" "-L../lib" "../lib/libresolvy.a ../lib/libteleport.a ../lib/libmd5.a ../lib/libcfi.a ../lib/library.a ../lib/libmimekit.a ../lib/libfsx.a -ldl -lutil -lpthread -lpam -lstdc++ ../lib/library.a -lc" "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" -- checking CC = clang -- checking CC with CFLAGS = clang -c -O2 -x c++ -DQS -DNONC99 -Dm64 ##ERROR## *** ##ERROR## clang -c -o _.o -c -O2 -x c++ -DQS -DNONC99 -Dm64 _.c ##ERROR## _.c:1:1: error: a type specifier is required for all declarations ##ERROR## 1 | main(){ } ##ERROR## | ^ ##ERROR## 1 error generated. ##ERROR## FATAL!!!!: Something wrong in the CFLAGS. -- checking LDLIBS = ../lib/libresolvy.a ../lib/libteleport.a ../lib/libmd5.a ../lib/libcfi.a ../lib/library.a ../lib/libmimekit.a ../lib/libfsx.a -ldl -lutil -lpthread -lpam -lstdc++ ../lib/library.a -lc -- checking socket library ** CC CFLAGS LIBS and socket library are OK. [clang -c -O2 -x c++ -DQS -DNONC99 -Dm64 ] NONC99 = 2 MAKE=/opt/pkg/bin/bmake MAKEFILE=Makefile.go CC=clang CFLAGS=-O2 -x c++ -DQS -DNONC99 -Dm64 HDRDIR=-I../gen -I../include -Wno-narrowing -pipe -Os RANLIB=/usr/bin/ranlib LIBFILE=libsubst.a LIBDIR=-L../lib LDLIBS=../lib/libresolvy.a ../lib/libteleport.a ../lib/libmd5.a ../lib/libcfi.a ../lib/library.a ../lib/libmimekit.a ../lib/libfsx.a -ldl -lutil -lpthread -lpam -lstdc++ ../lib/library.a -lc Files=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 /var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe -subst libmk "/opt/pkg/bin/bmake" "Makefile.go" "clang" "-O2 -x c++ -DQS -DNONC99 -Dm64" "-I../gen -I../include -Wno-narrowing -pipe -Os" "/usr/bin/ranlib" "libsubst.a" "-L../lib" "../lib/libresolvy.a ../lib/libteleport.a ../lib/libmd5.a ../lib/libcfi.a ../lib/library.a ../lib/libmimekit.a ../lib/libfsx.a -ldl -lutil -lpthread -lpam -lstdc++ ../lib/library.a -lc" "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" libtemp.a LIBOBJS ** mksubst ** where: ../src compile: clang -O2 -x c++ -DQS -DNONC99 -Dm64 ../lib/libresolvy.a ../lib/libteleport.a ../lib/libmd5.a ../lib/libcfi.a ../lib/library.a ../lib/libmimekit.a ../lib/libfsx.a -ldl -lutil -lpthread -lpam -lstdc++ ../lib/library.a -lc files: 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 [clang -c -O2 -x c++ -DQS -DNONC99 -Dm64 ] NONC99 = 2 MAKE=/opt/pkg/bin/bmake MAKEFILE=Makefile.go CC=clang CFLAGS=-O2 -x c++ -DQS -DNONC99 -Dm64 HDRDIR=-I../gen -I../include -Wno-narrowing -pipe -Os RANLIB=/usr/bin/ranlib LIBFILE=libsubst.a LIBDIR=-L../lib LDLIBS=../lib/libresolvy.a ../lib/libteleport.a ../lib/libmd5.a ../lib/libcfi.a ../lib/library.a ../lib/libmimekit.a ../lib/libfsx.a -ldl -lutil -lpthread -lpam -lstdc++ ../lib/library.a -lc Files=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 is substituted ** gxx.c is substituted ** dlopen.c is substituted -- __uname may not be in the libraries, but try to get it. ** uname.c is substituted ** bcopy.c is substituted ** bzero.c is substituted ** putenv.c is substituted ** unsetenv.c is substituted -- __alloca may not be in the libraries, but try to get it. ** old_alloca.c is substituted ** alloca.c is substituted -- __malloc_size may not be in the libraries, but try to get it. ** malloc_size.c is substituted ** killpg.c is substituted ** setsid.c is substituted ** sigmask.c is substituted ** sigsetmask.c is substituted ** setresuid.c is substituted ** seteuid.c is substituted ** setegid.c is substituted ** unaligned.c is substituted ** timegm.c is substituted -- __usleep may not be in the libraries, but try to get it. ** usleep.c is substituted -- _-poll may not be in the libraries, but try to get it. -- _-select may not be in the libraries, but try to get it. -- _-recv may not be in the libraries, but try to get it. ** sendFd1.c is substituted ** sendFd2.c is substituted ** sendFd3.c is substituted ** closesocket.c is substituted ** yp_match.c is substituted ** endhostent.c is substituted ** gethostbyname2.c is substituted -- __gethostbyname2 may not be in the libraries, but try to get it. ** socklen_u.c is substituted ** socklen_s.c is substituted ** socketpair.c is substituted ** inet_aton.c is substituted -- _-setferror may not be in the libraries, but try to get it. ** setferror.c is substituted ** strerror.c is substituted ** strcasecmp.c is substituted ** strcasestr.c is substituted ** strrcasestr.c is substituted ** strstr.c is substituted ** strdup.c is substituted ** strncpy.c is substituted ** setbuffer.c is substituted ** setlinebuf.c is substituted -- __syslog may not be in the libraries, but try to get it. ** syslog.c is substituted -- __syscall may not be in the libraries, but try to get it. -- __fork may not be in the libraries, but try to get it. ** fork.c is substituted -- __ptrace may not be in the libraries, but try to get it. -- _-ptrace may not be in the libraries, but try to get it. ** ptrace.c is substituted -- __sigaction may not be in the libraries, but try to get it. ** sigaction.c is substituted -- __futimes may not be in the libraries, but try to get it. ** futimes.c is substituted ** futimes_.c is substituted -- __utimes may not be in the libraries, but try to get it. ** utimes.c is substituted ** fsync.c is substituted -- __fchmod may not be in the libraries, but try to get it. ** fchmod.c is substituted -- __fchown may not be in the libraries, but try to get it. ** fchown.c is substituted ** chown.c is substituted -- __link may not be in the libraries, but try to get it. ** link.c is substituted -- __symlink may not be in the libraries, but try to get it. ** symlink.c is substituted ** readlink.c is substituted -- __lstat may not be in the libraries, but try to get it. ** lstat.c is substituted -- __statvfs may not be in the libraries, but try to get it. -- _-statvfs may not be in the libraries, but try to get it. ** statvfs.c is substituted ** vfork.c is substituted ** wait3.c is substituted ** waitpid.c is substituted ** getmsg.c is substituted ** chroot.c is substituted ** nice.c is substituted -- __getrlimit may not be in the libraries, but try to get it. ** getrlimit.c is substituted -- _-getrusage may not be in the libraries, but try to get it. ** getrusage.c is substituted -- ___spawnvp may not be in the libraries, but try to get it. -- __spawnvp may not be in the libraries, but try to get it. -- _spawnvp may not be in the libraries, but try to get it. ** spawnvp.c is substituted ** spawnvp_.c is substituted -- _-mutex may not be in the libraries, but try to get it. ** mutex.c is substituted -- __pthread_create may not be in the libraries, but try to get it. -- ___lwp_create may not be in the libraries, but try to get it. -- __lwp_create may not be in the libraries, but try to get it. -- __pthread_kill may not be in the libraries, but try to get it. ** pthread_kill.c is substituted -- ___beginthread may not be in the libraries, but try to get it. ** nothread.c is substituted -- __flock may not be in the libraries, but try to get it. -- _-fcntl may not be in the libraries, but try to get it. ** flockfile.c is substituted ** FMODE.c is substituted ** getwd.c is substituted ** getcwd.c is substituted -- __opendir may not be in the libraries, but try to get it. -- __scandir may not be in the libraries, but try to get it. ** pam_start.c is substituted -- __forkpty may not be in the libraries, but try to get it. -- _-forkpty may not be in the libraries, but try to get it. ** forkpty1.c is substituted ** forkpty.c is substituted -- __tcsetattr may not be in the libraries, but try to get it. ** Stty.c is substituted -- __getwinsize may not be in the libraries, but try to get it. ** getwinsize.c is substituted -- _-mkfifo may not be in the libraries, but try to get it. ** mkfifo.c is substituted -- _-fgetpos may not be in the libraries, but try to get it. ** fgetpos.c is substituted ** fpurge.c is substituted ** stdio.c is substituted ** pendingcc1.c is substituted ** pendingcc.c is substituted -- _-fcloseFILE may not be in the libraries, but try to get it. -- _-fcloseFILE2 may not be in the libraries, but try to get it. ** fcloseFILE.c is substituted -- __setproctitle may not be in the libraries, but try to get it. ** setproctitle.c is substituted -- __sysctl may not be in the libraries, but try to get it. ** sysctl.c is substituted -- __sysinfo may not be in the libraries, but try to get it. -- __sysconf may not be in the libraries, but try to get it. ** sysinfo.c is substituted ** sysctlbyname.c is substituted ** errno.c is substituted ** gethostid.c is substituted ** opt_s_vsap.c is substituted ** opt_s_htaccept.c is substituted ** opt_s_sox.c is substituted ** opt_s_stls.c is substituted ** opt_s_caps.c is substituted #### dumped to '/var/tmp/work/net/delegate/work/delegate9.9.1/maker/libsubst.a.list' (149) #### mksubst errors to /var/tmp/work/net/delegate/work/delegate9.9.1/maker/errors: 1791324497 ../mkcpp dummy.c dummy.cc -- mkcpp set time: 1791324497 -> 780344074 dummy.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c dummy.cc ../mkcpp gxx.c gxx.cc -- mkcpp set time: 1791324497 -> 1101724362 gxx.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c gxx.cc ../mkcpp dlopen.c dlopen.cc -- mkcpp set time: 1791324497 -> 1180407048 dlopen.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c dlopen.cc ../mkcpp __uname.c __uname.cc -- mkcpp set time: 1791324497 -> 1105716553 __uname.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c __uname.cc ../mkcpp uname.c uname.cc -- mkcpp set time: 1791324497 -> 1105716576 uname.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c uname.cc ../mkcpp bcopy.c bcopy.cc -- mkcpp set time: 1791324497 -> 1230164839 bcopy.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c bcopy.cc ../mkcpp bzero.c bzero.cc -- mkcpp set time: 1791324497 -> 1230164829 bzero.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c bzero.cc ../mkcpp putenv.c putenv.cc -- mkcpp set time: 1791324497 -> 1106134725 putenv.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c putenv.cc ../mkcpp unsetenv.c unsetenv.cc -- mkcpp set time: 1791324498 -> 1169253394 unsetenv.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c unsetenv.cc ../mkcpp __alloca.c __alloca.cc -- mkcpp set time: 1791324498 -> 1197625966 __alloca.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c __alloca.cc ../mkcpp old_alloca.c old_alloca.cc -- mkcpp set time: 1791324498 -> 1197447831 old_alloca.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c old_alloca.cc ../mkcpp alloca.c alloca.cc -- mkcpp set time: 1791324498 -> 1185277348 alloca.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c alloca.cc ../mkcpp __malloc_size.c __malloc_size.cc -- mkcpp set time: 1791324498 -> 1187958695 __malloc_size.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c __malloc_size.cc ../mkcpp malloc_size.c malloc_size.cc -- mkcpp set time: 1791324498 -> 1187847236 malloc_size.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c malloc_size.cc ../mkcpp killpg.c killpg.cc -- mkcpp set time: 1791324498 -> 1097422054 killpg.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c killpg.cc ../mkcpp setsid.c setsid.cc -- mkcpp set time: 1791324498 -> 1230060489 setsid.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c setsid.cc ../mkcpp sigmask.c sigmask.cc -- mkcpp set time: 1791324498 -> 1096880476 sigmask.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c sigmask.cc ../mkcpp sigsetmask.c sigsetmask.cc -- mkcpp set time: 1791324498 -> 1101551942 sigsetmask.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c sigsetmask.cc ../mkcpp setresuid.c setresuid.cc -- mkcpp set time: 1791324499 -> 1230071613 setresuid.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c setresuid.cc ../mkcpp seteuid.c seteuid.cc -- mkcpp set time: 1791324499 -> 1230090870 seteuid.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c seteuid.cc ../mkcpp setegid.c setegid.cc -- mkcpp set time: 1791324499 -> 1230410683 setegid.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c setegid.cc ../mkcpp unaligned.c unaligned.cc -- mkcpp set time: 1791324499 -> 1230411641 unaligned.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c unaligned.cc ../mkcpp timegm.c timegm.cc -- mkcpp set time: 1791324499 -> 1101667803 timegm.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c timegm.cc ../mkcpp __usleep.c __usleep.cc -- mkcpp set time: 1791324499 -> 1230060429 __usleep.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c __usleep.cc ../mkcpp usleep.c usleep.cc -- mkcpp set time: 1791324499 -> 1096271817 usleep.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c usleep.cc ../mkcpp _-poll.c _-poll.cc -- mkcpp set time: 1791324499 -> 1215859824 _-poll.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c _-poll.cc *** Error code 1 (ignored) ../mkcpp _-select.c _-select.cc -- mkcpp set time: 1791324499 -> 1224300390 _-select.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c _-select.cc ../mkcpp _-recv.c _-recv.cc -- mkcpp set time: 1791324499 -> 1224301779 _-recv.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c _-recv.cc ../mkcpp sendFd1.c sendFd1.cc -- mkcpp set time: 1791324500 -> 1161652446 sendFd1.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c sendFd1.cc ../mkcpp sendFd2.c sendFd2.cc -- mkcpp set time: 1791324500 -> 1161652450 sendFd2.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c sendFd2.cc *** Error code 1 (ignored) ../mkcpp sendFd3.c sendFd3.cc -- mkcpp set time: 1791324500 -> 1161652453 sendFd3.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c sendFd3.cc ../mkcpp closesocket.c closesocket.cc -- mkcpp set time: 1791324500 -> 1097422524 closesocket.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c closesocket.cc ../mkcpp yp_match.c yp_match.cc -- mkcpp set time: 1791324500 -> 1103700216 yp_match.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c yp_match.cc ../mkcpp endhostent.c endhostent.cc -- mkcpp set time: 1791324500 -> 1101554519 endhostent.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c endhostent.cc ../mkcpp gethostbyname2.c gethostbyname2.cc -- mkcpp set time: 1791324500 -> 1230165666 gethostbyname2.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c gethostbyname2.cc ../mkcpp __gethostbyname2.c __gethostbyname2.cc -- mkcpp set time: 1791324500 -> 1230165659 __gethostbyname2.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c __gethostbyname2.cc ../mkcpp socklen_u.c socklen_u.cc -- mkcpp set time: 1791324501 -> 1230076863 socklen_u.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c socklen_u.cc ../mkcpp socklen_s.c socklen_s.cc -- mkcpp set time: 1791324501 -> 1230076861 socklen_s.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c socklen_s.cc *** Error code 1 (ignored) ../mkcpp socketpair.c socketpair.cc -- mkcpp set time: 1791324501 -> 1097185135 socketpair.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c socketpair.cc ../mkcpp inet_aton.c inet_aton.cc -- mkcpp set time: 1791324501 -> 1102393629 inet_aton.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c inet_aton.cc ../mkcpp _-setferror.c _-setferror.cc -- mkcpp set time: 1791324501 -> 1227226822 _-setferror.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c _-setferror.cc ../mkcpp setferror.c setferror.cc -- mkcpp set time: 1791324501 -> 1227226862 setferror.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c setferror.cc ../mkcpp strerror.c strerror.cc -- mkcpp set time: 1791324501 -> 1097422245 strerror.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c strerror.cc ../mkcpp strcasecmp.c strcasecmp.cc -- mkcpp set time: 1791324501 -> 1101544129 strcasecmp.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c strcasecmp.cc ../mkcpp strcasestr.c strcasestr.cc -- mkcpp set time: 1791324501 -> 1116536590 strcasestr.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c strcasestr.cc ../mkcpp strrcasestr.c strrcasestr.cc -- mkcpp set time: 1791324501 -> 1180406910 strrcasestr.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c strrcasestr.cc ../mkcpp strstr.c strstr.cc -- mkcpp set time: 1791324502 -> 1101544238 strstr.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c strstr.cc ../mkcpp strdup.c strdup.cc -- mkcpp set time: 1791324502 -> 1109557800 strdup.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c strdup.cc ../mkcpp strncpy.c strncpy.cc -- mkcpp set time: 1791324502 -> 1101544103 strncpy.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c strncpy.cc ../mkcpp setbuffer.c setbuffer.cc -- mkcpp set time: 1791324502 -> 1101615435 setbuffer.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c setbuffer.cc ../mkcpp setlinebuf.c setlinebuf.cc -- mkcpp set time: 1791324502 -> 1097446970 setlinebuf.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c setlinebuf.cc *** Error code 1 (ignored) ../mkcpp __syslog.c __syslog.cc -- mkcpp set time: 1791324502 -> 1150571634 __syslog.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c __syslog.cc ../mkcpp syslog.c syslog.cc -- mkcpp set time: 1791324502 -> 1150571657 syslog.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c syslog.cc ../mkcpp __syscall.c __syscall.cc -- mkcpp set time: 1791324502 -> 1153560201 __syscall.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c __syscall.cc ../mkcpp __fork.c __fork.cc -- mkcpp set time: 1791324502 -> 1151005365 __fork.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c __fork.cc ../mkcpp fork.c fork.cc -- mkcpp set time: 1791324502 -> 1154936136 fork.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c fork.cc ../mkcpp __ptrace.c __ptrace.cc -- mkcpp set time: 1791324503 -> 1096803471 __ptrace.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c __ptrace.cc *** Error code 1 (ignored) ../mkcpp _-ptrace.c _-ptrace.cc -- mkcpp set time: 1791324503 -> 961389626 _-ptrace.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c _-ptrace.cc ../mkcpp ptrace.c ptrace.cc -- mkcpp set time: 1791324503 -> 1096971754 ptrace.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c ptrace.cc ../mkcpp __sigaction.c __sigaction.cc -- mkcpp set time: 1791324503 -> 1102323456 __sigaction.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c __sigaction.cc ../mkcpp sigaction.c sigaction.cc -- mkcpp set time: 1791324503 -> 1097422625 sigaction.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c sigaction.cc ../mkcpp __futimes.c __futimes.cc -- mkcpp set time: 1791324503 -> 1153881045 __futimes.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c __futimes.cc ../mkcpp futimes.c futimes.cc -- mkcpp set time: 1791324503 -> 1153527506 futimes.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c futimes.cc ../mkcpp futimes_.c futimes_.cc -- mkcpp set time: 1791324503 -> 1174447338 futimes_.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c futimes_.cc ../mkcpp __utimes.c __utimes.cc -- mkcpp set time: 1791324503 -> 1096370152 __utimes.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c __utimes.cc ../mkcpp utimes.c utimes.cc -- mkcpp set time: 1791324504 -> 1099279148 utimes.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c utimes.cc *** Error code 1 (ignored) ../mkcpp fsync.c fsync.cc -- mkcpp set time: 1791324504 -> 1097422562 fsync.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c fsync.cc ../mkcpp __fchmod.c __fchmod.cc -- mkcpp set time: 1791324504 -> 1096369833 __fchmod.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c __fchmod.cc ../mkcpp fchmod.c fchmod.cc -- mkcpp set time: 1791324504 -> 1099168492 fchmod.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c fchmod.cc ../mkcpp __fchown.c __fchown.cc -- mkcpp set time: 1791324504 -> 1096369837 __fchown.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c __fchown.cc ../mkcpp fchown.c fchown.cc -- mkcpp set time: 1791324504 -> 1099168440 fchown.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c fchown.cc ../mkcpp chown.c chown.cc -- mkcpp set time: 1791324504 -> 1099366468 chown.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c chown.cc ../mkcpp __link.c __link.cc -- mkcpp set time: 1791324504 -> 1106881817 __link.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c __link.cc ../mkcpp link.c link.cc -- mkcpp set time: 1791324505 -> 1099282427 link.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c link.cc ../mkcpp __symlink.c __symlink.cc -- mkcpp set time: 1791324505 -> 1096370103 __symlink.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c __symlink.cc ../mkcpp symlink.c symlink.cc -- mkcpp set time: 1791324505 -> 1099294773 symlink.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c symlink.cc ../mkcpp readlink.c readlink.cc -- mkcpp set time: 1791324505 -> 1099282853 readlink.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c readlink.cc ../mkcpp __lstat.c __lstat.cc -- mkcpp set time: 1791324505 -> 1096369921 __lstat.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c __lstat.cc ../mkcpp lstat.c lstat.cc -- mkcpp set time: 1791324505 -> 1148596823 lstat.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c lstat.cc *** Error code 1 (ignored) ../mkcpp __statvfs.c __statvfs.cc -- mkcpp set time: 1791324505 -> 1148367323 __statvfs.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c __statvfs.cc *** Error code 1 (ignored) ../mkcpp _-statvfs.c _-statvfs.cc -- mkcpp set time: 1791324505 -> 934840780 _-statvfs.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c _-statvfs.cc ../mkcpp statvfs.c statvfs.cc -- mkcpp set time: 1791324505 -> 1099296478 statvfs.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c statvfs.cc ../mkcpp vfork.c vfork.cc -- mkcpp set time: 1791324506 -> 1101529996 vfork.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c vfork.cc ../mkcpp wait3.c wait3.cc -- mkcpp set time: 1791324506 -> 1097185798 wait3.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c wait3.cc ../mkcpp waitpid.c waitpid.cc -- mkcpp set time: 1791324506 -> 1097185843 waitpid.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c waitpid.cc ../mkcpp getmsg.c getmsg.cc -- mkcpp set time: 1791324506 -> 1097187722 getmsg.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c getmsg.cc ../mkcpp chroot.c chroot.cc -- mkcpp set time: 1791324506 -> 1099367930 chroot.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c chroot.cc ../mkcpp nice.c nice.cc -- mkcpp set time: 1791324506 -> 1097422600 nice.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c nice.cc ../mkcpp __getrlimit.c __getrlimit.cc -- mkcpp set time: 1791324506 -> 1099354600 __getrlimit.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c __getrlimit.cc ../mkcpp getrlimit.c getrlimit.cc -- mkcpp set time: 1791324506 -> 1096789315 getrlimit.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c getrlimit.cc ../mkcpp _-getrusage.c _-getrusage.cc -- mkcpp set time: 1791324506 -> 1147645765 _-getrusage.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c _-getrusage.cc ../mkcpp getrusage.c getrusage.cc -- mkcpp set time: 1791324507 -> 1127443393 getrusage.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c getrusage.cc ../mkcpp ___spawnvp.c ___spawnvp.cc -- mkcpp set time: 1791324507 -> 1096369823 ___spawnvp.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c ___spawnvp.cc *** Error code 1 (ignored) ../mkcpp __spawnvp.c __spawnvp.cc -- mkcpp set time: 1791324507 -> 1096370092 __spawnvp.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c __spawnvp.cc *** Error code 1 (ignored) ../mkcpp _spawnvp.c _spawnvp.cc -- mkcpp set time: 1791324507 -> 1109468085 _spawnvp.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c _spawnvp.cc ../mkcpp spawnvp.c spawnvp.cc -- mkcpp set time: 1791324507 -> 1101553599 spawnvp.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c spawnvp.cc ../mkcpp spawnvp_.c spawnvp_.cc -- mkcpp set time: 1791324507 -> 1096380319 spawnvp_.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c spawnvp_.cc ../mkcpp _-mutex.c _-mutex.cc -- mkcpp set time: 1791324507 -> 1200823505 _-mutex.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c _-mutex.cc ../mkcpp mutex.c mutex.cc -- mkcpp set time: 1791324508 -> 1199718076 mutex.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c mutex.cc ../mkcpp __pthread_create.c __pthread_create.cc -- mkcpp set time: 1791324508 -> 1230088780 __pthread_create.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c __pthread_create.cc ../mkcpp ___lwp_create.c ___lwp_create.cc -- mkcpp set time: 1791324508 -> 1173433884 ___lwp_create.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c ___lwp_create.cc *** Error code 1 (ignored) ../mkcpp __lwp_create.c __lwp_create.cc -- mkcpp set time: 1791324508 -> 1181753965 __lwp_create.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c __lwp_create.cc *** Error code 1 (ignored) ../mkcpp __pthread_kill.c __pthread_kill.cc -- mkcpp set time: 1791324509 -> 1221202079 __pthread_kill.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c __pthread_kill.cc ../mkcpp pthread_kill.c pthread_kill.cc -- mkcpp set time: 1791324509 -> 1221197042 pthread_kill.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c pthread_kill.cc ../mkcpp ___beginthread.c ___beginthread.cc -- mkcpp set time: 1791324509 -> 1200221530 ___beginthread.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c ___beginthread.cc *** Error code 1 (ignored) ../mkcpp nothread.c nothread.cc -- mkcpp set time: 1791324509 -> 1181671424 nothread.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c nothread.cc ../mkcpp __flock.c __flock.cc -- mkcpp set time: 1791324509 -> 1139300145 __flock.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c __flock.cc ../mkcpp _-fcntl.c _-fcntl.cc -- mkcpp set time: 1791324509 -> 1139300126 _-fcntl.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c _-fcntl.cc ../mkcpp flockfile.c flockfile.cc -- mkcpp set time: 1791324509 -> 1180295307 flockfile.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c flockfile.cc ../mkcpp FMODE.c FMODE.cc -- mkcpp set time: 1791324510 -> 1118425579 FMODE.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c FMODE.cc ../mkcpp getwd.c getwd.cc -- mkcpp set time: 1791324510 -> 1099299578 getwd.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c getwd.cc ../mkcpp getcwd.c getcwd.cc -- mkcpp set time: 1791324510 -> 1106003162 getcwd.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c getcwd.cc ../mkcpp __opendir.c __opendir.cc -- mkcpp set time: 1791324510 -> 1180704684 __opendir.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c __opendir.cc ../mkcpp __scandir.c __scandir.cc -- mkcpp set time: 1791324510 -> 1125566078 __scandir.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c __scandir.cc ../mkcpp pam_start.c pam_start.cc -- mkcpp set time: 1791324510 -> 1102328836 pam_start.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c pam_start.cc ../mkcpp __forkpty.c __forkpty.cc -- mkcpp set time: 1791324510 -> 1181629070 __forkpty.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c __forkpty.cc ../mkcpp _-forkpty.c _-forkpty.cc -- mkcpp set time: 1791324510 -> 1181629222 _-forkpty.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c _-forkpty.cc *** Error code 1 (ignored) ../mkcpp forkpty1.c forkpty1.cc -- mkcpp set time: 1791324510 -> 1196210363 forkpty1.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c forkpty1.cc *** Error code 1 (ignored) ../mkcpp forkpty.c forkpty.cc -- mkcpp set time: 1791324511 -> 1181629235 forkpty.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c forkpty.cc ../mkcpp __tcsetattr.c __tcsetattr.cc -- mkcpp set time: 1791324511 -> 1196061004 __tcsetattr.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c __tcsetattr.cc ../mkcpp Stty.c Stty.cc -- mkcpp set time: 1791324511 -> 1196133694 Stty.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c Stty.cc ../mkcpp __getwinsize.c __getwinsize.cc -- mkcpp set time: 1791324511 -> 1196162657 __getwinsize.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c __getwinsize.cc ../mkcpp getwinsize.c getwinsize.cc -- mkcpp set time: 1791324511 -> 1196068479 getwinsize.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c getwinsize.cc ../mkcpp _-mkfifo.c _-mkfifo.cc -- mkcpp set time: 1791324511 -> 1122620825 _-mkfifo.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c _-mkfifo.cc ../mkcpp mkfifo.c mkfifo.cc -- mkcpp set time: 1791324511 -> 1122620845 mkfifo.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c mkfifo.cc ../mkcpp _-fgetpos.c _-fgetpos.cc -- mkcpp set time: 1791324512 -> 1148815163 _-fgetpos.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c _-fgetpos.cc ../mkcpp fgetpos.c fgetpos.cc -- mkcpp set time: 1791324512 -> 1148814644 fgetpos.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c fgetpos.cc *** Error code 1 (ignored) ../mkcpp fpurge.c fpurge.cc -- mkcpp set time: 1791324512 -> 1184929308 fpurge.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c fpurge.cc ../mkcpp stdio.c stdio.cc -- mkcpp set time: 1791324512 -> 866919582 stdio.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c stdio.cc ../mkcpp pendingcc1.c pendingcc1.cc -- mkcpp set time: 1791324512 -> 1154052816 pendingcc1.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c pendingcc1.cc ../mkcpp pendingcc.c pendingcc.cc -- mkcpp set time: 1791324512 -> 1154052806 pendingcc.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c pendingcc.cc ../mkcpp _-fcloseFILE.c _-fcloseFILE.cc -- mkcpp set time: 1791324513 -> 1209074571 _-fcloseFILE.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c _-fcloseFILE.cc *** Error code 1 (ignored) ../mkcpp _-fcloseFILE2.c _-fcloseFILE2.cc -- mkcpp set time: 1791324513 -> 1202721245 _-fcloseFILE2.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c _-fcloseFILE2.cc *** Error code 1 (ignored) ../mkcpp fcloseFILE.c fcloseFILE.cc -- mkcpp set time: 1791324513 -> 1203062419 fcloseFILE.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c fcloseFILE.cc ../mkcpp __setproctitle.c __setproctitle.cc -- mkcpp set time: 1791324513 -> 1162694097 __setproctitle.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c __setproctitle.cc *** Error code 1 (ignored) ../mkcpp setproctitle.c setproctitle.cc -- mkcpp set time: 1791324513 -> 1162693471 setproctitle.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c setproctitle.cc ../mkcpp __sysctl.c __sysctl.cc -- mkcpp set time: 1791324513 -> 1187034224 __sysctl.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c __sysctl.cc ../mkcpp sysctl.c sysctl.cc -- mkcpp set time: 1791324514 -> 1186489781 sysctl.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c sysctl.cc ../mkcpp __sysinfo.c __sysinfo.cc -- mkcpp set time: 1791324514 -> 1187032008 __sysinfo.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c __sysinfo.cc *** Error code 1 (ignored) ../mkcpp __sysconf.c __sysconf.cc -- mkcpp set time: 1791324514 -> 1187036755 __sysconf.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c __sysconf.cc *** Error code 1 (ignored) ../mkcpp sysinfo.c sysinfo.cc -- mkcpp set time: 1791324514 -> 1186491921 sysinfo.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c sysinfo.cc ../mkcpp sysctlbyname.c sysctlbyname.cc -- mkcpp set time: 1791324514 -> 1186507052 sysctlbyname.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c sysctlbyname.cc ../mkcpp errno.c errno.cc -- mkcpp set time: 1791324514 -> 1101946257 errno.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c errno.cc ../mkcpp gethostid.c gethostid.cc -- mkcpp set time: 1791324514 -> 1224621105 gethostid.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c gethostid.cc ../mkcpp opt_s_vsap.c opt_s_vsap.cc -- mkcpp set time: 1791324515 -> 1225770169 opt_s_vsap.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c opt_s_vsap.cc ../mkcpp opt_s_htaccept.c opt_s_htaccept.cc -- mkcpp set time: 1791324515 -> 1225780240 opt_s_htaccept.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c opt_s_htaccept.cc ../mkcpp opt_s_sox.c opt_s_sox.cc -- mkcpp set time: 1791324515 -> 1225960544 opt_s_sox.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c opt_s_sox.cc ../mkcpp opt_s_stls.c opt_s_stls.cc -- mkcpp set time: 1791324515 -> 1225770168 opt_s_stls.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c opt_s_stls.cc ../mkcpp opt_s_caps.c opt_s_caps.cc -- mkcpp set time: 1791324515 -> 1225790325 opt_s_caps.cc clang -O2 -x c++ -DQS -DNONC99 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -pipe -Os -c opt_s_caps.cc mksub[0] /opt/pkg/bin/bmake mksub[1] MAKE=/opt/pkg/bin/bmake mksub[2] -f mksub[3] Makefile.go mksub[4] CC=clang mksub[5] CFLAGS=-O2 -x c++ -DQS -DNONC99 -Dm64 mksub[6] HDRDIR=-I../gen -I../include -Wno-narrowing -pipe -Os mksub[7] RANLIB=/usr/bin/ranlib mksub[8] LIBFILE=libsubst.a mksub[9] dummy.o mksub[10] gxx.o mksub[11] dlopen.o mksub[12] __uname.o mksub[13] uname.o mksub[14] bcopy.o mksub[15] bzero.o mksub[16] putenv.o mksub[17] unsetenv.o mksub[18] __alloca.o mksub[19] old_alloca.o mksub[20] alloca.o mksub[21] __malloc_size.o mksub[22] malloc_size.o mksub[23] killpg.o mksub[24] setsid.o mksub[25] sigmask.o mksub[26] sigsetmask.o mksub[27] setresuid.o mksub[28] seteuid.o mksub[29] setegid.o mksub[30] unaligned.o mksub[31] timegm.o mksub[32] __usleep.o mksub[33] usleep.o mksub[34] _-poll.o mksub[35] _-select.o mksub[36] _-recv.o mksub[37] sendFd1.o mksub[38] sendFd2.o mksub[39] sendFd3.o mksub[40] closesocket.o mksub[41] yp_match.o mksub[42] endhostent.o mksub[43] gethostbyname2.o mksub[44] __gethostbyname2.o mksub[45] socklen_u.o mksub[46] socklen_s.o mksub[47] socketpair.o mksub[48] inet_aton.o mksub[49] _-setferror.o mksub[50] setferror.o mksub[51] strerror.o mksub[52] strcasecmp.o mksub[53] strcasestr.o mksub[54] strrcasestr.o mksub[55] strstr.o mksub[56] strdup.o mksub[57] strncpy.o mksub[58] setbuffer.o mksub[59] setlinebuf.o mksub[60] __syslog.o mksub[61] syslog.o mksub[62] __syscall.o mksub[63] __fork.o mksub[64] fork.o mksub[65] __ptrace.o mksub[66] _-ptrace.o mksub[67] ptrace.o mksub[68] __sigaction.o mksub[69] sigaction.o mksub[70] __futimes.o mksub[71] futimes.o mksub[72] futimes_.o mksub[73] __utimes.o mksub[74] utimes.o mksub[75] fsync.o mksub[76] __fchmod.o mksub[77] fchmod.o mksub[78] __fchown.o mksub[79] fchown.o mksub[80] chown.o mksub[81] __link.o mksub[82] link.o mksub[83] __symlink.o mksub[84] symlink.o mksub[85] readlink.o mksub[86] __lstat.o mksub[87] lstat.o mksub[88] __statvfs.o mksub[89] _-statvfs.o mksub[90] statvfs.o mksub[91] vfork.o mksub[92] wait3.o mksub[93] waitpid.o mksub[94] getmsg.o mksub[95] chroot.o mksub[96] nice.o mksub[97] __getrlimit.o mksub[98] getrlimit.o mksub[99] _-getrusage.o mksub[100] getrusage.o mksub[101] ___spawnvp.o mksub[102] __spawnvp.o mksub[103] _spawnvp.o mksub[104] spawnvp.o mksub[105] spawnvp_.o mksub[106] _-mutex.o mksub[107] mutex.o mksub[108] __pthread_create.o mksub[109] ___lwp_create.o mksub[110] __lwp_create.o mksub[111] __pthread_kill.o mksub[112] pthread_kill.o mksub[113] ___beginthread.o mksub[114] nothread.o mksub[115] __flock.o mksub[116] _-fcntl.o mksub[117] flockfile.o mksub[118] FMODE.o mksub[119] getwd.o mksub[120] getcwd.o mksub[121] __opendir.o mksub[122] __scandir.o mksub[123] pam_start.o mksub[124] __forkpty.o mksub[125] _-forkpty.o mksub[126] forkpty1.o mksub[127] forkpty.o mksub[128] __tcsetattr.o mksub[129] Stty.o mksub[130] __getwinsize.o mksub[131] getwinsize.o mksub[132] _-mkfifo.o mksub[133] mkfifo.o mksub[134] _-fgetpos.o mksub[135] fgetpos.o mksub[136] fpurge.o mksub[137] stdio.o mksub[138] pendingcc1.o mksub[139] pendingcc.o mksub[140] _-fcloseFILE.o mksub[141] _-fcloseFILE2.o mksub[142] fcloseFILE.o mksub[143] __setproctitle.o mksub[144] setproctitle.o mksub[145] __sysctl.o mksub[146] sysctl.o mksub[147] __sysinfo.o mksub[148] __sysconf.o mksub[149] sysinfo.o mksub[150] sysctlbyname.o mksub[151] errno.o mksub[152] gethostid.o mksub[153] opt_s_vsap.o mksub[154] opt_s_htaccept.o mksub[155] opt_s_sox.o mksub[156] opt_s_stls.o mksub[157] opt_s_caps.o ar cr libtemp.a dummy.o gxx.o dlopen.o __uname.o uname.o bcopy.o bzero.o putenv.o unsetenv.o __alloca.o old_alloca.o alloca.o __malloc_size.o malloc_size.o killpg.o setsid.o sigmask.o sigsetmask.o setresuid.o seteuid.o setegid.o unaligned.o timegm.o __usleep.o usleep.o _-select.o _-recv.o sendFd1.o sendFd3.o closesocket.o yp_match.o endhostent.o gethostbyname2.o __gethostbyname2.o socklen_u.o socketpair.o inet_aton.o _-setferror.o setferror.o strerror.o strcasecmp.o strcasestr.o strrcasestr.o strstr.o strdup.o strncpy.o setbuffer.o __syslog.o syslog.o __syscall.o __fork.o fork.o _-ptrace.o ptrace.o __sigaction.o sigaction.o __futimes.o futimes.o futimes_.o __utimes.o fsync.o __fchmod.o fchmod.o __fchown.o fchown.o chown.o __link.o link.o __symlink.o symlink.o readlink.o __lstat.o _-statvfs.o statvfs.o vfork.o wait3.o waitpid.o getmsg.o chroot.o nice.o __getrlimit.o getrlimit.o _-getrusage.o getrusage.o _spawnvp.o spawnvp.o spawnvp_.o _-mutex.o mutex.o __pthread_create.o __pthread_kill.o pthread_kill.o nothread.o __flock.o _-fcntl.o flockfile.o FMODE.o getwd.o getcwd.o __opendir.o __scandir.o pam_start.o __forkpty.o forkpty.o __tcsetattr.o Stty.o __getwinsize.o getwinsize.o _-mkfifo.o mkfifo.o _-fgetpos.o fpurge.o stdio.o pendingcc1.o pendingcc.o fcloseFILE.o setproctitle.o __sysctl.o sysctl.o sysinfo.o sysctlbyname.o errno.o gethostid.o opt_s_vsap.o opt_s_htaccept.o opt_s_sox.o opt_s_stls.o opt_s_caps.o /usr/bin/ranlib libtemp.a cp libtemp.a libsubst.a /usr/bin/ranlib libsubst.a libmk[0] /opt/pkg/bin/bmake libmk[1] MAKE=/opt/pkg/bin/bmake libmk[2] -f libmk[3] Makefile.go libmk[4] CC=clang libmk[5] CFLAGS=-O2 -x c++ -DQS -DNONC99 -Dm64 libmk[6] HDRDIR=-I../gen -I../include -Wno-narrowing -pipe -Os libmk[7] RANLIB=/usr/bin/ranlib libmk[8] LIBFILE=libsubst.a libmk[9] LIBOBJS=dummy.o gxx.o dlopen.o __uname.o uname.o bcopy.o bzero.o putenv.o unsetenv.o __alloca.o old_alloca.o alloca.o __malloc_size.o malloc_size.o killpg.o setsid.o sigmask.o sigsetmask.o setresuid.o seteuid.o setegid.o unaligned.o timegm.o __usleep.o usleep.o _-select.o _-recv.o sendFd1.o sendFd3.o closesocket.o yp_match.o endhostent.o gethostbyname2.o __gethostbyname2.o socklen_u.o socketpair.o inet_aton.o _-setferror.o setferror.o strerror.o strcasecmp.o strcasestr.o strrcasestr.o strstr.o strdup.o strncpy.o setbuffer.o __syslog.o syslog.o __syscall.o __fork.o fork.o _-ptrace.o ptrace.o __sigaction.o sigaction.o __futimes.o futimes.o futimes_.o __utimes.o fsync.o __fchmod.o fchmod.o __fchown.o fchown.o chown.o __link.o link.o __symlink.o symlink.o readlink.o __lstat.o _-statvfs.o statvfs.o vfork.o wait3.o waitpid.o getmsg.o chroot.o nice.o __getrlimit.o getrlimit.o _-getrusage.o getrusage.o _spawnvp.o spawnvp.o spawnvp_.o _-mutex.o mutex.o __pthread_create.o __pthread_kill.o pthread_kill.o nothread.o __flock.o _-fcntl.o flockfile.o FMODE.o getwd.o getcwd.o __opendir.o __scandir.o pam_start.o __forkpty.o forkpty.o __tcsetattr.o Stty.o __getwinsize.o getwinsize.o _-mkfifo.o mkfifo.o _-fgetpos.o fpurge.o stdio.o pendingcc1.o pendingcc.o fcloseFILE.o setproctitle.o __sysctl.o sysctl.o sysinfo.o sysctlbyname.o errno.o gethostid.o opt_s_vsap.o opt_s_htaccept.o opt_s_sox.o opt_s_stls.o opt_s_caps.o libmk[10] libtemp.a /var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe -subst manmk "/opt/pkg/bin/bmake" "Makefile.go" "clang" "-O2 -x c++ -DQS -DNONC99 -Dm64" "-I../gen -I../include -Wno-narrowing -pipe -Os" "/usr/bin/ranlib" "libsubst.a" "-L../lib" "../lib/libresolvy.a ../lib/libteleport.a ../lib/libmd5.a ../lib/libcfi.a ../lib/library.a ../lib/libmimekit.a ../lib/libfsx.a -ldl -lutil -lpthread -lpam -lstdc++ ../lib/library.a -lc" "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" [clang -c -O2 -x c++ -DQS -DNONC99 -Dm64 ] NONC99 = 2 MAKE=/opt/pkg/bin/bmake MAKEFILE=Makefile.go CC=clang CFLAGS=-O2 -x c++ -DQS -DNONC99 -Dm64 HDRDIR=-I../gen -I../include -Wno-narrowing -pipe -Os RANLIB=/usr/bin/ranlib LIBFILE=libsubst.a LIBDIR=-L../lib LDLIBS=../lib/libresolvy.a ../lib/libteleport.a ../lib/libmd5.a ../lib/libcfi.a ../lib/library.a ../lib/libmimekit.a ../lib/libfsx.a -ldl -lutil -lpthread -lpam -lstdc++ ../lib/library.a -lc Files=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 **[0] move ../maker/libsubst.a to ../lib/libsubst.a ../mkcpp version.c version.cc -- mkcpp set time: 1791324516 -> 1232515055 version.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c version.cc -DLICENSEE=\"""\" version.cc:202:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 202 | if( xsign = strrchr(DELEGATE_srcsign(),':') ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ version.cc:202:12: note: place parentheses around the assignment to silence this warning 202 | if( xsign = strrchr(DELEGATE_srcsign(),':') ) | ^ | ( ) version.cc:202:12: note: use '==' to turn this assignment into an equality comparison 202 | if( xsign = strrchr(DELEGATE_srcsign(),':') ) | ^ | == version.cc:218:36: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 218 | for( fp = DELEGATE_srcsign(); oct = *fp; fp++ ){ | ~~~~^~~~~ version.cc:218:36: note: place parentheses around the assignment to silence this warning 218 | for( fp = DELEGATE_srcsign(); oct = *fp; fp++ ){ | ^ | ( ) version.cc:218:36: note: use '==' to turn this assignment into an equality comparison 218 | for( fp = DELEGATE_srcsign(); oct = *fp; fp++ ){ | ^ | == 2 warnings generated. ../mkcpp ../srcsign.c ../srcsign.cc -- mkcpp set time: 1791324516 -> 1232521898 ../srcsign.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c ../srcsign.cc -o ../srcsign.o ../srcsign.cc:8:5: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] 3 | "\n{SRCSIGN=9.9.1:20090121161136+0900:fe1ee52eaa696e90:\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 | Author@DeleGate.ORG:\ | ~~~~~~~~~~~~~~~~~~~~~ 5 | W9qLqOnQL859OlIKEYbqYX52nFp3Vo5QqVsU0zqrBm21dGKPTqra+epbaatvkrNgD1wm2NgU\r\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 | /Ik8nSxigURXsq8p/C6ugVrQVZzYWvh1nbMDmNJmMVI4cfCffyWD9sRmLY2IJWmgCMjbIbms\r\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7 | gcYXkINQzAIoNEQ//o9DCTwk0HE=\r\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8 | }\n"+10; | ~~~~^~~ ../srcsign.cc:8:5: note: use array indexing to silence this warning 3 | "\n{SRCSIGN=9.9.1:20090121161136+0900:fe1ee52eaa696e90:\ | & 4 | Author@DeleGate.ORG:\ 5 | W9qLqOnQL859OlIKEYbqYX52nFp3Vo5QqVsU0zqrBm21dGKPTqra+epbaatvkrNgD1wm2NgU\r\n\ 6 | /Ik8nSxigURXsq8p/C6ugVrQVZzYWvh1nbMDmNJmMVI4cfCffyWD9sRmLY2IJWmgCMjbIbms\r\n\ 7 | gcYXkINQzAIoNEQ//o9DCTwk0HE=\r\n\ 8 | }\n"+10; | ^ | [ ] 1 warning generated. ../mkcpp editconf.c editconf.cc -- mkcpp set time: 1791324516 -> 1166010061 editconf.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c editconf.cc editconf.cc:43:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 43 | if( dp = strpbrk(line,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ editconf.cc:43:9: note: place parentheses around the assignment to silence this warning 43 | if( dp = strpbrk(line,"\r\n") ) | ^ | ( ) editconf.cc:43:9: note: use '==' to turn this assignment into an equality comparison 43 | if( dp = strpbrk(line,"\r\n") ) | ^ | == editconf.cc:111:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 111 | if( env = getEnvADMIN() ) | ~~~~^~~~~~~~~~~~~~~ editconf.cc:111:10: note: place parentheses around the assignment to silence this warning 111 | if( env = getEnvADMIN() ) | ^ | ( ) editconf.cc:111:10: note: use '==' to turn this assignment into an equality comparison 111 | if( env = getEnvADMIN() ) | ^ | == editconf.cc:120:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 120 | if( admin = getADMIN1() ) | ~~~~~~^~~~~~~~~~~~~ editconf.cc:120:12: note: place parentheses around the assignment to silence this warning 120 | if( admin = getADMIN1() ) | ^ | ( ) editconf.cc:120:12: note: use '==' to turn this assignment into an equality comparison 120 | if( admin = getADMIN1() ) | ^ | == editconf.cc:180:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 180 | if( admin = getADMIN() ) | ~~~~~~^~~~~~~~~~~~ editconf.cc:180:12: note: place parentheses around the assignment to silence this warning 180 | if( admin = getADMIN() ) | ^ | ( ) editconf.cc:180:12: note: use '==' to turn this assignment into an equality comparison 180 | if( admin = getADMIN() ) | ^ | == editconf.cc:199:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 199 | if( pass = get_builtin_ADMINPASS() ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ editconf.cc:199:11: note: place parentheses around the assignment to silence this warning 199 | if( pass = get_builtin_ADMINPASS() ){ | ^ | ( ) editconf.cc:199:11: note: use '==' to turn this assignment into an equality comparison 199 | if( pass = get_builtin_ADMINPASS() ){ | ^ | == editconf.cc:289:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 289 | if( dp = strpbrk(admin,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~ editconf.cc:289:10: note: place parentheses around the assignment to silence this warning 289 | if( dp = strpbrk(admin,"\r\n") ) | ^ | ( ) editconf.cc:289:10: note: use '==' to turn this assignment into an equality comparison 289 | if( dp = strpbrk(admin,"\r\n") ) | ^ | == editconf.cc:411:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 411 | if( fp = fopen(test,"w") ){ | ~~~^~~~~~~~~~~~~~~~~ editconf.cc:411:10: note: place parentheses around the assignment to silence this warning 411 | if( fp = fopen(test,"w") ){ | ^ | ( ) editconf.cc:411:10: note: use '==' to turn this assignment into an equality comparison 411 | if( fp = fopen(test,"w") ){ | ^ | == 7 warnings generated. ../mkcpp admin.c admin.cc -- mkcpp set time: 1791324516 -> 1225934894 admin.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c admin.cc admin.cc:94:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 94 | if( env = admin_genv[sp] ){ | ~~~~^~~~~~~~~~~~~~~~ admin.cc:94:10: note: place parentheses around the assignment to silence this warning 94 | if( env = admin_genv[sp] ){ | ^ | ( ) admin.cc:94:10: note: use '==' to turn this assignment into an equality comparison 94 | if( env = admin_genv[sp] ){ | ^ | == admin.cc:249:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 249 | if( dp = strrchr(vurl,'*') ) if( dp[1] == 0 ) truncVStr(dp); | ~~~^~~~~~~~~~~~~~~~~~~ admin.cc:249:11: note: place parentheses around the assignment to silence this warning 249 | if( dp = strrchr(vurl,'*') ) if( dp[1] == 0 ) truncVStr(dp); | ^ | ( ) admin.cc:249:11: note: use '==' to turn this assignment into an equality comparison 249 | if( dp = strrchr(vurl,'*') ) if( dp[1] == 0 ) truncVStr(dp); | ^ | == admin.cc:266:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 266 | if( dp = strrchr(rurl,'*') ) if( dp[1] == 0 ) truncVStr(dp); | ~~~^~~~~~~~~~~~~~~~~~~ admin.cc:266:11: note: place parentheses around the assignment to silence this warning 266 | if( dp = strrchr(rurl,'*') ) if( dp[1] == 0 ) truncVStr(dp); | ^ | ( ) admin.cc:266:11: note: use '==' to turn this assignment into an equality comparison 266 | if( dp = strrchr(rurl,'*') ) if( dp[1] == 0 ) truncVStr(dp); | ^ | == admin.cc:375:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 375 | if( val = getv(Form_argv,"vurl-path") ) strcat(froms,val); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin.cc:375:11: note: place parentheses around the assignment to silence this warning 375 | if( val = getv(Form_argv,"vurl-path") ) strcat(froms,val); | ^ | ( ) admin.cc:375:11: note: use '==' to turn this assignment into an equality comparison 375 | if( val = getv(Form_argv,"vurl-path") ) strcat(froms,val); | ^ | == admin.cc:377:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 377 | if( val = getv(Form_argv,"vurl-tail") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin.cc:377:12: note: place parentheses around the assignment to silence this warning 377 | if( val = getv(Form_argv,"vurl-tail") ) | ^ | ( ) admin.cc:377:12: note: use '==' to turn this assignment into an equality comparison 377 | if( val = getv(Form_argv,"vurl-tail") ) | ^ | == admin.cc:385:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 385 | if( val = getv(Form_argv,"rurl-proto") ) strcat(tos,val); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin.cc:385:11: note: place parentheses around the assignment to silence this warning 385 | if( val = getv(Form_argv,"rurl-proto") ) strcat(tos,val); | ^ | ( ) admin.cc:385:11: note: use '==' to turn this assignment into an equality comparison 385 | if( val = getv(Form_argv,"rurl-proto") ) strcat(tos,val); | ^ | == admin.cc:386:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 386 | if( val = getv(Form_argv,"rurl-login") ) strcat(tos,val); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin.cc:386:11: note: place parentheses around the assignment to silence this warning 386 | if( val = getv(Form_argv,"rurl-login") ) strcat(tos,val); | ^ | ( ) admin.cc:386:11: note: use '==' to turn this assignment into an equality comparison 386 | if( val = getv(Form_argv,"rurl-login") ) strcat(tos,val); | ^ | == admin.cc:387:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 387 | if( val = getv(Form_argv,"rurl-tail") ) strcat(tos,val); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin.cc:387:11: note: place parentheses around the assignment to silence this warning 387 | if( val = getv(Form_argv,"rurl-tail") ) strcat(tos,val); | ^ | ( ) admin.cc:387:11: note: use '==' to turn this assignment into an equality comparison 387 | if( val = getv(Form_argv,"rurl-tail") ) strcat(tos,val); | ^ | == admin.cc:422:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 422 | for( ai = 0; from1 = Form_argv[ai]; ai++ ){ | ~~~~~~^~~~~~~~~~~~~~~ admin.cc:422:23: note: place parentheses around the assignment to silence this warning 422 | for( ai = 0; from1 = Form_argv[ai]; ai++ ){ | ^ | ( ) admin.cc:422:23: note: use '==' to turn this assignment into an equality comparison 422 | for( ai = 0; from1 = Form_argv[ai]; ai++ ){ | ^ | == admin.cc:539:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 539 | if( dp = strtailstr(path,".pem") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ admin.cc:539:9: note: place parentheses around the assignment to silence this warning 539 | if( dp = strtailstr(path,".pem") ) | ^ | ( ) admin.cc:539:9: note: use '==' to turn this assignment into an equality comparison 539 | if( dp = strtailstr(path,".pem") ) | ^ | == admin.cc:560:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 560 | if( fp = fopen("dgca.cnf","w") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~ admin.cc:560:9: note: place parentheses around the assignment to silence this warning 560 | if( fp = fopen("dgca.cnf","w") ){ | ^ | ( ) admin.cc:560:9: note: use '==' to turn this assignment into an equality comparison 560 | if( fp = fopen("dgca.cnf","w") ){ | ^ | == admin.cc:575:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 575 | if( fp = fopen("dgcaidx.txt","w") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ admin.cc:575:9: note: place parentheses around the assignment to silence this warning 575 | if( fp = fopen("dgcaidx.txt","w") ){ | ^ | ( ) admin.cc:575:9: note: use '==' to turn this assignment into an equality comparison 575 | if( fp = fopen("dgcaidx.txt","w") ){ | ^ | == admin.cc:579:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 579 | if( fp = fopen("dgcaidx.txt.attr","w") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin.cc:579:9: note: place parentheses around the assignment to silence this warning 579 | if( fp = fopen("dgcaidx.txt.attr","w") ){ | ^ | ( ) admin.cc:579:9: note: use '==' to turn this assignment into an equality comparison 579 | if( fp = fopen("dgcaidx.txt.attr","w") ){ | ^ | == admin.cc:585:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 585 | if( fp = fopen("serial","w") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ admin.cc:585:9: note: place parentheses around the assignment to silence this warning 585 | if( fp = fopen("serial","w") ){ | ^ | ( ) admin.cc:585:9: note: use '==' to turn this assignment into an equality comparison 585 | if( fp = fopen("serial","w") ){ | ^ | == admin.cc:808:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 808 | if( conf = fopen("dgca.cnf","r") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ admin.cc:808:11: note: place parentheses around the assignment to silence this warning 808 | if( conf = fopen("dgca.cnf","r") ){ | ^ | ( ) admin.cc:808:11: note: use '==' to turn this assignment into an equality comparison 808 | if( conf = fopen("dgca.cnf","r") ){ | ^ | == admin.cc:840:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 840 | for( ai = 0; a1 = Form_argv[ai]; ai++ ){ | ~~~^~~~~~~~~~~~~~~ admin.cc:840:19: note: place parentheses around the assignment to silence this warning 840 | for( ai = 0; a1 = Form_argv[ai]; ai++ ){ | ^ | ( ) admin.cc:840:19: note: use '==' to turn this assignment into an equality comparison 840 | for( ai = 0; a1 = Form_argv[ai]; ai++ ){ | ^ | == admin.cc:953:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 953 | if( dp = strchr(out,'%') ){ | ~~~^~~~~~~~~~~~~~~~~ admin.cc:953:15: note: place parentheses around the assignment to silence this warning 953 | if( dp = strchr(out,'%') ){ | ^ | ( ) admin.cc:953:15: note: use '==' to turn this assignment into an equality comparison 953 | if( dp = strchr(out,'%') ){ | ^ | == admin.cc:995:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 995 | if( dp = strcasestr(out,"up ") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~ admin.cc:995:12: note: place parentheses around the assignment to silence this warning 995 | if( dp = strcasestr(out,"up ") ) | ^ | ( ) admin.cc:995:12: note: use '==' to turn this assignment into an equality comparison 995 | if( dp = strcasestr(out,"up ") ) | ^ | == admin.cc:997:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 997 | if( dp = strcasestr(out,"load ") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ admin.cc:997:12: note: place parentheses around the assignment to silence this warning 997 | if( dp = strcasestr(out,"load ") ){ | ^ | ( ) admin.cc:997:12: note: use '==' to turn this assignment into an equality comparison 997 | if( dp = strcasestr(out,"load ") ){ | ^ | == admin.cc:998:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 998 | if( dp = strchr(dp,':') ) | ~~~^~~~~~~~~~~~~~~~ admin.cc:998:13: note: place parentheses around the assignment to silence this warning 998 | if( dp = strchr(dp,':') ) | ^ | ( ) admin.cc:998:13: note: use '==' to turn this assignment into an equality comparison 998 | if( dp = strchr(dp,':') ) | ^ | == admin.cc:1053:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1053 | if( tp = strstr(line,"UID") ){ | ~~~^~~~~~~~~~~~~~~~~~~~ admin.cc:1053:13: note: place parentheses around the assignment to silence this warning 1053 | if( tp = strstr(line,"UID") ){ | ^ | ( ) admin.cc:1053:13: note: use '==' to turn this assignment into an equality comparison 1053 | if( tp = strstr(line,"UID") ){ | ^ | == admin.cc:1105:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1105 | if( fp = fopen_authlog(proto,host,"a") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin.cc:1105:9: note: place parentheses around the assignment to silence this warning 1105 | if( fp = fopen_authlog(proto,host,"a") ){ | ^ | ( ) admin.cc:1105:9: note: use '==' to turn this assignment into an equality comparison 1105 | if( fp = fopen_authlog(proto,host,"a") ){ | ^ | == admin.cc:1116:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1116 | if( fp = fopen_authlog(proto,"ALL","a") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin.cc:1116:10: note: place parentheses around the assignment to silence this warning 1116 | if( fp = fopen_authlog(proto,"ALL","a") ){ | ^ | ( ) admin.cc:1116:10: note: use '==' to turn this assignment into an equality comparison 1116 | if( fp = fopen_authlog(proto,"ALL","a") ){ | ^ | == admin.cc:1165:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1165 | if( fp = fopen_authlog(proto,host,"r") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin.cc:1165:9: note: place parentheses around the assignment to silence this warning 1165 | if( fp = fopen_authlog(proto,host,"r") ){ | ^ | ( ) admin.cc:1165:9: note: use '==' to turn this assignment into an equality comparison 1165 | if( fp = fopen_authlog(proto,host,"r") ){ | ^ | == admin.cc:1228:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1228 | if( dp = strrchr(upath,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~~~ admin.cc:1228:10: note: place parentheses around the assignment to silence this warning 1228 | if( dp = strrchr(upath,'/') ){ | ^ | ( ) admin.cc:1228:10: note: use '==' to turn this assignment into an equality comparison 1228 | if( dp = strrchr(upath,'/') ){ | ^ | == admin.cc:1233:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1233 | if( dp = strrchr(upath,'/') ) | ~~~^~~~~~~~~~~~~~~~~~~~ admin.cc:1233:12: note: place parentheses around the assignment to silence this warning 1233 | if( dp = strrchr(upath,'/') ) | ^ | ( ) admin.cc:1233:12: note: use '==' to turn this assignment into an equality comparison 1233 | if( dp = strrchr(upath,'/') ) | ^ | == admin.cc:1409:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1409 | for( sp = fmt; ch = (0xFF & *sp); sp++ ){ | ~~~^~~~~~~~~~~~~~ admin.cc:1409:20: note: place parentheses around the assignment to silence this warning 1409 | for( sp = fmt; ch = (0xFF & *sp); sp++ ){ | ^ | ( ) admin.cc:1409:20: note: use '==' to turn this assignment into an equality comparison 1409 | for( sp = fmt; ch = (0xFF & *sp); sp++ ){ | ^ | == admin.cc:1562:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1562 | if( mod = strchr(param,'-') ){ | ~~~~^~~~~~~~~~~~~~~~~~~ admin.cc:1562:11: note: place parentheses around the assignment to silence this warning 1562 | if( mod = strchr(param,'-') ){ | ^ | ( ) admin.cc:1562:11: note: use '==' to turn this assignment into an equality comparison 1562 | if( mod = strchr(param,'-') ){ | ^ | == admin.cc:1684:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1684 | if( ctype = filename2ctype(url) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ admin.cc:1684:14: note: place parentheses around the assignment to silence this warning 1684 | if( ctype = filename2ctype(url) ){ | ^ | ( ) admin.cc:1684:14: note: use '==' to turn this assignment into an equality comparison 1684 | if( ctype = filename2ctype(url) ){ | ^ | == admin.cc:1772:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1772 | if( dp = strtailstr(mp,pat) ) | ~~~^~~~~~~~~~~~~~~~~~~~ admin.cc:1772:10: note: place parentheses around the assignment to silence this warning 1772 | if( dp = strtailstr(mp,pat) ) | ^ | ( ) admin.cc:1772:10: note: use '==' to turn this assignment into an equality comparison 1772 | if( dp = strtailstr(mp,pat) ) | ^ | == admin.cc:1806:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1806 | if( cfp = fopen(path,"r") ){ | ~~~~^~~~~~~~~~~~~~~~~ admin.cc:1806:11: note: place parentheses around the assignment to silence this warning 1806 | if( cfp = fopen(path,"r") ){ | ^ | ( ) admin.cc:1806:11: note: use '==' to turn this assignment into an equality comparison 1806 | if( cfp = fopen(path,"r") ){ | ^ | == admin.cc:1821:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1821 | if( cfp = fopen(path,"r") ){ | ~~~~^~~~~~~~~~~~~~~~~ admin.cc:1821:11: note: place parentheses around the assignment to silence this warning 1821 | if( cfp = fopen(path,"r") ){ | ^ | ( ) admin.cc:1821:11: note: use '==' to turn this assignment into an equality comparison 1821 | if( cfp = fopen(path,"r") ){ | ^ | == admin.cc:1860:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1860 | if( cfp = fopen(path,"w") ){ | ~~~~^~~~~~~~~~~~~~~~~ admin.cc:1860:12: note: place parentheses around the assignment to silence this warning 1860 | if( cfp = fopen(path,"w") ){ | ^ | ( ) admin.cc:1860:12: note: use '==' to turn this assignment into an equality comparison 1860 | if( cfp = fopen(path,"w") ){ | ^ | == admin.cc:1890:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1890 | if( sfp = fopen(path,"w") ){ | ~~~~^~~~~~~~~~~~~~~~~ admin.cc:1890:11: note: place parentheses around the assignment to silence this warning 1890 | if( sfp = fopen(path,"w") ){ | ^ | ( ) admin.cc:1890:11: note: use '==' to turn this assignment into an equality comparison 1890 | if( sfp = fopen(path,"w") ){ | ^ | == admin.cc:1910:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1910 | if( sfp = fopen(path,"r") ){ | ~~~~^~~~~~~~~~~~~~~~~ admin.cc:1910:10: note: place parentheses around the assignment to silence this warning 1910 | if( sfp = fopen(path,"r") ){ | ^ | ( ) admin.cc:1910:10: note: use '==' to turn this assignment into an equality comparison 1910 | if( sfp = fopen(path,"r") ){ | ^ | == admin.cc:1935:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1935 | if( fp = dirfopen(what,AVStr(path),"r+") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin.cc:1935:9: note: place parentheses around the assignment to silence this warning 1935 | if( fp = dirfopen(what,AVStr(path),"r+") ){ | ^ | ( ) admin.cc:1935:9: note: use '==' to turn this assignment into an equality comparison 1935 | if( fp = dirfopen(what,AVStr(path),"r+") ){ | ^ | == admin.cc:1938:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1938 | if( fp = dirfopen(what,AVStr(path),mode) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin.cc:1938:9: note: place parentheses around the assignment to silence this warning 1938 | if( fp = dirfopen(what,AVStr(path),mode) ){ | ^ | ( ) admin.cc:1938:9: note: use '==' to turn this assignment into an equality comparison 1938 | if( fp = dirfopen(what,AVStr(path),mode) ){ | ^ | == admin.cc:1947:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1947 | if( fp = TMPFILE(what) ){ | ~~~^~~~~~~~~~~~~~~ admin.cc:1947:10: note: place parentheses around the assignment to silence this warning 1947 | if( fp = TMPFILE(what) ){ | ^ | ( ) admin.cc:1947:10: note: use '==' to turn this assignment into an equality comparison 1947 | if( fp = TMPFILE(what) ){ | ^ | == admin.cc:1971:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1971 | if( fp = fdopen(dup(LOG_initFd),mode) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin.cc:1971:10: note: place parentheses around the assignment to silence this warning 1971 | if( fp = fdopen(dup(LOG_initFd),mode) ){ | ^ | ( ) admin.cc:1971:10: note: use '==' to turn this assignment into an equality comparison 1971 | if( fp = fdopen(dup(LOG_initFd),mode) ){ | ^ | == admin.cc:2015:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2015 | if( dp = strchr(cv[ci],'\r') ) | ~~~^~~~~~~~~~~~~~~~~~~~~ admin.cc:2015:11: note: place parentheses around the assignment to silence this warning 2015 | if( dp = strchr(cv[ci],'\r') ) | ^ | ( ) admin.cc:2015:11: note: use '==' to turn this assignment into an equality comparison 2015 | if( dp = strchr(cv[ci],'\r') ) | ^ | == admin.cc:2020:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2020 | if( dp = strchr(cv[ci],',') ) truncVStr(dp); | ~~~^~~~~~~~~~~~~~~~~~~~ admin.cc:2020:12: note: place parentheses around the assignment to silence this warning 2020 | if( dp = strchr(cv[ci],',') ) truncVStr(dp); | ^ | ( ) admin.cc:2020:12: note: use '==' to turn this assignment into an equality comparison 2020 | if( dp = strchr(cv[ci],',') ) truncVStr(dp); | ^ | == admin.cc:2021:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2021 | if( dp = strchr(cv[ci],'/') ) truncVStr(dp); | ~~~^~~~~~~~~~~~~~~~~~~~ admin.cc:2021:12: note: place parentheses around the assignment to silence this warning 2021 | if( dp = strchr(cv[ci],'/') ) truncVStr(dp); | ^ | ( ) admin.cc:2021:12: note: use '==' to turn this assignment into an equality comparison 2021 | if( dp = strchr(cv[ci],'/') ) truncVStr(dp); | ^ | == admin.cc:2224:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2224 | if( dp = strchr(cv[ci],'\r') ) | ~~~^~~~~~~~~~~~~~~~~~~~~ admin.cc:2224:12: note: place parentheses around the assignment to silence this warning 2224 | if( dp = strchr(cv[ci],'\r') ) | ^ | ( ) admin.cc:2224:12: note: use '==' to turn this assignment into an equality comparison 2224 | if( dp = strchr(cv[ci],'\r') ) | ^ | == admin.cc:2227:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2227 | if( dgroot = getv(cv,"DGROOT") ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~ admin.cc:2227:15: note: place parentheses around the assignment to silence this warning 2227 | if( dgroot = getv(cv,"DGROOT") ){ | ^ | ( ) admin.cc:2227:15: note: use '==' to turn this assignment into an equality comparison 2227 | if( dgroot = getv(cv,"DGROOT") ){ | ^ | == admin.cc:2230:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2230 | if( dp = getv(cv,"CHROOT") ){ | ~~~^~~~~~~~~~~~~~~~~~~ admin.cc:2230:11: note: place parentheses around the assignment to silence this warning 2230 | if( dp = getv(cv,"CHROOT") ){ | ^ | ( ) admin.cc:2230:11: note: use '==' to turn this assignment into an equality comparison 2230 | if( dp = getv(cv,"CHROOT") ){ | ^ | == admin.cc:2237:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2237 | if( ilfp = fopenInitLog(serv,"r+") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ admin.cc:2237:14: note: place parentheses around the assignment to silence this warning 2237 | if( ilfp = fopenInitLog(serv,"r+") ){ | ^ | ( ) admin.cc:2237:14: note: use '==' to turn this assignment into an equality comparison 2237 | if( ilfp = fopenInitLog(serv,"r+") ){ | ^ | == admin.cc:2242:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2242 | if( stfp = fopenSvstats(serv,"r+") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ admin.cc:2242:14: note: place parentheses around the assignment to silence this warning 2242 | if( stfp = fopenSvstats(serv,"r+") ){ | ^ | ( ) admin.cc:2242:14: note: use '==' to turn this assignment into an equality comparison 2242 | if( stfp = fopenSvstats(serv,"r+") ){ | ^ | == admin.cc:2494:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2494 | if( dp = strtailstr(save,".cnf") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ admin.cc:2494:10: note: place parentheses around the assignment to silence this warning 2494 | if( dp = strtailstr(save,".cnf") ) | ^ | ( ) admin.cc:2494:10: note: use '==' to turn this assignment into an equality comparison 2494 | if( dp = strtailstr(save,".cnf") ) | ^ | == admin.cc:2528:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2528 | if( oconf = getConfigData(Conn,to,"",&odate) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin.cc:2528:12: note: place parentheses around the assignment to silence this warning 2528 | if( oconf = getConfigData(Conn,to,"",&odate) ){ | ^ | ( ) admin.cc:2528:12: note: use '==' to turn this assignment into an equality comparison 2528 | if( oconf = getConfigData(Conn,to,"",&odate) ){ | ^ | == admin.cc:2563:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2563 | if( fp = fopen_lockconf(BVStr(msg),serv,mode,AVStr(path),1) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin.cc:2563:9: note: place parentheses around the assignment to silence this warning 2563 | if( fp = fopen_lockconf(BVStr(msg),serv,mode,AVStr(path),1) ){ | ^ | ( ) admin.cc:2563:9: note: use '==' to turn this assignment into an equality comparison 2563 | if( fp = fopen_lockconf(BVStr(msg),serv,mode,AVStr(path),1) ){ | ^ | == admin.cc:2628:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2628 | if( dp = strtailstr(orig,".sav") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ admin.cc:2628:9: note: place parentheses around the assignment to silence this warning 2628 | if( dp = strtailstr(orig,".sav") ) | ^ | ( ) admin.cc:2628:9: note: use '==' to turn this assignment into an equality comparison 2628 | if( dp = strtailstr(orig,".sav") ) | ^ | == admin.cc:2650:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2650 | for( ai = 0; a1 = Form_argv[ai]; ai++ ){ | ~~~^~~~~~~~~~~~~~~ admin.cc:2650:18: note: place parentheses around the assignment to silence this warning 2650 | for( ai = 0; a1 = Form_argv[ai]; ai++ ){ | ^ | ( ) admin.cc:2650:18: note: use '==' to turn this assignment into an equality comparison 2650 | for( ai = 0; a1 = Form_argv[ai]; ai++ ){ | ^ | == admin.cc:2716:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2716 | if( fp = fopen_lockconf(BVStr(msg),name,"r+",AVStr(path),1) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin.cc:2716:9: note: place parentheses around the assignment to silence this warning 2716 | if( fp = fopen_lockconf(BVStr(msg),name,"r+",AVStr(path),1) ){ | ^ | ( ) admin.cc:2716:9: note: use '==' to turn this assignment into an equality comparison 2716 | if( fp = fopen_lockconf(BVStr(msg),name,"r+",AVStr(path),1) ){ | ^ | == admin.cc:2839:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2839 | if( ln = getv(argv,"ln") ){ | ~~~^~~~~~~~~~~~~~~~~ admin.cc:2839:10: note: place parentheses around the assignment to silence this warning 2839 | if( ln = getv(argv,"ln") ){ | ^ | ( ) admin.cc:2839:10: note: use '==' to turn this assignment into an equality comparison 2839 | if( ln = getv(argv,"ln") ){ | ^ | == admin.cc:2842:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2842 | if( com = getv(argv,"com") ){ | ~~~~^~~~~~~~~~~~~~~~~~ admin.cc:2842:12: note: place parentheses around the assignment to silence this warning 2842 | if( com = getv(argv,"com") ){ | ^ | ( ) admin.cc:2842:12: note: use '==' to turn this assignment into an equality comparison 2842 | if( com = getv(argv,"com") ){ | ^ | == admin.cc:2871:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2871 | if( name = admin_getv("confname") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ admin.cc:2871:15: note: place parentheses around the assignment to silence this warning 2871 | if( name = admin_getv("confname") ){ | ^ | ( ) admin.cc:2871:15: note: use '==' to turn this assignment into an equality comparison 2871 | if( name = admin_getv("confname") ){ | ^ | == admin.cc:3263:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3263 | if( v1 = admin_getv("capsec") ) csc = atoi(v1); | ~~~^~~~~~~~~~~~~~~~~~~~~~ admin.cc:3263:9: note: place parentheses around the assignment to silence this warning 3263 | if( v1 = admin_getv("capsec") ) csc = atoi(v1); | ^ | ( ) admin.cc:3263:9: note: use '==' to turn this assignment into an equality comparison 3263 | if( v1 = admin_getv("capsec") ) csc = atoi(v1); | ^ | == admin.cc:3264:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3264 | if( v1 = admin_getv("caplns") ) cln = atoi(v1); | ~~~^~~~~~~~~~~~~~~~~~~~~~ admin.cc:3264:9: note: place parentheses around the assignment to silence this warning 3264 | if( v1 = admin_getv("caplns") ) cln = atoi(v1); | ^ | ( ) admin.cc:3264:9: note: use '==' to turn this assignment into an equality comparison 3264 | if( v1 = admin_getv("caplns") ) cln = atoi(v1); | ^ | == admin.cc:3272:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3272 | if( v1 = admin_getv("opt") ){ | ~~~^~~~~~~~~~~~~~~~~~~ admin.cc:3272:9: note: place parentheses around the assignment to silence this warning 3272 | if( v1 = admin_getv("opt") ){ | ^ | ( ) admin.cc:3272:9: note: use '==' to turn this assignment into an equality comparison 3272 | if( v1 = admin_getv("opt") ){ | ^ | == admin.cc:3441:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3441 | if( aus = getAdminAuthorizer(Conn,AVStr(tmp),sizeof(tmp),1) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin.cc:3441:10: note: place parentheses around the assignment to silence this warning 3441 | if( aus = getAdminAuthorizer(Conn,AVStr(tmp),sizeof(tmp),1) ){ | ^ | ( ) admin.cc:3441:10: note: use '==' to turn this assignment into an equality comparison 3441 | if( aus = getAdminAuthorizer(Conn,AVStr(tmp),sizeof(tmp),1) ){ | ^ | == admin.cc:3463:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3463 | if( dp = strrchr(aus,'@') ){ | ~~~^~~~~~~~~~~~~~~~~~ admin.cc:3463:11: note: place parentheses around the assignment to silence this warning 3463 | if( dp = strrchr(aus,'@') ){ | ^ | ( ) admin.cc:3463:11: note: use '==' to turn this assignment into an equality comparison 3463 | if( dp = strrchr(aus,'@') ){ | ^ | == admin.cc:3835:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3835 | if( lfp = get_authlog(Conn,"admin","ALL",size,1) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin.cc:3835:11: note: place parentheses around the assignment to silence this warning 3835 | if( lfp = get_authlog(Conn,"admin","ALL",size,1) ){ | ^ | ( ) admin.cc:3835:11: note: use '==' to turn this assignment into an equality comparison 3835 | if( lfp = get_authlog(Conn,"admin","ALL",size,1) ){ | ^ | == admin.cc:3919:7: warning: address of array 'pma2' will always evaluate to 'true' [-Wpointer-bool-conversion] 3919 | if( pma2 && streq(pma2,"check") ){ | ^~~~ ~~ admin.cc:4153:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4153 | if( np = strpbrk(cp,"\r\n") ){ | ~~~^~~~~~~~~~~~~~~~~~~~ admin.cc:4153:10: note: place parentheses around the assignment to silence this warning 4153 | if( np = strpbrk(cp,"\r\n") ){ | ^ | ( ) admin.cc:4153:10: note: use '==' to turn this assignment into an equality comparison 4153 | if( np = strpbrk(cp,"\r\n") ){ | ^ | == admin.cc:4238:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4238 | for( cx = 0; src = mssgmap[cx].m_src; cx++ ){ | ~~~~^~~~~~~~~~~~~~~~~~~ admin.cc:4238:20: note: place parentheses around the assignment to silence this warning 4238 | for( cx = 0; src = mssgmap[cx].m_src; cx++ ){ | ^ | ( ) admin.cc:4238:20: note: use '==' to turn this assignment into an equality comparison 4238 | for( cx = 0; src = mssgmap[cx].m_src; cx++ ){ | ^ | == admin.cc:4239:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4239 | if( dp = strstr(dsttxt,src) ){ | ~~~^~~~~~~~~~~~~~~~~~~~ admin.cc:4239:11: note: place parentheses around the assignment to silence this warning 4239 | if( dp = strstr(dsttxt,src) ){ | ^ | ( ) admin.cc:4239:11: note: use '==' to turn this assignment into an equality comparison 4239 | if( dp = strstr(dsttxt,src) ){ | ^ | == admin.cc:4263:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4263 | for( cx = 0; src = mssgmap[cx].m_src; cx++ ){ | ~~~~^~~~~~~~~~~~~~~~~~~ admin.cc:4263:20: note: place parentheses around the assignment to silence this warning 4263 | for( cx = 0; src = mssgmap[cx].m_src; cx++ ){ | ^ | ( ) admin.cc:4263:20: note: use '==' to turn this assignment into an equality comparison 4263 | for( cx = 0; src = mssgmap[cx].m_src; cx++ ){ | ^ | == admin.cc:4264:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4264 | if( dp = strstr(fmt,src) ) | ~~~^~~~~~~~~~~~~~~~~ admin.cc:4264:11: note: place parentheses around the assignment to silence this warning 4264 | if( dp = strstr(fmt,src) ) | ^ | ( ) admin.cc:4264:11: note: use '==' to turn this assignment into an equality comparison 4264 | if( dp = strstr(fmt,src) ) | ^ | == admin.cc:4278:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4278 | for( cx = 0; src = mssgmap[cx].m_src; cx++ ){ | ~~~~^~~~~~~~~~~~~~~~~~~ admin.cc:4278:20: note: place parentheses around the assignment to silence this warning 4278 | for( cx = 0; src = mssgmap[cx].m_src; cx++ ){ | ^ | ( ) admin.cc:4278:20: note: use '==' to turn this assignment into an equality comparison 4278 | for( cx = 0; src = mssgmap[cx].m_src; cx++ ){ | ^ | == admin.cc:4279:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4279 | if( dp = strstr(mp,src) ){ | ~~~^~~~~~~~~~~~~~~~ admin.cc:4279:11: note: place parentheses around the assignment to silence this warning 4279 | if( dp = strstr(mp,src) ){ | ^ | ( ) admin.cc:4279:11: note: use '==' to turn this assignment into an equality comparison 4279 | if( dp = strstr(mp,src) ){ | ^ | == admin.cc:4371:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4371 | if( qryp = strchr(command,'?') ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~ admin.cc:4371:10: note: place parentheses around the assignment to silence this warning 4371 | if( qryp = strchr(command,'?') ){ | ^ | ( ) admin.cc:4371:10: note: use '==' to turn this assignment into an equality comparison 4371 | if( qryp = strchr(command,'?') ){ | ^ | == admin.cc:4377:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4377 | if( qryp = strchr(xcommand,'?') ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ admin.cc:4377:11: note: place parentheses around the assignment to silence this warning 4377 | if( qryp = strchr(xcommand,'?') ) | ^ | ( ) admin.cc:4377:11: note: use '==' to turn this assignment into an equality comparison 4377 | if( qryp = strchr(xcommand,'?') ) | ^ | == admin.cc:4404:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4404 | if( act = getv(argv,"action") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~ admin.cc:4404:10: note: place parentheses around the assignment to silence this warning 4404 | if( act = getv(argv,"action") ){ | ^ | ( ) admin.cc:4404:10: note: use '==' to turn this assignment into an equality comparison 4404 | if( act = getv(argv,"action") ){ | ^ | == admin.cc:4482:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4482 | if( dp = strchr(who,'{') ) | ~~~^~~~~~~~~~~~~~~~~ admin.cc:4482:9: note: place parentheses around the assignment to silence this warning 4482 | if( dp = strchr(who,'{') ) | ^ | ( ) admin.cc:4482:9: note: use '==' to turn this assignment into an equality comparison 4482 | if( dp = strchr(who,'{') ) | ^ | == admin.cc:4818:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4818 | if( v1 = admin_getv("ioconf-sock-sndbuf") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin.cc:4818:9: note: place parentheses around the assignment to silence this warning 4818 | if( v1 = admin_getv("ioconf-sock-sndbuf") ){ | ^ | ( ) admin.cc:4818:9: note: use '==' to turn this assignment into an equality comparison 4818 | if( v1 = admin_getv("ioconf-sock-sndbuf") ){ | ^ | == admin.cc:4825:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4825 | if( v1 = admin_getv("ioconf-sock-sndmutex") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin.cc:4825:9: note: place parentheses around the assignment to silence this warning 4825 | if( v1 = admin_getv("ioconf-sock-sndmutex") ){ | ^ | ( ) admin.cc:4825:9: note: use '==' to turn this assignment into an equality comparison 4825 | if( v1 = admin_getv("ioconf-sock-sndmutex") ){ | ^ | == admin.cc:4827:18: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 4827 | SOCK_SNDMUTEX = 1; | ^ ~ admin.cc:4830:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4830 | if( v1 = admin_getv("ioconf-sock-sndnodelay") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin.cc:4830:9: note: place parentheses around the assignment to silence this warning 4830 | if( v1 = admin_getv("ioconf-sock-sndnodelay") ){ | ^ | ( ) admin.cc:4830:9: note: use '==' to turn this assignment into an equality comparison 4830 | if( v1 = admin_getv("ioconf-sock-sndnodelay") ){ | ^ | == admin.cc:4832:20: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 4832 | SOCK_SNDNODELAY = 1; | ^ ~ admin.cc:4835:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4835 | if( v1 = admin_getv("ioconf-sock-sndwait") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin.cc:4835:9: note: place parentheses around the assignment to silence this warning 4835 | if( v1 = admin_getv("ioconf-sock-sndwait") ){ | ^ | ( ) admin.cc:4835:9: note: use '==' to turn this assignment into an equality comparison 4835 | if( v1 = admin_getv("ioconf-sock-sndwait") ){ | ^ | == 80 warnings generated. ../mkcpp notify.c notify.cc -- mkcpp set time: 1791324517 -> 1193570734 notify.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c notify.cc ../mkcpp shutter.c shutter.cc -- mkcpp set time: 1791324517 -> 1200220822 shutter.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c shutter.cc shutter.cc:198:21: warning: 'sizeof' call operates on objects of type 'Connection05' (aka 'DGCtx') while the size is based on a different type 'Connection05 *' (aka 'DGCtx *') [-Wsizeof-pointer-memaccess] 198 | bzero(Conn,sizeof(Conn)); | ~~~~ ^~~~ shutter.cc:198:21: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)? 198 | bzero(Conn,sizeof(Conn)); | ^~~~ shutter.cc:339:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 339 | if( dp = strpbrk(reason,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ shutter.cc:339:10: note: place parentheses around the assignment to silence this warning 339 | if( dp = strpbrk(reason,"\r\n") ) | ^ | ( ) shutter.cc:339:10: note: use '==' to turn this assignment into an equality comparison 339 | if( dp = strpbrk(reason,"\r\n") ) | ^ | == shutter.cc:336:22: warning: 'sizeof' call operates on objects of type 'Connection05' (aka 'DGCtx') while the size is based on a different type 'Connection05 *' (aka 'DGCtx *') [-Wsizeof-pointer-memaccess] 336 | bzero(Conn,sizeof(Conn)); | ~~~~ ^~~~ shutter.cc:336:22: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)? 336 | bzero(Conn,sizeof(Conn)); | ^~~~ 3 warnings generated. ../mkcpp abort.c abort.cc -- mkcpp set time: 1791324517 -> 1115198360 abort.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c abort.cc ../mkcpp form2conf.c form2conf.cc -- mkcpp set time: 1791324517 -> 1207286057 form2conf.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c form2conf.cc form2conf.cc:28:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 28 | char *DHTML_ENC = "&'\"\\<>%{}:?|~"; | ^ form2conf.cc:35:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 35 | for( sp = src; ch = *sp; sp++ ){ | ~~~^~~~~ form2conf.cc:35:20: note: place parentheses around the assignment to silence this warning 35 | for( sp = src; ch = *sp; sp++ ){ | ^ | ( ) form2conf.cc:35:20: note: use '==' to turn this assignment into an equality comparison 35 | for( sp = src; ch = *sp; sp++ ){ | ^ | == form2conf.cc:136:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 136 | "conf-dumpform", | ^ form2conf.cc:137:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 137 | "conf-type", | ^ form2conf.cc:184:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 184 | for( ci = 0; name = conf_params[ci]; ci++ ){ | ~~~~~^~~~~~~~~~~~~~~~~ form2conf.cc:184:20: note: place parentheses around the assignment to silence this warning 184 | for( ci = 0; name = conf_params[ci]; ci++ ){ | ^ | ( ) form2conf.cc:184:20: note: use '==' to turn this assignment into an equality comparison 184 | for( ci = 0; name = conf_params[ci]; ci++ ){ | ^ | == form2conf.cc:216:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 216 | for( ci = 1; name = conf_params[ci]; ci++ ){ | ~~~~~^~~~~~~~~~~~~~~~~ form2conf.cc:216:21: note: place parentheses around the assignment to silence this warning 216 | for( ci = 1; name = conf_params[ci]; ci++ ){ | ^ | ( ) form2conf.cc:216:21: note: use '==' to turn this assignment into an equality comparison 216 | for( ci = 1; name = conf_params[ci]; ci++ ){ | ^ | == form2conf.cc:727:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 727 | if( dp = strstr(p2,"/admin") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ form2conf.cc:727:15: note: place parentheses around the assignment to silence this warning 727 | if( dp = strstr(p2,"/admin") ){ | ^ | ( ) form2conf.cc:727:15: note: use '==' to turn this assignment into an equality comparison 727 | if( dp = strstr(p2,"/admin") ){ | ^ | == form2conf.cc:733:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 733 | if( dp = strchr(p1,':') ){ | ~~~^~~~~~~~~~~~~~~~ form2conf.cc:733:12: note: place parentheses around the assignment to silence this warning 733 | if( dp = strchr(p1,':') ){ | ^ | ( ) form2conf.cc:733:12: note: use '==' to turn this assignment into an equality comparison 733 | if( dp = strchr(p1,':') ){ | ^ | == form2conf.cc:739:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 739 | if( dp = strstr(p1,"/admin") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ form2conf.cc:739:12: note: place parentheses around the assignment to silence this warning 739 | if( dp = strstr(p1,"/admin") ){ | ^ | ( ) form2conf.cc:739:12: note: use '==' to turn this assignment into an equality comparison 739 | if( dp = strstr(p1,"/admin") ){ | ^ | == form2conf.cc:918:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 918 | if( vp = strchr(av1,'=') ){ | ~~~^~~~~~~~~~~~~~~~~ form2conf.cc:918:10: note: place parentheses around the assignment to silence this warning 918 | if( vp = strchr(av1,'=') ){ | ^ | ( ) form2conf.cc:918:10: note: use '==' to turn this assignment into an equality comparison 918 | if( vp = strchr(av1,'=') ){ | ^ | == form2conf.cc:1100:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1100 | if( data = getConfigData(Conn,name,"",&date) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ form2conf.cc:1100:13: note: place parentheses around the assignment to silence this warning 1100 | if( data = getConfigData(Conn,name,"",&date) ){ | ^ | ( ) form2conf.cc:1100:13: note: use '==' to turn this assignment into an equality comparison 1100 | if( data = getConfigData(Conn,name,"",&date) ){ | ^ | == form2conf.cc:1222:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1222 | if( lfp = fopen_lockconf(VStrNULL,a1,"r+",AVStr(path),0) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ form2conf.cc:1222:11: note: place parentheses around the assignment to silence this warning 1222 | if( lfp = fopen_lockconf(VStrNULL,a1,"r+",AVStr(path),0) ){ | ^ | ( ) form2conf.cc:1222:11: note: use '==' to turn this assignment into an equality comparison 1222 | if( lfp = fopen_lockconf(VStrNULL,a1,"r+",AVStr(path),0) ){ | ^ | == form2conf.cc:1419:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1419 | if( a1 = admin_getv(pma2) ){ | ~~~^~~~~~~~~~~~~~~~~~ form2conf.cc:1419:10: note: place parentheses around the assignment to silence this warning 1419 | if( a1 = admin_getv(pma2) ){ | ^ | ( ) form2conf.cc:1419:10: note: use '==' to turn this assignment into an equality comparison 1419 | if( a1 = admin_getv(pma2) ){ | ^ | == 13 warnings generated. ../mkcpp process.c process.cc -- mkcpp set time: 1791324518 -> 1227153038 process.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c process.cc process.cc:102:21: warning: 'sizeof' call operates on objects of type 'Connection05' (aka 'DGCtx') while the size is based on a different type 'Connection05 *' (aka 'DGCtx *') [-Wsizeof-pointer-memaccess] 102 | bzero(Conn,sizeof(Conn)); /* dumped in initABORT() */ | ~~~~ ^~~~ process.cc:102:21: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)? 102 | bzero(Conn,sizeof(Conn)); /* dumped in initABORT() */ | ^~~~ process.cc:230:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 230 | if( Conn->fi_issock = file_ISSOCK(sock) ){ | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ process.cc:230:22: note: place parentheses around the assignment to silence this warning 230 | if( Conn->fi_issock = file_ISSOCK(sock) ){ | ^ | ( ) process.cc:230:22: note: use '==' to turn this assignment into an equality comparison 230 | if( Conn->fi_issock = file_ISSOCK(sock) ){ | ^ | == 2 warnings generated. ../mkcpp vaddr.c vaddr.cc -- mkcpp set time: 1791324518 -> 1145306473 vaddr.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c vaddr.cc ../mkcpp conf.c conf.cc -- mkcpp set time: 1791324518 -> 1230170144 conf.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c conf.cc -DADMIN=\"root@localhost\" -DADMINPASS=\"\" conf.cc:239:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 239 | if( pp = strstr(dir,subst) ){ | ~~~^~~~~~~~~~~~~~~~~~~ conf.cc:239:9: note: place parentheses around the assignment to silence this warning 239 | if( pp = strstr(dir,subst) ){ | ^ | ( ) conf.cc:239:9: note: use '==' to turn this assignment into an equality comparison 239 | if( pp = strstr(dir,subst) ){ | ^ | == conf.cc:244:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 244 | if( dp = strchr(pat,'}') ) | ~~~^~~~~~~~~~~~~~~~~ conf.cc:244:10: note: place parentheses around the assignment to silence this warning 244 | if( dp = strchr(pat,'}') ) | ^ | ( ) conf.cc:244:10: note: use '==' to turn this assignment into an equality comparison 244 | if( dp = strchr(pat,'}') ) | ^ | == conf.cc:318:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 318 | if( cl_proxy = isSetProxyOfClient(Conn,AVStr(cl_proto)) ){ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cc:318:16: note: place parentheses around the assignment to silence this warning 318 | if( cl_proxy = isSetProxyOfClient(Conn,AVStr(cl_proto)) ){ | ^ | ( ) conf.cc:318:16: note: use '==' to turn this assignment into an equality comparison 318 | if( cl_proxy = isSetProxyOfClient(Conn,AVStr(cl_proto)) ){ | ^ | == conf.cc:417:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 417 | for( sp = ipath; sc = *sp; sp++ ){ | ~~~^~~~~ conf.cc:417:22: note: place parentheses around the assignment to silence this warning 417 | for( sp = ipath; sc = *sp; sp++ ){ | ^ | ( ) conf.cc:417:22: note: use '==' to turn this assignment into an equality comparison 417 | for( sp = ipath; sc = *sp; sp++ ){ | ^ | == conf.cc:511:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 511 | if( isdir = fileIsdir(dir) ){ | ~~~~~~^~~~~~~~~~~~~~~~ conf.cc:511:12: note: place parentheses around the assignment to silence this warning 511 | if( isdir = fileIsdir(dir) ){ | ^ | ( ) conf.cc:511:12: note: use '==' to turn this assignment into an equality comparison 511 | if( isdir = fileIsdir(dir) ){ | ^ | == conf.cc:538:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 538 | if( isdir = (mkdirRX(dir) == 0) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ conf.cc:538:12: note: place parentheses around the assignment to silence this warning 538 | if( isdir = (mkdirRX(dir) == 0) ){ | ^ | ( ) conf.cc:538:12: note: use '==' to turn this assignment into an equality comparison 538 | if( isdir = (mkdirRX(dir) == 0) ){ | ^ | == conf.cc:554:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 554 | if( env = DELEGATE_getEnv(P_DGROOT) ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cc:554:11: note: place parentheses around the assignment to silence this warning 554 | if( env = DELEGATE_getEnv(P_DGROOT) ) | ^ | ( ) conf.cc:554:11: note: use '==' to turn this assignment into an equality comparison 554 | if( env = DELEGATE_getEnv(P_DGROOT) ) | ^ | == conf.cc:589:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 589 | if( umasks = DELEGATE_getEnv(P_UMASK) ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cc:589:13: note: place parentheses around the assignment to silence this warning 589 | if( umasks = DELEGATE_getEnv(P_UMASK) ){ | ^ | ( ) conf.cc:589:13: note: use '==' to turn this assignment into an equality comparison 589 | if( umasks = DELEGATE_getEnv(P_UMASK) ){ | ^ | == conf.cc:598:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 598 | if( dgroot = DELEGATE_getEnv(P_DGROOT) ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cc:598:13: note: place parentheses around the assignment to silence this warning 598 | if( dgroot = DELEGATE_getEnv(P_DGROOT) ){ | ^ | ( ) conf.cc:598:13: note: use '==' to turn this assignment into an equality comparison 598 | if( dgroot = DELEGATE_getEnv(P_DGROOT) ){ | ^ | == conf.cc:701:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 701 | "LIBPATH", | ^ conf.cc:702:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 702 | "DATAPATH", | ^ conf.cc:703:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 703 | "PATH", | ^ conf.cc:704:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 704 | "SUBINPATH", | ^ conf.cc:705:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 705 | "CACHEPATH", | ^ conf.cc:706:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 706 | "LDPATH", | ^ conf.cc:713:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 713 | if( env = getenv("PATH") ){ | ~~~~^~~~~~~~~~~~~~~~ conf.cc:713:10: note: place parentheses around the assignment to silence this warning 713 | if( env = getenv("PATH") ){ | ^ | ( ) conf.cc:713:10: note: use '==' to turn this assignment into an equality comparison 713 | if( env = getenv("PATH") ){ | ^ | == conf.cc:777:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 777 | if( fp = fopen(cpath,"r") ){ | ~~~^~~~~~~~~~~~~~~~~~ conf.cc:777:10: note: place parentheses around the assignment to silence this warning 777 | if( fp = fopen(cpath,"r") ){ | ^ | ( ) conf.cc:777:10: note: use '==' to turn this assignment into an equality comparison 777 | if( fp = fopen(cpath,"r") ){ | ^ | == conf.cc:802:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 802 | if( fp = fopen_PATH(PATHv[li],path,mode,AVStr(xpath)) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cc:802:9: note: place parentheses around the assignment to silence this warning 802 | if( fp = fopen_PATH(PATHv[li],path,mode,AVStr(xpath)) ){ | ^ | ( ) conf.cc:802:9: note: use '==' to turn this assignment into an equality comparison 802 | if( fp = fopen_PATH(PATHv[li],path,mode,AVStr(xpath)) ){ | ^ | == conf.cc:872:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 872 | if( val = findFieldValue(info,"MemTotal") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cc:872:11: note: place parentheses around the assignment to silence this warning 872 | if( val = findFieldValue(info,"MemTotal") ) | ^ | ( ) conf.cc:872:11: note: use '==' to turn this assignment into an equality comparison 872 | if( val = findFieldValue(info,"MemTotal") ) | ^ | == conf.cc:874:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 874 | if( val = findFieldValue(info,"MemFree") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cc:874:11: note: place parentheses around the assignment to silence this warning 874 | if( val = findFieldValue(info,"MemFree") ) | ^ | ( ) conf.cc:874:11: note: use '==' to turn this assignment into an equality comparison 874 | if( val = findFieldValue(info,"MemFree") ) | ^ | == conf.cc:876:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 876 | if( val = findFieldValue(info,"Active") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cc:876:11: note: place parentheses around the assignment to silence this warning 876 | if( val = findFieldValue(info,"Active") ) | ^ | ( ) conf.cc:876:11: note: use '==' to turn this assignment into an equality comparison 876 | if( val = findFieldValue(info,"Active") ) | ^ | == conf.cc:878:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 878 | if( val = findFieldValue(info,"Inactive") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cc:878:11: note: place parentheses around the assignment to silence this warning 878 | if( val = findFieldValue(info,"Inactive") ) | ^ | ( ) conf.cc:878:11: note: use '==' to turn this assignment into an equality comparison 878 | if( val = findFieldValue(info,"Inactive") ) | ^ | == conf.cc:1018:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1018 | if( usp = UDP_Socketpair(usv) == 0 ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cc:1018:11: note: place parentheses around the assignment to silence this warning 1018 | if( usp = UDP_Socketpair(usv) == 0 ){ | ^ | ( ) conf.cc:1018:11: note: use '==' to turn this assignment into an equality comparison 1018 | if( usp = UDP_Socketpair(usv) == 0 ){ | ^ | == conf.cc:1068:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1068 | for( sp = str; ch = *sp; sp++ ){ | ~~~^~~~~ conf.cc:1068:20: note: place parentheses around the assignment to silence this warning 1068 | for( sp = str; ch = *sp; sp++ ){ | ^ | ( ) conf.cc:1068:20: note: use '==' to turn this assignment into an equality comparison 1068 | for( sp = str; ch = *sp; sp++ ){ | ^ | == conf.cc:1141:26: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] 1141 | int with_gethostbyname2(); | ^~ conf.cc:1141:26: note: replace parentheses with an initializer to declare a variable 1141 | int with_gethostbyname2(); | ^~ | = 0 25 warnings generated. ../mkcpp svport.c svport.cc -- mkcpp set time: 1791324518 -> 1226891185 svport.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c svport.cc svport.cc:128:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 128 | if( fix = host[0] == '-' ){ | ~~~~^~~~~~~~~~~~~~~~ svport.cc:128:10: note: place parentheses around the assignment to silence this warning 128 | if( fix = host[0] == '-' ){ | ^ | ( ) svport.cc:128:10: note: use '==' to turn this assignment into an equality comparison 128 | if( fix = host[0] == '-' ){ | ^ | == svport.cc:245:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 245 | if( mp = strtailstr(portspec,"/rident") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ svport.cc:245:11: note: place parentheses around the assignment to silence this warning 245 | if( mp = strtailstr(portspec,"/rident") ){ | ^ | ( ) svport.cc:245:11: note: use '==' to turn this assignment into an equality comparison 245 | if( mp = strtailstr(portspec,"/rident") ){ | ^ | == svport.cc:248:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 248 | if( mp = strtailstr(portspec,"/private") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ svport.cc:248:11: note: place parentheses around the assignment to silence this warning 248 | if( mp = strtailstr(portspec,"/private") ){ | ^ | ( ) svport.cc:248:11: note: use '==' to turn this assignment into an equality comparison 248 | if( mp = strtailstr(portspec,"/private") ){ | ^ | == svport.cc:251:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 251 | if( mp = strtailstr(portspec,"/local") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ svport.cc:251:11: note: place parentheses around the assignment to silence this warning 251 | if( mp = strtailstr(portspec,"/local") ){ | ^ | ( ) svport.cc:251:11: note: use '==' to turn this assignment into an equality comparison 251 | if( mp = strtailstr(portspec,"/local") ){ | ^ | == svport.cc:254:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 254 | if( mp = strtailstr(portspec,"/remote") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ svport.cc:254:11: note: place parentheses around the assignment to silence this warning 254 | if( mp = strtailstr(portspec,"/remote") ){ | ^ | ( ) svport.cc:254:11: note: use '==' to turn this assignment into an equality comparison 254 | if( mp = strtailstr(portspec,"/remote") ){ | ^ | == svport.cc:286:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 286 | if( stdport = serviceport(mod) ){ | ~~~~~~~~^~~~~~~~~~~~~~~~~~ svport.cc:286:15: note: place parentheses around the assignment to silence this warning 286 | if( stdport = serviceport(mod) ){ | ^ | ( ) svport.cc:286:15: note: use '==' to turn this assignment into an equality comparison 286 | if( stdport = serviceport(mod) ){ | ^ | == svport.cc:952:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 952 | if( htmux = DELEGATE_getEnv(P_HTMUX) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ svport.cc:952:12: note: place parentheses around the assignment to silence this warning 952 | if( htmux = DELEGATE_getEnv(P_HTMUX) ){ | ^ | ( ) svport.cc:952:12: note: use '==' to turn this assignment into an equality comparison 952 | if( htmux = DELEGATE_getEnv(P_HTMUX) ){ | ^ | == svport.cc:1084:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1084 | if( delegate = serverHostPort ) | ~~~~~~~~~^~~~~~~~~~~~~~~~ svport.cc:1084:15: note: place parentheses around the assignment to silence this warning 1084 | if( delegate = serverHostPort ) | ^ | ( ) svport.cc:1084:15: note: use '==' to turn this assignment into an equality comparison 1084 | if( delegate = serverHostPort ) | ^ | == svport.cc:1089:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1089 | if( addr = gethostaddr(myhost) ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~ svport.cc:1089:12: note: place parentheses around the assignment to silence this warning 1089 | if( addr = gethostaddr(myhost) ) | ^ | ( ) svport.cc:1089:12: note: use '==' to turn this assignment into an equality comparison 1089 | if( addr = gethostaddr(myhost) ) | ^ | == svport.cc:1179:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1179 | if( hp = strchr(host,'%') ){ | ~~~^~~~~~~~~~~~~~~~~~ svport.cc:1179:9: note: place parentheses around the assignment to silence this warning 1179 | if( hp = strchr(host,'%') ){ | ^ | ( ) svport.cc:1179:9: note: use '==' to turn this assignment into an equality comparison 1179 | if( hp = strchr(host,'%') ){ | ^ | == svport.cc:1438:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1438 | for( ap = a1; ac = *ap; ap++ ){ | ~~~^~~~~ svport.cc:1438:19: note: place parentheses around the assignment to silence this warning 1438 | for( ap = a1; ac = *ap; ap++ ){ | ^ | ( ) svport.cc:1438:19: note: use '==' to turn this assignment into an equality comparison 1438 | for( ap = a1; ac = *ap; ap++ ){ | ^ | == svport.cc:1464:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1464 | if( dp = strchr(hostport,'/') ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ svport.cc:1464:9: note: place parentheses around the assignment to silence this warning 1464 | if( dp = strchr(hostport,'/') ) | ^ | ( ) svport.cc:1464:9: note: use '==' to turn this assignment into an equality comparison 1464 | if( dp = strchr(hostport,'/') ) | ^ | == svport.cc:1466:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1466 | if( dp = strchr(hostport,':') ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ svport.cc:1466:9: note: place parentheses around the assignment to silence this warning 1466 | if( dp = strchr(hostport,':') ) | ^ | ( ) svport.cc:1466:9: note: use '==' to turn this assignment into an equality comparison 1466 | if( dp = strchr(hostport,':') ) | ^ | == svport.cc:1817:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1817 | if( iport = 0xFFFF & (SvType(sx) >> 16) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ svport.cc:1817:14: note: place parentheses around the assignment to silence this warning 1817 | if( iport = 0xFFFF & (SvType(sx) >> 16) ){ | ^ | ( ) svport.cc:1817:14: note: use '==' to turn this assignment into an equality comparison 1817 | if( iport = 0xFFFF & (SvType(sx) >> 16) ){ | ^ | == 14 warnings generated. ../mkcpp ddi.c ddi.cc -- mkcpp set time: 1791324519 -> 1229654794 ddi.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c ddi.cc ddi.cc:48:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 48 | if( nready = fPollIn(fp,to1) ){ | ~~~~~~~^~~~~~~~~~~~~~~~~ ddi.cc:48:14: note: place parentheses around the assignment to silence this warning 48 | if( nready = fPollIn(fp,to1) ){ | ^ | ( ) ddi.cc:48:14: note: use '==' to turn this assignment into an equality comparison 48 | if( nready = fPollIn(fp,to1) ){ | ^ | == ddi.cc:593:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 593 | if( rcode = fgets(str,size,fp) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~ ddi.cc:593:12: note: place parentheses around the assignment to silence this warning 593 | if( rcode = fgets(str,size,fp) ) | ^ | ( ) ddi.cc:593:12: note: use '==' to turn this assignment into an equality comparison 593 | if( rcode = fgets(str,size,fp) ) | ^ | == ddi.cc:833:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 833 | if( port = getFROM(Conn,AVStr(user),AVStr(host),AVStr(ver)) ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ddi.cc:833:11: note: place parentheses around the assignment to silence this warning 833 | if( port = getFROM(Conn,AVStr(user),AVStr(host),AVStr(ver)) ) | ^ | ( ) ddi.cc:833:11: note: use '==' to turn this assignment into an equality comparison 833 | if( port = getFROM(Conn,AVStr(user),AVStr(host),AVStr(ver)) ) | ^ | == ddi.cc:847:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 847 | if( dp = strrchr(tmp,'!') ){ | ~~~^~~~~~~~~~~~~~~~~~ ddi.cc:847:9: note: place parentheses around the assignment to silence this warning 847 | if( dp = strrchr(tmp,'!') ){ | ^ | ( ) ddi.cc:847:9: note: use '==' to turn this assignment into an equality comparison 847 | if( dp = strrchr(tmp,'!') ){ | ^ | == ddi.cc:849:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 849 | if( dp = strrchr(tmp,'!') ){ | ~~~^~~~~~~~~~~~~~~~~~ ddi.cc:849:10: note: place parentheses around the assignment to silence this warning 849 | if( dp = strrchr(tmp,'!') ){ | ^ | ( ) ddi.cc:849:10: note: use '==' to turn this assignment into an equality comparison 849 | if( dp = strrchr(tmp,'!') ){ | ^ | == ddi.cc:1179:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1179 | if( dp = strrchr(tmp,'.') ) | ~~~^~~~~~~~~~~~~~~~~~ ddi.cc:1179:11: note: place parentheses around the assignment to silence this warning 1179 | if( dp = strrchr(tmp,'.') ) | ^ | ( ) ddi.cc:1179:11: note: use '==' to turn this assignment into an equality comparison 1179 | if( dp = strrchr(tmp,'.') ) | ^ | == ddi.cc:1272:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1272 | if( dp = strstr(tmp," for ") ) | ~~~^~~~~~~~~~~~~~~~~~~~~ ddi.cc:1272:11: note: place parentheses around the assignment to silence this warning 1272 | if( dp = strstr(tmp," for ") ) | ^ | ( ) ddi.cc:1272:11: note: use '==' to turn this assignment into an equality comparison 1272 | if( dp = strstr(tmp," for ") ) | ^ | == ddi.cc:1479:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1479 | if( val = parameq(opt,OPT_AVSERV) ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ddi.cc:1479:10: note: place parentheses around the assignment to silence this warning 1479 | if( val = parameq(opt,OPT_AVSERV) ) | ^ | ( ) ddi.cc:1479:10: note: use '==' to turn this assignment into an equality comparison 1479 | if( val = parameq(opt,OPT_AVSERV) ) | ^ | == ddi.cc:1482:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1482 | if( val = parameq(opt,OPT_NVSERV) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ddi.cc:1482:10: note: place parentheses around the assignment to silence this warning 1482 | if( val = parameq(opt,OPT_NVSERV) ){ | ^ | ( ) ddi.cc:1482:10: note: use '==' to turn this assignment into an equality comparison 1482 | if( val = parameq(opt,OPT_NVSERV) ){ | ^ | == ddi.cc:1679:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1679 | }else | ^ ddi.cc:1829:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1829 | if( tid = ServerFilter.f_tid ){ | ~~~~^~~~~~~~~~~~~~~~~~~~ ddi.cc:1829:10: note: place parentheses around the assignment to silence this warning 1829 | if( tid = ServerFilter.f_tid ){ | ^ | ( ) ddi.cc:1829:10: note: use '==' to turn this assignment into an equality comparison 1829 | if( tid = ServerFilter.f_tid ){ | ^ | == ddi.cc:2051:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2051 | if( fp = Efiles[ei].e_fp ){ | ~~~^~~~~~~~~~~~~~~~~ ddi.cc:2051:10: note: place parentheses around the assignment to silence this warning 2051 | if( fp = Efiles[ei].e_fp ){ | ^ | ( ) ddi.cc:2051:10: note: use '==' to turn this assignment into an equality comparison 2051 | if( fp = Efiles[ei].e_fp ){ | ^ | == ddi.cc:2220:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2220 | else rcode = XXfcloseFILE(FL_BAR,fp2); | ^ 13 warnings generated. ../mkcpp textconv.c textconv.cc -- mkcpp set time: 1791324519 -> 1232340587 textconv.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c textconv.cc textconv.cc:115:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 115 | if( dp = strchr(ccb,'/') ){ | ~~~^~~~~~~~~~~~~~~~~ textconv.cc:115:9: note: place parentheses around the assignment to silence this warning 115 | if( dp = strchr(ccb,'/') ){ | ^ | ( ) textconv.cc:115:9: note: use '==' to turn this assignment into an equality comparison 115 | if( dp = strchr(ccb,'/') ){ | ^ | == textconv.cc:120:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 120 | if( dp = strchr(ccb,'.') ){ | ~~~^~~~~~~~~~~~~~~~~ textconv.cc:120:9: note: place parentheses around the assignment to silence this warning 120 | if( dp = strchr(ccb,'.') ){ | ^ | ( ) textconv.cc:120:9: note: use '==' to turn this assignment into an equality comparison 120 | if( dp = strchr(ccb,'.') ){ | ^ | == textconv.cc:276:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 276 | if( dp = strchr(spec,'.') ){ | ~~~^~~~~~~~~~~~~~~~~~ textconv.cc:276:9: note: place parentheses around the assignment to silence this warning 276 | if( dp = strchr(spec,'.') ){ | ^ | ( ) textconv.cc:276:9: note: use '==' to turn this assignment into an equality comparison 276 | if( dp = strchr(spec,'.') ){ | ^ | == textconv.cc:513:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 513 | if( tocl = CTX_cur_codeconvCL(Conn,AVStr(cvenv)) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ textconv.cc:513:11: note: place parentheses around the assignment to silence this warning 513 | if( tocl = CTX_cur_codeconvCL(Conn,AVStr(cvenv)) ){ | ^ | ( ) textconv.cc:513:11: note: use '==' to turn this assignment into an equality comparison 513 | if( tocl = CTX_cur_codeconvCL(Conn,AVStr(cvenv)) ){ | ^ | == textconv.cc:603:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 603 | if( in = ins[inx] ) | ~~~^~~~~~~~~~ textconv.cc:603:9: note: place parentheses around the assignment to silence this warning 603 | if( in = ins[inx] ) | ^ | ( ) textconv.cc:603:9: note: use '==' to turn this assignment into an equality comparison 603 | if( in = ins[inx] ) | ^ | == textconv.cc:626:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 626 | if( in = ins[inx] ){ | ~~~^~~~~~~~~~ textconv.cc:626:11: note: place parentheses around the assignment to silence this warning 626 | if( in = ins[inx] ){ | ^ | ( ) textconv.cc:626:11: note: use '==' to turn this assignment into an equality comparison 626 | if( in = ins[inx] ){ | ^ | == 6 warnings generated. ../mkcpp script.c script.cc -- mkcpp set time: 1791324519 -> 1216011301 script.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c script.cc script.cc:99:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 99 | for( sp = line; ch = *sp; sp++ ) | ~~~^~~~~ script.cc:99:21: note: place parentheses around the assignment to silence this warning 99 | for( sp = line; ch = *sp; sp++ ) | ^ | ( ) script.cc:99:21: note: use '==' to turn this assignment into an equality comparison 99 | for( sp = line; ch = *sp; sp++ ) | ^ | == script.cc:103:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 103 | while( ch = *sp ){ | ~~~^~~~~ script.cc:103:12: note: place parentheses around the assignment to silence this warning 103 | while( ch = *sp ){ | ^ | ( ) script.cc:103:12: note: use '==' to turn this assignment into an equality comparison 103 | while( ch = *sp ){ | ^ | == script.cc:129:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 129 | if( fp = popen(command,"r") ){ | ~~~^~~~~~~~~~~~~~~~~~~~ script.cc:129:11: note: place parentheses around the assignment to silence this warning 129 | if( fp = popen(command,"r") ){ | ^ | ( ) script.cc:129:11: note: use '==' to turn this assignment into an equality comparison 129 | if( fp = popen(command,"r") ){ | ^ | == script.cc:132:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 132 | if( dp = strpbrk(command,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ script.cc:132:12: note: place parentheses around the assignment to silence this warning 132 | if( dp = strpbrk(command,"\r\n") ) | ^ | ( ) script.cc:132:12: note: use '==' to turn this assignment into an equality comparison 132 | if( dp = strpbrk(command,"\r\n") ) | ^ | == script.cc:216:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 216 | if( dp = strpbrk(valueb,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ script.cc:216:10: note: place parentheses around the assignment to silence this warning 216 | if( dp = strpbrk(valueb,"\r\n") ) | ^ | ( ) script.cc:216:10: note: use '==' to turn this assignment into an equality comparison 216 | if( dp = strpbrk(valueb,"\r\n") ) | ^ | == script.cc:407:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 407 | if( psfp = scripts[ii].sf_sfp ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~ script.cc:407:12: note: place parentheses around the assignment to silence this warning 407 | if( psfp = scripts[ii].sf_sfp ){ | ^ | ( ) script.cc:407:12: note: use '==' to turn this assignment into an equality comparison 407 | if( psfp = scripts[ii].sf_sfp ){ | ^ | == script.cc:540:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 540 | for( pi = 0; path1 = pathv[pi]; pi++ ){ | ~~~~~~^~~~~~~~~~~ script.cc:540:21: note: place parentheses around the assignment to silence this warning 540 | for( pi = 0; path1 = pathv[pi]; pi++ ){ | ^ | ( ) script.cc:540:21: note: use '==' to turn this assignment into an equality comparison 540 | for( pi = 0; path1 = pathv[pi]; pi++ ){ | ^ | == script.cc:670:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 670 | if( lp = loadListFile(url) ){ | ~~~^~~~~~~~~~~~~~~~~~~ script.cc:670:12: note: place parentheses around the assignment to silence this warning 670 | if( lp = loadListFile(url) ){ | ^ | ( ) script.cc:670:12: note: use '==' to turn this assignment into an equality comparison 670 | if( lp = loadListFile(url) ){ | ^ | == script.cc:811:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 811 | if( cp = strstr(com,INC_SYM) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ script.cc:811:11: note: place parentheses around the assignment to silence this warning 811 | if( cp = strstr(com,INC_SYM) ){ | ^ | ( ) script.cc:811:11: note: use '==' to turn this assignment into an equality comparison 811 | if( cp = strstr(com,INC_SYM) ){ | ^ | == 9 warnings generated. ../mkcpp param.c param.cc -- mkcpp set time: 1791324520 -> 1230930859 param.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c param.cc param.cc:421:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 421 | for( fi = 1; name = params[fi].p_name; fi++ ) | ~~~~~^~~~~~~~~~~~~~~~~~~ param.cc:421:20: note: place parentheses around the assignment to silence this warning 421 | for( fi = 1; name = params[fi].p_name; fi++ ) | ^ | ( ) param.cc:421:20: note: use '==' to turn this assignment into an equality comparison 421 | for( fi = 1; name = params[fi].p_name; fi++ ) | ^ | == param.cc:430:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 430 | if( pp = strheadstrX(param,PFX_LOCK,0) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ param.cc:430:9: note: place parentheses around the assignment to silence this warning 430 | if( pp = strheadstrX(param,PFX_LOCK,0) ){ | ^ | ( ) param.cc:430:9: note: use '==' to turn this assignment into an equality comparison 430 | if( pp = strheadstrX(param,PFX_LOCK,0) ){ | ^ | == param.cc:450:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 450 | if( dp = strheadstrX(param,name1,0) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ param.cc:450:10: note: place parentheses around the assignment to silence this warning 450 | if( dp = strheadstrX(param,name1,0) ){ | ^ | ( ) param.cc:450:10: note: use '==' to turn this assignment into an equality comparison 450 | if( dp = strheadstrX(param,name1,0) ){ | ^ | == param.cc:460:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 460 | if( pi = paramX(param,nameonly) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ param.cc:460:9: note: place parentheses around the assignment to silence this warning 460 | if( pi = paramX(param,nameonly) ){ | ^ | ( ) param.cc:460:9: note: use '==' to turn this assignment into an equality comparison 460 | if( pi = paramX(param,nameonly) ){ | ^ | == param.cc:476:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 476 | if( p1 = paramp(param,1) ){ | ~~~^~~~~~~~~~~~~~~~~ param.cc:476:10: note: place parentheses around the assignment to silence this warning 476 | if( p1 = paramp(param,1) ){ | ^ | ( ) param.cc:476:10: note: use '==' to turn this assignment into an equality comparison 476 | if( p1 = paramp(param,1) ){ | ^ | == param.cc:485:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 485 | if( p1 = paramp(param,1) ){ | ~~~^~~~~~~~~~~~~~~~~ param.cc:485:9: note: place parentheses around the assignment to silence this warning 485 | if( p1 = paramp(param,1) ){ | ^ | ( ) param.cc:485:9: note: use '==' to turn this assignment into an equality comparison 485 | if( p1 = paramp(param,1) ){ | ^ | == param.cc:515:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 515 | if( pp = paramp(param,dolock) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ param.cc:515:9: note: place parentheses around the assignment to silence this warning 515 | if( pp = paramp(param,dolock) ){ | ^ | ( ) param.cc:515:9: note: use '==' to turn this assignment into an equality comparison 515 | if( pp = paramp(param,dolock) ){ | ^ | == param.cc:545:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 545 | if( pp = paramp(param,dolock) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ param.cc:545:9: note: place parentheses around the assignment to silence this warning 545 | if( pp = paramp(param,dolock) ){ | ^ | ( ) param.cc:545:9: note: use '==' to turn this assignment into an equality comparison 545 | if( pp = paramp(param,dolock) ){ | ^ | == param.cc:562:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 562 | for( pi = 0; name = params[pi].p_name; pi++ ){ | ~~~~~^~~~~~~~~~~~~~~~~~~ param.cc:562:20: note: place parentheses around the assignment to silence this warning 562 | for( pi = 0; name = params[pi].p_name; pi++ ){ | ^ | ( ) param.cc:562:20: note: use '==' to turn this assignment into an equality comparison 562 | for( pi = 0; name = params[pi].p_name; pi++ ){ | ^ | == param.cc:589:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 589 | if( dp = strchr(param,'=') ){ | ~~~^~~~~~~~~~~~~~~~~~~ param.cc:589:9: note: place parentheses around the assignment to silence this warning 589 | if( dp = strchr(param,'=') ){ | ^ | ( ) param.cc:589:9: note: use '==' to turn this assignment into an equality comparison 589 | if( dp = strchr(param,'=') ){ | ^ | == param.cc:594:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 594 | for( pi = 0; pn = params[pi].p_name; pi++ ){ | ~~~^~~~~~~~~~~~~~~~~~~ param.cc:594:18: note: place parentheses around the assignment to silence this warning 594 | for( pi = 0; pn = params[pi].p_name; pi++ ){ | ^ | ( ) param.cc:594:18: note: use '==' to turn this assignment into an equality comparison 594 | for( pi = 0; pn = params[pi].p_name; pi++ ){ | ^ | == param.cc:598:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 598 | if( pm = params[pi].p_mssg ) | ~~~^~~~~~~~~~~~~~~~~~~ param.cc:598:11: note: place parentheses around the assignment to silence this warning 598 | if( pm = params[pi].p_mssg ) | ^ | ( ) param.cc:598:11: note: use '==' to turn this assignment into an equality comparison 598 | if( pm = params[pi].p_mssg ) | ^ | == param.cc:671:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 671 | for( sai = 0; name = sav[sai]; sai++ ){ | ~~~~~^~~~~~~~~~ param.cc:671:25: note: place parentheses around the assignment to silence this warning 671 | for( sai = 0; name = sav[sai]; sai++ ){ | ^ | ( ) param.cc:671:25: note: use '==' to turn this assignment into an equality comparison 671 | for( sai = 0; name = sav[sai]; sai++ ){ | ^ | == param.cc:680:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 680 | for( sai = 0; name = sav[sai]; sai++ ){ | ~~~~~^~~~~~~~~~ param.cc:680:25: note: place parentheses around the assignment to silence this warning 680 | for( sai = 0; name = sav[sai]; sai++ ){ | ^ | ( ) param.cc:680:25: note: use '==' to turn this assignment into an equality comparison 680 | for( sai = 0; name = sav[sai]; sai++ ){ | ^ | == param.cc:700:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 700 | if( dav[dai] = paramAbsPath(sav[sai]) ){ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ param.cc:700:17: note: place parentheses around the assignment to silence this warning 700 | if( dav[dai] = paramAbsPath(sav[sai]) ){ | ^ | ( ) param.cc:700:17: note: use '==' to turn this assignment into an equality comparison 700 | if( dav[dai] = paramAbsPath(sav[sai]) ){ | ^ | == 15 warnings generated. ../mkcpp env.c env.cc -- mkcpp set time: 1791324520 -> 1226625185 env.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c env.cc env.cc:106:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 106 | if( value = getv(gen_environ,name) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ env.cc:106:12: note: place parentheses around the assignment to silence this warning 106 | if( value = getv(gen_environ,name) ) | ^ | ( ) env.cc:106:12: note: use '==' to turn this assignment into an equality comparison 106 | if( value = getv(gen_environ,name) ) | ^ | == env.cc:110:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 110 | if( value = getv(extovw_argv,name) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ env.cc:110:12: note: place parentheses around the assignment to silence this warning 110 | if( value = getv(extovw_argv,name) ) | ^ | ( ) env.cc:110:12: note: use '==' to turn this assignment into an equality comparison 110 | if( value = getv(extovw_argv,name) ) | ^ | == env.cc:114:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 114 | if( value = getv(main_argv,name) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ env.cc:114:12: note: place parentheses around the assignment to silence this warning 114 | if( value = getv(main_argv,name) ) | ^ | ( ) env.cc:114:12: note: use '==' to turn this assignment into an equality comparison 114 | if( value = getv(main_argv,name) ) | ^ | == env.cc:118:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 118 | if( value = getv(ext_argv,name) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ env.cc:118:12: note: place parentheses around the assignment to silence this warning 118 | if( value = getv(ext_argv,name) ) | ^ | ( ) env.cc:118:12: note: use '==' to turn this assignment into an equality comparison 118 | if( value = getv(ext_argv,name) ) | ^ | == env.cc:123:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 123 | if( value = getenv(xname) ) | ~~~~~~^~~~~~~~~~~~~~~ env.cc:123:12: note: place parentheses around the assignment to silence this warning 123 | if( value = getenv(xname) ) | ^ | ( ) env.cc:123:12: note: use '==' to turn this assignment into an equality comparison 123 | if( value = getenv(xname) ) | ^ | == env.cc:127:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 127 | if( value = getenv(name) ) | ~~~~~~^~~~~~~~~~~~~~ env.cc:127:12: note: place parentheses around the assignment to silence this warning 127 | if( value = getenv(name) ) | ^ | ( ) env.cc:127:12: note: use '==' to turn this assignment into an equality comparison 127 | if( value = getenv(name) ) | ^ | == env.cc:133:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 133 | if( value = getEnvBin(name) ) | ~~~~~~^~~~~~~~~~~~~~~~~ env.cc:133:12: note: place parentheses around the assignment to silence this warning 133 | if( value = getEnvBin(name) ) | ^ | ( ) env.cc:133:12: note: use '==' to turn this assignment into an equality comparison 133 | if( value = getEnvBin(name) ) | ^ | == env.cc:140:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 140 | if( env = getEnvBin(name) ) | ~~~~^~~~~~~~~~~~~~~~~ env.cc:140:10: note: place parentheses around the assignment to silence this warning 140 | if( env = getEnvBin(name) ) | ^ | ( ) env.cc:140:10: note: use '==' to turn this assignment into an equality comparison 140 | if( env = getEnvBin(name) ) | ^ | == env.cc:365:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 365 | if( pv = parameq(arg1,"MYAUTH") ){ arg1 = "MYAUTH="; } | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ env.cc:365:10: note: place parentheses around the assignment to silence this warning 365 | if( pv = parameq(arg1,"MYAUTH") ){ arg1 = "MYAUTH="; } | ^ | ( ) env.cc:365:10: note: use '==' to turn this assignment into an equality comparison 365 | if( pv = parameq(arg1,"MYAUTH") ){ arg1 = "MYAUTH="; } | ^ | == env.cc:366:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 366 | if( pv = parameq(arg1,"PASSWD") ){ arg1 = "PASSWD="; } | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ env.cc:366:10: note: place parentheses around the assignment to silence this warning 366 | if( pv = parameq(arg1,"PASSWD") ){ arg1 = "PASSWD="; } | ^ | ( ) env.cc:366:10: note: use '==' to turn this assignment into an equality comparison 366 | if( pv = parameq(arg1,"PASSWD") ){ arg1 = "PASSWD="; } | ^ | == env.cc:367:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 367 | if( pv = parameq(arg1,"CRYPT" ) ){ arg1 = "CRYPT="; } | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ env.cc:367:10: note: place parentheses around the assignment to silence this warning 367 | if( pv = parameq(arg1,"CRYPT" ) ){ arg1 = "CRYPT="; } | ^ | ( ) env.cc:367:10: note: use '==' to turn this assignment into an equality comparison 367 | if( pv = parameq(arg1,"CRYPT" ) ){ arg1 = "CRYPT="; } | ^ | == env.cc:397:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 397 | for( ai = 0; env = environ[ai]; ai++ ) | ~~~~^~~~~~~~~~~~~ env.cc:397:19: note: place parentheses around the assignment to silence this warning 397 | for( ai = 0; env = environ[ai]; ai++ ) | ^ | ( ) env.cc:397:19: note: use '==' to turn this assignment into an equality comparison 397 | for( ai = 0; env = environ[ai]; ai++ ) | ^ | == env.cc:399:44: warning: add explicit braces to avoid dangling else [-Wdangling-else] 399 | if( !showidx ) CFput0(fp,"env %s\n",env) else | ^ env.cc:408:54: warning: add explicit braces to avoid dangling else [-Wdangling-else] 408 | if( !showidx ) CFput0(fp,"arg %s\n",main_argv[ai]) else | ^ env.cc:413:56: warning: add explicit braces to avoid dangling else [-Wdangling-else] 413 | if( !showidx ) CFput0(fp,"gen %s\n",gen_environ[ai]) else | ^ env.cc:800:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 800 | if( func = Me->m_func ) | ~~~~~^~~~~~~~~~~~ env.cc:800:12: note: place parentheses around the assignment to silence this warning 800 | if( func = Me->m_func ) | ^ | ( ) env.cc:800:12: note: use '==' to turn this assignment into an equality comparison 800 | if( func = Me->m_func ) | ^ | == env.cc:827:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 827 | if( arg = strstr(arg,")") ) | ~~~~^~~~~~~~~~~~~~~~~ env.cc:827:11: note: place parentheses around the assignment to silence this warning 827 | if( arg = strstr(arg,")") ) | ^ | ( ) env.cc:827:11: note: use '==' to turn this assignment into an equality comparison 827 | if( arg = strstr(arg,")") ) | ^ | == env.cc:879:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 879 | if( dp = strchr(arg,'=') ){ | ~~~^~~~~~~~~~~~~~~~~ env.cc:879:10: note: place parentheses around the assignment to silence this warning 879 | if( dp = strchr(arg,'=') ){ | ^ | ( ) env.cc:879:10: note: use '==' to turn this assignment into an equality comparison 879 | if( dp = strchr(arg,'=') ){ | ^ | == env.cc:970:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 970 | for( ei = 0; e1 = ov[ei]; ei++ ) | ~~~^~~~~~~~ env.cc:970:18: note: place parentheses around the assignment to silence this warning 970 | for( ei = 0; e1 = ov[ei]; ei++ ) | ^ | ( ) env.cc:970:18: note: use '==' to turn this assignment into an equality comparison 970 | for( ei = 0; e1 = ov[ei]; ei++ ) | ^ | == env.cc:1010:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1010 | for( ei = 0; e1 = ev[ei]; ei++ ){ | ~~~^~~~~~~~ env.cc:1010:18: note: place parentheses around the assignment to silence this warning 1010 | for( ei = 0; e1 = ev[ei]; ei++ ){ | ^ | ( ) env.cc:1010:18: note: use '==' to turn this assignment into an equality comparison 1010 | for( ei = 0; e1 = ev[ei]; ei++ ){ | ^ | == env.cc:1348:34: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] 1348 | LOG_bugs |= (1 << atoi(&arg[2])-1); | ~~ ~~~~~~~~~~~~~^~ env.cc:1348:34: note: place parentheses around the '-' expression to silence this warning 1348 | LOG_bugs |= (1 << atoi(&arg[2])-1); | ^ | ( ) env.cc:1357:14: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 1357 | RAND_TRACE = 1; | ^ ~ env.cc:1373:23: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 1373 | PEEK_CLIENT_REQUEST = 1; | ^ ~ env.cc:1597:24: warning: 'sizeof' call operates on objects of type 'DefData *' while the size is based on a different type 'DefData **' [-Wsizeof-pointer-memaccess] 1597 | bzero(defData,sizeof(defData)); | ~~~~~~~ ^~~~~~~ env.cc:1597:24: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)? 1597 | bzero(defData,sizeof(defData)); | ^~~~~~~ env.cc:1661:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1661 | for( pp = pat; pc = *pp; pp++ ){ | ~~~^~~~~ env.cc:1661:20: note: place parentheses around the assignment to silence this warning 1661 | for( pp = pat; pc = *pp; pp++ ){ | ^ | ( ) env.cc:1661:20: note: use '==' to turn this assignment into an equality comparison 1661 | for( pp = pat; pc = *pp; pp++ ){ | ^ | == 25 warnings generated. ../mkcpp syslog.c syslog.cc -- mkcpp set time: 1791324520 -> 1226841886 syslog.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c syslog.cc syslog.cc:44:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 44 | "emerg", | ^ syslog.cc:45:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 45 | "alert", | ^ syslog.cc:46:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 46 | "crit", /* critical */ | ^ syslog.cc:47:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 47 | "err", | ^ syslog.cc:48:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 48 | "warning", | ^ syslog.cc:49:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 49 | "notice", | ^ syslog.cc:50:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 50 | "info", | ^ syslog.cc:51:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 51 | "debug", | ^ syslog.cc:57:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 57 | for( fi = 0; fn = Severity[fi]; fi++ ){ | ~~~^~~~~~~~~~~~~~ syslog.cc:57:18: note: place parentheses around the assignment to silence this warning 57 | for( fi = 0; fn = Severity[fi]; fi++ ){ | ^ | ( ) syslog.cc:57:18: note: use '==' to turn this assignment into an equality comparison 57 | for( fi = 0; fn = Severity[fi]; fi++ ){ | ^ | == syslog.cc:65:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 65 | /* 0 */ "kern", | ^ syslog.cc:66:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 66 | "user", | ^ syslog.cc:67:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 67 | "mail", | ^ syslog.cc:68:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 68 | /* 3 */ "daemon", | ^ syslog.cc:69:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 69 | "auth", | ^ syslog.cc:70:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 70 | "syslog", | ^ syslog.cc:71:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 71 | "lpr", | ^ syslog.cc:72:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 72 | /* 7 */ "news", | ^ syslog.cc:73:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 73 | /* 8 */ "uucp", | ^ syslog.cc:74:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 74 | /* 9 */ "cron", | ^ syslog.cc:75:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 75 | /*10 */ "authpriv", | ^ syslog.cc:76:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 76 | /*11 */ "ftp", | ^ syslog.cc:77:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 77 | "netinfo", | ^ syslog.cc:78:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 78 | /*13 */ "remoteauth", | ^ syslog.cc:79:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 79 | /*14 */ "auth", | ^ syslog.cc:80:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 80 | /*15 */ "cron", | ^ syslog.cc:81:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 81 | /*16 */ "local0", | ^ syslog.cc:82:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 82 | "local1", | ^ syslog.cc:83:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 83 | "local2", | ^ syslog.cc:84:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 84 | "local3", | ^ syslog.cc:85:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 85 | "local4", | ^ syslog.cc:86:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 86 | "local5", | ^ syslog.cc:87:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 87 | "local6", | ^ syslog.cc:88:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 88 | /*23 */ "local7", | ^ syslog.cc:94:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 94 | for( fi = 0; fn = Facility[fi]; fi++ ){ | ~~~^~~~~~~~~~~~~~ syslog.cc:94:18: note: place parentheses around the assignment to silence this warning 94 | for( fi = 0; fn = Facility[fi]; fi++ ){ | ^ | ( ) syslog.cc:94:18: note: use '==' to turn this assignment into an equality comparison 94 | for( fi = 0; fn = Facility[fi]; fi++ ){ | ^ | == syslog.cc:297:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 297 | if( lfp = fopen(url+5,"a") ){ | ~~~~^~~~~~~~~~~~~~~~~~ syslog.cc:297:11: note: place parentheses around the assignment to silence this warning 297 | if( lfp = fopen(url+5,"a") ){ | ^ | ( ) syslog.cc:297:11: note: use '==' to turn this assignment into an equality comparison 297 | if( lfp = fopen(url+5,"a") ){ | ^ | == syslog.cc:305:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 305 | if( lfp = fopen(url,"a") ){ | ~~~~^~~~~~~~~~~~~~~~ syslog.cc:305:11: note: place parentheses around the assignment to silence this warning 305 | if( lfp = fopen(url,"a") ){ | ^ | ( ) syslog.cc:305:11: note: use '==' to turn this assignment into an equality comparison 305 | if( lfp = fopen(url,"a") ){ | ^ | == 36 warnings generated. ../mkcpp log.c log.cc -- mkcpp set time: 1791324520 -> 1226867002 log.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c log.cc log.cc:198:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 198 | if( buff = getStrBuffer(SB_PROC,MAXLENG,1) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ log.cc:198:12: note: place parentheses around the assignment to silence this warning 198 | if( buff = getStrBuffer(SB_PROC,MAXLENG,1) ){ | ^ | ( ) log.cc:198:12: note: use '==' to turn this assignment into an equality comparison 198 | if( buff = getStrBuffer(SB_PROC,MAXLENG,1) ){ | ^ | == log.cc:270:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 270 | if( plog = pplog ){ | ~~~~~^~~~~~~ log.cc:270:11: note: place parentheses around the assignment to silence this warning 270 | if( plog = pplog ){ | ^ | ( ) log.cc:270:11: note: use '==' to turn this assignment into an equality comparison 270 | if( plog = pplog ){ | ^ | == log.cc:560:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 560 | while( ldp = strstr(link,tag) ){ | ~~~~^~~~~~~~~~~~~~~~~~ log.cc:560:13: note: place parentheses around the assignment to silence this warning 560 | while( ldp = strstr(link,tag) ){ | ^ | ( ) log.cc:560:13: note: use '==' to turn this assignment into an equality comparison 560 | while( ldp = strstr(link,tag) ){ | ^ | == log.cc:561:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 561 | if( tp = strchr(link,']') ){ | ~~~^~~~~~~~~~~~~~~~~~ log.cc:561:10: note: place parentheses around the assignment to silence this warning 561 | if( tp = strchr(link,']') ){ | ^ | ( ) log.cc:561:10: note: use '==' to turn this assignment into an equality comparison 561 | if( tp = strchr(link,']') ){ | ^ | == log.cc:569:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 569 | while( fdp = strstr(file,tag) ){ | ~~~~^~~~~~~~~~~~~~~~~~ log.cc:569:13: note: place parentheses around the assignment to silence this warning 569 | while( fdp = strstr(file,tag) ){ | ^ | ( ) log.cc:569:13: note: use '==' to turn this assignment into an equality comparison 569 | while( fdp = strstr(file,tag) ){ | ^ | == log.cc:572:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 572 | if( tp = strchr(format,']') ){ | ~~~^~~~~~~~~~~~~~~~~~~~ log.cc:572:10: note: place parentheses around the assignment to silence this warning 572 | if( tp = strchr(format,']') ){ | ^ | ( ) log.cc:572:10: note: use '==' to turn this assignment into an equality comparison 572 | if( tp = strchr(format,']') ){ | ^ | == log.cc:751:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 751 | if( tfp = fopen(current,"a") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~ log.cc:751:11: note: place parentheses around the assignment to silence this warning 751 | if( tfp = fopen(current,"a") ){ | ^ | ( ) log.cc:751:11: note: use '==' to turn this assignment into an equality comparison 751 | if( tfp = fopen(current,"a") ){ | ^ | == log.cc:917:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 917 | if( filters = logF->l_filters ){ | ~~~~~~~~^~~~~~~~~~~~~~~~~ log.cc:917:15: note: place parentheses around the assignment to silence this warning 917 | if( filters = logF->l_filters ){ | ^ | ( ) log.cc:917:15: note: use '==' to turn this assignment into an equality comparison 917 | if( filters = logF->l_filters ){ | ^ | == log.cc:994:14: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 994 | LOG_GENERIC = 1; | ^ ~ log.cc:1071:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1071 | if( ex = LogF->l_ex ){ | ~~~^~~~~~~~~~~~ log.cc:1071:9: note: place parentheses around the assignment to silence this warning 1071 | if( ex = LogF->l_ex ){ | ^ | ( ) log.cc:1071:9: note: use '==' to turn this assignment into an equality comparison 1071 | if( ex = LogF->l_ex ){ | ^ | == log.cc:1265:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1265 | if( fp = fdopen(fd,"a") ) | ~~~^~~~~~~~~~~~~~~~ log.cc:1265:10: note: place parentheses around the assignment to silence this warning 1265 | if( fp = fdopen(fd,"a") ) | ^ | ( ) log.cc:1265:10: note: use '==' to turn this assignment into an equality comparison 1265 | if( fp = fdopen(fd,"a") ) | ^ | == log.cc:1446:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1446 | if( actth = actthreads() ){ | ~~~~~~^~~~~~~~~~~~~~ log.cc:1446:12: note: place parentheses around the assignment to silence this warning 1446 | if( actth = actthreads() ){ | ^ | ( ) log.cc:1446:12: note: use '==' to turn this assignment into an equality comparison 1446 | if( actth = actthreads() ){ | ^ | == log.cc:1991:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1991 | if( fp = dirfopen("PortFile",AVStr(PortF.l_path),"r") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ log.cc:1991:10: note: place parentheses around the assignment to silence this warning 1991 | if( fp = dirfopen("PortFile",AVStr(PortF.l_path),"r") ){ | ^ | ( ) log.cc:1991:10: note: use '==' to turn this assignment into an equality comparison 1991 | if( fp = dirfopen("PortFile",AVStr(PortF.l_path),"r") ){ | ^ | == log.cc:2043:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2043 | while( ep = strstr(bgn,end) ){ | ~~~^~~~~~~~~~~~~~~~~ log.cc:2043:13: note: place parentheses around the assignment to silence this warning 2043 | while( ep = strstr(bgn,end) ){ | ^ | ( ) log.cc:2043:13: note: use '==' to turn this assignment into an equality comparison 2043 | while( ep = strstr(bgn,end) ){ | ^ | == log.cc:2096:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2096 | if( LogF = LOG_which("ftp",LF_PROTOLOG,0) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ log.cc:2096:11: note: place parentheses around the assignment to silence this warning 2096 | if( LogF = LOG_which("ftp",LF_PROTOLOG,0) ){ | ^ | ( ) log.cc:2096:11: note: use '==' to turn this assignment into an equality comparison 2096 | if( LogF = LOG_which("ftp",LF_PROTOLOG,0) ){ | ^ | == log.cc:2177:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2177 | if( np = strchr(lp,'\n') ){ | ~~~^~~~~~~~~~~~~~~~~ log.cc:2177:10: note: place parentheses around the assignment to silence this warning 2177 | if( np = strchr(lp,'\n') ){ | ^ | ( ) log.cc:2177:10: note: use '==' to turn this assignment into an equality comparison 2177 | if( np = strchr(lp,'\n') ){ | ^ | == log.cc:2250:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2250 | if( fp = fopen(unlinkv[ui],"r") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ log.cc:2250:10: note: place parentheses around the assignment to silence this warning 2250 | if( fp = fopen(unlinkv[ui],"r") ){ | ^ | ( ) log.cc:2250:10: note: use '==' to turn this assignment into an equality comparison 2250 | if( fp = fopen(unlinkv[ui],"r") ){ | ^ | == log.cc:2535:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2535 | for( rp = reason; rc = *rp; rp++ ){ | ~~~^~~~~ log.cc:2535:23: note: place parentheses around the assignment to silence this warning 2535 | for( rp = reason; rc = *rp; rp++ ){ | ^ | ( ) log.cc:2535:23: note: use '==' to turn this assignment into an equality comparison 2535 | for( rp = reason; rc = *rp; rp++ ){ | ^ | == log.cc:2560:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2560 | if( fp = dirfopen("MBOXMUID",AVStr(path),"w+") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ log.cc:2560:10: note: place parentheses around the assignment to silence this warning 2560 | if( fp = dirfopen("MBOXMUID",AVStr(path),"w+") ) | ^ | ( ) log.cc:2560:10: note: use '==' to turn this assignment into an equality comparison 2560 | if( fp = dirfopen("MBOXMUID",AVStr(path),"w+") ) | ^ | == log.cc:2564:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2564 | if( fp = dirfopen("MBOXMUID",AVStr(path),"r+") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ log.cc:2564:10: note: place parentheses around the assignment to silence this warning 2564 | if( fp = dirfopen("MBOXMUID",AVStr(path),"r+") ){ | ^ | ( ) log.cc:2564:10: note: use '==' to turn this assignment into an equality comparison 2564 | if( fp = dirfopen("MBOXMUID",AVStr(path),"r+") ){ | ^ | == log.cc:2581:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2581 | if( ufp = openMuid(1,muid,AVStr(mbox)) ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ log.cc:2581:12: note: place parentheses around the assignment to silence this warning 2581 | if( ufp = openMuid(1,muid,AVStr(mbox)) ) | ^ | ( ) log.cc:2581:12: note: use '==' to turn this assignment into an equality comparison 2581 | if( ufp = openMuid(1,muid,AVStr(mbox)) ) | ^ | == log.cc:2779:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2779 | if( dp = strchr(path,HS_SET) ) | ~~~^~~~~~~~~~~~~~~~~~~~~ log.cc:2779:12: note: place parentheses around the assignment to silence this warning 2779 | if( dp = strchr(path,HS_SET) ) | ^ | ( ) log.cc:2779:12: note: use '==' to turn this assignment into an equality comparison 2779 | if( dp = strchr(path,HS_SET) ) | ^ | == log.cc:2836:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2836 | if( dp = strchr(addr,HS_SET) ) | ~~~^~~~~~~~~~~~~~~~~~~~~ log.cc:2836:10: note: place parentheses around the assignment to silence this warning 2836 | if( dp = strchr(addr,HS_SET) ) | ^ | ( ) log.cc:2836:10: note: use '==' to turn this assignment into an equality comparison 2836 | if( dp = strchr(addr,HS_SET) ) | ^ | == log.cc:2958:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2958 | if( addr = gethostaddr(host) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~ log.cc:2958:15: note: place parentheses around the assignment to silence this warning 2958 | if( addr = gethostaddr(host) ){ | ^ | ( ) log.cc:2958:15: note: use '==' to turn this assignment into an equality comparison 2958 | if( addr = gethostaddr(host) ){ | ^ | == log.cc:3072:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3072 | if( lkfp = dirfopen("LOCALLOCK",AVStr(lkpath),"w+") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ log.cc:3072:11: note: place parentheses around the assignment to silence this warning 3072 | if( lkfp = dirfopen("LOCALLOCK",AVStr(lkpath),"w+") ){ | ^ | ( ) log.cc:3072:11: note: use '==' to turn this assignment into an equality comparison 3072 | if( lkfp = dirfopen("LOCALLOCK",AVStr(lkpath),"w+") ){ | ^ | == log.cc:3092:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3092 | if( file = getenv("DELEGATE_LOGLOG") ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ log.cc:3092:11: note: place parentheses around the assignment to silence this warning 3092 | if( file = getenv("DELEGATE_LOGLOG") ) | ^ | ( ) log.cc:3092:11: note: use '==' to turn this assignment into an equality comparison 3092 | if( file = getenv("DELEGATE_LOGLOG") ) | ^ | == log.cc:3093:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3093 | if( logfp = fopen(file,"a") ){ | ~~~~~~^~~~~~~~~~~~~~~~~ log.cc:3093:12: note: place parentheses around the assignment to silence this warning 3093 | if( logfp = fopen(file,"a") ){ | ^ | ( ) log.cc:3093:12: note: use '==' to turn this assignment into an equality comparison 3093 | if( logfp = fopen(file,"a") ){ | ^ | == log.cc:3235:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3235 | if( pfp = fopen(path,"a") ){ | ~~~~^~~~~~~~~~~~~~~~~ log.cc:3235:10: note: place parentheses around the assignment to silence this warning 3235 | if( pfp = fopen(path,"a") ){ | ^ | ( ) log.cc:3235:10: note: use '==' to turn this assignment into an equality comparison 3235 | if( pfp = fopen(path,"a") ){ | ^ | == log.cc:3255:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3255 | if( pfp = proc_fp ){ | ~~~~^~~~~~~~~ log.cc:3255:10: note: place parentheses around the assignment to silence this warning 3255 | if( pfp = proc_fp ){ | ^ | ( ) log.cc:3255:10: note: use '==' to turn this assignment into an equality comparison 3255 | if( pfp = proc_fp ){ | ^ | == log.cc:3263:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3263 | if( pp = strrchr(path,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~~ log.cc:3263:10: note: place parentheses around the assignment to silence this warning 3263 | if( pp = strrchr(path,'/') ){ | ^ | ( ) log.cc:3263:10: note: use '==' to turn this assignment into an equality comparison 3263 | if( pp = strrchr(path,'/') ){ | ^ | == 30 warnings generated. ../mkcpp svstat.c svstat.cc -- mkcpp set time: 1791324521 -> 1208298652 svstat.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c svstat.cc svstat.cc:341:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 341 | while( fc = *fp++ ){ | ~~~^~~~~~~ svstat.cc:341:12: note: place parentheses around the assignment to silence this warning 341 | while( fc = *fp++ ){ | ^ | ( ) svstat.cc:341:12: note: use '==' to turn this assignment into an equality comparison 341 | while( fc = *fp++ ){ | ^ | == svstat.cc:522:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 522 | if( fc = '[' ){ | ~~~^~~~~ svstat.cc:522:11: note: place parentheses around the assignment to silence this warning 522 | if( fc = '[' ){ | ^ | ( ) svstat.cc:522:11: note: use '==' to turn this assignment into an equality comparison 522 | if( fc = '[' ){ | ^ | == svstat.cc:523:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 523 | if( tp = strchr(fp,']') ){ | ~~~^~~~~~~~~~~~~~~~ svstat.cc:523:12: note: place parentheses around the assignment to silence this warning 523 | if( tp = strchr(fp,']') ){ | ^ | ( ) svstat.cc:523:12: note: use '==' to turn this assignment into an equality comparison 523 | if( tp = strchr(fp,']') ){ | ^ | == 3 warnings generated. ../mkcpp iotimeout.c iotimeout.cc -- mkcpp set time: 1791324521 -> 1230704001 iotimeout.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c iotimeout.cc iotimeout.cc:63:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 63 | if( closed = checkCloseOnTimeout(1) ) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ iotimeout.cc:63:14: note: place parentheses around the assignment to silence this warning 63 | if( closed = checkCloseOnTimeout(1) ) | ^ | ( ) iotimeout.cc:63:14: note: use '==' to turn this assignment into an equality comparison 63 | if( closed = checkCloseOnTimeout(1) ) | ^ | == iotimeout.cc:1010:20: warning: array index 2 is past the end of the array (that has type 'int[2]') [-Warray-bounds] 1010 | nready = rev[0] = rev[2] = 0; | ^ ~ iotimeout.cc:1005:3: note: array 'rev' declared here 1005 | { int rcode,sock,nready,fdv[2],qev[2],rev[2]; | ^ 2 warnings generated. ../mkcpp misc.c misc.cc -- mkcpp set time: 1791324521 -> 1202707595 misc.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c misc.cc misc.cc:223:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 223 | if( dp = strrchr(dir,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~ misc.cc:223:9: note: place parentheses around the assignment to silence this warning 223 | if( dp = strrchr(dir,'/') ){ | ^ | ( ) misc.cc:223:9: note: use '==' to turn this assignment into an equality comparison 223 | if( dp = strrchr(dir,'/') ){ | ^ | == misc.cc:231:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 231 | if( sfp = dgfopen("copyFile-src","",src,"r") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.cc:231:11: note: place parentheses around the assignment to silence this warning 231 | if( sfp = dgfopen("copyFile-src","",src,"r") ){ | ^ | ( ) misc.cc:231:11: note: use '==' to turn this assignment into an equality comparison 231 | if( sfp = dgfopen("copyFile-src","",src,"r") ){ | ^ | == misc.cc:233:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 233 | if( dfp = dgfopen("copyFile-append","",dst,mode) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.cc:233:12: note: place parentheses around the assignment to silence this warning 233 | if( dfp = dgfopen("copyFile-append","",dst,mode) ){ | ^ | ( ) misc.cc:233:12: note: use '==' to turn this assignment into an equality comparison 233 | if( dfp = dgfopen("copyFile-append","",dst,mode) ){ | ^ | == misc.cc:244:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 244 | if( dfp = dgfopen("copyFile-create","",xnew,"w") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.cc:244:12: note: place parentheses around the assignment to silence this warning 244 | if( dfp = dgfopen("copyFile-create","",xnew,"w") ){ | ^ | ( ) misc.cc:244:12: note: use '==' to turn this assignment into an equality comparison 244 | if( dfp = dgfopen("copyFile-create","",xnew,"w") ){ | ^ | == 4 warnings generated. ../mkcpp msg.c msg.cc -- mkcpp set time: 1791324522 -> 1149554027 msg.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c msg.cc msg.cc:46:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 46 | for( sp = status; ch = *sp; sp++ ){ | ~~~^~~~~ msg.cc:46:23: note: place parentheses around the assignment to silence this warning 46 | for( sp = status; ch = *sp; sp++ ){ | ^ | ( ) msg.cc:46:23: note: use '==' to turn this assignment into an equality comparison 46 | for( sp = status; ch = *sp; sp++ ){ | ^ | == msg.cc:63:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 63 | while( ch = *sp++ ){ | ~~~^~~~~~~ msg.cc:63:12: note: place parentheses around the assignment to silence this warning 63 | while( ch = *sp++ ){ | ^ | ( ) msg.cc:63:12: note: use '==' to turn this assignment into an equality comparison 63 | while( ch = *sp++ ){ | ^ | == msg.cc:94:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 94 | if( xsize = putmsghead("putMessage",ser,buff,size,dstf,encode,AVStr(xbuff)) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ msg.cc:94:12: note: place parentheses around the assignment to silence this warning 94 | if( xsize = putmsghead("putMessage",ser,buff,size,dstf,encode,AVStr(xbuff)) ){ | ^ | ( ) msg.cc:94:12: note: use '==' to turn this assignment into an equality comparison 94 | if( xsize = putmsghead("putMessage",ser,buff,size,dstf,encode,AVStr(xbuff)) ){ | ^ | == msg.cc:159:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 159 | for( ser = 1; rcc = freadIntime(AVStr(buff),1,sizeof(buff),srcf,MSG_TIMEOUT); ser++ ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ msg.cc:159:20: note: place parentheses around the assignment to silence this warning 159 | for( ser = 1; rcc = freadIntime(AVStr(buff),1,sizeof(buff),srcf,MSG_TIMEOUT); ser++ ){ | ^ | ( ) msg.cc:159:20: note: use '==' to turn this assignment into an equality comparison 159 | for( ser = 1; rcc = freadIntime(AVStr(buff),1,sizeof(buff),srcf,MSG_TIMEOUT); ser++ ){ | ^ | == msg.cc:263:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 263 | if( pending = Pending ){ | ~~~~~~~~^~~~~~~~~ msg.cc:263:14: note: place parentheses around the assignment to silence this warning 263 | if( pending = Pending ){ | ^ | ( ) msg.cc:263:14: note: use '==' to turn this assignment into an equality comparison 263 | if( pending = Pending ){ | ^ | == msg.cc:426:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 426 | if( xsize = putmsghead("cpy1",ser,buff,leng,dst,encode,AVStr(xbuff)) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ msg.cc:426:12: note: place parentheses around the assignment to silence this warning 426 | if( xsize = putmsghead("cpy1",ser,buff,leng,dst,encode,AVStr(xbuff)) ){ | ^ | ( ) msg.cc:426:12: note: use '==' to turn this assignment into an equality comparison 426 | if( xsize = putmsghead("cpy1",ser,buff,leng,dst,encode,AVStr(xbuff)) ){ | ^ | == 6 warnings generated. ../mkcpp yshell.c yshell.cc -- mkcpp set time: 1791324522 -> 1223354220 yshell.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c yshell.cc yshell.cc:233:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 233 | if( lfp = _logMonFp ){ | ~~~~^~~~~~~~~~~ yshell.cc:233:10: note: place parentheses around the assignment to silence this warning 233 | if( lfp = _logMonFp ){ | ^ | ( ) yshell.cc:233:10: note: use '==' to turn this assignment into an equality comparison 233 | if( lfp = _logMonFp ){ | ^ | == yshell.cc:249:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 249 | "cd [path]", | ^ yshell.cc:250:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 250 | "cp [-p] srcpath dstpath", | ^ yshell.cc:251:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 251 | "ls [-t] [path]", | ^ yshell.cc:252:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 252 | "ln [-s] path newpath", | ^ yshell.cc:253:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 253 | "rm [path]", | ^ yshell.cc:389:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 389 | for( rp = buf; ch = *rp; rp++ ){ hputc(Ysh,pch = ch); } | ~~~^~~~~ yshell.cc:389:20: note: place parentheses around the assignment to silence this warning 389 | for( rp = buf; ch = *rp; rp++ ){ hputc(Ysh,pch = ch); } | ^ | ( ) yshell.cc:389:20: note: use '==' to turn this assignment into an equality comparison 389 | for( rp = buf; ch = *rp; rp++ ){ hputc(Ysh,pch = ch); } | ^ | == yshell.cc:390:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 390 | for( rp = req; ch = *rp; rp++ ){ hputc(Ysh,pch = ch); } | ~~~^~~~~ yshell.cc:390:20: note: place parentheses around the assignment to silence this warning 390 | for( rp = req; ch = *rp; rp++ ){ hputc(Ysh,pch = ch); } | ^ | ( ) yshell.cc:390:20: note: use '==' to turn this assignment into an equality comparison 390 | for( rp = req; ch = *rp; rp++ ){ hputc(Ysh,pch = ch); } | ^ | == yshell.cc:554:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 554 | if( dp = strrchr(curl,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~~ yshell.cc:554:10: note: place parentheses around the assignment to silence this warning 554 | if( dp = strrchr(curl,'/') ){ | ^ | ( ) yshell.cc:554:10: note: use '==' to turn this assignment into an equality comparison 554 | if( dp = strrchr(curl,'/') ){ | ^ | == yshell.cc:606:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 606 | if( dp = strrchr(upath,'/') ) | ~~~^~~~~~~~~~~~~~~~~~~~ yshell.cc:606:11: note: place parentheses around the assignment to silence this warning 606 | if( dp = strrchr(upath,'/') ) | ^ | ( ) yshell.cc:606:11: note: use '==' to turn this assignment into an equality comparison 606 | if( dp = strrchr(upath,'/') ) | ^ | == yshell.cc:615:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 615 | if( fp = fopen(lpath,"w+") ){ | ~~~^~~~~~~~~~~~~~~~~~~ yshell.cc:615:9: note: place parentheses around the assignment to silence this warning 615 | if( fp = fopen(lpath,"w+") ){ | ^ | ( ) yshell.cc:615:9: note: use '==' to turn this assignment into an equality comparison 615 | if( fp = fopen(lpath,"w+") ){ | ^ | == yshell.cc:731:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 731 | if( fp1 = fopen(path1,"r") ){ | ~~~~^~~~~~~~~~~~~~~~~~ yshell.cc:731:12: note: place parentheses around the assignment to silence this warning 731 | if( fp1 = fopen(path1,"r") ){ | ^ | ( ) yshell.cc:731:12: note: use '==' to turn this assignment into an equality comparison 731 | if( fp1 = fopen(path1,"r") ){ | ^ | == yshell.cc:742:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 742 | if( fp1 = fopen(path1,"r") ){ | ~~~~^~~~~~~~~~~~~~~~~~ yshell.cc:742:11: note: place parentheses around the assignment to silence this warning 742 | if( fp1 = fopen(path1,"r") ){ | ^ | ( ) yshell.cc:742:11: note: use '==' to turn this assignment into an equality comparison 742 | if( fp1 = fopen(path1,"r") ){ | ^ | == yshell.cc:754:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 754 | if( fp1 = fopen(path1,"r") ){ | ~~~~^~~~~~~~~~~~~~~~~~ yshell.cc:754:11: note: place parentheses around the assignment to silence this warning 754 | if( fp1 = fopen(path1,"r") ){ | ^ | ( ) yshell.cc:754:11: note: use '==' to turn this assignment into an equality comparison 754 | if( fp1 = fopen(path1,"r") ){ | ^ | == yshell.cc:773:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 773 | if( fp1 = fopen(path1,"w") ){ | ~~~~^~~~~~~~~~~~~~~~~~ yshell.cc:773:11: note: place parentheses around the assignment to silence this warning 773 | if( fp1 = fopen(path1,"w") ){ | ^ | ( ) yshell.cc:773:11: note: use '==' to turn this assignment into an equality comparison 773 | if( fp1 = fopen(path1,"w") ){ | ^ | == yshell.cc:782:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 782 | if( fp1 = fopen(path1,"a") ){ | ~~~~^~~~~~~~~~~~~~~~~~ yshell.cc:782:11: note: place parentheses around the assignment to silence this warning 782 | if( fp1 = fopen(path1,"a") ){ | ^ | ( ) yshell.cc:782:11: note: use '==' to turn this assignment into an equality comparison 782 | if( fp1 = fopen(path1,"a") ){ | ^ | == yshell.cc:790:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 790 | if( fp1 = fopen(path1,"a") ){ | ~~~~^~~~~~~~~~~~~~~~~~ yshell.cc:790:11: note: place parentheses around the assignment to silence this warning 790 | if( fp1 = fopen(path1,"a") ){ | ^ | ( ) yshell.cc:790:11: note: use '==' to turn this assignment into an equality comparison 790 | if( fp1 = fopen(path1,"a") ){ | ^ | == yshell.cc:800:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 800 | if( fp1 = fopen(path1,"r") ){ | ~~~~^~~~~~~~~~~~~~~~~~ yshell.cc:800:11: note: place parentheses around the assignment to silence this warning 800 | if( fp1 = fopen(path1,"r") ){ | ^ | ( ) yshell.cc:800:11: note: use '==' to turn this assignment into an equality comparison 800 | if( fp1 = fopen(path1,"r") ){ | ^ | == yshell.cc:801:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 801 | if( fp2 = fopen(path2,"w") ){ | ~~~~^~~~~~~~~~~~~~~~~~ yshell.cc:801:12: note: place parentheses around the assignment to silence this warning 801 | if( fp2 = fopen(path2,"w") ){ | ^ | ( ) yshell.cc:801:12: note: use '==' to turn this assignment into an equality comparison 801 | if( fp2 = fopen(path2,"w") ){ | ^ | == yshell.cc:913:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 913 | if( dp = strheadstrX(head,"Authorization:",0) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ yshell.cc:913:10: note: place parentheses around the assignment to silence this warning 913 | if( dp = strheadstrX(head,"Authorization:",0) ){ | ^ | ( ) yshell.cc:913:10: note: use '==' to turn this assignment into an equality comparison 913 | if( dp = strheadstrX(head,"Authorization:",0) ){ | ^ | == yshell.cc:1052:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1052 | static char *timefmt = "%y/%m/%d,%H:%M:%S"; | ^ yshell.cc:1148:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1148 | if( ts = fdopen(sock,"w") ){ | ~~~^~~~~~~~~~~~~~~~~~ yshell.cc:1148:9: note: place parentheses around the assignment to silence this warning 1148 | if( ts = fdopen(sock,"w") ){ | ^ | ( ) yshell.cc:1148:9: note: use '==' to turn this assignment into an equality comparison 1148 | if( ts = fdopen(sock,"w") ){ | ^ | == yshell.cc:1153:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1153 | if( fs = fdopen(dup(sock),"r") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~ yshell.cc:1153:10: note: place parentheses around the assignment to silence this warning 1153 | if( fs = fdopen(dup(sock),"r") ){ | ^ | ( ) yshell.cc:1153:10: note: use '==' to turn this assignment into an equality comparison 1153 | if( fs = fdopen(dup(sock),"r") ){ | ^ | == yshell.cc:1324:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1324 | if( query = strchr(Com,'?') ){ | ~~~~~~^~~~~~~~~~~~~~~~~ yshell.cc:1324:14: note: place parentheses around the assignment to silence this warning 1324 | if( query = strchr(Com,'?') ){ | ^ | ( ) yshell.cc:1324:14: note: use '==' to turn this assignment into an equality comparison 1324 | if( query = strchr(Com,'?') ){ | ^ | == 24 warnings generated. ../mkcpp shio.c shio.cc -- mkcpp set time: 1791324522 -> 1190409903 shio.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c shio.cc shio.cc:127:6: warning: 'vfork' is deprecated: Use posix_spawn or fork [-Wdeprecated-declarations] 127 | if( vfork() == 0 ){ | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/unistd.h:608:1: note: 'vfork' has been explicitly marked deprecated here 608 | __deprecated_msg("Use posix_spawn or fork") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ shio.cc:149:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 149 | if( fp = fopen(file,"r") ){ | ~~~^~~~~~~~~~~~~~~~~ shio.cc:149:9: note: place parentheses around the assignment to silence this warning 149 | if( fp = fopen(file,"r") ){ | ^ | ( ) shio.cc:149:9: note: use '==' to turn this assignment into an equality comparison 149 | if( fp = fopen(file,"r") ){ | ^ | == shio.cc:150:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 150 | while( rc = fread(buff,1,sizeof(buff),fp) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shio.cc:150:13: note: place parentheses around the assignment to silence this warning 150 | while( rc = fread(buff,1,sizeof(buff),fp) ) | ^ | ( ) shio.cc:150:13: note: use '==' to turn this assignment into an equality comparison 150 | while( rc = fread(buff,1,sizeof(buff),fp) ) | ^ | == shio.cc:159:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 159 | while( rc = read(in,buff,sizeof(buff)) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ shio.cc:159:13: note: place parentheses around the assignment to silence this warning 159 | while( rc = read(in,buff,sizeof(buff)) ){ | ^ | ( ) shio.cc:159:13: note: use '==' to turn this assignment into an equality comparison 159 | while( rc = read(in,buff,sizeof(buff)) ){ | ^ | == shio.cc:189:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 189 | for(si = 0; sl = script[si]; si++){ | ~~~^~~~~~~~~~~~ shio.cc:189:17: note: place parentheses around the assignment to silence this warning 189 | for(si = 0; sl = script[si]; si++){ | ^ | ( ) shio.cc:189:17: note: use '==' to turn this assignment into an equality comparison 189 | for(si = 0; sl = script[si]; si++){ | ^ | == 5 warnings generated. ../mkcpp db.c db.cc -- mkcpp set time: 1791324522 -> 1224300392 db.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c db.cc ../mkcpp hostlist.c hostlist.cc -- mkcpp set time: 1791324523 -> 1223566089 hostlist.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c hostlist.cc hostlist.cc:165:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 165 | if( noresolv = *dname == '-' ) | ~~~~~~~~~^~~~~~~~~~~~~~~ hostlist.cc:165:15: note: place parentheses around the assignment to silence this warning 165 | if( noresolv = *dname == '-' ) | ^ | ( ) hostlist.cc:165:15: note: use '==' to turn this assignment into an equality comparison 165 | if( noresolv = *dname == '-' ) | ^ | == hostlist.cc:167:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 167 | if( aflags = strchr(dname,'/') ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~ hostlist.cc:167:13: note: place parentheses around the assignment to silence this warning 167 | if( aflags = strchr(dname,'/') ){ | ^ | ( ) hostlist.cc:167:13: note: use '==' to turn this assignment into an equality comparison 167 | if( aflags = strchr(dname,'/') ){ | ^ | == hostlist.cc:308:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 308 | for( pi = 0; proto1 = protolist[pi]; pi++ ){ | ~~~~~~~^~~~~~~~~~~~~~~ hostlist.cc:308:22: note: place parentheses around the assignment to silence this warning 308 | for( pi = 0; proto1 = protolist[pi]; pi++ ){ | ^ | ( ) hostlist.cc:308:22: note: use '==' to turn this assignment into an equality comparison 308 | for( pi = 0; proto1 = protolist[pi]; pi++ ){ | ^ | == hostlist.cc:354:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 354 | for( ui = 0; user = userlist[ui]; ui++ ){ | ~~~~~^~~~~~~~~~~~~~ hostlist.cc:354:20: note: place parentheses around the assignment to silence this warning 354 | for( ui = 0; user = userlist[ui]; ui++ ){ | ^ | ( ) hostlist.cc:354:20: note: use '==' to turn this assignment into an equality comparison 354 | for( ui = 0; user = userlist[ui]; ui++ ){ | ^ | == hostlist.cc:363:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 363 | if( rexp = rexplist[ui] ){ | ~~~~~^~~~~~~~~~~~~~ hostlist.cc:363:12: note: place parentheses around the assignment to silence this warning 363 | if( rexp = rexplist[ui] ){ | ^ | ( ) hostlist.cc:363:12: note: use '==' to turn this assignment into an equality comparison 363 | if( rexp = rexplist[ui] ){ | ^ | == hostlist.cc:393:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 393 | for( pi = 0; ports = portlist[pi]; pi++ ){ | ~~~~~~^~~~~~~~~~~~~~ hostlist.cc:393:21: note: place parentheses around the assignment to silence this warning 393 | for( pi = 0; ports = portlist[pi]; pi++ ){ | ^ | ( ) hostlist.cc:393:21: note: use '==' to turn this assignment into an equality comparison 393 | for( pi = 0; ports = portlist[pi]; pi++ ){ | ^ | == hostlist.cc:490:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 490 | for( si = 0; sc = st[si]; si++ ){ | ~~~^~~~~~~~ hostlist.cc:490:18: note: place parentheses around the assignment to silence this warning 490 | for( si = 0; sc = st[si]; si++ ){ | ^ | ( ) hostlist.cc:490:18: note: use '==' to turn this assignment into an equality comparison 490 | for( si = 0; sc = st[si]; si++ ){ | ^ | == hostlist.cc:597:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 597 | for( vp += 2; ch = *vp; vp++ ){ | ~~~^~~~~ hostlist.cc:597:19: note: place parentheses around the assignment to silence this warning 597 | for( vp += 2; ch = *vp; vp++ ){ | ^ | ( ) hostlist.cc:597:19: note: use '==' to turn this assignment into an equality comparison 597 | for( vp += 2; ch = *vp; vp++ ){ | ^ | == hostlist.cc:606:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 606 | while( *(char*)sp++ = *vp++ ); | ~~~~~~~~~~~~~^~~~~~~ hostlist.cc:606:22: note: place parentheses around the assignment to silence this warning 606 | while( *(char*)sp++ = *vp++ ); | ^ | ( ) hostlist.cc:606:22: note: use '==' to turn this assignment into an equality comparison 606 | while( *(char*)sp++ = *vp++ ); | ^ | == hostlist.cc:671:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 671 | if( byauth = (hostlist->hl_flags & HL_BYAUTH) ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hostlist.cc:671:13: note: place parentheses around the assignment to silence this warning 671 | if( byauth = (hostlist->hl_flags & HL_BYAUTH) ){ | ^ | ( ) hostlist.cc:671:13: note: use '==' to turn this assignment into an equality comparison 671 | if( byauth = (hostlist->hl_flags & HL_BYAUTH) ){ | ^ | == hostlist.cc:1049:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1049 | if( vdom = scanVdomain(hostname,AVStr(hostnameb),AVStr(vdomb)) ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hostlist.cc:1049:11: note: place parentheses around the assignment to silence this warning 1049 | if( vdom = scanVdomain(hostname,AVStr(hostnameb),AVStr(vdomb)) ) | ^ | ( ) hostlist.cc:1049:11: note: use '==' to turn this assignment into an equality comparison 1049 | if( vdom = scanVdomain(hostname,AVStr(hostnameb),AVStr(vdomb)) ) | ^ | == hostlist.cc:1116:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1116 | if( dp = strchr(ap,'.') ){ | ~~~^~~~~~~~~~~~~~~~ hostlist.cc:1116:10: note: place parentheses around the assignment to silence this warning 1116 | if( dp = strchr(ap,'.') ){ | ^ | ( ) hostlist.cc:1116:10: note: use '==' to turn this assignment into an equality comparison 1116 | if( dp = strchr(ap,'.') ){ | ^ | == hostlist.cc:1153:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1153 | if( dp = strchr(hostmask,'@') ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ hostlist.cc:1153:9: note: place parentheses around the assignment to silence this warning 1153 | if( dp = strchr(hostmask,'@') ) | ^ | ( ) hostlist.cc:1153:9: note: use '==' to turn this assignment into an equality comparison 1153 | if( dp = strchr(hostmask,'@') ) | ^ | == hostlist.cc:1174:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1174 | if( dp = hostpart(list,1) ){ | ~~~^~~~~~~~~~~~~~~~~~ hostlist.cc:1174:9: note: place parentheses around the assignment to silence this warning 1174 | if( dp = hostpart(list,1) ){ | ^ | ( ) hostlist.cc:1174:9: note: use '==' to turn this assignment into an equality comparison 1174 | if( dp = hostpart(list,1) ){ | ^ | == hostlist.cc:1265:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1265 | while( ch = *hp ){ | ~~~^~~~~ hostlist.cc:1265:14: note: place parentheses around the assignment to silence this warning 1265 | while( ch = *hp ){ | ^ | ( ) hostlist.cc:1265:14: note: use '==' to turn this assignment into an equality comparison 1265 | while( ch = *hp ){ | ^ | == hostlist.cc:1331:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1331 | if( route = strstr(hostmask,"//") ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ hostlist.cc:1331:12: note: place parentheses around the assignment to silence this warning 1331 | if( route = strstr(hostmask,"//") ){ | ^ | ( ) hostlist.cc:1331:12: note: use '==' to turn this assignment into an equality comparison 1331 | if( route = strstr(hostmask,"//") ){ | ^ | == hostlist.cc:1390:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1390 | if( mp = strchr(hostmask,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ hostlist.cc:1390:9: note: place parentheses around the assignment to silence this warning 1390 | if( mp = strchr(hostmask,'/') ){ | ^ | ( ) hostlist.cc:1390:9: note: use '==' to turn this assignment into an equality comparison 1390 | if( mp = strchr(hostmask,'/') ){ | ^ | == hostlist.cc:1395:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1395 | if( submask = isnetmasklen(mp) ){ | ~~~~~~~~^~~~~~~~~~~~~~~~~~ hostlist.cc:1395:15: note: place parentheses around the assignment to silence this warning 1395 | if( submask = isnetmasklen(mp) ){ | ^ | ( ) hostlist.cc:1395:15: note: use '==' to turn this assignment into an equality comparison 1395 | if( submask = isnetmasklen(mp) ){ | ^ | == hostlist.cc:1415:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1415 | if( submask = atoi(&mp[2]) ) | ~~~~~~~~^~~~~~~~~~~~~~ hostlist.cc:1415:16: note: place parentheses around the assignment to silence this warning 1415 | if( submask = atoi(&mp[2]) ) | ^ | ( ) hostlist.cc:1415:16: note: use '==' to turn this assignment into an equality comparison 1415 | if( submask = atoi(&mp[2]) ) | ^ | == hostlist.cc:1441:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1441 | if( dp = strchr(hostnameb,'@') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~ hostlist.cc:1441:10: note: place parentheses around the assignment to silence this warning 1441 | if( dp = strchr(hostnameb,'@') ){ | ^ | ( ) hostlist.cc:1441:10: note: use '==' to turn this assignment into an equality comparison 1441 | if( dp = strchr(hostnameb,'@') ){ | ^ | == hostlist.cc:1445:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1445 | if( pp = strchr(users,'}') ) | ~~~^~~~~~~~~~~~~~~~~~~ hostlist.cc:1445:12: note: place parentheses around the assignment to silence this warning 1445 | if( pp = strchr(users,'}') ) | ^ | ( ) hostlist.cc:1445:12: note: use '==' to turn this assignment into an equality comparison 1445 | if( pp = strchr(users,'}') ) | ^ | == hostlist.cc:1844:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1844 | }else{ | ^ 22 warnings generated. ../mkcpp cond.c cond.cc -- mkcpp set time: 1791324523 -> 1096953390 cond.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c cond.cc ../mkcpp service.c service.cc -- mkcpp set time: 1791324523 -> 1230694608 service.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c service.cc service.cc:76:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 76 | for( si = 1; nm = services[si].s_name; si++ ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ service.cc:76:18: note: place parentheses around the assignment to silence this warning 76 | for( si = 1; nm = services[si].s_name; si++ ){ | ^ | ( ) service.cc:76:18: note: use '==' to turn this assignment into an equality comparison 76 | for( si = 1; nm = services[si].s_name; si++ ){ | ^ | == service.cc:110:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 110 | if( si = servicex(proto) ){ | ~~~^~~~~~~~~~~~~~~~~ service.cc:110:10: note: place parentheses around the assignment to silence this warning 110 | if( si = servicex(proto) ){ | ^ | ( ) service.cc:110:10: note: use '==' to turn this assignment into an equality comparison 110 | if( si = servicex(proto) ){ | ^ | == service.cc:119:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 119 | if( si = servicex(proto) ){ | ~~~^~~~~~~~~~~~~~~~~ service.cc:119:9: note: place parentheses around the assignment to silence this warning 119 | if( si = servicex(proto) ){ | ^ | ( ) service.cc:119:9: note: use '==' to turn this assignment into an equality comparison 119 | if( si = servicex(proto) ){ | ^ | == service.cc:129:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 129 | for( fi = 1; name = services[fi].s_name; fi++ ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~ service.cc:129:20: note: place parentheses around the assignment to silence this warning 129 | for( fi = 1; name = services[fi].s_name; fi++ ) | ^ | ( ) service.cc:129:20: note: use '==' to turn this assignment into an equality comparison 129 | for( fi = 1; name = services[fi].s_name; fi++ ) | ^ | == service.cc:190:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 190 | if( sx = servicex(proto) ) | ~~~^~~~~~~~~~~~~~~~~ service.cc:190:9: note: place parentheses around the assignment to silence this warning 190 | if( sx = servicex(proto) ) | ^ | ( ) service.cc:190:9: note: use '==' to turn this assignment into an equality comparison 190 | if( sx = servicex(proto) ) | ^ | == service.cc:191:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 191 | if( svfunc = services[sx].s_client ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ service.cc:191:13: note: place parentheses around the assignment to silence this warning 191 | if( svfunc = services[sx].s_client ){ | ^ | ( ) service.cc:191:13: note: use '==' to turn this assignment into an equality comparison 191 | if( svfunc = services[sx].s_client ){ | ^ | == service.cc:193:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 193 | for( si = 1; name = services[si].s_name; si++ ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~ service.cc:193:21: note: place parentheses around the assignment to silence this warning 193 | for( si = 1; name = services[si].s_name; si++ ){ | ^ | ( ) service.cc:193:21: note: use '==' to turn this assignment into an equality comparison 193 | for( si = 1; name = services[si].s_name; si++ ){ | ^ | == service.cc:205:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 205 | if( si = servicex(service) ) | ~~~^~~~~~~~~~~~~~~~~~~ service.cc:205:9: note: place parentheses around the assignment to silence this warning 205 | if( si = servicex(service) ) | ^ | ( ) service.cc:205:9: note: use '==' to turn this assignment into an equality comparison 205 | if( si = servicex(service) ) | ^ | == service.cc:212:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 212 | if( si = servicex(proto) ) | ~~~^~~~~~~~~~~~~~~~~ service.cc:212:9: note: place parentheses around the assignment to silence this warning 212 | if( si = servicex(proto) ) | ^ | ( ) service.cc:212:9: note: use '==' to turn this assignment into an equality comparison 212 | if( si = servicex(proto) ) | ^ | == service.cc:219:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 219 | if( si = servicex(service) ) | ~~~^~~~~~~~~~~~~~~~~~~ service.cc:219:9: note: place parentheses around the assignment to silence this warning 219 | if( si = servicex(service) ) | ^ | ( ) service.cc:219:9: note: use '==' to turn this assignment into an equality comparison 219 | if( si = servicex(service) ) | ^ | == service.cc:288:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 288 | for( si = 1; pn = services[si].s_name; si++ ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ service.cc:288:18: note: place parentheses around the assignment to silence this warning 288 | for( si = 1; pn = services[si].s_name; si++ ){ | ^ | ( ) service.cc:288:18: note: use '==' to turn this assignment into an equality comparison 288 | for( si = 1; pn = services[si].s_name; si++ ){ | ^ | == service.cc:377:20: warning: 'sizeof' call operates on objects of type 'Connection05' (aka 'DGCtx') while the size is based on a different type 'Connection05 *' (aka 'DGCtx *') [-Wsizeof-pointer-memaccess] 377 | bzero(Conn,sizeof(Conn)); | ~~~~ ^~~~ service.cc:377:20: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)? 377 | bzero(Conn,sizeof(Conn)); | ^~~~ service.cc:921:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 921 | if( diff = v1[vi] - v2[vi] ) | ~~~~~^~~~~~~~~~~~~~~~~ service.cc:921:12: note: place parentheses around the assignment to silence this warning 921 | if( diff = v1[vi] - v2[vi] ) | ^ | ( ) service.cc:921:12: note: use '==' to turn this assignment into an equality comparison 921 | if( diff = v1[vi] - v2[vi] ) | ^ | == service.cc:1008:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1008 | if( wa = CTX_withAuth(Conn) ){ | ~~~^~~~~~~~~~~~~~~~~~~~ service.cc:1008:9: note: place parentheses around the assignment to silence this warning 1008 | if( wa = CTX_withAuth(Conn) ){ | ^ | ( ) service.cc:1008:9: note: use '==' to turn this assignment into an equality comparison 1008 | if( wa = CTX_withAuth(Conn) ){ | ^ | == service.cc:1235:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1235 | if( map = Conn->sv_portmap ){ | ~~~~^~~~~~~~~~~~~~~~~~ service.cc:1235:10: note: place parentheses around the assignment to silence this warning 1235 | if( map = Conn->sv_portmap ){ | ^ | ( ) service.cc:1235:10: note: use '==' to turn this assignment into an equality comparison 1235 | if( map = Conn->sv_portmap ){ | ^ | == service.cc:1394:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1394 | if( dp = strrchr(login,':') ){ | ~~~^~~~~~~~~~~~~~~~~~~~ service.cc:1394:9: note: place parentheses around the assignment to silence this warning 1394 | if( dp = strrchr(login,':') ){ | ^ | ( ) service.cc:1394:9: note: use '==' to turn this assignment into an equality comparison 1394 | if( dp = strrchr(login,':') ){ | ^ | == service.cc:1661:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1661 | if( crlfp = strpbrk(line,"\r\n") ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ service.cc:1661:13: note: place parentheses around the assignment to silence this warning 1661 | if( crlfp = strpbrk(line,"\r\n") ){ | ^ | ( ) service.cc:1661:13: note: use '==' to turn this assignment into an equality comparison 1661 | if( crlfp = strpbrk(line,"\r\n") ){ | ^ | == service.cc:1705:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1705 | if( value = strpbrk(line,"\r\n\t ") ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ service.cc:1705:13: note: place parentheses around the assignment to silence this warning 1705 | if( value = strpbrk(line,"\r\n\t ") ){ | ^ | ( ) service.cc:1705:13: note: use '==' to turn this assignment into an equality comparison 1705 | if( value = strpbrk(line,"\r\n\t ") ){ | ^ | == service.cc:1901:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1901 | if( dp = strstr(path+len,me) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ service.cc:1901:10: note: place parentheses around the assignment to silence this warning 1901 | if( dp = strstr(path+len,me) ){ | ^ | ( ) service.cc:1901:10: note: use '==' to turn this assignment into an equality comparison 1901 | if( dp = strstr(path+len,me) ){ | ^ | == service.cc:2221:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2221 | if( filter = getFSV(Conn) ){ | ~~~~~~~^~~~~~~~~~~~~~ service.cc:2221:13: note: place parentheses around the assignment to silence this warning 2221 | if( filter = getFSV(Conn) ){ | ^ | ( ) service.cc:2221:13: note: use '==' to turn this assignment into an equality comparison 2221 | if( filter = getFSV(Conn) ){ | ^ | == service.cc:2337:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2337 | else | ^ service.cc:2429:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2429 | if( addr = gethostaddr(host) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~ service.cc:2429:14: note: place parentheses around the assignment to silence this warning 2429 | if( addr = gethostaddr(host) ){ | ^ | ( ) service.cc:2429:14: note: use '==' to turn this assignment into an equality comparison 2429 | if( addr = gethostaddr(host) ){ | ^ | == service.cc:2586:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2586 | if( server = strchr(host,'@') ) | ~~~~~~~^~~~~~~~~~~~~~~~~~ service.cc:2586:13: note: place parentheses around the assignment to silence this warning 2586 | if( server = strchr(host,'@') ) | ^ | ( ) service.cc:2586:13: note: use '==' to turn this assignment into an equality comparison 2586 | if( server = strchr(host,'@') ) | ^ | == service.cc:2980:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2980 | if( hp = strchr(server,'@') ) | ~~~^~~~~~~~~~~~~~~~~~~~ service.cc:2980:9: note: place parentheses around the assignment to silence this warning 2980 | if( hp = strchr(server,'@') ) | ^ | ( ) service.cc:2980:9: note: use '==' to turn this assignment into an equality comparison 2980 | if( hp = strchr(server,'@') ) | ^ | == service.cc:3181:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3181 | if( si = servicex(proto) ) | ~~~^~~~~~~~~~~~~~~~~ service.cc:3181:9: note: place parentheses around the assignment to silence this warning 3181 | if( si = servicex(proto) ) | ^ | ( ) service.cc:3181:9: note: use '==' to turn this assignment into an equality comparison 3181 | if( si = servicex(proto) ) | ^ | == service.cc:3196:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3196 | if( si = servicex(proto) ) | ~~~^~~~~~~~~~~~~~~~~ service.cc:3196:9: note: place parentheses around the assignment to silence this warning 3196 | if( si = servicex(proto) ) | ^ | ( ) service.cc:3196:9: note: use '==' to turn this assignment into an equality comparison 3196 | if( si = servicex(proto) ) | ^ | == service.cc:3444:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3444 | if( pp = strstr(host,"..") ){ | ~~~^~~~~~~~~~~~~~~~~~~ service.cc:3444:9: note: place parentheses around the assignment to silence this warning 3444 | if( pp = strstr(host,"..") ){ | ^ | ( ) service.cc:3444:9: note: use '==' to turn this assignment into an equality comparison 3444 | if( pp = strstr(host,"..") ){ | ^ | == 27 warnings generated. ../mkcpp svconf.c svconf.cc -- mkcpp set time: 1791324524 -> 1225769730 svconf.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c svconf.cc ../mkcpp filter.c filter.cc -- mkcpp set time: 1791324524 -> 1230952709 filter.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c filter.cc filter.cc:114:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 114 | for( i = 1; fname1 = tab_filters[i].f_name; i++ ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ filter.cc:114:21: note: place parentheses around the assignment to silence this warning 114 | for( i = 1; fname1 = tab_filters[i].f_name; i++ ){ | ^ | ( ) filter.cc:114:21: note: use '==' to turn this assignment into an equality comparison 114 | for( i = 1; fname1 = tab_filters[i].f_name; i++ ){ | ^ | == filter.cc:180:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 180 | if( dp = strchr(command,']') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ filter.cc:180:9: note: place parentheses around the assignment to silence this warning 180 | if( dp = strchr(command,']') ){ | ^ | ( ) filter.cc:180:9: note: use '==' to turn this assignment into an equality comparison 180 | if( dp = strchr(command,']') ){ | ^ | == filter.cc:500:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 500 | if( env = getenv("GZIP_PATH") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~ filter.cc:500:10: note: place parentheses around the assignment to silence this warning 500 | if( env = getenv("GZIP_PATH") ){ | ^ | ( ) filter.cc:500:10: note: use '==' to turn this assignment into an equality comparison 500 | if( env = getenv("GZIP_PATH") ){ | ^ | == filter.cc:509:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 509 | if( env = getenv("GUNZIP_PATH") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ filter.cc:509:10: note: place parentheses around the assignment to silence this warning 509 | if( env = getenv("GUNZIP_PATH") ){ | ^ | ( ) filter.cc:509:10: note: use '==' to turn this assignment into an equality comparison 509 | if( env = getenv("GUNZIP_PATH") ){ | ^ | == filter.cc:758:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 758 | if( dp = strchr(filterb,',') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ filter.cc:758:11: note: place parentheses around the assignment to silence this warning 758 | if( dp = strchr(filterb,',') ){ | ^ | ( ) filter.cc:758:11: note: use '==' to turn this assignment into an equality comparison 758 | if( dp = strchr(filterb,',') ){ | ^ | == filter.cc:783:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 783 | for( mx = 0; map = getCMAPiMap(mx); mx++ ){ | ~~~~^~~~~~~~~~~~~~~~~ filter.cc:783:19: note: place parentheses around the assignment to silence this warning 783 | for( mx = 0; map = getCMAPiMap(mx); mx++ ){ | ^ | ( ) filter.cc:783:19: note: use '==' to turn this assignment into an equality comparison 783 | for( mx = 0; map = getCMAPiMap(mx); mx++ ){ | ^ | == filter.cc:1162:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1162 | if( dp = strchr(line,'\r') ) | ~~~^~~~~~~~~~~~~~~~~~~ filter.cc:1162:11: note: place parentheses around the assignment to silence this warning 1162 | if( dp = strchr(line,'\r') ) | ^ | ( ) filter.cc:1162:11: note: use '==' to turn this assignment into an equality comparison 1162 | if( dp = strchr(line,'\r') ) | ^ | == filter.cc:1426:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1426 | if( port = HTTP_ClientIF_H(Conn,AVStr(host)) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ filter.cc:1426:11: note: place parentheses around the assignment to silence this warning 1426 | if( port = HTTP_ClientIF_H(Conn,AVStr(host)) ){ | ^ | ( ) filter.cc:1426:11: note: use '==' to turn this assignment into an equality comparison 1426 | if( port = HTTP_ClientIF_H(Conn,AVStr(host)) ){ | ^ | == filter.cc:1433:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1433 | if( addr = gethostaddr(serv) ) | ~~~~~^~~~~~~~~~~~~~~~~~~ filter.cc:1433:11: note: place parentheses around the assignment to silence this warning 1433 | if( addr = gethostaddr(serv) ) | ^ | ( ) filter.cc:1433:11: note: use '==' to turn this assignment into an equality comparison 1433 | if( addr = gethostaddr(serv) ) | ^ | == filter.cc:1499:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1499 | if( command = strchr(pathcom,']') ) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ filter.cc:1499:15: note: place parentheses around the assignment to silence this warning 1499 | if( command = strchr(pathcom,']') ) | ^ | ( ) filter.cc:1499:15: note: use '==' to turn this assignment into an equality comparison 1499 | if( command = strchr(pathcom,']') ) | ^ | == filter.cc:1669:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1669 | if( env = getenv("CFI_SYNC") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~ filter.cc:1669:10: note: place parentheses around the assignment to silence this warning 1669 | if( env = getenv("CFI_SYNC") ){ | ^ | ( ) filter.cc:1669:10: note: use '==' to turn this assignment into an equality comparison 1669 | if( env = getenv("CFI_SYNC") ){ | ^ | == filter.cc:1896:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1896 | if( fp = Conn->xf_fp[fid] ){ | ~~~^~~~~~~~~~~~~~~~~~ filter.cc:1896:10: note: place parentheses around the assignment to silence this warning 1896 | if( fp = Conn->xf_fp[fid] ){ | ^ | ( ) filter.cc:1896:10: note: use '==' to turn this assignment into an equality comparison 1896 | if( fp = Conn->xf_fp[fid] ){ | ^ | == filter.cc:1992:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1992 | for( fid = 1; name = filters[fid].f_name; fid++ ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~ filter.cc:1992:21: note: place parentheses around the assignment to silence this warning 1992 | for( fid = 1; name = filters[fid].f_name; fid++ ){ | ^ | ( ) filter.cc:1992:21: note: use '==' to turn this assignment into an equality comparison 1992 | for( fid = 1; name = filters[fid].f_name; fid++ ){ | ^ | == filter.cc:2183:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2183 | if( rstat = filters[fid].f_stat ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ filter.cc:2183:12: note: place parentheses around the assignment to silence this warning 2183 | if( rstat = filters[fid].f_stat ) | ^ | ( ) filter.cc:2183:12: note: use '==' to turn this assignment into an equality comparison 2183 | if( rstat = filters[fid].f_stat ) | ^ | == filter.cc:2278:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2278 | if( rstat = filters[fid].f_stat ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ filter.cc:2278:12: note: place parentheses around the assignment to silence this warning 2278 | if( rstat = filters[fid].f_stat ) | ^ | ( ) filter.cc:2278:12: note: use '==' to turn this assignment into an equality comparison 2278 | if( rstat = filters[fid].f_stat ) | ^ | == filter.cc:2473:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2473 | }else | ^ filter.cc:2496:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2496 | }else | ^ filter.cc:3088:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 3088 | }else{ | ^ filter.cc:3109:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 3109 | else | ^ filter.cc:3132:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3132 | for( a1 = command; ch = *a1; a1++ ){ | ~~~^~~~~ filter.cc:3132:24: note: place parentheses around the assignment to silence this warning 3132 | for( a1 = command; ch = *a1; a1++ ){ | ^ | ( ) filter.cc:3132:24: note: use '==' to turn this assignment into an equality comparison 3132 | for( a1 = command; ch = *a1; a1++ ){ | ^ | == 20 warnings generated. ../mkcpp master.c master.cc -- mkcpp set time: 1791324524 -> 1227241942 master.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c master.cc master.cc:227:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 227 | if( neg = *proto1 == '-' ) | ~~~~^~~~~~~~~~~~~~~~ master.cc:227:11: note: place parentheses around the assignment to silence this warning 227 | if( neg = *proto1 == '-' ) | ^ | ( ) master.cc:227:11: note: use '==' to turn this assignment into an equality comparison 227 | if( neg = *proto1 == '-' ) | ^ | == master.cc:267:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 267 | for( ni = 0; proto1 = protoV[ni].p_name; ni++ ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~ master.cc:267:22: note: place parentheses around the assignment to silence this warning 267 | for( ni = 0; proto1 = protoV[ni].p_name; ni++ ){ | ^ | ( ) master.cc:267:22: note: use '==' to turn this assignment into an equality comparison 267 | for( ni = 0; proto1 = protoV[ni].p_name; ni++ ){ | ^ | == master.cc:274:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 274 | if( np = protoV[ni].p_portN ){ | ~~~^~~~~~~~~~~~~~~~~~~~ master.cc:274:10: note: place parentheses around the assignment to silence this warning 274 | if( np = protoV[ni].p_portN ){ | ^ | ( ) master.cc:274:10: note: use '==' to turn this assignment into an equality comparison 274 | if( np = protoV[ni].p_portN ){ | ^ | == master.cc:289:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 289 | if( mp = protoV[ni].p_methods ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ master.cc:289:10: note: place parentheses around the assignment to silence this warning 289 | if( mp = protoV[ni].p_methods ){ | ^ | ( ) master.cc:289:10: note: use '==' to turn this assignment into an equality comparison 289 | if( mp = protoV[ni].p_methods ){ | ^ | == master.cc:311:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 311 | for( pi = 0; proto1 = pv[pi]; pi++ ){ | ~~~~~~~^~~~~~~~ master.cc:311:22: note: place parentheses around the assignment to silence this warning 311 | for( pi = 0; proto1 = pv[pi]; pi++ ){ | ^ | ( ) master.cc:311:22: note: use '==' to turn this assignment into an equality comparison 311 | for( pi = 0; proto1 = pv[pi]; pi++ ){ | ^ | == master.cc:372:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 372 | if( match = (strcasecmp(proto,tv[ti])==0) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ master.cc:372:14: note: place parentheses around the assignment to silence this warning 372 | if( match = (strcasecmp(proto,tv[ti])==0) ) | ^ | ( ) master.cc:372:14: note: use '==' to turn this assignment into an equality comparison 372 | if( match = (strcasecmp(proto,tv[ti])==0) ) | ^ | == master.cc:419:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 419 | for( px = 0; aproto = protoV[px].p_name; px++ ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~ master.cc:419:22: note: place parentheses around the assignment to silence this warning 419 | for( px = 0; aproto = protoV[px].p_name; px++ ){ | ^ | ( ) master.cc:419:22: note: use '==' to turn this assignment into an equality comparison 419 | for( px = 0; aproto = protoV[px].p_name; px++ ){ | ^ | == master.cc:443:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 443 | for( px = 0; aproto = protoV[px].p_name; px++ ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~ master.cc:443:22: note: place parentheses around the assignment to silence this warning 443 | for( px = 0; aproto = protoV[px].p_name; px++ ){ | ^ | ( ) master.cc:443:22: note: use '==' to turn this assignment into an equality comparison 443 | for( px = 0; aproto = protoV[px].p_name; px++ ){ | ^ | == master.cc:465:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 465 | for( px = 0; aproto = protoV[px].p_name; px++ ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~ master.cc:465:22: note: place parentheses around the assignment to silence this warning 465 | for( px = 0; aproto = protoV[px].p_name; px++ ){ | ^ | ( ) master.cc:465:22: note: use '==' to turn this assignment into an equality comparison 465 | for( px = 0; aproto = protoV[px].p_name; px++ ){ | ^ | == master.cc:730:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 730 | if( pl = protoMatch1(Rp->m_protoV,proto,dport) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ master.cc:730:11: note: place parentheses around the assignment to silence this warning 730 | if( pl = protoMatch1(Rp->m_protoV,proto,dport) ){ | ^ | ( ) master.cc:730:11: note: use '==' to turn this assignment into an equality comparison 730 | if( pl = protoMatch1(Rp->m_protoV,proto,dport) ){ | ^ | == master.cc:835:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 835 | }else | ^ master.cc:864:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 864 | if( np = strchr(dp,':') ){ | ~~~^~~~~~~~~~~~~~~~ master.cc:864:10: note: place parentheses around the assignment to silence this warning 864 | if( np = strchr(dp,':') ){ | ^ | ( ) master.cc:864:10: note: use '==' to turn this assignment into an equality comparison 864 | if( np = strchr(dp,':') ){ | ^ | == master.cc:929:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 929 | if( dp = strstr(forward,DELMARK) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ master.cc:929:9: note: place parentheses around the assignment to silence this warning 929 | if( dp = strstr(forward,DELMARK) ){ | ^ | ( ) master.cc:929:9: note: use '==' to turn this assignment into an equality comparison 929 | if( dp = strstr(forward,DELMARK) ){ | ^ | == master.cc:940:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 940 | }else | ^ master.cc:1056:28: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1056 | for( pi = 0; pprotov[pi] = RemittableV[pi].p_name; pi++ ){ | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ master.cc:1056:28: note: place parentheses around the assignment to silence this warning 1056 | for( pi = 0; pprotov[pi] = RemittableV[pi].p_name; pi++ ){ | ^ | ( ) master.cc:1056:28: note: use '==' to turn this assignment into an equality comparison 1056 | for( pi = 0; pprotov[pi] = RemittableV[pi].p_name; pi++ ){ | ^ | == master.cc:1228:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1228 | }else{ | ^ master.cc:1508:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1508 | if( expire = strchr(conn,'/') ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~ master.cc:1508:15: note: place parentheses around the assignment to silence this warning 1508 | if( expire = strchr(conn,'/') ){ | ^ | ( ) master.cc:1508:15: note: use '==' to turn this assignment into an equality comparison 1508 | if( expire = strchr(conn,'/') ){ | ^ | == master.cc:1518:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1518 | if( dp = strchr(conn,'/') ) | ~~~^~~~~~~~~~~~~~~~~~ master.cc:1518:11: note: place parentheses around the assignment to silence this warning 1518 | if( dp = strchr(conn,'/') ) | ^ | ( ) master.cc:1518:11: note: use '==' to turn this assignment into an equality comparison 1518 | if( dp = strchr(conn,'/') ) | ^ | == master.cc:1523:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1523 | if( dp = strchr(conn,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~ master.cc:1523:11: note: place parentheses around the assignment to silence this warning 1523 | if( dp = strchr(conn,'/') ){ | ^ | ( ) master.cc:1523:11: note: use '==' to turn this assignment into an equality comparison 1523 | if( dp = strchr(conn,'/') ){ | ^ | == master.cc:1912:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1912 | if( dp = strstr(options,"proto=") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ master.cc:1912:10: note: place parentheses around the assignment to silence this warning 1912 | if( dp = strstr(options,"proto=") ){ | ^ | ( ) master.cc:1912:10: note: use '==' to turn this assignment into an equality comparison 1912 | if( dp = strstr(options,"proto=") ){ | ^ | == master.cc:2078:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2078 | if( dp = strchr(ports,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~~ master.cc:2078:9: note: place parentheses around the assignment to silence this warning 2078 | if( dp = strchr(ports,'/') ){ | ^ | ( ) master.cc:2078:9: note: use '==' to turn this assignment into an equality comparison 2078 | if( dp = strchr(ports,'/') ){ | ^ | == master.cc:2249:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2249 | if( tid = mySoxTid ){ | ~~~~^~~~~~~~~~ master.cc:2249:10: note: place parentheses around the assignment to silence this warning 2249 | if( tid = mySoxTid ){ | ^ | ( ) master.cc:2249:10: note: use '==' to turn this assignment into an equality comparison 2249 | if( tid = mySoxTid ){ | ^ | == master.cc:2480:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 2480 | Lsoxhost = "localhost"; | ^ 23 warnings generated. ../mkcpp delegate.c delegate.cc -- mkcpp set time: 1791324525 -> 1201754392 delegate.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c delegate.cc ../mkcpp caps.c ../gen/caps.h -sign -- mkcpp set time: 1791324525 -> 1791324526 ../gen/caps.h ../mkcpp caps.c caps.cc -- mkcpp set time: 1791324525 -> 1232521896 caps.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c caps.cc -DADMIN=\"root@localhost\" -DLICENSEE=\"""\" caps.cc:1:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1 | char *SIGN_caps_c="{FILESIGN=caps.c:20090121161130+0900:6a044d3815e8af68:Author@DeleGate.ORG:qzs4acYSRTii8S7gkS9Bl+Vy3M0Pcx/+xwC4Guqenj3/beUJPIpexLLWPuwFozqoYepJjbk9vdLDD+kL9am82O4ka+WLlqjFN/YPCwtWEWXnerlD1f+P42HirUEL4yyeyQwJ4Dqix0sEpNued5y8Szcp5AX5ylzsj7Jo0sfiPw8=}"; | ^ caps.cc:100:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 100 | if( mfp = dirfopen("exeid",AVStr(idpath),"r+") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ caps.cc:100:10: note: place parentheses around the assignment to silence this warning 100 | if( mfp = dirfopen("exeid",AVStr(idpath),"r+") ){ | ^ | ( ) caps.cc:100:10: note: use '==' to turn this assignment into an equality comparison 100 | if( mfp = dirfopen("exeid",AVStr(idpath),"r+") ){ | ^ | == caps.cc:301:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 301 | if( env = getenv(REMOTE_ADDR) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~ caps.cc:301:10: note: place parentheses around the assignment to silence this warning 301 | if( env = getenv(REMOTE_ADDR) ){ | ^ | ( ) caps.cc:301:10: note: use '==' to turn this assignment into an equality comparison 301 | if( env = getenv(REMOTE_ADDR) ){ | ^ | == 3 warnings generated. ../mkcpp stls.c ../gen/stls.h -sign -- mkcpp set time: 1791324525 -> 1791324526 ../gen/stls.h ../mkcpp stls.c stls.cc -- mkcpp set time: 1791324525 -> 1232521896 stls.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c stls.cc stls.cc:1:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1 | char *SIGN_stls_c="{FILESIGN=stls.c:20090121161130+0900:1f47280fb4b415e3:Author@DeleGate.ORG:Fck3G6NtMSbdhy99CJw7bevG9dZOAG8POj/DTwH+Brw90hVILK0KXbyMVdTkawjMdG98SG86b0lmEWE1dcyl4tsOdP3Is1JkQRS0lHv0xs6/4SsX+vYH8qUXgBocM3jDq+7vceokfACMmsFvKmoizEc2wp44bffthy5I4V2kJco=}"; | ^ stls.cc:103:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 103 | if( op = strchr(opt1,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~ stls.cc:103:10: note: place parentheses around the assignment to silence this warning 103 | if( op = strchr(opt1,'/') ){ | ^ | ( ) stls.cc:103:10: note: use '==' to turn this assignment into an equality comparison 103 | if( op = strchr(opt1,'/') ){ | ^ | == stls.cc:190:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 190 | }else | ^ 3 warnings generated. ../mkcpp tsp.c tsp.cc -- mkcpp set time: 1791324525 -> 1115617671 tsp.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c tsp.cc ../mkcpp sudo.c sudo.cc -- mkcpp set time: 1791324525 -> 1165397227 sudo.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c sudo.cc sudo.cc:93:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 93 | if( isUDP = isUDPsock(svsock) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~ sudo.cc:93:12: note: place parentheses around the assignment to silence this warning 93 | if( isUDP = isUDPsock(svsock) ){ | ^ | ( ) sudo.cc:93:12: note: use '==' to turn this assignment into an equality comparison 93 | if( isUDP = isUDPsock(svsock) ){ | ^ | == sudo.cc:316:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 316 | if( dp = strpbrk(que,"\r\n") ) *((char*)dp) = 0; | ~~~^~~~~~~~~~~~~~~~~~~~~ sudo.cc:316:9: note: place parentheses around the assignment to silence this warning 316 | if( dp = strpbrk(que,"\r\n") ) *((char*)dp) = 0; | ^ | ( ) sudo.cc:316:9: note: use '==' to turn this assignment into an equality comparison 316 | if( dp = strpbrk(que,"\r\n") ) *((char*)dp) = 0; | ^ | == sudo.cc:317:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 317 | if( dp = strpbrk(ans,"\r\n") ) *((char*)dp) = 0; | ~~~^~~~~~~~~~~~~~~~~~~~~ sudo.cc:317:9: note: place parentheses around the assignment to silence this warning 317 | if( dp = strpbrk(ans,"\r\n") ) *((char*)dp) = 0; | ^ | ( ) sudo.cc:317:9: note: use '==' to turn this assignment into an equality comparison 317 | if( dp = strpbrk(ans,"\r\n") ) *((char*)dp) = 0; | ^ | == sudo.cc:579:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 579 | for( ci = 0; name = sucaps[ci].c_name; ci++ ) | ~~~~~^~~~~~~~~~~~~~~~~~~ sudo.cc:579:20: note: place parentheses around the assignment to silence this warning 579 | for( ci = 0; name = sucaps[ci].c_name; ci++ ) | ^ | ( ) sudo.cc:579:20: note: use '==' to turn this assignment into an equality comparison 579 | for( ci = 0; name = sucaps[ci].c_name; ci++ ) | ^ | == sudo.cc:618:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 618 | if( cap = findcap(c1) ){ | ~~~~^~~~~~~~~~~~~ sudo.cc:618:11: note: place parentheses around the assignment to silence this warning 618 | if( cap = findcap(c1) ){ | ^ | ( ) sudo.cc:618:11: note: use '==' to turn this assignment into an equality comparison 618 | if( cap = findcap(c1) ){ | ^ | == 5 warnings generated. ../mkcpp gacl.c gacl.cc -- mkcpp set time: 1791324526 -> 1106300557 gacl.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c gacl.cc gacl.cc:46:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 46 | if( ap = strchr(adminid,'-') ) | ~~~^~~~~~~~~~~~~~~~~~~~~ gacl.cc:46:9: note: place parentheses around the assignment to silence this warning 46 | if( ap = strchr(adminid,'-') ) | ^ | ( ) gacl.cc:46:9: note: use '==' to turn this assignment into an equality comparison 46 | if( ap = strchr(adminid,'-') ) | ^ | == gacl.cc:67:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 67 | if( acl = openAclFile(0,DST_PROTO,DST_HOST,DST_PORT,newsgroup) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gacl.cc:67:10: note: place parentheses around the assignment to silence this warning 67 | if( acl = openAclFile(0,DST_PROTO,DST_HOST,DST_PORT,newsgroup) ){ | ^ | ( ) gacl.cc:67:10: note: use '==' to turn this assignment into an equality comparison 67 | if( acl = openAclFile(0,DST_PROTO,DST_HOST,DST_PORT,newsgroup) ){ | ^ | == gacl.cc:135:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 135 | if( cp = strchr(ctl,'#') ) | ~~~^~~~~~~~~~~~~~~~~ gacl.cc:135:10: note: place parentheses around the assignment to silence this warning 135 | if( cp = strchr(ctl,'#') ) | ^ | ( ) gacl.cc:135:10: note: use '==' to turn this assignment into an equality comparison 135 | if( cp = strchr(ctl,'#') ) | ^ | == gacl.cc:216:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 216 | if( xp = strstr(ac1,admid) ){ | ~~~^~~~~~~~~~~~~~~~~~~ gacl.cc:216:12: note: place parentheses around the assignment to silence this warning 216 | if( xp = strstr(ac1,admid) ){ | ^ | ( ) gacl.cc:216:12: note: use '==' to turn this assignment into an equality comparison 216 | if( xp = strstr(ac1,admid) ){ | ^ | == gacl.cc:301:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 301 | if( np = strstr(search,"USER=") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ gacl.cc:301:9: note: place parentheses around the assignment to silence this warning 301 | if( np = strstr(search,"USER=") ) | ^ | ( ) gacl.cc:301:9: note: use '==' to turn this assignment into an equality comparison 301 | if( np = strstr(search,"USER=") ) | ^ | == gacl.cc:305:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 305 | if( np = strstr(search,"ADMINID=") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ gacl.cc:305:9: note: place parentheses around the assignment to silence this warning 305 | if( np = strstr(search,"ADMINID=") ) | ^ | ( ) gacl.cc:305:9: note: use '==' to turn this assignment into an equality comparison 305 | if( np = strstr(search,"ADMINID=") ) | ^ | == gacl.cc:309:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 309 | if( np = strstr(search,"URL=") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~ gacl.cc:309:9: note: place parentheses around the assignment to silence this warning 309 | if( np = strstr(search,"URL=") ) | ^ | ( ) gacl.cc:309:9: note: use '==' to turn this assignment into an equality comparison 309 | if( np = strstr(search,"URL=") ) | ^ | == gacl.cc:332:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 332 | }else | ^ 8 warnings generated. ../mkcpp access.c access.cc -- mkcpp set time: 1791324526 -> 1225833842 access.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c access.cc access.cc:245:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 245 | if( pa = find_auth("pass",xauth) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ access.cc:245:9: note: place parentheses around the assignment to silence this warning 245 | if( pa = find_auth("pass",xauth) ){ | ^ | ( ) access.cc:245:9: note: use '==' to turn this assignment into an equality comparison 245 | if( pa = find_auth("pass",xauth) ){ | ^ | == access.cc:274:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 274 | if( fmt = find_auth(A_ADMIN,NULL) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ access.cc:274:10: note: place parentheses around the assignment to silence this warning 274 | if( fmt = find_auth(A_ADMIN,NULL) ){ | ^ | ( ) access.cc:274:10: note: use '==' to turn this assignment into an equality comparison 274 | if( fmt = find_auth(A_ADMIN,NULL) ){ | ^ | == access.cc:361:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 361 | if( fmt = find_auth(A_VIAGEN,NULL) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ access.cc:361:10: note: place parentheses around the assignment to silence this warning 361 | if( fmt = find_auth(A_VIAGEN,NULL) ){ | ^ | ( ) access.cc:361:10: note: use '==' to turn this assignment into an equality comparison 361 | if( fmt = find_auth(A_VIAGEN,NULL) ){ | ^ | == access.cc:436:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 436 | if( afmt = strchr(atype,':') ){ | ~~~~~^~~~~~~~~~~~~~~~~~~ access.cc:436:11: note: place parentheses around the assignment to silence this warning 436 | if( afmt = strchr(atype,':') ){ | ^ | ( ) access.cc:436:11: note: use '==' to turn this assignment into an equality comparison 436 | if( afmt = strchr(atype,':') ){ | ^ | == access.cc:453:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 453 | if( dp = strpbrk(eauth,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~ access.cc:453:9: note: place parentheses around the assignment to silence this warning 453 | if( dp = strpbrk(eauth,"\r\n") ) | ^ | ( ) access.cc:453:9: note: use '==' to turn this assignment into an equality comparison 453 | if( dp = strpbrk(eauth,"\r\n") ) | ^ | == access.cc:500:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 500 | if( fmt = find_auth(A_LOG,NULL) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ access.cc:500:10: note: place parentheses around the assignment to silence this warning 500 | if( fmt = find_auth(A_LOG,NULL) ){ | ^ | ( ) access.cc:500:10: note: use '==' to turn this assignment into an equality comparison 500 | if( fmt = find_auth(A_LOG,NULL) ){ | ^ | == access.cc:914:18: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] 914 | int getthreadid(); | ^~ access.cc:914:18: note: replace parentheses with an initializer to declare a variable 914 | int getthreadid(); | ^~ | = 0 access.cc:961:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 961 | if( dp = strstr(domain,"//") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ access.cc:961:9: note: place parentheses around the assignment to silence this warning 961 | if( dp = strstr(domain,"//") ){ | ^ | ( ) access.cc:961:9: note: use '==' to turn this assignment into an equality comparison 961 | if( dp = strstr(domain,"//") ){ | ^ | == access.cc:964:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 964 | if( dp = strstr(serv,"..") ){ | ~~~^~~~~~~~~~~~~~~~~~~ access.cc:964:10: note: place parentheses around the assignment to silence this warning 964 | if( dp = strstr(serv,"..") ){ | ^ | ( ) access.cc:964:10: note: use '==' to turn this assignment into an equality comparison 964 | if( dp = strstr(serv,"..") ){ | ^ | == access.cc:1013:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1013 | if( dp = strpbrk(pass,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ access.cc:1013:11: note: place parentheses around the assignment to silence this warning 1013 | if( dp = strpbrk(pass,"\r\n") ) | ^ | ( ) access.cc:1013:11: note: use '==' to turn this assignment into an equality comparison 1013 | if( dp = strpbrk(pass,"\r\n") ) | ^ | == access.cc:1085:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1085 | if( afp = dirfopen("AUTH",AVStr(path),"w") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ access.cc:1085:11: note: place parentheses around the assignment to silence this warning 1085 | if( afp = dirfopen("AUTH",AVStr(path),"w") ){ | ^ | ( ) access.cc:1085:11: note: use '==' to turn this assignment into an equality comparison 1085 | if( afp = dirfopen("AUTH",AVStr(path),"w") ){ | ^ | == access.cc:1104:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1104 | if( afp = dirfopen("AUTH",AVStr(path),"r") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ access.cc:1104:11: note: place parentheses around the assignment to silence this warning 1104 | if( afp = dirfopen("AUTH",AVStr(path),"r") ){ | ^ | ( ) access.cc:1104:11: note: use '==' to turn this assignment into an equality comparison 1104 | if( afp = dirfopen("AUTH",AVStr(path),"r") ){ | ^ | == access.cc:1159:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1159 | if( afp = dirfopen("AUTH",AVStr(apath),"r+") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ access.cc:1159:11: note: place parentheses around the assignment to silence this warning 1159 | if( afp = dirfopen("AUTH",AVStr(apath),"r+") ){ | ^ | ( ) access.cc:1159:11: note: use '==' to turn this assignment into an equality comparison 1159 | if( afp = dirfopen("AUTH",AVStr(apath),"r+") ){ | ^ | == access.cc:1187:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1187 | if( afp = dirfopen("AUTH",AVStr(apath),"w") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ access.cc:1187:11: note: place parentheses around the assignment to silence this warning 1187 | if( afp = dirfopen("AUTH",AVStr(apath),"w") ){ | ^ | ( ) access.cc:1187:11: note: use '==' to turn this assignment into an equality comparison 1187 | if( afp = dirfopen("AUTH",AVStr(apath),"w") ){ | ^ | == access.cc:1194:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1194 | if( afp = fopen(lapath,"r") ) | ~~~~^~~~~~~~~~~~~~~~~~~ access.cc:1194:11: note: place parentheses around the assignment to silence this warning 1194 | if( afp = fopen(lapath,"r") ) | ^ | ( ) access.cc:1194:11: note: use '==' to turn this assignment into an equality comparison 1194 | if( afp = fopen(lapath,"r") ) | ^ | == access.cc:1290:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1290 | if( iuser = getClientHostPortUser(Conn,AVStr(clhost),NULL) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ access.cc:1290:12: note: place parentheses around the assignment to silence this warning 1290 | if( iuser = getClientHostPortUser(Conn,AVStr(clhost),NULL) ){ | ^ | ( ) access.cc:1290:12: note: use '==' to turn this assignment into an equality comparison 1290 | if( iuser = getClientHostPortUser(Conn,AVStr(clhost),NULL) ){ | ^ | == access.cc:1415:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1415 | else{ | ^ access.cc:1455:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1455 | if( dp = strchr(ident.i_Host,':') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ access.cc:1455:9: note: place parentheses around the assignment to silence this warning 1455 | if( dp = strchr(ident.i_Host,':') ){ | ^ | ( ) access.cc:1455:9: note: use '==' to turn this assignment into an equality comparison 1455 | if( dp = strchr(ident.i_Host,':') ){ | ^ | == access.cc:1557:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1557 | if( dp = strchr(proto,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~~ access.cc:1557:9: note: place parentheses around the assignment to silence this warning 1557 | if( dp = strchr(proto,'/') ){ | ^ | ( ) access.cc:1557:9: note: use '==' to turn this assignment into an equality comparison 1557 | if( dp = strchr(proto,'/') ){ | ^ | == access.cc:1631:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1631 | if( wa = getMountAuthorizer(Conn,AVStr(asv),asiz) != NULL ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ access.cc:1631:9: note: place parentheses around the assignment to silence this warning 1631 | if( wa = getMountAuthorizer(Conn,AVStr(asv),asiz) != NULL ){ | ^ | ( ) access.cc:1631:9: note: use '==' to turn this assignment into an equality comparison 1631 | if( wa = getMountAuthorizer(Conn,AVStr(asv),asiz) != NULL ){ | ^ | == access.cc:1701:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1701 | if( dp = strstr(ident->i_Host,"..") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ access.cc:1701:9: note: place parentheses around the assignment to silence this warning 1701 | if( dp = strstr(ident->i_Host,"..") ){ | ^ | ( ) access.cc:1701:9: note: use '==' to turn this assignment into an equality comparison 1701 | if( dp = strstr(ident->i_Host,"..") ){ | ^ | == access.cc:1705:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1705 | if( dp = strchr(ident->i_Host,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ access.cc:1705:9: note: place parentheses around the assignment to silence this warning 1705 | if( dp = strchr(ident->i_Host,'/') ){ | ^ | ( ) access.cc:1705:9: note: use '==' to turn this assignment into an equality comparison 1705 | if( dp = strchr(ident->i_Host,'/') ){ | ^ | == access.cc:1907:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1907 | if( rcode = connect_auth(Conn,"ftp", host,21,user,pass,path,svfp) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ access.cc:1907:12: note: place parentheses around the assignment to silence this warning 1907 | if( rcode = connect_auth(Conn,"ftp", host,21,user,pass,path,svfp) ) | ^ | ( ) access.cc:1907:12: note: use '==' to turn this assignment into an equality comparison 1907 | if( rcode = connect_auth(Conn,"ftp", host,21,user,pass,path,svfp) ) | ^ | == access.cc:1982:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1982 | if( dp = strstr(svhost,"..") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ access.cc:1982:11: note: place parentheses around the assignment to silence this warning 1982 | if( dp = strstr(svhost,"..") ){ | ^ | ( ) access.cc:1982:11: note: use '==' to turn this assignment into an equality comparison 1982 | if( dp = strstr(svhost,"..") ){ | ^ | == access.cc:2075:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2075 | if( port = scanAuthServPort(dom,AVStr(serv)) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ access.cc:2075:11: note: place parentheses around the assignment to silence this warning 2075 | if( port = scanAuthServPort(dom,AVStr(serv)) ){ | ^ | ( ) access.cc:2075:11: note: use '==' to turn this assignment into an equality comparison 2075 | if( port = scanAuthServPort(dom,AVStr(serv)) ){ | ^ | == access.cc:2100:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2100 | if( dp = strpbrk(authBASIC,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ access.cc:2100:9: note: place parentheses around the assignment to silence this warning 2100 | if( dp = strpbrk(authBASIC,"\r\n") ) | ^ | ( ) access.cc:2100:9: note: use '==' to turn this assignment into an equality comparison 2100 | if( dp = strpbrk(authBASIC,"\r\n") ) | ^ | == access.cc:2104:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2104 | if( rcode = connect_auth(Conn,"http",host,80,user,pass,path,svfp) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ access.cc:2104:12: note: place parentheses around the assignment to silence this warning 2104 | if( rcode = connect_auth(Conn,"http",host,80,user,pass,path,svfp) ) | ^ | ( ) access.cc:2104:12: note: use '==' to turn this assignment into an equality comparison 2104 | if( rcode = connect_auth(Conn,"http",host,80,user,pass,path,svfp) ) | ^ | == access.cc:2123:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2123 | if( rcode = connect_auth(Conn,"http",host,80,user,pass,path,svfp) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ access.cc:2123:12: note: place parentheses around the assignment to silence this warning 2123 | if( rcode = connect_auth(Conn,"http",host,80,user,pass,path,svfp) ) | ^ | ( ) access.cc:2123:12: note: use '==' to turn this assignment into an equality comparison 2123 | if( rcode = connect_auth(Conn,"http",host,80,user,pass,path,svfp) ) | ^ | == access.cc:2209:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2209 | if( pp = strchrX(up,':',"{(",")}") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ access.cc:2209:10: note: place parentheses around the assignment to silence this warning 2209 | if( pp = strchrX(up,':',"{(",")}") ){ | ^ | ( ) access.cc:2209:10: note: use '==' to turn this assignment into an equality comparison 2209 | if( pp = strchrX(up,':',"{(",")}") ){ | ^ | == access.cc:2237:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2237 | if( dp = strheadstrX(auth,"-cmd{",0) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ access.cc:2237:9: note: place parentheses around the assignment to silence this warning 2237 | if( dp = strheadstrX(auth,"-cmd{",0) ){ | ^ | ( ) access.cc:2237:9: note: use '==' to turn this assignment into an equality comparison 2237 | if( dp = strheadstrX(auth,"-cmd{",0) ){ | ^ | == access.cc:2438:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2438 | for( ej = 0; e1 = environ[ej]; ej++ ){ | ~~~^~~~~~~~~~~~~ access.cc:2438:18: note: place parentheses around the assignment to silence this warning 2438 | for( ej = 0; e1 = environ[ej]; ej++ ){ | ^ | ( ) access.cc:2438:18: note: use '==' to turn this assignment into an equality comparison 2438 | for( ej = 0; e1 = environ[ej]; ej++ ){ | ^ | == access.cc:2559:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2559 | if( vp = strheadstrX(opt1,"expire=",1) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ access.cc:2559:10: note: place parentheses around the assignment to silence this warning 2559 | if( vp = strheadstrX(opt1,"expire=",1) ){ | ^ | ( ) access.cc:2559:10: note: use '==' to turn this assignment into an equality comparison 2559 | if( vp = strheadstrX(opt1,"expire=",1) ){ | ^ | == access.cc:2562:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2562 | if( vp = strheadstrX(opt1,"user=",1) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ access.cc:2562:10: note: place parentheses around the assignment to silence this warning 2562 | if( vp = strheadstrX(opt1,"user=",1) ){ | ^ | ( ) access.cc:2562:10: note: use '==' to turn this assignment into an equality comparison 2562 | if( vp = strheadstrX(opt1,"user=",1) ){ | ^ | == access.cc:2565:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2565 | if( vp = strheadstrX(opt1,"userpfx=",1) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ access.cc:2565:10: note: place parentheses around the assignment to silence this warning 2565 | if( vp = strheadstrX(opt1,"userpfx=",1) ){ | ^ | ( ) access.cc:2565:10: note: use '==' to turn this assignment into an equality comparison 2565 | if( vp = strheadstrX(opt1,"userpfx=",1) ){ | ^ | == access.cc:2587:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2587 | if( realm = strchrX(servs,'@',"{(",")}") ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ access.cc:2587:12: note: place parentheses around the assignment to silence this warning 2587 | if( realm = strchrX(servs,'@',"{(",")}") ){ | ^ | ( ) access.cc:2587:12: note: use '==' to turn this assignment into an equality comparison 2587 | if( realm = strchrX(servs,'@',"{(",")}") ){ | ^ | == access.cc:2606:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2606 | if( dp = strrchr(sv[si],'(') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ access.cc:2606:11: note: place parentheses around the assignment to silence this warning 2606 | if( dp = strrchr(sv[si],'(') ){ | ^ | ( ) access.cc:2606:11: note: use '==' to turn this assignment into an equality comparison 2606 | if( dp = strrchr(sv[si],'(') ){ | ^ | == access.cc:2769:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2769 | for( ai = 0; afunc = authenticators[ai].a_func; ai++ ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ access.cc:2769:21: note: place parentheses around the assignment to silence this warning 2769 | for( ai = 0; afunc = authenticators[ai].a_func; ai++ ){ | ^ | ( ) access.cc:2769:21: note: use '==' to turn this assignment into an equality comparison 2769 | for( ai = 0; afunc = authenticators[ai].a_func; ai++ ){ | ^ | == access.cc:2822:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2822 | if( dp = strrpbrk(email,"%") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ access.cc:2822:9: note: place parentheses around the assignment to silence this warning 2822 | if( dp = strrpbrk(email,"%") ){ | ^ | ( ) access.cc:2822:9: note: use '==' to turn this assignment into an equality comparison 2822 | if( dp = strrpbrk(email,"%") ){ | ^ | == access.cc:3013:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3013 | if( cp = strchr(clhost,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~~~ access.cc:3013:9: note: place parentheses around the assignment to silence this warning 3013 | if( cp = strchr(clhost,'/') ){ | ^ | ( ) access.cc:3013:9: note: use '==' to turn this assignment into an equality comparison 3013 | if( cp = strchr(clhost,'/') ){ | ^ | == access.cc:3024:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3024 | if( addr = gethostaddr(clhost) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~ access.cc:3024:11: note: place parentheses around the assignment to silence this warning 3024 | if( addr = gethostaddr(clhost) ){ | ^ | ( ) access.cc:3024:11: note: use '==' to turn this assignment into an equality comparison 3024 | if( addr = gethostaddr(clhost) ){ | ^ | == access.cc:3044:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3044 | if( ok = service_permitted2(Conn,DST_PROTO,2) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ access.cc:3044:9: note: place parentheses around the assignment to silence this warning 3044 | if( ok = service_permitted2(Conn,DST_PROTO,2) ) | ^ | ( ) access.cc:3044:9: note: use '==' to turn this assignment into an equality comparison 3044 | if( ok = service_permitted2(Conn,DST_PROTO,2) ) | ^ | == access.cc:3137:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3137 | if( fp = fopenAuthMan("w") ){ | ~~~^~~~~~~~~~~~~~~~~~~ access.cc:3137:9: note: place parentheses around the assignment to silence this warning 3137 | if( fp = fopenAuthMan("w") ){ | ^ | ( ) access.cc:3137:9: note: use '==' to turn this assignment into an equality comparison 3137 | if( fp = fopenAuthMan("w") ){ | ^ | == access.cc:3146:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3146 | if( fp = fopenAuthMan("r") ){ | ~~~^~~~~~~~~~~~~~~~~~~ access.cc:3146:9: note: place parentheses around the assignment to silence this warning 3146 | if( fp = fopenAuthMan("r") ){ | ^ | ( ) access.cc:3146:9: note: use '==' to turn this assignment into an equality comparison 3146 | if( fp = fopenAuthMan("r") ){ | ^ | == 43 warnings generated. ../mkcpp ident.c ident.cc -- mkcpp set time: 1791324526 -> 1217502711 ident.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c ident.cc ../mkcpp dgauth.c dgauth.cc -- mkcpp set time: 1791324527 -> 1224104401 dgauth.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c dgauth.cc dgauth.cc:50:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 50 | if( kfp = fopen(data,"r") ){ | ~~~~^~~~~~~~~~~~~~~~~ dgauth.cc:50:11: note: place parentheses around the assignment to silence this warning 50 | if( kfp = fopen(data,"r") ){ | ^ | ( ) dgauth.cc:50:11: note: use '==' to turn this assignment into an equality comparison 50 | if( kfp = fopen(data,"r") ){ | ^ | == dgauth.cc:164:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 164 | if( fp = dirfopen("CKey",AVStr(path),"w") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dgauth.cc:164:10: note: place parentheses around the assignment to silence this warning 164 | if( fp = dirfopen("CKey",AVStr(path),"w") ){ | ^ | ( ) dgauth.cc:164:10: note: use '==' to turn this assignment into an equality comparison 164 | if( fp = dirfopen("CKey",AVStr(path),"w") ){ | ^ | == dgauth.cc:203:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 203 | if( fp = fopen(path,"r") ){ | ~~~^~~~~~~~~~~~~~~~~ dgauth.cc:203:9: note: place parentheses around the assignment to silence this warning 203 | if( fp = fopen(path,"r") ){ | ^ | ( ) dgauth.cc:203:9: note: use '==' to turn this assignment into an equality comparison 203 | if( fp = fopen(path,"r") ){ | ^ | == dgauth.cc:287:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 287 | if( dp = strheadstrX(main_argv[ai],param,0) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dgauth.cc:287:10: note: place parentheses around the assignment to silence this warning 287 | if( dp = strheadstrX(main_argv[ai],param,0) ) | ^ | ( ) dgauth.cc:287:10: note: use '==' to turn this assignment into an equality comparison 287 | if( dp = strheadstrX(main_argv[ai],param,0) ) | ^ | == dgauth.cc:298:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 298 | if( ck = getCKeyMainArg(MainConn(),param,dom,user) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dgauth.cc:298:9: note: place parentheses around the assignment to silence this warning 298 | if( ck = getCKeyMainArg(MainConn(),param,dom,user) ){ | ^ | ( ) dgauth.cc:298:9: note: use '==' to turn this assignment into an equality comparison 298 | if( ck = getCKeyMainArg(MainConn(),param,dom,user) ){ | ^ | == dgauth.cc:356:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 356 | if( dp = strpbrk(ekey,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ dgauth.cc:356:9: note: place parentheses around the assignment to silence this warning 356 | if( dp = strpbrk(ekey,"\r\n") ) | ^ | ( ) dgauth.cc:356:9: note: use '==' to turn this assignment into an equality comparison 356 | if( dp = strpbrk(ekey,"\r\n") ) | ^ | == dgauth.cc:374:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 374 | if( cryptspec = getCKeyArg(Conn,param,dom,user) ){ | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dgauth.cc:374:16: note: place parentheses around the assignment to silence this warning 374 | if( cryptspec = getCKeyArg(Conn,param,dom,user) ){ | ^ | ( ) dgauth.cc:374:16: note: use '==' to turn this assignment into an equality comparison 374 | if( cryptspec = getCKeyArg(Conn,param,dom,user) ){ | ^ | == dgauth.cc:424:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 424 | if( spec = getCKeyMainArg(Conn,param,dom,user) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dgauth.cc:424:12: note: place parentheses around the assignment to silence this warning 424 | if( spec = getCKeyMainArg(Conn,param,dom,user) ){ | ^ | ( ) dgauth.cc:424:12: note: use '==' to turn this assignment into an equality comparison 424 | if( spec = getCKeyMainArg(Conn,param,dom,user) ){ | ^ | == dgauth.cc:487:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 487 | if( dp = strchr(domain,',') ) | ~~~^~~~~~~~~~~~~~~~~~~~ dgauth.cc:487:10: note: place parentheses around the assignment to silence this warning 487 | if( dp = strchr(domain,',') ) | ^ | ( ) dgauth.cc:487:10: note: use '==' to turn this assignment into an equality comparison 487 | if( dp = strchr(domain,',') ) | ^ | == dgauth.cc:489:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 489 | if( dp = strchr(domain,'@') ) | ~~~^~~~~~~~~~~~~~~~~~~~ dgauth.cc:489:10: note: place parentheses around the assignment to silence this warning 489 | if( dp = strchr(domain,'@') ) | ^ | ( ) dgauth.cc:489:10: note: use '==' to turn this assignment into an equality comparison 489 | if( dp = strchr(domain,'@') ) | ^ | == dgauth.cc:491:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 491 | if( dp = strchr(domain,'(') ){ | ~~~^~~~~~~~~~~~~~~~~~~~ dgauth.cc:491:10: note: place parentheses around the assignment to silence this warning 491 | if( dp = strchr(domain,'(') ){ | ^ | ( ) dgauth.cc:491:10: note: use '==' to turn this assignment into an equality comparison 491 | if( dp = strchr(domain,'(') ){ | ^ | == dgauth.cc:626:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 626 | if( dp = strchr(host,':') ){ | ~~~^~~~~~~~~~~~~~~~~~ dgauth.cc:626:10: note: place parentheses around the assignment to silence this warning 626 | if( dp = strchr(host,':') ){ | ^ | ( ) dgauth.cc:626:10: note: use '==' to turn this assignment into an equality comparison 626 | if( dp = strchr(host,':') ){ | ^ | == dgauth.cc:644:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 644 | if( port = scanAuthServPort(dom,AVStr(host)) ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dgauth.cc:644:11: note: place parentheses around the assignment to silence this warning 644 | if( port = scanAuthServPort(dom,AVStr(host)) ) | ^ | ( ) dgauth.cc:644:11: note: use '==' to turn this assignment into an equality comparison 644 | if( port = scanAuthServPort(dom,AVStr(host)) ) | ^ | == dgauth.cc:798:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 798 | if( dp = strpbrk(nonce,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~ dgauth.cc:798:9: note: place parentheses around the assignment to silence this warning 798 | if( dp = strpbrk(nonce,"\r\n") ) | ^ | ( ) dgauth.cc:798:9: note: use '==' to turn this assignment into an equality comparison 798 | if( dp = strpbrk(nonce,"\r\n") ) | ^ | == dgauth.cc:854:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 854 | if( dp = strchr(authserv,'@') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ dgauth.cc:854:9: note: place parentheses around the assignment to silence this warning 854 | if( dp = strchr(authserv,'@') ){ | ^ | ( ) dgauth.cc:854:9: note: use '==' to turn this assignment into an equality comparison 854 | if( dp = strchr(authserv,'@') ){ | ^ | == dgauth.cc:859:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 859 | if( dp = strchr(authserv,',') ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ dgauth.cc:859:9: note: place parentheses around the assignment to silence this warning 859 | if( dp = strchr(authserv,',') ) | ^ | ( ) dgauth.cc:859:9: note: use '==' to turn this assignment into an equality comparison 859 | if( dp = strchr(authserv,',') ) | ^ | == dgauth.cc:862:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 862 | if( dp = strstr(authserv,"//") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~ dgauth.cc:862:9: note: place parentheses around the assignment to silence this warning 862 | if( dp = strstr(authserv,"//") ) | ^ | ( ) dgauth.cc:862:9: note: use '==' to turn this assignment into an equality comparison 862 | if( dp = strstr(authserv,"//") ) | ^ | == dgauth.cc:868:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 868 | else | ^ dgauth.cc:933:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 933 | if( pp = strheadstrX(user,up,igncase) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dgauth.cc:933:10: note: place parentheses around the assignment to silence this warning 933 | if( pp = strheadstrX(user,up,igncase) ){ | ^ | ( ) dgauth.cc:933:10: note: use '==' to turn this assignment into an equality comparison 933 | if( pp = strheadstrX(user,up,igncase) ){ | ^ | == dgauth.cc:962:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 962 | if( dp = strchr(list,'}') ) | ~~~^~~~~~~~~~~~~~~~~~ dgauth.cc:962:9: note: place parentheses around the assignment to silence this warning 962 | if( dp = strchr(list,'}') ) | ^ | ( ) dgauth.cc:962:9: note: use '==' to turn this assignment into an equality comparison 962 | if( dp = strchr(list,'}') ) | ^ | == dgauth.cc:991:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 991 | if( vrealm = strchr(dom,'@') ){ /* -dgauth[.realm]@vrealm */ | ~~~~~~~^~~~~~~~~~~~~~~~~ dgauth.cc:991:13: note: place parentheses around the assignment to silence this warning 991 | if( vrealm = strchr(dom,'@') ){ /* -dgauth[.realm]@vrealm */ | ^ | ( ) dgauth.cc:991:13: note: use '==' to turn this assignment into an equality comparison 991 | if( vrealm = strchr(dom,'@') ){ /* -dgauth[.realm]@vrealm */ | ^ | == dgauth.cc:996:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 996 | if( xrealm = strchr(dom,'.') ) | ~~~~~~~^~~~~~~~~~~~~~~~~ dgauth.cc:996:13: note: place parentheses around the assignment to silence this warning 996 | if( xrealm = strchr(dom,'.') ) | ^ | ( ) dgauth.cc:996:13: note: use '==' to turn this assignment into an equality comparison 996 | if( xrealm = strchr(dom,'.') ) | ^ | == dgauth.cc:1155:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1155 | if( fp = fopen(path,"r") ){ | ~~~^~~~~~~~~~~~~~~~~ dgauth.cc:1155:9: note: place parentheses around the assignment to silence this warning 1155 | if( fp = fopen(path,"r") ){ | ^ | ( ) dgauth.cc:1155:9: note: use '==' to turn this assignment into an equality comparison 1155 | if( fp = fopen(path,"r") ){ | ^ | == dgauth.cc:1409:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1409 | if( dp = strpbrk(req,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~ dgauth.cc:1409:10: note: place parentheses around the assignment to silence this warning 1409 | if( dp = strpbrk(req,"\r\n") ) | ^ | ( ) dgauth.cc:1409:10: note: use '==' to turn this assignment into an equality comparison 1409 | if( dp = strpbrk(req,"\r\n") ) | ^ | == dgauth.cc:1726:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1726 | if( fp = dirfopen("NonceKey",AVStr(path),"w") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dgauth.cc:1726:10: note: place parentheses around the assignment to silence this warning 1726 | if( fp = dirfopen("NonceKey",AVStr(path),"w") ){ | ^ | ( ) dgauth.cc:1726:10: note: use '==' to turn this assignment into an equality comparison 1726 | if( fp = dirfopen("NonceKey",AVStr(path),"w") ){ | ^ | == dgauth.cc:1735:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1735 | if( fp = fopen(path,"r") ){ | ~~~^~~~~~~~~~~~~~~~~ dgauth.cc:1735:9: note: place parentheses around the assignment to silence this warning 1735 | if( fp = fopen(path,"r") ){ | ^ | ( ) dgauth.cc:1735:9: note: use '==' to turn this assignment into an equality comparison 1735 | if( fp = fopen(path,"r") ){ | ^ | == dgauth.cc:1830:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1830 | if( len = atoi(wf) ){ | ~~~~^~~~~~~~~~ dgauth.cc:1830:10: note: place parentheses around the assignment to silence this warning 1830 | if( len = atoi(wf) ){ | ^ | ( ) dgauth.cc:1830:10: note: use '==' to turn this assignment into an equality comparison 1830 | if( len = atoi(wf) ){ | ^ | == dgauth.cc:1881:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1881 | if( dp = strcasestr(host,dom1) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~ dgauth.cc:1881:10: note: place parentheses around the assignment to silence this warning 1881 | if( dp = strcasestr(host,dom1) ){ | ^ | ( ) dgauth.cc:1881:10: note: use '==' to turn this assignment into an equality comparison 1881 | if( dp = strcasestr(host,dom1) ){ | ^ | == dgauth.cc:1927:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1927 | if( dp = strchr(attrn,'@') ){ | ~~~^~~~~~~~~~~~~~~~~~~ dgauth.cc:1927:10: note: place parentheses around the assignment to silence this warning 1927 | if( dp = strchr(attrn,'@') ){ | ^ | ( ) dgauth.cc:1927:10: note: use '==' to turn this assignment into an equality comparison 1927 | if( dp = strchr(attrn,'@') ){ | ^ | == 29 warnings generated. ../mkcpp dgsign.c dgsign.cc -- mkcpp set time: 1791324527 -> 1225009084 dgsign.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c dgsign.cc -DADMIN=\"root@localhost\" dgsign.cc:91:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 91 | if( fin = fopen(fname,"r") ){ | ~~~~^~~~~~~~~~~~~~~~~~ dgsign.cc:91:10: note: place parentheses around the assignment to silence this warning 91 | if( fin = fopen(fname,"r") ){ | ^ | ( ) dgsign.cc:91:10: note: use '==' to turn this assignment into an equality comparison 91 | if( fin = fopen(fname,"r") ){ | ^ | == dgsign.cc:141:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 141 | if( dp = strrpbrk(fnam,"/\\") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ dgsign.cc:141:11: note: place parentheses around the assignment to silence this warning 141 | if( dp = strrpbrk(fnam,"/\\") ){ | ^ | ( ) dgsign.cc:141:11: note: use '==' to turn this assignment into an equality comparison 141 | if( dp = strrpbrk(fnam,"/\\") ){ | ^ | == dgsign.cc:222:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 222 | if( fp = fopen(av[ai],"r") ){ | ~~~^~~~~~~~~~~~~~~~~~~ dgsign.cc:222:12: note: place parentheses around the assignment to silence this warning 222 | if( fp = fopen(av[ai],"r") ){ | ^ | ( ) dgsign.cc:222:12: note: use '==' to turn this assignment into an equality comparison 222 | if( fp = fopen(av[ai],"r") ){ | ^ | == dgsign.cc:226:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 226 | if( lp = strpbrk(line,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ dgsign.cc:226:14: note: place parentheses around the assignment to silence this warning 226 | if( lp = strpbrk(line,"\r\n") ) | ^ | ( ) dgsign.cc:226:14: note: use '==' to turn this assignment into an equality comparison 226 | if( lp = strpbrk(line,"\r\n") ) | ^ | == dgsign.cc:280:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 280 | if( fp = fopen(ofile,"w") ) | ~~~^~~~~~~~~~~~~~~~~~ dgsign.cc:280:11: note: place parentheses around the assignment to silence this warning 280 | if( fp = fopen(ofile,"w") ) | ^ | ( ) dgsign.cc:280:11: note: use '==' to turn this assignment into an equality comparison 280 | if( fp = fopen(ofile,"w") ) | ^ | == dgsign.cc:316:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 316 | if( fp = fopen(path,"r") ){ | ~~~^~~~~~~~~~~~~~~~~ dgsign.cc:316:9: note: place parentheses around the assignment to silence this warning 316 | if( fp = fopen(path,"r") ){ | ^ | ( ) dgsign.cc:316:9: note: use '==' to turn this assignment into an equality comparison 316 | if( fp = fopen(path,"r") ){ | ^ | == dgsign.cc:518:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 518 | if( ep = strstr(dp,"}\"") ){ | ~~~^~~~~~~~~~~~~~~~~~ dgsign.cc:518:11: note: place parentheses around the assignment to silence this warning 518 | if( ep = strstr(dp,"}\"") ){ | ^ | ( ) dgsign.cc:518:11: note: use '==' to turn this assignment into an equality comparison 518 | if( ep = strstr(dp,"}\"") ){ | ^ | == dgsign.cc:532:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 532 | if( dp = strstr(buf,"}\"") ){ | ~~~^~~~~~~~~~~~~~~~~~~ dgsign.cc:532:13: note: place parentheses around the assignment to silence this warning 532 | if( dp = strstr(buf,"}\"") ){ | ^ | ( ) dgsign.cc:532:13: note: use '==' to turn this assignment into an equality comparison 532 | if( dp = strstr(buf,"}\"") ){ | ^ | == dgsign.cc:595:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 595 | if( ep = strstr(dp,"}\"") ){ | ~~~^~~~~~~~~~~~~~~~~~ dgsign.cc:595:11: note: place parentheses around the assignment to silence this warning 595 | if( ep = strstr(dp,"}\"") ){ | ^ | ( ) dgsign.cc:595:11: note: use '==' to turn this assignment into an equality comparison 595 | if( ep = strstr(dp,"}\"") ){ | ^ | == dgsign.cc:604:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 604 | if( dp = strstr(buf,"}\"") ){ | ~~~^~~~~~~~~~~~~~~~~~~ dgsign.cc:604:13: note: place parentheses around the assignment to silence this warning 604 | if( dp = strstr(buf,"}\"") ){ | ^ | ( ) dgsign.cc:604:13: note: use '==' to turn this assignment into an equality comparison 604 | if( dp = strstr(buf,"}\"") ){ | ^ | == dgsign.cc:650:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 650 | if( ep = strchr(fsig->s_signb,'}') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ dgsign.cc:650:11: note: place parentheses around the assignment to silence this warning 650 | if( ep = strchr(fsig->s_signb,'}') ){ | ^ | ( ) dgsign.cc:650:11: note: use '==' to turn this assignment into an equality comparison 650 | if( ep = strchr(fsig->s_signb,'}') ){ | ^ | == dgsign.cc:666:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 666 | if( ep = strchr(dp,'}') ){ | ~~~^~~~~~~~~~~~~~~~ dgsign.cc:666:11: note: place parentheses around the assignment to silence this warning 666 | if( ep = strchr(dp,'}') ){ | ^ | ( ) dgsign.cc:666:11: note: use '==' to turn this assignment into an equality comparison 666 | if( ep = strchr(dp,'}') ){ | ^ | == dgsign.cc:745:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 745 | else | ^ dgsign.cc:754:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 754 | }else{ | ^ dgsign.cc:945:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 945 | if( dp = strpbrk(md5,"=\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ dgsign.cc:945:9: note: place parentheses around the assignment to silence this warning 945 | if( dp = strpbrk(md5,"=\r\n") ) | ^ | ( ) dgsign.cc:945:9: note: use '==' to turn this assignment into an equality comparison 945 | if( dp = strpbrk(md5,"=\r\n") ) | ^ | == dgsign.cc:1120:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1120 | if( ov = getv(oav,_P_IMPLAST) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ dgsign.cc:1120:9: note: place parentheses around the assignment to silence this warning 1120 | if( ov = getv(oav,_P_IMPLAST) ){ | ^ | ( ) dgsign.cc:1120:9: note: use '==' to turn this assignment into an equality comparison 1120 | if( ov = getv(oav,_P_IMPLAST) ){ | ^ | == dgsign.cc:1124:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1124 | if( ov = getv(oav,_P_IMPORIG) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ dgsign.cc:1124:9: note: place parentheses around the assignment to silence this warning 1124 | if( ov = getv(oav,_P_IMPORIG) ){ | ^ | ( ) dgsign.cc:1124:9: note: use '==' to turn this assignment into an equality comparison 1124 | if( ov = getv(oav,_P_IMPORIG) ){ | ^ | == dgsign.cc:1135:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1135 | for( ai = 0; ov = oav[ai]; ai++ ){ | ~~~^~~~~~~~~ dgsign.cc:1135:18: note: place parentheses around the assignment to silence this warning 1135 | for( ai = 0; ov = oav[ai]; ai++ ){ | ^ | ( ) dgsign.cc:1135:18: note: use '==' to turn this assignment into an equality comparison 1135 | for( ai = 0; ov = oav[ai]; ai++ ){ | ^ | == dgsign.cc:1158:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1158 | if( pv = strchr(ov,'=') ) | ~~~^~~~~~~~~~~~~~~~ dgsign.cc:1158:12: note: place parentheses around the assignment to silence this warning 1158 | if( pv = strchr(ov,'=') ) | ^ | ( ) dgsign.cc:1158:12: note: use '==' to turn this assignment into an equality comparison 1158 | if( pv = strchr(ov,'=') ) | ^ | == dgsign.cc:1168:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1168 | if( ov = getv(oav,P_SUDOAUTH) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ dgsign.cc:1168:9: note: place parentheses around the assignment to silence this warning 1168 | if( ov = getv(oav,P_SUDOAUTH) ){ | ^ | ( ) dgsign.cc:1168:9: note: use '==' to turn this assignment into an equality comparison 1168 | if( ov = getv(oav,P_SUDOAUTH) ){ | ^ | == dgsign.cc:1175:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1175 | if( ov = getv(oav,P_EXECAUTH) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ dgsign.cc:1175:9: note: place parentheses around the assignment to silence this warning 1175 | if( ov = getv(oav,P_EXECAUTH) ){ | ^ | ( ) dgsign.cc:1175:9: note: use '==' to turn this assignment into an equality comparison 1175 | if( ov = getv(oav,P_EXECAUTH) ){ | ^ | == dgsign.cc:1215:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1215 | eol = "\n"; | ^ dgsign.cc:1216:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1216 | else eol = "\r\n"; | ^ dgsign.cc:1293:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1293 | PS->_oav[po] = "# # # # "; | ^ dgsign.cc:1364:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1364 | for( ii = 0; p2 = PS->_iav[ii]; ii++ ){ | ~~~^~~~~~~~~~~~~~ dgsign.cc:1364:22: note: place parentheses around the assignment to silence this warning 1364 | for( ii = 0; p2 = PS->_iav[ii]; ii++ ){ | ^ | ( ) dgsign.cc:1364:22: note: use '==' to turn this assignment into an equality comparison 1364 | for( ii = 0; p2 = PS->_iav[ii]; ii++ ){ | ^ | == dgsign.cc:1491:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1491 | eol = "\n"; | ^ dgsign.cc:1492:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1492 | else eol = "\r\n"; | ^ dgsign.cc:1517:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1517 | if( sfp = fopen(save,"w") ){ | ~~~~^~~~~~~~~~~~~~~~~ dgsign.cc:1517:11: note: place parentheses around the assignment to silence this warning 1517 | if( sfp = fopen(save,"w") ){ | ^ | ( ) dgsign.cc:1517:11: note: use '==' to turn this assignment into an equality comparison 1517 | if( sfp = fopen(save,"w") ){ | ^ | == dgsign.cc:1566:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1566 | for( ai = 0; a1 = av[ai]; ai++ ){ | ~~~^~~~~~~~ dgsign.cc:1566:18: note: place parentheses around the assignment to silence this warning 1566 | for( ai = 0; a1 = av[ai]; ai++ ){ | ^ | ( ) dgsign.cc:1566:18: note: use '==' to turn this assignment into an equality comparison 1566 | for( ai = 0; a1 = av[ai]; ai++ ){ | ^ | == dgsign.cc:1616:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1616 | if( a1=getv(av,P_SUDOAUTH) ){ bp=putParam1(AVStr(bp),P_SUDOAUTH,a1); } | ~~^~~~~~~~~~~~~~~~~~~~ dgsign.cc:1616:8: note: place parentheses around the assignment to silence this warning 1616 | if( a1=getv(av,P_SUDOAUTH) ){ bp=putParam1(AVStr(bp),P_SUDOAUTH,a1); } | ^ | ( ) dgsign.cc:1616:8: note: use '==' to turn this assignment into an equality comparison 1616 | if( a1=getv(av,P_SUDOAUTH) ){ bp=putParam1(AVStr(bp),P_SUDOAUTH,a1); } | ^ | == dgsign.cc:1617:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1617 | if( a1=getv(av,P_EXECAUTH) ){ bp=putParam1(AVStr(bp),P_EXECAUTH,a1); } | ~~^~~~~~~~~~~~~~~~~~~~ dgsign.cc:1617:8: note: place parentheses around the assignment to silence this warning 1617 | if( a1=getv(av,P_EXECAUTH) ){ bp=putParam1(AVStr(bp),P_EXECAUTH,a1); } | ^ | ( ) dgsign.cc:1617:8: note: use '==' to turn this assignment into an equality comparison 1617 | if( a1=getv(av,P_EXECAUTH) ){ bp=putParam1(AVStr(bp),P_EXECAUTH,a1); } | ^ | == dgsign.cc:1618:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1618 | if( a1=getv(av,_P_IMPLAST) ){ bp=putParam1(AVStr(bp),_P_IMPLAST,a1); } | ~~^~~~~~~~~~~~~~~~~~~~ dgsign.cc:1618:8: note: place parentheses around the assignment to silence this warning 1618 | if( a1=getv(av,_P_IMPLAST) ){ bp=putParam1(AVStr(bp),_P_IMPLAST,a1); } | ^ | ( ) dgsign.cc:1618:8: note: use '==' to turn this assignment into an equality comparison 1618 | if( a1=getv(av,_P_IMPLAST) ){ bp=putParam1(AVStr(bp),_P_IMPLAST,a1); } | ^ | == dgsign.cc:1619:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1619 | if( a1=getv(av,_P_IMPORIG) ){ bp=putParam1(AVStr(bp),_P_IMPORIG,a1); } | ~~^~~~~~~~~~~~~~~~~~~~ dgsign.cc:1619:8: note: place parentheses around the assignment to silence this warning 1619 | if( a1=getv(av,_P_IMPORIG) ){ bp=putParam1(AVStr(bp),_P_IMPORIG,a1); } | ^ | ( ) dgsign.cc:1619:8: note: use '==' to turn this assignment into an equality comparison 1619 | if( a1=getv(av,_P_IMPORIG) ){ bp=putParam1(AVStr(bp),_P_IMPORIG,a1); } | ^ | == dgsign.cc:1926:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1926 | if( lfp = fopen(load,"r") ){ | ~~~~^~~~~~~~~~~~~~~~~ dgsign.cc:1926:12: note: place parentheses around the assignment to silence this warning 1926 | if( lfp = fopen(load,"r") ){ | ^ | ( ) dgsign.cc:1926:12: note: use '==' to turn this assignment into an equality comparison 1926 | if( lfp = fopen(load,"r") ){ | ^ | == dgsign.cc:2345:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2345 | else | ^ dgsign.cc:2538:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2538 | if( vp = strheadstrX(a1,_P_IMPORIG,0) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dgsign.cc:2538:10: note: place parentheses around the assignment to silence this warning 2538 | if( vp = strheadstrX(a1,_P_IMPORIG,0) ){ | ^ | ( ) dgsign.cc:2538:10: note: use '==' to turn this assignment into an equality comparison 2538 | if( vp = strheadstrX(a1,_P_IMPORIG,0) ){ | ^ | == dgsign.cc:2697:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2697 | if( auth = getEnvBin1st(P_EXECAUTH) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ dgsign.cc:2697:11: note: place parentheses around the assignment to silence this warning 2697 | if( auth = getEnvBin1st(P_EXECAUTH) ){ | ^ | ( ) dgsign.cc:2697:11: note: use '==' to turn this assignment into an equality comparison 2697 | if( auth = getEnvBin1st(P_EXECAUTH) ){ | ^ | == dgsign.cc:2704:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2704 | if( auth = getEnvBin1st(P_SUDOAUTH) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ dgsign.cc:2704:12: note: place parentheses around the assignment to silence this warning 2704 | if( auth = getEnvBin1st(P_SUDOAUTH) ){ | ^ | ( ) dgsign.cc:2704:12: note: use '==' to turn this assignment into an equality comparison 2704 | if( auth = getEnvBin1st(P_SUDOAUTH) ){ | ^ | == dgsign.cc:2718:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2718 | if( auth = getEnvBin1st(P_EXECAUTH) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ dgsign.cc:2718:11: note: place parentheses around the assignment to silence this warning 2718 | if( auth = getEnvBin1st(P_EXECAUTH) ){ | ^ | ( ) dgsign.cc:2718:11: note: use '==' to turn this assignment into an equality comparison 2718 | if( auth = getEnvBin1st(P_EXECAUTH) ){ | ^ | == dgsign.cc:2908:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2908 | if( enc = strstr(ibuf,head) ){ | ~~~~^~~~~~~~~~~~~~~~~~~ dgsign.cc:2908:11: note: place parentheses around the assignment to silence this warning 2908 | if( enc = strstr(ibuf,head) ){ | ^ | ( ) dgsign.cc:2908:11: note: use '==' to turn this assignment into an equality comparison 2908 | if( enc = strstr(ibuf,head) ){ | ^ | == dgsign.cc:3037:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3037 | if( ifp = fopen(ipath,"r") ){ | ~~~~^~~~~~~~~~~~~~~~~~ dgsign.cc:3037:14: note: place parentheses around the assignment to silence this warning 3037 | if( ifp = fopen(ipath,"r") ){ | ^ | ( ) dgsign.cc:3037:14: note: use '==' to turn this assignment into an equality comparison 3037 | if( ifp = fopen(ipath,"r") ){ | ^ | == dgsign.cc:3092:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3092 | if( dp = strtailstr(opath,".enc") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ dgsign.cc:3092:11: note: place parentheses around the assignment to silence this warning 3092 | if( dp = strtailstr(opath,".enc") ) | ^ | ( ) dgsign.cc:3092:11: note: use '==' to turn this assignment into an equality comparison 3092 | if( dp = strtailstr(opath,".enc") ) | ^ | == dgsign.cc:3164:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3164 | if( enc = strstr(line,head) ){ | ~~~~^~~~~~~~~~~~~~~~~~~ dgsign.cc:3164:11: note: place parentheses around the assignment to silence this warning 3164 | if( enc = strstr(line,head) ){ | ^ | ( ) dgsign.cc:3164:11: note: use '==' to turn this assignment into an equality comparison 3164 | if( enc = strstr(line,head) ){ | ^ | == dgsign.cc:3424:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3424 | if( rcc = fread(buf,1,QVSSize(buf,bsize),ifp) ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dgsign.cc:3424:11: note: place parentheses around the assignment to silence this warning 3424 | if( rcc = fread(buf,1,QVSSize(buf,bsize),ifp) ) | ^ | ( ) dgsign.cc:3424:11: note: use '==' to turn this assignment into an equality comparison 3424 | if( rcc = fread(buf,1,QVSSize(buf,bsize),ifp) ) | ^ | == dgsign.cc:3443:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3443 | if( pfp = popen(com,"r") ){ | ~~~~^~~~~~~~~~~~~~~~ dgsign.cc:3443:13: note: place parentheses around the assignment to silence this warning 3443 | if( pfp = popen(com,"r") ){ | ^ | ( ) dgsign.cc:3443:13: note: use '==' to turn this assignment into an equality comparison 3443 | if( pfp = popen(com,"r") ){ | ^ | == dgsign.cc:3608:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3608 | for( sp = str; ch = *sp; sp++ ){ | ~~~^~~~~ dgsign.cc:3608:20: note: place parentheses around the assignment to silence this warning 3608 | for( sp = str; ch = *sp; sp++ ){ | ^ | ( ) dgsign.cc:3608:20: note: use '==' to turn this assignment into an equality comparison 3608 | for( sp = str; ch = *sp; sp++ ){ | ^ | == dgsign.cc:3649:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3649 | for( sp = str; ch = *sp; sp++ ){ | ~~~^~~~~ dgsign.cc:3649:20: note: place parentheses around the assignment to silence this warning 3649 | for( sp = str; ch = *sp; sp++ ){ | ^ | ( ) dgsign.cc:3649:20: note: use '==' to turn this assignment into an equality comparison 3649 | for( sp = str; ch = *sp; sp++ ){ | ^ | == 47 warnings generated. ../mkcpp ccache.c ccache.cc -- mkcpp set time: 1791324527 -> 1182065936 ccache.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c ccache.cc ccache.cc:93:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 93 | if( ccfp = fopenCC(server,"r+",AVStr(path)) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ccache.cc:93:12: note: place parentheses around the assignment to silence this warning 93 | if( ccfp = fopenCC(server,"r+",AVStr(path)) ){ | ^ | ( ) ccache.cc:93:12: note: use '==' to turn this assignment into an equality comparison 93 | if( ccfp = fopenCC(server,"r+",AVStr(path)) ){ | ^ | == ccache.cc:273:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 273 | if( ccfp = fopen(path,"a") ) | ~~~~~^~~~~~~~~~~~~~~~~ ccache.cc:273:11: note: place parentheses around the assignment to silence this warning 273 | if( ccfp = fopen(path,"a") ) | ^ | ( ) ccache.cc:273:11: note: use '==' to turn this assignment into an equality comparison 273 | if( ccfp = fopen(path,"a") ) | ^ | == 2 warnings generated. ../mkcpp cache.c cache.cc -- mkcpp set time: 1791324527 -> 1223523518 cache.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c cache.cc cache.cc:102:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 102 | if( dp = strrpbrk(xdir,"/\\") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ cache.cc:102:9: note: place parentheses around the assignment to silence this warning 102 | if( dp = strrpbrk(xdir,"/\\") ) | ^ | ( ) cache.cc:102:9: note: use '==' to turn this assignment into an equality comparison 102 | if( dp = strrpbrk(xdir,"/\\") ) | ^ | == cache.cc:172:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 172 | while( dp = strchr(dp,'/') ){ | ~~~^~~~~~~~~~~~~~~~ cache.cc:172:12: note: place parentheses around the assignment to silence this warning 172 | while( dp = strchr(dp,'/') ){ | ^ | ( ) cache.cc:172:12: note: use '==' to turn this assignment into an equality comparison 172 | while( dp = strchr(dp,'/') ){ | ^ | == cache.cc:196:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 196 | if( dp = strrchr(dir,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~ cache.cc:196:9: note: place parentheses around the assignment to silence this warning 196 | if( dp = strrchr(dir,'/') ){ | ^ | ( ) cache.cc:196:9: note: use '==' to turn this assignment into an equality comparison 196 | if( dp = strrchr(dir,'/') ){ | ^ | == cache.cc:226:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 226 | if( dp = strrchr(dir,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~ cache.cc:226:9: note: place parentheses around the assignment to silence this warning 226 | if( dp = strrchr(dir,'/') ){ | ^ | ( ) cache.cc:226:9: note: use '==' to turn this assignment into an equality comparison 226 | if( dp = strrchr(dir,'/') ){ | ^ | == cache.cc:275:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 275 | if( dp = strrchr(file,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~~ cache.cc:275:9: note: place parentheses around the assignment to silence this warning 275 | if( dp = strrchr(file,'/') ){ | ^ | ( ) cache.cc:275:9: note: use '==' to turn this assignment into an equality comparison 275 | if( dp = strrchr(file,'/') ){ | ^ | == cache.cc:407:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 407 | for( sp = surl; sc = *sp; sp++ ){ | ~~~^~~~~ cache.cc:407:21: note: place parentheses around the assignment to silence this warning 407 | for( sp = surl; sc = *sp; sp++ ){ | ^ | ( ) cache.cc:407:21: note: use '==' to turn this assignment into an equality comparison 407 | for( sp = surl; sc = *sp; sp++ ){ | ^ | == cache.cc:471:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 471 | if( nvport = strchr(nvserv,':') ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~ cache.cc:471:14: note: place parentheses around the assignment to silence this warning 471 | if( nvport = strchr(nvserv,':') ){ | ^ | ( ) cache.cc:471:14: note: use '==' to turn this assignment into an equality comparison 471 | if( nvport = strchr(nvserv,':') ){ | ^ | == cache.cc:498:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 498 | if( rp = strpbrk(path1,"\r\n\t ") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ cache.cc:498:9: note: place parentheses around the assignment to silence this warning 498 | if( rp = strpbrk(path1,"\r\n\t ") ){ | ^ | ( ) cache.cc:498:9: note: use '==' to turn this assignment into an equality comparison 498 | if( rp = strpbrk(path1,"\r\n\t ") ){ | ^ | == cache.cc:610:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 610 | while( dp = strrchr(cpath,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~~~ cache.cc:610:12: note: place parentheses around the assignment to silence this warning 610 | while( dp = strrchr(cpath,'/') ){ | ^ | ( ) cache.cc:610:12: note: use '==' to turn this assignment into an equality comparison 610 | while( dp = strrchr(cpath,'/') ){ | ^ | == cache.cc:630:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 630 | for( sp = path; ch = *sp; sp++ ){ | ~~~^~~~~ cache.cc:630:21: note: place parentheses around the assignment to silence this warning 630 | for( sp = path; ch = *sp; sp++ ){ | ^ | ( ) cache.cc:630:21: note: use '==' to turn this assignment into an equality comparison 630 | for( sp = path; ch = *sp; sp++ ){ | ^ | == cache.cc:761:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 761 | if( tomd5 = (fp[0] == 'm') && (fp[1] != 0) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cache.cc:761:13: note: place parentheses around the assignment to silence this warning 761 | if( tomd5 = (fp[0] == 'm') && (fp[1] != 0) ) | ^ | ( ) cache.cc:761:13: note: use '==' to turn this assignment into an equality comparison 761 | if( tomd5 = (fp[0] == 'm') && (fp[1] != 0) ) | ^ | == cache.cc:870:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 870 | for( fi = 0; bsym = formats[fi].f_begin; fi++ ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~ cache.cc:870:21: note: place parentheses around the assignment to silence this warning 870 | for( fi = 0; bsym = formats[fi].f_begin; fi++ ){ | ^ | ( ) cache.cc:870:21: note: use '==' to turn this assignment into an equality comparison 870 | for( fi = 0; bsym = formats[fi].f_begin; fi++ ){ | ^ | == cache.cc:954:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 954 | if( np = strstr(bp,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~ cache.cc:954:10: note: place parentheses around the assignment to silence this warning 954 | if( np = strstr(bp,"\r\n") ) | ^ | ( ) cache.cc:954:10: note: use '==' to turn this assignment into an equality comparison 954 | if( np = strstr(bp,"\r\n") ) | ^ | == 13 warnings generated. ../mkcpp distrib.c distrib.cc -- mkcpp set time: 1791324528 -> 1200220464 distrib.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c distrib.cc distrib.cc:109:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 109 | if( dp = strpbrk(stat,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ distrib.cc:109:9: note: place parentheses around the assignment to silence this warning 109 | if( dp = strpbrk(stat,"\r\n") ) | ^ | ( ) distrib.cc:109:9: note: use '==' to turn this assignment into an equality comparison 109 | if( dp = strpbrk(stat,"\r\n") ) | ^ | == 1 warning generated. ../mkcpp bcounter.c bcounter.cc -- mkcpp set time: 1791324528 -> 1152083891 bcounter.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c bcounter.cc bcounter.cc:309:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 309 | if( dp = strchr(cpath,'?') ) | ~~~^~~~~~~~~~~~~~~~~~~ bcounter.cc:309:9: note: place parentheses around the assignment to silence this warning 309 | if( dp = strchr(cpath,'?') ) | ^ | ( ) bcounter.cc:309:9: note: use '==' to turn this assignment into an equality comparison 309 | if( dp = strchr(cpath,'?') ) | ^ | == bcounter.cc:545:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 545 | if( pp = strchr(host,':') ){ | ~~~^~~~~~~~~~~~~~~~~~ bcounter.cc:545:10: note: place parentheses around the assignment to silence this warning 545 | if( pp = strchr(host,':') ){ | ^ | ( ) bcounter.cc:545:10: note: use '==' to turn this assignment into an equality comparison 545 | if( pp = strchr(host,':') ){ | ^ | == bcounter.cc:554:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 554 | if( dp = strchr(up,'#') ){ | ~~~^~~~~~~~~~~~~~~~ bcounter.cc:554:11: note: place parentheses around the assignment to silence this warning 554 | if( dp = strchr(up,'#') ){ | ^ | ( ) bcounter.cc:554:11: note: use '==' to turn this assignment into an equality comparison 554 | if( dp = strchr(up,'#') ){ | ^ | == bcounter.cc:558:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 558 | if( dp = strchr(up,'?') ){ | ~~~^~~~~~~~~~~~~~~~ bcounter.cc:558:10: note: place parentheses around the assignment to silence this warning 558 | if( dp = strchr(up,'?') ){ | ^ | ( ) bcounter.cc:558:10: note: use '==' to turn this assignment into an equality comparison 558 | if( dp = strchr(up,'?') ){ | ^ | == bcounter.cc:701:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 701 | if( dp = strstr(url,"#{") ){ | ~~~^~~~~~~~~~~~~~~~~~ bcounter.cc:701:9: note: place parentheses around the assignment to silence this warning 701 | if( dp = strstr(url,"#{") ){ | ^ | ( ) bcounter.cc:701:9: note: use '==' to turn this assignment into an equality comparison 701 | if( dp = strstr(url,"#{") ){ | ^ | == bcounter.cc:704:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 704 | if( dp = strstr(urlb,"#{") ){ | ~~~^~~~~~~~~~~~~~~~~~~ bcounter.cc:704:10: note: place parentheses around the assignment to silence this warning 704 | if( dp = strstr(urlb,"#{") ){ | ^ | ( ) bcounter.cc:704:10: note: use '==' to turn this assignment into an equality comparison 704 | if( dp = strstr(urlb,"#{") ){ | ^ | == bcounter.cc:760:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 760 | if( iscum = streq(url,"##cumget") ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ bcounter.cc:760:12: note: place parentheses around the assignment to silence this warning 760 | if( iscum = streq(url,"##cumget") ){ | ^ | ( ) bcounter.cc:760:12: note: use '==' to turn this assignment into an equality comparison 760 | if( iscum = streq(url,"##cumget") ){ | ^ | == bcounter.cc:769:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 769 | for( fp = fmt; fc = *fp; fp++ ){ | ~~~^~~~~ bcounter.cc:769:20: note: place parentheses around the assignment to silence this warning 769 | for( fp = fmt; fc = *fp; fp++ ){ | ^ | ( ) bcounter.cc:769:20: note: use '==' to turn this assignment into an equality comparison 769 | for( fp = fmt; fc = *fp; fp++ ){ | ^ | == bcounter.cc:823:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 823 | if( mean = (fc == 'm') ){ | ~~~~~^~~~~~~~~~~~~ bcounter.cc:823:12: note: place parentheses around the assignment to silence this warning 823 | if( mean = (fc == 'm') ){ | ^ | ( ) bcounter.cc:823:12: note: use '==' to turn this assignment into an equality comparison 823 | if( mean = (fc == 'm') ){ | ^ | == 9 warnings generated. ../mkcpp ipno.c ipno.cc -- mkcpp set time: 1791324528 -> 1102400407 ipno.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c ipno.cc ipno.cc:34:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 34 | while( ni = fread(cands,ADDRLEN,BLKSIZE,fp) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ipno.cc:34:12: note: place parentheses around the assignment to silence this warning 34 | while( ni = fread(cands,ADDRLEN,BLKSIZE,fp) ){ | ^ | ( ) ipno.cc:34:12: note: use '==' to turn this assignment into an equality comparison 34 | while( ni = fread(cands,ADDRLEN,BLKSIZE,fp) ){ | ^ | == 1 warning generated. ../mkcpp inets.c inets.cc -- mkcpp set time: 1791324528 -> 1791324442 inets.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c inets.cc inets.cc:36:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 36 | char *IPV4MAPV6 = "__0"; | ^ inets.cc:305:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 305 | if( hp = gethostbyname(host) ) | ~~~^~~~~~~~~~~~~~~~~~~~~ inets.cc:305:9: note: place parentheses around the assignment to silence this warning 305 | if( hp = gethostbyname(host) ) | ^ | ( ) inets.cc:305:9: note: use '==' to turn this assignment into an equality comparison 305 | if( hp = gethostbyname(host) ) | ^ | == inets.cc:651:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 651 | for( ri = 0; ri = RES_next_res(resolvers,ri,AVStr(res1),AVStr(arg)); ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets.cc:651:18: note: place parentheses around the assignment to silence this warning 651 | for( ri = 0; ri = RES_next_res(resolvers,ri,AVStr(res1),AVStr(arg)); ){ | ^ | ( ) inets.cc:651:18: note: use '==' to turn this assignment into an equality comparison 651 | for( ri = 0; ri = RES_next_res(resolvers,ri,AVStr(res1),AVStr(arg)); ){ | ^ | == inets.cc:683:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 683 | if( res_logf = fopen(log,"a") ){ | ~~~~~~~~~^~~~~~~~~~~~~~~~ inets.cc:683:16: note: place parentheses around the assignment to silence this warning 683 | if( res_logf = fopen(log,"a") ){ | ^ | ( ) inets.cc:683:16: note: use '==' to turn this assignment into an equality comparison 683 | if( res_logf = fopen(log,"a") ){ | ^ | == inets.cc:719:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 719 | for( hi = 0; haddr = hp->h_addr_list[hi+1]; hi++ ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ inets.cc:719:22: note: place parentheses around the assignment to silence this warning 719 | for( hi = 0; haddr = hp->h_addr_list[hi+1]; hi++ ) | ^ | ( ) inets.cc:719:22: note: use '==' to turn this assignment into an equality comparison 719 | for( hi = 0; haddr = hp->h_addr_list[hi+1]; hi++ ) | ^ | == inets.cc:748:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 748 | for( ai = 0; name1 = hp->h_aliases[ai]; ai++ ) | ~~~~~~^~~~~~~~~~~~~~~~~~~ inets.cc:748:21: note: place parentheses around the assignment to silence this warning 748 | for( ai = 0; name1 = hp->h_aliases[ai]; ai++ ) | ^ | ( ) inets.cc:748:21: note: use '==' to turn this assignment into an equality comparison 748 | for( ai = 0; name1 = hp->h_aliases[ai]; ai++ ) | ^ | == inets.cc:757:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 757 | for( ai = 0; addr1 = hp->h_addr_list[ai]; ai++ ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ inets.cc:757:21: note: place parentheses around the assignment to silence this warning 757 | for( ai = 0; addr1 = hp->h_addr_list[ai]; ai++ ) | ^ | ( ) inets.cc:757:21: note: use '==' to turn this assignment into an equality comparison 757 | for( ai = 0; addr1 = hp->h_addr_list[ai]; ai++ ) | ^ | == inets.cc:834:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 834 | for( si = 0; sc = sv[si]; si++ ){ | ~~~^~~~~~~~ inets.cc:834:18: note: place parentheses around the assignment to silence this warning 834 | for( si = 0; sc = sv[si]; si++ ){ | ^ | ( ) inets.cc:834:18: note: use '==' to turn this assignment into an equality comparison 834 | for( si = 0; sc = sv[si]; si++ ){ | ^ | == inets.cc:864:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 864 | for( ai = 0; a1 = hp1->h_addr_list[ai]; ai++ ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ inets.cc:864:19: note: place parentheses around the assignment to silence this warning 864 | for( ai = 0; a1 = hp1->h_addr_list[ai]; ai++ ){ | ^ | ( ) inets.cc:864:19: note: use '==' to turn this assignment into an equality comparison 864 | for( ai = 0; a1 = hp1->h_addr_list[ai]; ai++ ){ | ^ | == inets.cc:865:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 865 | if( sx = isinlist(hp2->h_addr_list,a1,alen) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets.cc:865:11: note: place parentheses around the assignment to silence this warning 865 | if( sx = isinlist(hp2->h_addr_list,a1,alen) ){ | ^ | ( ) inets.cc:865:11: note: use '==' to turn this assignment into an equality comparison 865 | if( sx = isinlist(hp2->h_addr_list,a1,alen) ){ | ^ | == inets.cc:876:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 876 | for( ai = 0; a1 = hp1->h_aliases[ai]; ai++ ){ | ~~~^~~~~~~~~~~~~~~~~~~~ inets.cc:876:19: note: place parentheses around the assignment to silence this warning 876 | for( ai = 0; a1 = hp1->h_aliases[ai]; ai++ ){ | ^ | ( ) inets.cc:876:19: note: use '==' to turn this assignment into an equality comparison 876 | for( ai = 0; a1 = hp1->h_aliases[ai]; ai++ ){ | ^ | == inets.cc:877:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 877 | if( sx = isinlist(hp2->h_aliases,a1,0) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets.cc:877:11: note: place parentheses around the assignment to silence this warning 877 | if( sx = isinlist(hp2->h_aliases,a1,0) ){ | ^ | ( ) inets.cc:877:11: note: use '==' to turn this assignment into an equality comparison 877 | if( sx = isinlist(hp2->h_aliases,a1,0) ){ | ^ | == inets.cc:967:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 967 | for( ai = 0; name1 = hp->h_aliases[ai]; ai++ ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~ inets.cc:967:21: note: place parentheses around the assignment to silence this warning 967 | for( ai = 0; name1 = hp->h_aliases[ai]; ai++ ){ | ^ | ( ) inets.cc:967:21: note: use '==' to turn this assignment into an equality comparison 967 | for( ai = 0; name1 = hp->h_aliases[ai]; ai++ ){ | ^ | == inets.cc:1160:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1160 | for( ai = 0; addr = hp->h_addr_list[ai]; ai++ ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~ inets.cc:1160:21: note: place parentheses around the assignment to silence this warning 1160 | for( ai = 0; addr = hp->h_addr_list[ai]; ai++ ){ | ^ | ( ) inets.cc:1160:21: note: use '==' to turn this assignment into an equality comparison 1160 | for( ai = 0; addr = hp->h_addr_list[ai]; ai++ ){ | ^ | == inets.cc:1177:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1177 | for( ai = 0; name = hp->h_aliases[ai]; ai++ ) | ~~~~~^~~~~~~~~~~~~~~~~~~ inets.cc:1177:21: note: place parentheses around the assignment to silence this warning 1177 | for( ai = 0; name = hp->h_aliases[ai]; ai++ ) | ^ | ( ) inets.cc:1177:21: note: use '==' to turn this assignment into an equality comparison 1177 | for( ai = 0; name = hp->h_aliases[ai]; ai++ ) | ^ | == inets.cc:1280:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1280 | if( tp = strchr(np,'}') ) | ~~~^~~~~~~~~~~~~~~~ inets.cc:1280:11: note: place parentheses around the assignment to silence this warning 1280 | if( tp = strchr(np,'}') ) | ^ | ( ) inets.cc:1280:11: note: use '==' to turn this assignment into an equality comparison 1280 | if( tp = strchr(np,'}') ) | ^ | == inets.cc:1289:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1289 | if( dp = strchr(np,',') ){ | ~~~^~~~~~~~~~~~~~~~ inets.cc:1289:11: note: place parentheses around the assignment to silence this warning 1289 | if( dp = strchr(np,',') ){ | ^ | ( ) inets.cc:1289:11: note: use '==' to turn this assignment into an equality comparison 1289 | if( dp = strchr(np,',') ){ | ^ | == inets.cc:1349:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1349 | if( hp = Dgethostbyname(name) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ inets.cc:1349:9: note: place parentheses around the assignment to silence this warning 1349 | if( hp = Dgethostbyname(name) ){ | ^ | ( ) inets.cc:1349:9: note: use '==' to turn this assignment into an equality comparison 1349 | if( hp = Dgethostbyname(name) ){ | ^ | == inets.cc:1395:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1395 | if( addrs = strchr(names,'/') ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~ inets.cc:1395:12: note: place parentheses around the assignment to silence this warning 1395 | if( addrs = strchr(names,'/') ){ | ^ | ( ) inets.cc:1395:12: note: use '==' to turn this assignment into an equality comparison 1395 | if( addrs = strchr(names,'/') ){ | ^ | == inets.cc:1397:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1397 | if( opts = strchr(addrs+1,'/') ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~ inets.cc:1397:12: note: place parentheses around the assignment to silence this warning 1397 | if( opts = strchr(addrs+1,'/') ){ | ^ | ( ) inets.cc:1397:12: note: use '==' to turn this assignment into an equality comparison 1397 | if( opts = strchr(addrs+1,'/') ){ | ^ | == inets.cc:1541:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1541 | }else{ | ^ inets.cc:1759:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1759 | if( CHp = findHostentInCache(hp,&chp,&dif) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets.cc:1759:12: note: place parentheses around the assignment to silence this warning 1759 | if( CHp = findHostentInCache(hp,&chp,&dif) ){ | ^ | ( ) inets.cc:1759:12: note: use '==' to turn this assignment into an equality comparison 1759 | if( CHp = findHostentInCache(hp,&chp,&dif) ){ | ^ | == inets.cc:1800:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1800 | if( addr = VSA_ntoa(sa) ) | ~~~~~^~~~~~~~~~~~~~ inets.cc:1800:11: note: place parentheses around the assignment to silence this warning 1800 | if( addr = VSA_ntoa(sa) ) | ^ | ( ) inets.cc:1800:11: note: use '==' to turn this assignment into an equality comparison 1800 | if( addr = VSA_ntoa(sa) ) | ^ | == inets.cc:1825:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1825 | for( fp = form; fc = *fp; fp++ ){ | ~~~^~~~~ inets.cc:1825:21: note: place parentheses around the assignment to silence this warning 1825 | for( fp = form; fc = *fp; fp++ ){ | ^ | ( ) inets.cc:1825:21: note: use '==' to turn this assignment into an equality comparison 1825 | for( fp = form; fc = *fp; fp++ ){ | ^ | == inets.cc:2084:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2084 | if( nready = PollIn(sock,to1) ) | ~~~~~~~^~~~~~~~~~~~~~~~~~ inets.cc:2084:14: note: place parentheses around the assignment to silence this warning 2084 | if( nready = PollIn(sock,to1) ) | ^ | ( ) inets.cc:2084:14: note: use '==' to turn this assignment into an equality comparison 2084 | if( nready = PollIn(sock,to1) ) | ^ | == inets.cc:2182:16: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] 2182 | DGC *MainConn(); | ^~ inets.cc:2182:16: note: replace parentheses with an initializer to declare a variable 2182 | DGC *MainConn(); | ^~ | = nullptr inets.cc:2255:13: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] 2255 | double Time(),Start; | ^~ inets.cc:2255:13: note: replace parentheses with an initializer to declare a variable 2255 | double Time(),Start; | ^~ | = 0.0 inets.cc:2289:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2289 | if( ds = ConRetry(sock,sap,what,portname,hostname,iport,ntry) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets.cc:2289:10: note: place parentheses around the assignment to silence this warning 2289 | if( ds = ConRetry(sock,sap,what,portname,hostname,iport,ntry) ){ | ^ | ( ) inets.cc:2289:10: note: use '==' to turn this assignment into an equality comparison 2289 | if( ds = ConRetry(sock,sap,what,portname,hostname,iport,ntry) ){ | ^ | == inets.cc:2397:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2397 | for( hi = 0; haddr = hp->h_addr_list[hi]; hi++ ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ inets.cc:2397:21: note: place parentheses around the assignment to silence this warning 2397 | for( hi = 0; haddr = hp->h_addr_list[hi]; hi++ ){ | ^ | ( ) inets.cc:2397:21: note: use '==' to turn this assignment into an equality comparison 2397 | for( hi = 0; haddr = hp->h_addr_list[hi]; hi++ ){ | ^ | == inets.cc:2489:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2489 | if( hp = gethostbyNameAddr(cache_only,host,NULL,0,0) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets.cc:2489:9: note: place parentheses around the assignment to silence this warning 2489 | if( hp = gethostbyNameAddr(cache_only,host,NULL,0,0) ) | ^ | ( ) inets.cc:2489:9: note: use '==' to turn this assignment into an equality comparison 2489 | if( hp = gethostbyNameAddr(cache_only,host,NULL,0,0) ) | ^ | == inets.cc:2499:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2499 | if( addr = _gethostaddr(host,0) ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ inets.cc:2499:11: note: place parentheses around the assignment to silence this warning 2499 | if( addr = _gethostaddr(host,0) ) | ^ | ( ) inets.cc:2499:11: note: use '==' to turn this assignment into an equality comparison 2499 | if( addr = _gethostaddr(host,0) ) | ^ | == inets.cc:2534:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2534 | if( hp = gethostbyNameAddr(cacheonly,host,NULL,0,0) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets.cc:2534:9: note: place parentheses around the assignment to silence this warning 2534 | if( hp = gethostbyNameAddr(cacheonly,host,NULL,0,0) ){ | ^ | ( ) inets.cc:2534:9: note: use '==' to turn this assignment into an equality comparison 2534 | if( hp = gethostbyNameAddr(cacheonly,host,NULL,0,0) ){ | ^ | == inets.cc:2611:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2611 | if( found = getHost_nbo(0,host,VStrNULL,&sab) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets.cc:2611:12: note: place parentheses around the assignment to silence this warning 2611 | if( found = getHost_nbo(0,host,VStrNULL,&sab) ){ | ^ | ( ) inets.cc:2611:12: note: use '==' to turn this assignment into an equality comparison 2611 | if( found = getHost_nbo(0,host,VStrNULL,&sab) ){ | ^ | == inets.cc:2702:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2702 | for( n2 = 0; a2 = hp2->h_addr_list[n2]; n2++ ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ inets.cc:2702:18: note: place parentheses around the assignment to silence this warning 2702 | for( n2 = 0; a2 = hp2->h_addr_list[n2]; n2++ ){ | ^ | ( ) inets.cc:2702:18: note: use '==' to turn this assignment into an equality comparison 2702 | for( n2 = 0; a2 = hp2->h_addr_list[n2]; n2++ ){ | ^ | == inets.cc:2703:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2703 | for( n1 = 0; a1 = hp1->h_addr_list[n1]; n1++ ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ inets.cc:2703:19: note: place parentheses around the assignment to silence this warning 2703 | for( n1 = 0; a1 = hp1->h_addr_list[n1]; n1++ ) | ^ | ( ) inets.cc:2703:19: note: use '==' to turn this assignment into an equality comparison 2703 | for( n1 = 0; a1 = hp1->h_addr_list[n1]; n1++ ) | ^ | == inets.cc:2783:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2783 | if( aaddr = gethostaddr(hostname) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ inets.cc:2783:12: note: place parentheses around the assignment to silence this warning 2783 | if( aaddr = gethostaddr(hostname) ){ | ^ | ( ) inets.cc:2783:12: note: use '==' to turn this assignment into an equality comparison 2783 | if( aaddr = gethostaddr(hostname) ){ | ^ | == inets.cc:3209:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3209 | if( hp = gethostbyNameAddr(0,host,NULL,0,0) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets.cc:3209:10: note: place parentheses around the assignment to silence this warning 3209 | if( hp = gethostbyNameAddr(0,host,NULL,0,0) ) | ^ | ( ) inets.cc:3209:10: note: use '==' to turn this assignment into an equality comparison 3209 | if( hp = gethostbyNameAddr(0,host,NULL,0,0) ) | ^ | == inets.cc:3317:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3317 | if( hp = gethostbyNameAddr(0,hostname,NULL,0,0) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets.cc:3317:10: note: place parentheses around the assignment to silence this warning 3317 | if( hp = gethostbyNameAddr(0,hostname,NULL,0,0) ){ | ^ | ( ) inets.cc:3317:10: note: use '==' to turn this assignment into an equality comparison 3317 | if( hp = gethostbyNameAddr(0,hostname,NULL,0,0) ){ | ^ | == inets.cc:3366:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3366 | if( addr = gethostaddr(host) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~ inets.cc:3366:12: note: place parentheses around the assignment to silence this warning 3366 | if( addr = gethostaddr(host) ){ | ^ | ( ) inets.cc:3366:12: note: use '==' to turn this assignment into an equality comparison 3366 | if( addr = gethostaddr(host) ){ | ^ | == inets.cc:3398:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3398 | for( nx = 0; cname = names[nx] ; nx++ ){ | ~~~~~~^~~~~~~~~~~ inets.cc:3398:21: note: place parentheses around the assignment to silence this warning 3398 | for( nx = 0; cname = names[nx] ; nx++ ){ | ^ | ( ) inets.cc:3398:21: note: use '==' to turn this assignment into an equality comparison 3398 | for( nx = 0; cname = names[nx] ; nx++ ){ | ^ | == inets.cc:3433:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3433 | if( Hp = findHostCache(host,NULL,0,0) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets.cc:3433:9: note: place parentheses around the assignment to silence this warning 3433 | if( Hp = findHostCache(host,NULL,0,0) ) | ^ | ( ) inets.cc:3433:9: note: use '==' to turn this assignment into an equality comparison 3433 | if( Hp = findHostCache(host,NULL,0,0) ) | ^ | == inets.cc:3464:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3464 | for( ox = 0; ox = RES_next_res(sorder,ox,AVStr(order1),VStrNULL); ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets.cc:3464:18: note: place parentheses around the assignment to silence this warning 3464 | for( ox = 0; ox = RES_next_res(sorder,ox,AVStr(order1),VStrNULL); ){ | ^ | ( ) inets.cc:3464:18: note: use '==' to turn this assignment into an equality comparison 3464 | for( ox = 0; ox = RES_next_res(sorder,ox,AVStr(order1),VStrNULL); ){ | ^ | == inets.cc:3505:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3505 | if( Hp = findHostCache(name,addr,len,type) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets.cc:3505:9: note: place parentheses around the assignment to silence this warning 3505 | if( Hp = findHostCache(name,addr,len,type) ) | ^ | ( ) inets.cc:3505:9: note: use '==' to turn this assignment into an equality comparison 3505 | if( Hp = findHostCache(name,addr,len,type) ) | ^ | == inets.cc:3514:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3514 | if( Hp = findHostCacheByaddr(name) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ inets.cc:3514:10: note: place parentheses around the assignment to silence this warning 3514 | if( Hp = findHostCacheByaddr(name) ){ | ^ | ( ) inets.cc:3514:10: note: use '==' to turn this assignment into an equality comparison 3514 | if( Hp = findHostCacheByaddr(name) ){ | ^ | == inets.cc:3709:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3709 | if( dp = strchr(sockname,':') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ inets.cc:3709:11: note: place parentheses around the assignment to silence this warning 3709 | if( dp = strchr(sockname,':') ){ | ^ | ( ) inets.cc:3709:11: note: use '==' to turn this assignment into an equality comparison 3709 | if( dp = strchr(sockname,':') ){ | ^ | == inets.cc:3778:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3778 | if( dp = strchr(sockname,':') ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ inets.cc:3778:11: note: place parentheses around the assignment to silence this warning 3778 | if( dp = strchr(sockname,':') ) | ^ | ( ) inets.cc:3778:11: note: use '==' to turn this assignment into an equality comparison 3778 | if( dp = strchr(sockname,':') ) | ^ | == inets.cc:3793:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3793 | if( aaddr = gethostaddr(server) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ inets.cc:3793:12: note: place parentheses around the assignment to silence this warning 3793 | if( aaddr = gethostaddr(server) ){ | ^ | ( ) inets.cc:3793:12: note: use '==' to turn this assignment into an equality comparison 3793 | if( aaddr = gethostaddr(server) ){ | ^ | == inets.cc:3970:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3970 | if( viaNAT = setupDATAviaNAT(Conn,&svsock,&svpeer,BVStr(mport)) ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets.cc:3970:13: note: place parentheses around the assignment to silence this warning 3970 | if( viaNAT = setupDATAviaNAT(Conn,&svsock,&svpeer,BVStr(mport)) ){ | ^ | ( ) inets.cc:3970:13: note: use '==' to turn this assignment into an equality comparison 3970 | if( viaNAT = setupDATAviaNAT(Conn,&svsock,&svpeer,BVStr(mport)) ){ | ^ | == inets.cc:4166:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4166 | if( hp = gethostbyNameAddr(0,host,NULL,0,0) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets.cc:4166:10: note: place parentheses around the assignment to silence this warning 4166 | if( hp = gethostbyNameAddr(0,host,NULL,0,0) ) | ^ | ( ) inets.cc:4166:10: note: use '==' to turn this assignment into an equality comparison 4166 | if( hp = gethostbyNameAddr(0,host,NULL,0,0) ) | ^ | == inets.cc:4245:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4245 | if( hp0 = gethostbyNameAddr(nocache,host1,NULL,0,0) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets.cc:4245:10: note: place parentheses around the assignment to silence this warning 4245 | if( hp0 = gethostbyNameAddr(nocache,host1,NULL,0,0) ){ | ^ | ( ) inets.cc:4245:10: note: use '==' to turn this assignment into an equality comparison 4245 | if( hp0 = gethostbyNameAddr(nocache,host1,NULL,0,0) ){ | ^ | == inets.cc:4247:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4247 | if( hp2 = gethostbyNameAddr(nocache,host2,NULL,0,0) ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets.cc:4247:11: note: place parentheses around the assignment to silence this warning 4247 | if( hp2 = gethostbyNameAddr(nocache,host2,NULL,0,0) ) | ^ | ( ) inets.cc:4247:11: note: use '==' to turn this assignment into an equality comparison 4247 | if( hp2 = gethostbyNameAddr(nocache,host2,NULL,0,0) ) | ^ | == inets.cc:4253:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4253 | for( aj = 0; n2 = hp2->h_aliases[aj]; aj++ ){ | ~~~^~~~~~~~~~~~~~~~~~~~ inets.cc:4253:20: note: place parentheses around the assignment to silence this warning 4253 | for( aj = 0; n2 = hp2->h_aliases[aj]; aj++ ){ | ^ | ( ) inets.cc:4253:20: note: use '==' to turn this assignment into an equality comparison 4253 | for( aj = 0; n2 = hp2->h_aliases[aj]; aj++ ){ | ^ | == inets.cc:4258:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4258 | for( ai = 0; n1 = hp1->h_aliases[ai]; ai++ ) | ~~~^~~~~~~~~~~~~~~~~~~~ inets.cc:4258:20: note: place parentheses around the assignment to silence this warning 4258 | for( ai = 0; n1 = hp1->h_aliases[ai]; ai++ ) | ^ | ( ) inets.cc:4258:20: note: use '==' to turn this assignment into an equality comparison 4258 | for( ai = 0; n1 = hp1->h_aliases[ai]; ai++ ) | ^ | == inets.cc:4259:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4259 | for( aj = 0; n2 = hp2->h_aliases[aj]; aj++ ){ | ~~~^~~~~~~~~~~~~~~~~~~~ inets.cc:4259:20: note: place parentheses around the assignment to silence this warning 4259 | for( aj = 0; n2 = hp2->h_aliases[aj]; aj++ ){ | ^ | ( ) inets.cc:4259:20: note: use '==' to turn this assignment into an equality comparison 4259 | for( aj = 0; n2 = hp2->h_aliases[aj]; aj++ ){ | ^ | == inets.cc:4264:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4264 | for( ai = 0; a1 = hp1->h_addr_list[ai]; ai++ ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ inets.cc:4264:20: note: place parentheses around the assignment to silence this warning 4264 | for( ai = 0; a1 = hp1->h_addr_list[ai]; ai++ ) | ^ | ( ) inets.cc:4264:20: note: use '==' to turn this assignment into an equality comparison 4264 | for( ai = 0; a1 = hp1->h_addr_list[ai]; ai++ ) | ^ | == inets.cc:4265:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4265 | for( aj = 0; a2 = hp2->h_addr_list[aj]; aj++ ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ inets.cc:4265:20: note: place parentheses around the assignment to silence this warning 4265 | for( aj = 0; a2 = hp2->h_addr_list[aj]; aj++ ){ | ^ | ( ) inets.cc:4265:20: note: use '==' to turn this assignment into an equality comparison 4265 | for( aj = 0; a2 = hp2->h_addr_list[aj]; aj++ ){ | ^ | == inets.cc:4445:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4445 | if( hp = gethostbyNameAddr(cacheonly,hostname,NULL,0,0) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets.cc:4445:9: note: place parentheses around the assignment to silence this warning 4445 | if( hp = gethostbyNameAddr(cacheonly,hostname,NULL,0,0) ){ | ^ | ( ) inets.cc:4445:9: note: use '==' to turn this assignment into an equality comparison 4445 | if( hp = gethostbyNameAddr(cacheonly,hostname,NULL,0,0) ){ | ^ | == inets.cc:4481:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4481 | if( resolv = getenv("RES_ORDER") ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~ inets.cc:4481:13: note: place parentheses around the assignment to silence this warning 4481 | if( resolv = getenv("RES_ORDER") ){ | ^ | ( ) inets.cc:4481:13: note: use '==' to turn this assignment into an equality comparison 4481 | if( resolv = getenv("RES_ORDER") ){ | ^ | == inets.cc:4485:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4485 | if( resolv = DELEGATE_getEnv("RESOLV") ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ inets.cc:4485:13: note: place parentheses around the assignment to silence this warning 4485 | if( resolv = DELEGATE_getEnv("RESOLV") ){ | ^ | ( ) inets.cc:4485:13: note: use '==' to turn this assignment into an equality comparison 4485 | if( resolv = DELEGATE_getEnv("RESOLV") ){ | ^ | == inets.cc:4489:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4489 | if( reswait = DELEGATE_getEnv("RES_WAIT") ){ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets.cc:4489:14: note: place parentheses around the assignment to silence this warning 4489 | if( reswait = DELEGATE_getEnv("RES_WAIT") ){ | ^ | ( ) inets.cc:4489:14: note: use '==' to turn this assignment into an equality comparison 4489 | if( reswait = DELEGATE_getEnv("RES_WAIT") ){ | ^ | == inets.cc:4546:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4546 | if( Me = findHostCache(myname,NULL,0,0) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets.cc:4546:9: note: place parentheses around the assignment to silence this warning 4546 | if( Me = findHostCache(myname,NULL,0,0) ){ | ^ | ( ) inets.cc:4546:9: note: use '==' to turn this assignment into an equality comparison 4546 | if( Me = findHostCache(myname,NULL,0,0) ){ | ^ | == inets.cc:4549:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4549 | if( me = EX_GETHOSTBYNAME((char*)myname) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets.cc:4549:9: note: place parentheses around the assignment to silence this warning 4549 | if( me = EX_GETHOSTBYNAME((char*)myname) ){ | ^ | ( ) inets.cc:4549:9: note: use '==' to turn this assignment into an equality comparison 4549 | if( me = EX_GETHOSTBYNAME((char*)myname) ){ | ^ | == inets.cc:4562:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4562 | if( me = getMyHostname1(BVStr(myname),nsize) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets.cc:4562:9: note: place parentheses around the assignment to silence this warning 4562 | if( me = getMyHostname1(BVStr(myname),nsize) ){ | ^ | ( ) inets.cc:4562:9: note: use '==' to turn this assignment into an equality comparison 4562 | if( me = getMyHostname1(BVStr(myname),nsize) ){ | ^ | == inets.cc:4579:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4579 | if( me = getMyHostname1(BVStr(myname),nsize) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets.cc:4579:10: note: place parentheses around the assignment to silence this warning 4579 | if( me = getMyHostname1(BVStr(myname),nsize) ){ | ^ | ( ) inets.cc:4579:10: note: use '==' to turn this assignment into an equality comparison 4579 | if( me = getMyHostname1(BVStr(myname),nsize) ){ | ^ | == inets.cc:4658:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4658 | for( ai = 0; addr = me->h_addr_list[ai]; ai++ ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~ inets.cc:4658:21: note: place parentheses around the assignment to silence this warning 4658 | for( ai = 0; addr = me->h_addr_list[ai]; ai++ ){ | ^ | ( ) inets.cc:4658:21: note: use '==' to turn this assignment into an equality comparison 4658 | for( ai = 0; addr = me->h_addr_list[ai]; ai++ ){ | ^ | == inets.cc:4671:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4671 | if( rp = strchr(porder,'S') ) | ~~~^~~~~~~~~~~~~~~~~~~~ inets.cc:4671:10: note: place parentheses around the assignment to silence this warning 4671 | if( rp = strchr(porder,'S') ) | ^ | ( ) inets.cc:4671:10: note: use '==' to turn this assignment into an equality comparison 4671 | if( rp = strchr(porder,'S') ) | ^ | == inets.cc:4680:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4680 | if( rp = strchr(porder,'N') ) | ~~~^~~~~~~~~~~~~~~~~~~~ inets.cc:4680:10: note: place parentheses around the assignment to silence this warning 4680 | if( rp = strchr(porder,'N') ) | ^ | ( ) inets.cc:4680:10: note: use '==' to turn this assignment into an equality comparison 4680 | if( rp = strchr(porder,'N') ) | ^ | == 67 warnings generated. ../mkcpp uns.c uns.cc -- mkcpp set time: 1791324529 -> 1206083443 uns.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c uns.cc uns.cc:180:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 180 | if( dp = strrpbrk(dir,"/\\") ) | ~~~^~~~~~~~~~~~~~~~~~~~~ uns.cc:180:10: note: place parentheses around the assignment to silence this warning 180 | if( dp = strrpbrk(dir,"/\\") ) | ^ | ( ) uns.cc:180:10: note: use '==' to turn this assignment into an equality comparison 180 | if( dp = strrpbrk(dir,"/\\") ) | ^ | == uns.cc:333:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 333 | if( dp = strrchr(spath,'/') ) | ~~~^~~~~~~~~~~~~~~~~~~~ uns.cc:333:9: note: place parentheses around the assignment to silence this warning 333 | if( dp = strrchr(spath,'/') ) | ^ | ( ) uns.cc:333:9: note: use '==' to turn this assignment into an equality comparison 333 | if( dp = strrchr(spath,'/') ) | ^ | == 2 warnings generated. ../mkcpp rident.c rident.cc -- mkcpp set time: 1791324529 -> 1226040464 rident.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c rident.cc ../mkcpp inetd.c inetd.cc -- mkcpp set time: 1791324529 -> 1160075956 inetd.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c inetd.cc inetd.cc:115:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 115 | for( ai = 0; arg = ic->i_argv[ai]; ai++ ){ | ~~~~^~~~~~~~~~~~~~~~ inetd.cc:115:19: note: place parentheses around the assignment to silence this warning 115 | for( ai = 0; arg = ic->i_argv[ai]; ai++ ){ | ^ | ( ) inetd.cc:115:19: note: use '==' to turn this assignment into an equality comparison 115 | for( ai = 0; arg = ic->i_argv[ai]; ai++ ){ | ^ | == inetd.cc:164:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 164 | if( dp = strchr(conf,'#') ) | ~~~^~~~~~~~~~~~~~~~~~ inetd.cc:164:9: note: place parentheses around the assignment to silence this warning 164 | if( dp = strchr(conf,'#') ) | ^ | ( ) inetd.cc:164:9: note: use '==' to turn this assignment into an equality comparison 164 | if( dp = strchr(conf,'#') ) | ^ | == 2 warnings generated. ../mkcpp thruwayd.c thruwayd.cc -- mkcpp set time: 1791324530 -> 1226040547 thruwayd.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c thruwayd.cc thruwayd.cc:328:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 328 | if( env = getenv("THRUWAY_ENTR") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ thruwayd.cc:328:10: note: place parentheses around the assignment to silence this warning 328 | if( env = getenv("THRUWAY_ENTR") ) | ^ | ( ) thruwayd.cc:328:10: note: use '==' to turn this assignment into an equality comparison 328 | if( env = getenv("THRUWAY_ENTR") ) | ^ | == thruwayd.cc:330:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 330 | if( env = getenv("THRUWAY_EXIT") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ thruwayd.cc:330:10: note: place parentheses around the assignment to silence this warning 330 | if( env = getenv("THRUWAY_EXIT") ) | ^ | ( ) thruwayd.cc:330:10: note: use '==' to turn this assignment into an equality comparison 330 | if( env = getenv("THRUWAY_EXIT") ) | ^ | == thruwayd.cc:610:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 610 | if( pp = ports[pi] ){ | ~~~^~~~~~~~~~~ thruwayd.cc:610:9: note: place parentheses around the assignment to silence this warning 610 | if( pp = ports[pi] ){ | ^ | ( ) thruwayd.cc:610:9: note: use '==' to turn this assignment into an equality comparison 610 | if( pp = ports[pi] ){ | ^ | == thruwayd.cc:736:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 736 | if( pp = ports[pi] ) | ~~~^~~~~~~~~~~ thruwayd.cc:736:9: note: place parentheses around the assignment to silence this warning 736 | if( pp = ports[pi] ) | ^ | ( ) thruwayd.cc:736:9: note: use '==' to turn this assignment into an equality comparison 736 | if( pp = ports[pi] ) | ^ | == thruwayd.cc:739:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 739 | else | ^ thruwayd.cc:766:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 766 | if( pp = ports[pi] ) | ~~~^~~~~~~~~~~ thruwayd.cc:766:9: note: place parentheses around the assignment to silence this warning 766 | if( pp = ports[pi] ) | ^ | ( ) thruwayd.cc:766:9: note: use '==' to turn this assignment into an equality comparison 766 | if( pp = ports[pi] ) | ^ | == thruwayd.cc:782:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 782 | if( pp = ports[pi] ) | ~~~^~~~~~~~~~~ thruwayd.cc:782:9: note: place parentheses around the assignment to silence this warning 782 | if( pp = ports[pi] ) | ^ | ( ) thruwayd.cc:782:9: note: use '==' to turn this assignment into an equality comparison 782 | if( pp = ports[pi] ) | ^ | == thruwayd.cc:812:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 812 | if( pp = ports[pi] ){ | ~~~^~~~~~~~~~~ thruwayd.cc:812:9: note: place parentheses around the assignment to silence this warning 812 | if( pp = ports[pi] ){ | ^ | ( ) thruwayd.cc:812:9: note: use '==' to turn this assignment into an equality comparison 812 | if( pp = ports[pi] ){ | ^ | == thruwayd.cc:873:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 873 | if( pp = ports[sock] ) | ~~~^~~~~~~~~~~~~ thruwayd.cc:873:9: note: place parentheses around the assignment to silence this warning 873 | if( pp = ports[sock] ) | ^ | ( ) thruwayd.cc:873:9: note: use '==' to turn this assignment into an equality comparison 873 | if( pp = ports[sock] ) | ^ | == thruwayd.cc:940:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 940 | if( elp = strchr(P_BUFF,'\n') ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~ thruwayd.cc:940:11: note: place parentheses around the assignment to silence this warning 940 | if( elp = strchr(P_BUFF,'\n') ){ | ^ | ( ) thruwayd.cc:940:11: note: use '==' to turn this assignment into an equality comparison 940 | if( elp = strchr(P_BUFF,'\n') ){ | ^ | == thruwayd.cc:973:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 973 | if( elp = strchr(P_BUFF,'\n') ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~ thruwayd.cc:973:11: note: place parentheses around the assignment to silence this warning 973 | if( elp = strchr(P_BUFF,'\n') ){ | ^ | ( ) thruwayd.cc:973:11: note: use '==' to turn this assignment into an equality comparison 973 | if( elp = strchr(P_BUFF,'\n') ){ | ^ | == thruwayd.cc:1016:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1016 | if( elp = strchr(P_BUFF,'\n') ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~ thruwayd.cc:1016:11: note: place parentheses around the assignment to silence this warning 1016 | if( elp = strchr(P_BUFF,'\n') ){ | ^ | ( ) thruwayd.cc:1016:11: note: use '==' to turn this assignment into an equality comparison 1016 | if( elp = strchr(P_BUFF,'\n') ){ | ^ | == thruwayd.cc:1078:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1078 | if( vp = strpbrk(up," \t\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~ thruwayd.cc:1078:9: note: place parentheses around the assignment to silence this warning 1078 | if( vp = strpbrk(up," \t\r\n") ) | ^ | ( ) thruwayd.cc:1078:9: note: use '==' to turn this assignment into an equality comparison 1078 | if( vp = strpbrk(up," \t\r\n") ) | ^ | == thruwayd.cc:1101:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1101 | for( sp = up; sc = *sp++; ){ | ~~~^~~~~~~ thruwayd.cc:1101:19: note: place parentheses around the assignment to silence this warning 1101 | for( sp = up; sc = *sp++; ){ | ^ | ( ) thruwayd.cc:1101:19: note: use '==' to turn this assignment into an equality comparison 1101 | for( sp = up; sc = *sp++; ){ | ^ | == thruwayd.cc:1353:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1353 | if( pp = ports[sockx] ){ | ~~~^~~~~~~~~~~~~~ thruwayd.cc:1353:11: note: place parentheses around the assignment to silence this warning 1353 | if( pp = ports[sockx] ){ | ^ | ( ) thruwayd.cc:1353:11: note: use '==' to turn this assignment into an equality comparison 1353 | if( pp = ports[sockx] ){ | ^ | == thruwayd.cc:1363:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1363 | if( pp = ports[sockx] ){ | ~~~^~~~~~~~~~~~~~ thruwayd.cc:1363:11: note: place parentheses around the assignment to silence this warning 1363 | if( pp = ports[sockx] ){ | ^ | ( ) thruwayd.cc:1363:11: note: use '==' to turn this assignment into an equality comparison 1363 | if( pp = ports[sockx] ){ | ^ | == thruwayd.cc:1373:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1373 | if( pp = ports[sockx] ){ | ~~~^~~~~~~~~~~~~~ thruwayd.cc:1373:11: note: place parentheses around the assignment to silence this warning 1373 | if( pp = ports[sockx] ){ | ^ | ( ) thruwayd.cc:1373:11: note: use '==' to turn this assignment into an equality comparison 1373 | if( pp = ports[sockx] ){ | ^ | == thruwayd.cc:1392:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1392 | if( pp = ports[sockx] ){ | ~~~^~~~~~~~~~~~~~ thruwayd.cc:1392:11: note: place parentheses around the assignment to silence this warning 1392 | if( pp = ports[sockx] ){ | ^ | ( ) thruwayd.cc:1392:11: note: use '==' to turn this assignment into an equality comparison 1392 | if( pp = ports[sockx] ){ | ^ | == thruwayd.cc:1411:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1411 | if( pp = ports[sockx] ) | ~~~^~~~~~~~~~~~~~ thruwayd.cc:1411:11: note: place parentheses around the assignment to silence this warning 1411 | if( pp = ports[sockx] ) | ^ | ( ) thruwayd.cc:1411:11: note: use '==' to turn this assignment into an equality comparison 1411 | if( pp = ports[sockx] ) | ^ | == thruwayd.cc:1416:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1416 | if( pp = ports[sockx] ) | ~~~^~~~~~~~~~~~~~ thruwayd.cc:1416:11: note: place parentheses around the assignment to silence this warning 1416 | if( pp = ports[sockx] ) | ^ | ( ) thruwayd.cc:1416:11: note: use '==' to turn this assignment into an equality comparison 1416 | if( pp = ports[sockx] ) | ^ | == thruwayd.cc:1428:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1428 | if( pp = ports[sockx] ) | ~~~^~~~~~~~~~~~~~ thruwayd.cc:1428:11: note: place parentheses around the assignment to silence this warning 1428 | if( pp = ports[sockx] ) | ^ | ( ) thruwayd.cc:1428:11: note: use '==' to turn this assignment into an equality comparison 1428 | if( pp = ports[sockx] ) | ^ | == thruwayd.cc:1436:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1436 | if( pp = ports[sockx] ) | ~~~^~~~~~~~~~~~~~ thruwayd.cc:1436:11: note: place parentheses around the assignment to silence this warning 1436 | if( pp = ports[sockx] ) | ^ | ( ) thruwayd.cc:1436:11: note: use '==' to turn this assignment into an equality comparison 1436 | if( pp = ports[sockx] ) | ^ | == thruwayd.cc:1441:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1441 | if( pp = ports[sockx] ) | ~~~^~~~~~~~~~~~~~ thruwayd.cc:1441:11: note: place parentheses around the assignment to silence this warning 1441 | if( pp = ports[sockx] ) | ^ | ( ) thruwayd.cc:1441:11: note: use '==' to turn this assignment into an equality comparison 1441 | if( pp = ports[sockx] ) | ^ | == thruwayd.cc:1449:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1449 | if( pp = ports[sockx] ) | ~~~^~~~~~~~~~~~~~ thruwayd.cc:1449:11: note: place parentheses around the assignment to silence this warning 1449 | if( pp = ports[sockx] ) | ^ | ( ) thruwayd.cc:1449:11: note: use '==' to turn this assignment into an equality comparison 1449 | if( pp = ports[sockx] ) | ^ | == thruwayd.cc:1545:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1545 | if( flagment = sp->io[W_IN].p_flagment ) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ thruwayd.cc:1545:16: note: place parentheses around the assignment to silence this warning 1545 | if( flagment = sp->io[W_IN].p_flagment ) | ^ | ( ) thruwayd.cc:1545:16: note: use '==' to turn this assignment into an equality comparison 1545 | if( flagment = sp->io[W_IN].p_flagment ) | ^ | == thruwayd.cc:1722:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1722 | if( dp = ports[dsock] ) | ~~~^~~~~~~~~~~~~~ thruwayd.cc:1722:10: note: place parentheses around the assignment to silence this warning 1722 | if( dp = ports[dsock] ) | ^ | ( ) thruwayd.cc:1722:10: note: use '==' to turn this assignment into an equality comparison 1722 | if( dp = ports[dsock] ) | ^ | == thruwayd.cc:2208:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2208 | if( ssock = ports[sockx]->p_accsock ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ thruwayd.cc:2208:13: note: place parentheses around the assignment to silence this warning 2208 | if( ssock = ports[sockx]->p_accsock ){ | ^ | ( ) thruwayd.cc:2208:13: note: use '==' to turn this assignment into an equality comparison 2208 | if( ssock = ports[sockx]->p_accsock ){ | ^ | == thruwayd.cc:2263:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2263 | if( ssock = ports[sockx]->p_accsock ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ thruwayd.cc:2263:13: note: place parentheses around the assignment to silence this warning 2263 | if( ssock = ports[sockx]->p_accsock ){ | ^ | ( ) thruwayd.cc:2263:13: note: use '==' to turn this assignment into an equality comparison 2263 | if( ssock = ports[sockx]->p_accsock ){ | ^ | == 28 warnings generated. ../mkcpp dget.c dget.cc -- mkcpp set time: 1791324530 -> 1228599907 dget.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c dget.cc dget.cc:193:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 193 | for( nrec = 0; rc1 = freadTIMEOUT(AVStr(buf),1,sizeof(buf),fp); nrec++ ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dget.cc:193:21: note: place parentheses around the assignment to silence this warning 193 | for( nrec = 0; rc1 = freadTIMEOUT(AVStr(buf),1,sizeof(buf),fp); nrec++ ){ | ^ | ( ) dget.cc:193:21: note: use '==' to turn this assignment into an equality comparison 193 | for( nrec = 0; rc1 = freadTIMEOUT(AVStr(buf),1,sizeof(buf),fp); nrec++ ){ | ^ | == dget.cc:646:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 646 | if( dp = strpbrk(url,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~ dget.cc:646:11: note: place parentheses around the assignment to silence this warning 646 | if( dp = strpbrk(url,"\r\n") ) | ^ | ( ) dget.cc:646:11: note: use '==' to turn this assignment into an equality comparison 646 | if( dp = strpbrk(url,"\r\n") ) | ^ | == dget.cc:696:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 696 | if( dp = strchr(env,':') ) | ~~~^~~~~~~~~~~~~~~~~ dget.cc:696:11: note: place parentheses around the assignment to silence this warning 696 | if( dp = strchr(env,':') ) | ^ | ( ) dget.cc:696:11: note: use '==' to turn this assignment into an equality comparison 696 | if( dp = strchr(env,':') ) | ^ | == dget.cc:798:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 798 | if( pass = strchr(auth,':') ){ | ~~~~~^~~~~~~~~~~~~~~~~~ dget.cc:798:12: note: place parentheses around the assignment to silence this warning 798 | if( pass = strchr(auth,':') ){ | ^ | ( ) dget.cc:798:12: note: use '==' to turn this assignment into an equality comparison 798 | if( pass = strchr(auth,':') ){ | ^ | == dget.cc:925:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 925 | if( dp = strstr(url,"..") ) | ~~~^~~~~~~~~~~~~~~~~~ dget.cc:925:9: note: place parentheses around the assignment to silence this warning 925 | if( dp = strstr(url,"..") ) | ^ | ( ) dget.cc:925:9: note: use '==' to turn this assignment into an equality comparison 925 | if( dp = strstr(url,"..") ) | ^ | == dget.cc:933:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 933 | if( bp = strrchr(xurl,'/') ) | ~~~^~~~~~~~~~~~~~~~~~~ dget.cc:933:10: note: place parentheses around the assignment to silence this warning 933 | if( bp = strrchr(xurl,'/') ) | ^ | ( ) dget.cc:933:10: note: use '==' to turn this assignment into an equality comparison 933 | if( bp = strrchr(xurl,'/') ) | ^ | == dget.cc:938:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 938 | if( dp = strchr(xurl,'#') ) | ~~~^~~~~~~~~~~~~~~~~~ dget.cc:938:9: note: place parentheses around the assignment to silence this warning 938 | if( dp = strchr(xurl,'#') ) | ^ | ( ) dget.cc:938:9: note: use '==' to turn this assignment into an equality comparison 938 | if( dp = strchr(xurl,'#') ) | ^ | == dget.cc:1005:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1005 | if( dp = strpbrk(authB64,"\r\n") ) truncVStr(dp); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ dget.cc:1005:10: note: place parentheses around the assignment to silence this warning 1005 | if( dp = strpbrk(authB64,"\r\n") ) truncVStr(dp); | ^ | ( ) dget.cc:1005:10: note: use '==' to turn this assignment into an equality comparison 1005 | if( dp = strpbrk(authB64,"\r\n") ) truncVStr(dp); | ^ | == dget.cc:1014:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1014 | if( dp = strpbrk(authB64,"\r\n") ) truncVStr(dp); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ dget.cc:1014:10: note: place parentheses around the assignment to silence this warning 1014 | if( dp = strpbrk(authB64,"\r\n") ) truncVStr(dp); | ^ | ( ) dget.cc:1014:10: note: use '==' to turn this assignment into an equality comparison 1014 | if( dp = strpbrk(authB64,"\r\n") ) truncVStr(dp); | ^ | == dget.cc:1140:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1140 | if( dp = strpbrk(resp,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ dget.cc:1140:10: note: place parentheses around the assignment to silence this warning 1140 | if( dp = strpbrk(resp,"\r\n") ) | ^ | ( ) dget.cc:1140:10: note: use '==' to turn this assignment into an equality comparison 1140 | if( dp = strpbrk(resp,"\r\n") ) | ^ | == 10 warnings generated. ../mkcpp urlfind.c urlfind.cc -- mkcpp set time: 1791324530 -> 1142496477 urlfind.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c urlfind.cc urlfind.cc:109:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 109 | if( dp = strstr(url,"..") ) | ~~~^~~~~~~~~~~~~~~~~~ urlfind.cc:109:9: note: place parentheses around the assignment to silence this warning 109 | if( dp = strstr(url,"..") ) | ^ | ( ) urlfind.cc:109:9: note: use '==' to turn this assignment into an equality comparison 109 | if( dp = strstr(url,"..") ) | ^ | == urlfind.cc:117:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 117 | if( bp = strrchr(xurl,'/') ) | ~~~^~~~~~~~~~~~~~~~~~~ urlfind.cc:117:10: note: place parentheses around the assignment to silence this warning 117 | if( bp = strrchr(xurl,'/') ) | ^ | ( ) urlfind.cc:117:10: note: use '==' to turn this assignment into an equality comparison 117 | if( bp = strrchr(xurl,'/') ) | ^ | == urlfind.cc:162:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 162 | if( dp = strpbrk(resp,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ urlfind.cc:162:10: note: place parentheses around the assignment to silence this warning 162 | if( dp = strpbrk(resp,"\r\n") ) | ^ | ( ) urlfind.cc:162:10: note: use '==' to turn this assignment into an equality comparison 162 | if( dp = strpbrk(resp,"\r\n") ) | ^ | == urlfind.cc:191:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 191 | if( np = strpbrk(url,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~ urlfind.cc:191:11: note: place parentheses around the assignment to silence this warning 191 | if( np = strpbrk(url,"\r\n") ) | ^ | ( ) urlfind.cc:191:11: note: use '==' to turn this assignment into an equality comparison 191 | if( np = strpbrk(url,"\r\n") ) | ^ | == 4 warnings generated. ../mkcpp mount.c mount.cc -- mkcpp set time: 1791324530 -> 1232174408 mount.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c mount.cc mount.cc:22:9: warning: '/*' within block comment [-Wcomment] 22 | =://=:=/* ... ///* | ^ mount.cc:22:18: warning: '/*' within block comment [-Wcomment] 22 | =://=:=/* ... ///* | ^ mount.cc:23:7: warning: '/*' within block comment [-Wcomment] 23 | =://=/* ... //=:0/* | ^ mount.cc:23:20: warning: '/*' within block comment [-Wcomment] 23 | =://=/* ... //=:0/* | ^ mount.cc:24:11: warning: '/*' within block comment [-Wcomment] 24 | =://hostX/* ... //hostX:0/* | ^ mount.cc:24:27: warning: '/*' within block comment [-Wcomment] 24 | =://hostX/* ... //hostX:0/* | ^ mount.cc:25:13: warning: '/*' within block comment [-Wcomment] 25 | =://hostX:=/* ... //hostX:=/* | ^ mount.cc:25:31: warning: '/*' within block comment [-Wcomment] 25 | =://hostX:=/* ... //hostX:=/* | ^ mount.cc:26:13: warning: '/*' within block comment [-Wcomment] 26 | =://=:portX/* ... //=:portX/* | ^ mount.cc:26:31: warning: '/*' within block comment [-Wcomment] 26 | =://=:portX/* ... //=:portX/* | ^ mount.cc:33:15: warning: '/*' within block comment [-Wcomment] 33 | MOUNT="/path/* http://* dst={siteList}" | ^ mount.cc:33:24: warning: '/*' within block comment [-Wcomment] 33 | MOUNT="/path/* http://* dst={siteList}" | ^ mount.cc:172:29: warning: '/*' within block comment [-Wcomment] 172 | int u_path2site; /* "/path/* scheme://*" */ | ^ mount.cc:172:40: warning: '/*' within block comment [-Wcomment] 172 | int u_path2site; /* "/path/* scheme://*" */ | ^ mount.cc:173:24: warning: '/*' within block comment [-Wcomment] 173 | int u_any; /* "/path/* *" */ | ^ mount.cc:242:49: warning: '/*' within block comment [-Wcomment] 242 | #define DIRMATCH 2 /* redirect "/p" by MOUNT="/p/* http://s/q/*" */ | ^ mount.cc:242:62: warning: '/*' within block comment [-Wcomment] 242 | #define DIRMATCH 2 /* redirect "/p" by MOUNT="/p/* http://s/q/*" */ | ^ mount.cc:512:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 512 | if( found = getOpt1(opts,"genvhost",BVStr(vserv)) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount.cc:512:12: note: place parentheses around the assignment to silence this warning 512 | if( found = getOpt1(opts,"genvhost",BVStr(vserv)) ){ | ^ | ( ) mount.cc:512:12: note: use '==' to turn this assignment into an equality comparison 512 | if( found = getOpt1(opts,"genvhost",BVStr(vserv)) ){ | ^ | == mount.cc:514:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 514 | if( found = getOpt1(opts,OPT_AVSERV,BVStr(vserv)) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount.cc:514:12: note: place parentheses around the assignment to silence this warning 514 | if( found = getOpt1(opts,OPT_AVSERV,BVStr(vserv)) ){ | ^ | ( ) mount.cc:514:12: note: use '==' to turn this assignment into an equality comparison 514 | if( found = getOpt1(opts,OPT_AVSERV,BVStr(vserv)) ){ | ^ | == mount.cc:516:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 516 | if( found = getOpt1(opts,OPT_NVSERV,BVStr(vserv)) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount.cc:516:12: note: place parentheses around the assignment to silence this warning 516 | if( found = getOpt1(opts,OPT_NVSERV,BVStr(vserv)) ){ | ^ | ( ) mount.cc:516:12: note: use '==' to turn this assignment into an equality comparison 516 | if( found = getOpt1(opts,OPT_NVSERV,BVStr(vserv)) ){ | ^ | == mount.cc:534:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 534 | if( found = getOpt1(opts,OPT_RSERV,BVStr(rserv)) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount.cc:534:12: note: place parentheses around the assignment to silence this warning 534 | if( found = getOpt1(opts,OPT_RSERV,BVStr(rserv)) ){ | ^ | ( ) mount.cc:534:12: note: use '==' to turn this assignment into an equality comparison 534 | if( found = getOpt1(opts,OPT_RSERV,BVStr(rserv)) ){ | ^ | == mount.cc:536:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 536 | if( pp = strheadstrX(rserv,ORIGDST_HOST,1) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount.cc:536:10: note: place parentheses around the assignment to silence this warning 536 | if( pp = strheadstrX(rserv,ORIGDST_HOST,1) ){ | ^ | ( ) mount.cc:536:10: note: use '==' to turn this assignment into an equality comparison 536 | if( pp = strheadstrX(rserv,ORIGDST_HOST,1) ){ | ^ | == mount.cc:607:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 607 | if( op = strchr(opt,'.') ){ | ~~~^~~~~~~~~~~~~~~~~ mount.cc:607:10: note: place parentheses around the assignment to silence this warning 607 | if( op = strchr(opt,'.') ){ | ^ | ( ) mount.cc:607:10: note: use '==' to turn this assignment into an equality comparison 607 | if( op = strchr(opt,'.') ){ | ^ | == mount.cc:616:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 616 | if( neg = *opt == '!' ){ | ~~~~^~~~~~~~~~~~~ mount.cc:616:10: note: place parentheses around the assignment to silence this warning 616 | if( neg = *opt == '!' ){ | ^ | ( ) mount.cc:616:10: note: use '==' to turn this assignment into an equality comparison 616 | if( neg = *opt == '!' ){ | ^ | == mount.cc:621:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 621 | if( val = strchr(buf,'=') ){ | ~~~~^~~~~~~~~~~~~~~~~ mount.cc:621:10: note: place parentheses around the assignment to silence this warning 621 | if( val = strchr(buf,'=') ){ | ^ | ( ) mount.cc:621:10: note: use '==' to turn this assignment into an equality comparison 621 | if( val = strchr(buf,'=') ){ | ^ | == mount.cc:625:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 625 | for( oi = 0; nam1 = mount_opts[oi].o_name; oi++ ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ mount.cc:625:20: note: place parentheses around the assignment to silence this warning 625 | for( oi = 0; nam1 = mount_opts[oi].o_name; oi++ ){ | ^ | ( ) mount.cc:625:20: note: use '==' to turn this assignment into an equality comparison 625 | for( oi = 0; nam1 = mount_opts[oi].o_name; oi++ ){ | ^ | == mount.cc:630:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 630 | if( d2 = mount_opts[oi].o_direction ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount.cc:630:10: note: place parentheses around the assignment to silence this warning 630 | if( d2 = mount_opts[oi].o_direction ) | ^ | ( ) mount.cc:630:10: note: use '==' to turn this assignment into an equality comparison 630 | if( d2 = mount_opts[oi].o_direction ) | ^ | == mount.cc:633:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 633 | if( flag1 = (mount_opts[oi].o_flags & U_ALL) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount.cc:633:13: note: place parentheses around the assignment to silence this warning 633 | if( flag1 = (mount_opts[oi].o_flags & U_ALL) ) | ^ | ( ) mount.cc:633:13: note: use '==' to turn this assignment into an equality comparison 633 | if( flag1 = (mount_opts[oi].o_flags & U_ALL) ) | ^ | == mount.cc:635:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 635 | if( flag1 = (mount_opts[oi].o_flags & C_ALL) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount.cc:635:13: note: place parentheses around the assignment to silence this warning 635 | if( flag1 = (mount_opts[oi].o_flags & C_ALL) ) | ^ | ( ) mount.cc:635:13: note: use '==' to turn this assignment into an equality comparison 635 | if( flag1 = (mount_opts[oi].o_flags & C_ALL) ) | ^ | == mount.cc:645:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 645 | if( val1 = mount_opts[oi].o_value ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ mount.cc:645:12: note: place parentheses around the assignment to silence this warning 645 | if( val1 = mount_opts[oi].o_value ){ | ^ | ( ) mount.cc:645:12: note: use '==' to turn this assignment into an equality comparison 645 | if( val1 = mount_opts[oi].o_value ){ | ^ | == mount.cc:649:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 649 | if( list1 = mount_opts[oi].o_listx ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ mount.cc:649:13: note: place parentheses around the assignment to silence this warning 649 | if( list1 = mount_opts[oi].o_listx ){ | ^ | ( ) mount.cc:649:13: note: use '==' to turn this assignment into an equality comparison 649 | if( list1 = mount_opts[oi].o_listx ){ | ^ | == mount.cc:668:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 668 | if( val1 = mount_opts[oi].o_enum ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ mount.cc:668:12: note: place parentheses around the assignment to silence this warning 668 | if( val1 = mount_opts[oi].o_enum ){ | ^ | ( ) mount.cc:668:12: note: use '==' to turn this assignment into an equality comparison 668 | if( val1 = mount_opts[oi].o_enum ){ | ^ | == mount.cc:672:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 672 | if( val1 = mount_opts[oi].o_rex ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ mount.cc:672:12: note: place parentheses around the assignment to silence this warning 672 | if( val1 = mount_opts[oi].o_rex ){ | ^ | ( ) mount.cc:672:12: note: use '==' to turn this assignment into an equality comparison 672 | if( val1 = mount_opts[oi].o_rex ){ | ^ | == mount.cc:718:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 718 | if( mt = opts2mt(opts) ) | ~~~^~~~~~~~~~~~~~~ mount.cc:718:9: note: place parentheses around the assignment to silence this warning 718 | if( mt = opts2mt(opts) ) | ^ | ( ) mount.cc:718:9: note: use '==' to turn this assignment into an equality comparison 718 | if( mt = opts2mt(opts) ) | ^ | == mount.cc:725:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 725 | if( mt = opts2mt(opts) ) | ~~~^~~~~~~~~~~~~~~ mount.cc:725:9: note: place parentheses around the assignment to silence this warning 725 | if( mt = opts2mt(opts) ) | ^ | ( ) mount.cc:725:9: note: use '==' to turn this assignment into an equality comparison 725 | if( mt = opts2mt(opts) ) | ^ | == mount.cc:731:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 731 | if( mt = opts2mt(opts) ) | ~~~^~~~~~~~~~~~~~~ mount.cc:731:9: note: place parentheses around the assignment to silence this warning 731 | if( mt = opts2mt(opts) ) | ^ | ( ) mount.cc:731:9: note: use '==' to turn this assignment into an equality comparison 731 | if( mt = opts2mt(opts) ) | ^ | == mount.cc:890:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 890 | if( dp = strstr(mt->Src.u_src,"*%") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount.cc:890:9: note: place parentheses around the assignment to silence this warning 890 | if( dp = strstr(mt->Src.u_src,"*%") ){ | ^ | ( ) mount.cc:890:9: note: use '==' to turn this assignment into an equality comparison 890 | if( dp = strstr(mt->Src.u_src,"*%") ){ | ^ | == mount.cc:904:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 904 | if( dp = strrchr(mt->Src.u_src,'[') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount.cc:904:11: note: place parentheses around the assignment to silence this warning 904 | if( dp = strrchr(mt->Src.u_src,'[') ){ | ^ | ( ) mount.cc:904:11: note: use '==' to turn this assignment into an equality comparison 904 | if( dp = strrchr(mt->Src.u_src,'[') ){ | ^ | == mount.cc:924:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 924 | if( dp = strstr(mt->Dst.u_src,"*%") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount.cc:924:9: note: place parentheses around the assignment to silence this warning 924 | if( dp = strstr(mt->Dst.u_src,"*%") ){ | ^ | ( ) mount.cc:924:9: note: use '==' to turn this assignment into an equality comparison 924 | if( dp = strstr(mt->Dst.u_src,"*%") ){ | ^ | == mount.cc:944:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 944 | if( dp = strrchr(mt->Dst.u_src,'[') ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount.cc:944:10: note: place parentheses around the assignment to silence this warning 944 | if( dp = strrchr(mt->Dst.u_src,'[') ) | ^ | ( ) mount.cc:944:10: note: use '==' to turn this assignment into an equality comparison 944 | if( dp = strrchr(mt->Dst.u_src,'[') ) | ^ | == mount.cc:1147:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1147 | if( n1 = m1->Dst.u_hostn ){ | ~~~^~~~~~~~~~~~~~~~~ mount.cc:1147:9: note: place parentheses around the assignment to silence this warning 1147 | if( n1 = m1->Dst.u_hostn ){ | ^ | ( ) mount.cc:1147:9: note: use '==' to turn this assignment into an equality comparison 1147 | if( n1 = m1->Dst.u_hostn ){ | ^ | == mount.cc:1148:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1148 | if( n2 = m2->Dst.u_hostn ) if( strcaseeq(n1,n2) ) return 1; | ~~~^~~~~~~~~~~~~~~~~ mount.cc:1148:10: note: place parentheses around the assignment to silence this warning 1148 | if( n2 = m2->Dst.u_hostn ) if( strcaseeq(n1,n2) ) return 1; | ^ | ( ) mount.cc:1148:10: note: use '==' to turn this assignment into an equality comparison 1148 | if( n2 = m2->Dst.u_hostn ) if( strcaseeq(n1,n2) ) return 1; | ^ | == mount.cc:1149:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1149 | if( n2 = m2->Dst.u_genvhost ) if( strcaseeq(n1,n2) ) return 2; | ~~~^~~~~~~~~~~~~~~~~~~~ mount.cc:1149:10: note: place parentheses around the assignment to silence this warning 1149 | if( n2 = m2->Dst.u_genvhost ) if( strcaseeq(n1,n2) ) return 2; | ^ | ( ) mount.cc:1149:10: note: use '==' to turn this assignment into an equality comparison 1149 | if( n2 = m2->Dst.u_genvhost ) if( strcaseeq(n1,n2) ) return 2; | ^ | == mount.cc:1151:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1151 | if( n1 = m1->Dst.u_genvhost ){ | ~~~^~~~~~~~~~~~~~~~~~~~ mount.cc:1151:9: note: place parentheses around the assignment to silence this warning 1151 | if( n1 = m1->Dst.u_genvhost ){ | ^ | ( ) mount.cc:1151:9: note: use '==' to turn this assignment into an equality comparison 1151 | if( n1 = m1->Dst.u_genvhost ){ | ^ | == mount.cc:1152:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1152 | if( n2 = m2->Dst.u_hostn ) if( strcaseeq(n1,n2) ) return 3; | ~~~^~~~~~~~~~~~~~~~~ mount.cc:1152:10: note: place parentheses around the assignment to silence this warning 1152 | if( n2 = m2->Dst.u_hostn ) if( strcaseeq(n1,n2) ) return 3; | ^ | ( ) mount.cc:1152:10: note: use '==' to turn this assignment into an equality comparison 1152 | if( n2 = m2->Dst.u_hostn ) if( strcaseeq(n1,n2) ) return 3; | ^ | == mount.cc:1153:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1153 | if( n2 = m2->Dst.u_genvhost ) if( strcaseeq(n1,n2) ) return 4; | ~~~^~~~~~~~~~~~~~~~~~~~ mount.cc:1153:10: note: place parentheses around the assignment to silence this warning 1153 | if( n2 = m2->Dst.u_genvhost ) if( strcaseeq(n1,n2) ) return 4; | ^ | ( ) mount.cc:1153:10: note: use '==' to turn this assignment into an equality comparison 1153 | if( n2 = m2->Dst.u_genvhost ) if( strcaseeq(n1,n2) ) return 4; | ^ | == mount.cc:1222:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1222 | if( eqs = eqservname(mti,mtj) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~ mount.cc:1222:13: note: place parentheses around the assignment to silence this warning 1222 | if( eqs = eqservname(mti,mtj) ){ | ^ | ( ) mount.cc:1222:13: note: use '==' to turn this assignment into an equality comparison 1222 | if( eqs = eqservname(mti,mtj) ){ | ^ | == mount.cc:1257:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1257 | if( mt = opts2mt(opts) ){ | ~~~^~~~~~~~~~~~~~~ mount.cc:1257:9: note: place parentheses around the assignment to silence this warning 1257 | if( mt = opts2mt(opts) ){ | ^ | ( ) mount.cc:1257:9: note: use '==' to turn this assignment into an equality comparison 1257 | if( mt = opts2mt(opts) ){ | ^ | == mount.cc:1380:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1380 | if( plen = isURN(dsrc) ){ | ~~~~~^~~~~~~~~~~~~ mount.cc:1380:12: note: place parentheses around the assignment to silence this warning 1380 | if( plen = isURN(dsrc) ){ | ^ | ( ) mount.cc:1380:12: note: use '==' to turn this assignment into an equality comparison 1380 | if( plen = isURN(dsrc) ){ | ^ | == mount.cc:1393:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1393 | if( upath = file_hostpath(dsrc,AVStr(proto),AVStr(login)) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount.cc:1393:14: note: place parentheses around the assignment to silence this warning 1393 | if( upath = file_hostpath(dsrc,AVStr(proto),AVStr(login)) ){ | ^ | ( ) mount.cc:1393:14: note: use '==' to turn this assignment into an equality comparison 1393 | if( upath = file_hostpath(dsrc,AVStr(proto),AVStr(login)) ){ | ^ | == mount.cc:1402:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1402 | if( query = strchr(upath,'?') ) | ~~~~~~^~~~~~~~~~~~~~~~~~~ mount.cc:1402:16: note: place parentheses around the assignment to silence this warning 1402 | if( query = strchr(upath,'?') ) | ^ | ( ) mount.cc:1402:16: note: use '==' to turn this assignment into an equality comparison 1402 | if( query = strchr(upath,'?') ) | ^ | == mount.cc:1532:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1532 | if( addr = gethostaddr(host) ) | ~~~~~^~~~~~~~~~~~~~~~~~~ mount.cc:1532:13: note: place parentheses around the assignment to silence this warning 1532 | if( addr = gethostaddr(host) ) | ^ | ( ) mount.cc:1532:13: note: use '==' to turn this assignment into an equality comparison 1532 | if( addr = gethostaddr(host) ) | ^ | == mount.cc:1562:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1562 | if( dp = strchr(hostport,':') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ mount.cc:1562:10: note: place parentheses around the assignment to silence this warning 1562 | if( dp = strchr(hostport,':') ){ | ^ | ( ) mount.cc:1562:10: note: use '==' to turn this assignment into an equality comparison 1562 | if( dp = strchr(hostport,':') ){ | ^ | == mount.cc:1570:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1570 | if( query = strchr(dpath,'?') ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~ mount.cc:1570:13: note: place parentheses around the assignment to silence this warning 1570 | if( query = strchr(dpath,'?') ){ | ^ | ( ) mount.cc:1570:13: note: use '==' to turn this assignment into an equality comparison 1570 | if( query = strchr(dpath,'?') ){ | ^ | == mount.cc:1579:43: warning: '/*' within block comment [-Wcomment] 1579 | * restrict DIRMATCH only to MOUNT="Rurl/* Lurl/*" pattern | ^ mount.cc:1579:50: warning: '/*' within block comment [-Wcomment] 1579 | * restrict DIRMATCH only to MOUNT="Rurl/* Lurl/*" pattern | ^ mount.cc:1599:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1599 | }else | ^ mount.cc:1626:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1626 | for( fp = fmt; fc = *fp; fp++ ){ | ~~~^~~~~ mount.cc:1626:20: note: place parentheses around the assignment to silence this warning 1626 | for( fp = fmt; fc = *fp; fp++ ){ | ^ | ( ) mount.cc:1626:20: note: use '==' to turn this assignment into an equality comparison 1626 | for( fp = fmt; fc = *fp; fp++ ){ | ^ | == mount.cc:1840:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1840 | if( req = CTX_reqstr(ctx) ){ | ~~~~^~~~~~~~~~~~~~~~~ mount.cc:1840:11: note: place parentheses around the assignment to silence this warning 1840 | if( req = CTX_reqstr(ctx) ){ | ^ | ( ) mount.cc:1840:11: note: use '==' to turn this assignment into an equality comparison 1840 | if( req = CTX_reqstr(ctx) ){ | ^ | == mount.cc:1876:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1876 | if( mport = dst->u_iport_mapped ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ mount.cc:1876:12: note: place parentheses around the assignment to silence this warning 1876 | if( mport = dst->u_iport_mapped ) | ^ | ( ) mount.cc:1876:12: note: use '==' to turn this assignment into an equality comparison 1876 | if( mport = dst->u_iport_mapped ) | ^ | == mount.cc:1927:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1927 | if( hosta = gethostaddr_fromcache(host) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount.cc:1927:12: note: place parentheses around the assignment to silence this warning 1927 | if( hosta = gethostaddr_fromcache(host) ) | ^ | ( ) mount.cc:1927:12: note: use '==' to turn this assignment into an equality comparison 1927 | if( hosta = gethostaddr_fromcache(host) ) | ^ | == mount.cc:1972:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1972 | if( dlen = url_strstr(patn,url) ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ mount.cc:1972:11: note: place parentheses around the assignment to silence this warning 1972 | if( dlen = url_strstr(patn,url) ) | ^ | ( ) mount.cc:1972:11: note: use '==' to turn this assignment into an equality comparison 1972 | if( dlen = url_strstr(patn,url) ) | ^ | == mount.cc:1987:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1987 | if( *lenp = dirmatch(mt,patn,url) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ mount.cc:1987:12: note: place parentheses around the assignment to silence this warning 1987 | if( *lenp = dirmatch(mt,patn,url) ){ | ^ | ( ) mount.cc:1987:12: note: use '==' to turn this assignment into an equality comparison 1987 | if( *lenp = dirmatch(mt,patn,url) ){ | ^ | == mount.cc:2100:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2100 | if( hlen = matchURL(&mt->Src,iurl) ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ mount.cc:2100:13: note: place parentheses around the assignment to silence this warning 2100 | if( hlen = matchURL(&mt->Src,iurl) ) | ^ | ( ) mount.cc:2100:13: note: use '==' to turn this assignment into an equality comparison 2100 | if( hlen = matchURL(&mt->Src,iurl) ) | ^ | == mount.cc:2101:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2101 | if( match = xmatch(mt,mt->Src.u_path,iurl+hlen,&len) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount.cc:2101:14: note: place parentheses around the assignment to silence this warning 2101 | if( match = xmatch(mt,mt->Src.u_path,iurl+hlen,&len) ) | ^ | ( ) mount.cc:2101:14: note: use '==' to turn this assignment into an equality comparison 2101 | if( match = xmatch(mt,mt->Src.u_path,iurl+hlen,&len) ) | ^ | == mount.cc:2519:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2519 | if( opt = mount_url_toX(ctx,myhostport,method,AVStr(url),U_USE_PROXY,&mt) ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount.cc:2519:10: note: place parentheses around the assignment to silence this warning 2519 | if( opt = mount_url_toX(ctx,myhostport,method,AVStr(url),U_USE_PROXY,&mt) ) | ^ | ( ) mount.cc:2519:10: note: use '==' to turn this assignment into an equality comparison 2519 | if( opt = mount_url_toX(ctx,myhostport,method,AVStr(url),U_USE_PROXY,&mt) ) | ^ | == mount.cc:2587:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2587 | if( pp = strheadstrX(vserv,host,1) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ mount.cc:2587:12: note: place parentheses around the assignment to silence this warning 2587 | if( pp = strheadstrX(vserv,host,1) ){ | ^ | ( ) mount.cc:2587:12: note: use '==' to turn this assignment into an equality comparison 2587 | if( pp = strheadstrX(vserv,host,1) ){ | ^ | == mount.cc:2767:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2767 | if( dp1 = strchr(delegate,':') ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~ mount.cc:2767:11: note: place parentheses around the assignment to silence this warning 2767 | if( dp1 = strchr(delegate,':') ){ | ^ | ( ) mount.cc:2767:11: note: use '==' to turn this assignment into an equality comparison 2767 | if( dp1 = strchr(delegate,':') ){ | ^ | == mount.cc:2772:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2772 | if( dp2 = strchr(dp1,'/') ) | ~~~~^~~~~~~~~~~~~~~~~ mount.cc:2772:13: note: place parentheses around the assignment to silence this warning 2772 | if( dp2 = strchr(dp1,'/') ) | ^ | ( ) mount.cc:2772:13: note: use '==' to turn this assignment into an equality comparison 2772 | if( dp2 = strchr(dp1,'/') ) | ^ | == 69 warnings generated. ../mkcpp url.c url.cc -- mkcpp set time: 1791324531 -> 1217931155 url.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c url.cc url.cc:115:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 115 | for( sp = site+1; ch = *sp; sp++ ){ | ~~~^~~~~ url.cc:115:23: note: place parentheses around the assignment to silence this warning 115 | for( sp = site+1; ch = *sp; sp++ ){ | ^ | ( ) url.cc:115:23: note: use '==' to turn this assignment into an equality comparison 115 | for( sp = site+1; ch = *sp; sp++ ){ | ^ | == url.cc:136:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 136 | for( pp = path+1; ch = *pp; pp++ ){ | ~~~^~~~~ url.cc:136:23: note: place parentheses around the assignment to silence this warning 136 | for( pp = path+1; ch = *pp; pp++ ){ | ^ | ( ) url.cc:136:23: note: use '==' to turn this assignment into an equality comparison 136 | for( pp = path+1; ch = *pp; pp++ ){ | ^ | == url.cc:259:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 259 | for( p = ref; ch = *p; p++ ){ | ~~~^~~~ url.cc:259:19: note: place parentheses around the assignment to silence this warning 259 | for( p = ref; ch = *p; p++ ){ | ^ | ( ) url.cc:259:19: note: use '==' to turn this assignment into an equality comparison 259 | for( p = ref; ch = *p; p++ ){ | ^ | == url.cc:263:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 263 | if( up = isURLinJavaScript(p,&qch) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ url.cc:263:11: note: place parentheses around the assignment to silence this warning 263 | if( up = isURLinJavaScript(p,&qch) ){ | ^ | ( ) url.cc:263:11: note: use '==' to turn this assignment into an equality comparison 263 | if( up = isURLinJavaScript(p,&qch) ){ | ^ | == url.cc:258:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 258 | }else | ^ url.cc:282:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 282 | if( up = isURLinJavaScript(str,"ech) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url.cc:282:10: note: place parentheses around the assignment to silence this warning 282 | if( up = isURLinJavaScript(str,"ech) ){ | ^ | ( ) url.cc:282:10: note: use '==' to turn this assignment into an equality comparison 282 | if( up = isURLinJavaScript(str,"ech) ){ | ^ | == url.cc:306:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 306 | for( sp = str; ch = *sp; ){ | ~~~^~~~~ url.cc:306:20: note: place parentheses around the assignment to silence this warning 306 | for( sp = str; ch = *sp; ){ | ^ | ( ) url.cc:306:20: note: use '==' to turn this assignment into an equality comparison 306 | for( sp = str; ch = *sp; ){ | ^ | == url.cc:308:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 308 | if( up = isURLinJavaScript(sp,"ech) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url.cc:308:11: note: place parentheses around the assignment to silence this warning 308 | if( up = isURLinJavaScript(sp,"ech) ){ | ^ | ( ) url.cc:308:11: note: use '==' to turn this assignment into an equality comparison 308 | if( up = isURLinJavaScript(sp,"ech) ){ | ^ | == url.cc:334:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 334 | if( np = strpbrk(tp,"\r\n") ){ | ~~~^~~~~~~~~~~~~~~~~~~~ url.cc:334:10: note: place parentheses around the assignment to silence this warning 334 | if( np = strpbrk(tp,"\r\n") ){ | ^ | ( ) url.cc:334:10: note: use '==' to turn this assignment into an equality comparison 334 | if( np = strpbrk(tp,"\r\n") ){ | ^ | == url.cc:386:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 386 | if( dlen = strcasestrlen(sp,"xmlns") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ url.cc:386:11: note: place parentheses around the assignment to silence this warning 386 | if( dlen = strcasestrlen(sp,"xmlns") ){ | ^ | ( ) url.cc:386:11: note: use '==' to turn this assignment into an equality comparison 386 | if( dlen = strcasestrlen(sp,"xmlns") ){ | ^ | == url.cc:407:30: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 407 | for( sp = sp+dlen+alen; ch = *sp; sp++ ){ | ~~~^~~~~ url.cc:407:30: note: place parentheses around the assignment to silence this warning 407 | for( sp = sp+dlen+alen; ch = *sp; sp++ ){ | ^ | ( ) url.cc:407:30: note: use '==' to turn this assignment into an equality comparison 407 | for( sp = sp+dlen+alen; ch = *sp; sp++ ){ | ^ | == url.cc:492:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 492 | if( ref = strcasestr(str,"Realm=<") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ url.cc:492:11: note: place parentheses around the assignment to silence this warning 492 | if( ref = strcasestr(str,"Realm=<") ){ | ^ | ( ) url.cc:492:11: note: use '==' to turn this assignment into an equality comparison 492 | if( ref = strcasestr(str,"Realm=<") ){ | ^ | == url.cc:525:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 525 | if( up = findURLinJavaScript(Ctx,str) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url.cc:525:11: note: place parentheses around the assignment to silence this warning 525 | if( up = findURLinJavaScript(Ctx,str) ){ | ^ | ( ) url.cc:525:11: note: use '==' to turn this assignment into an equality comparison 525 | if( up = findURLinJavaScript(Ctx,str) ){ | ^ | == url.cc:539:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 539 | if( up = findURLinCSS(Ctx,str) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~ url.cc:539:11: note: place parentheses around the assignment to silence this warning 539 | if( up = findURLinCSS(Ctx,str) ){ | ^ | ( ) url.cc:539:11: note: use '==' to turn this assignment into an equality comparison 539 | if( up = findURLinCSS(Ctx,str) ){ | ^ | == url.cc:562:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 562 | if( hp = isXMLNS(tag,str) ){ | ~~~^~~~~~~~~~~~~~~~~~ url.cc:562:11: note: place parentheses around the assignment to silence this warning 562 | if( hp = isXMLNS(tag,str) ){ | ^ | ( ) url.cc:562:11: note: use '==' to turn this assignment into an equality comparison 562 | if( hp = isXMLNS(tag,str) ){ | ^ | == url.cc:567:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 567 | for( sp = str; ch = *sp; sp++ ){ | ~~~^~~~~ url.cc:567:21: note: place parentheses around the assignment to silence this warning 567 | for( sp = str; ch = *sp; sp++ ){ | ^ | ( ) url.cc:567:21: note: use '==' to turn this assignment into an equality comparison 567 | for( sp = str; ch = *sp; sp++ ){ | ^ | == url.cc:591:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 591 | if( hp = isXMLNS(tag,sp) ){ | ~~~^~~~~~~~~~~~~~~~~ url.cc:591:13: note: place parentheses around the assignment to silence this warning 591 | if( hp = isXMLNS(tag,sp) ){ | ^ | ( ) url.cc:591:13: note: use '==' to turn this assignment into an equality comparison 591 | if( hp = isXMLNS(tag,sp) ){ | ^ | == url.cc:662:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 662 | for( ref = str; ch = *ref; ref++ ){ | ~~~^~~~~~ url.cc:662:23: note: place parentheses around the assignment to silence this warning 662 | for( ref = str; ch = *ref; ref++ ){ | ^ | ( ) url.cc:662:23: note: use '==' to turn this assignment into an equality comparison 662 | for( ref = str; ch = *ref; ref++ ){ | ^ | == url.cc:670:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 670 | if( len = iscomtag(hp) ) | ~~~~^~~~~~~~~~~~~~ url.cc:670:14: note: place parentheses around the assignment to silence this warning 670 | if( len = iscomtag(hp) ) | ^ | ( ) url.cc:670:14: note: use '==' to turn this assignment into an equality comparison 670 | if( len = iscomtag(hp) ) | ^ | == url.cc:715:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 715 | if( up = isURLinEmbeded(Ctx,tag,ref) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url.cc:715:12: note: place parentheses around the assignment to silence this warning 715 | if( up = isURLinEmbeded(Ctx,tag,ref) ){ | ^ | ( ) url.cc:715:12: note: use '==' to turn this assignment into an equality comparison 715 | if( up = isURLinEmbeded(Ctx,tag,ref) ){ | ^ | == url.cc:743:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 743 | for(; ch = *ref; ref++ ) | ~~~^~~~~~ url.cc:743:13: note: place parentheses around the assignment to silence this warning 743 | for(; ch = *ref; ref++ ) | ^ | ( ) url.cc:743:13: note: use '==' to turn this assignment into an equality comparison 743 | for(; ch = *ref; ref++ ) | ^ | == url.cc:750:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 750 | if( len = iscomtag(hp) ){ | ~~~~^~~~~~~~~~~~~~ url.cc:750:13: note: place parentheses around the assignment to silence this warning 750 | if( len = iscomtag(hp) ){ | ^ | ( ) url.cc:750:13: note: use '==' to turn this assignment into an equality comparison 750 | if( len = iscomtag(hp) ){ | ^ | == url.cc:812:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 812 | for(; ch = *hp; hp++ ){ | ~~~^~~~~ url.cc:812:14: note: place parentheses around the assignment to silence this warning 812 | for(; ch = *hp; hp++ ){ | ^ | ( ) url.cc:812:14: note: use '==' to turn this assignment into an equality comparison 812 | for(; ch = *hp; hp++ ){ | ^ | == url.cc:850:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 850 | if( up = findURLinHTML(Ctx,tag,ref) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ url.cc:850:11: note: place parentheses around the assignment to silence this warning 850 | if( up = findURLinHTML(Ctx,tag,ref) ){ | ^ | ( ) url.cc:850:11: note: use '==' to turn this assignment into an equality comparison 850 | if( up = findURLinHTML(Ctx,tag,ref) ){ | ^ | == url.cc:849:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 849 | }else | ^ url.cc:894:28: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 894 | for( attrtailp = hp; ch = *attrtailp; attrtailp++ ){ | ~~~^~~~~~~~~~~~ url.cc:894:28: note: place parentheses around the assignment to silence this warning 894 | for( attrtailp = hp; ch = *attrtailp; attrtailp++ ){ | ^ | ( ) url.cc:894:28: note: use '==' to turn this assignment into an equality comparison 894 | for( attrtailp = hp; ch = *attrtailp; attrtailp++ ){ | ^ | == url.cc:1000:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1000 | if( sp = scan_URI_scheme(url,AVStr(proto),sizeof(proto)) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url.cc:1000:10: note: place parentheses around the assignment to silence this warning 1000 | if( sp = scan_URI_scheme(url,AVStr(proto),sizeof(proto)) ){ | ^ | ( ) url.cc:1000:10: note: use '==' to turn this assignment into an equality comparison 1000 | if( sp = scan_URI_scheme(url,AVStr(proto),sizeof(proto)) ){ | ^ | == url.cc:1025:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1025 | if( fp = strchr(np+1,'=') ){ | ~~~^~~~~~~~~~~~~~~~~~ url.cc:1025:10: note: place parentheses around the assignment to silence this warning 1025 | if( fp = strchr(np+1,'=') ){ | ^ | ( ) url.cc:1025:10: note: use '==' to turn this assignment into an equality comparison 1025 | if( fp = strchr(np+1,'=') ){ | ^ | == url.cc:1106:36: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1106 | for( pp = durl + marklen + 1; ch = *pp++; ){ | ~~~^~~~~~~ url.cc:1106:36: note: place parentheses around the assignment to silence this warning 1106 | for( pp = durl + marklen + 1; ch = *pp++; ){ | ^ | ( ) url.cc:1106:36: note: use '==' to turn this assignment into an equality comparison 1106 | for( pp = durl + marklen + 1; ch = *pp++; ){ | ^ | == url.cc:1152:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1152 | if( pp = strstr(pb,"-.-") ){ | ~~~^~~~~~~~~~~~~~~~~~ url.cc:1152:10: note: place parentheses around the assignment to silence this warning 1152 | if( pp = strstr(pb,"-.-") ){ | ^ | ( ) url.cc:1152:10: note: use '==' to turn this assignment into an equality comparison 1152 | if( pp = strstr(pb,"-.-") ){ | ^ | == url.cc:1204:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1204 | if( gtype = np[len] ) | ~~~~~~^~~~~~~~~ url.cc:1204:15: note: place parentheses around the assignment to silence this warning 1204 | if( gtype = np[len] ) | ^ | ( ) url.cc:1204:15: note: use '==' to turn this assignment into an equality comparison 1204 | if( gtype = np[len] ) | ^ | == url.cc:1242:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1242 | if( hp = strpbrk(np+strlen(host),endofHOSTPORT) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url.cc:1242:10: note: place parentheses around the assignment to silence this warning 1242 | if( hp = strpbrk(np+strlen(host),endofHOSTPORT) ) | ^ | ( ) url.cc:1242:10: note: use '==' to turn this assignment into an equality comparison 1242 | if( hp = strpbrk(np+strlen(host),endofHOSTPORT) ) | ^ | == url.cc:1255:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1255 | if( hp = strpbrk(np+strlen(host),endofHOSTPORT) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url.cc:1255:10: note: place parentheses around the assignment to silence this warning 1255 | if( hp = strpbrk(np+strlen(host),endofHOSTPORT) ) | ^ | ( ) url.cc:1255:10: note: use '==' to turn this assignment into an equality comparison 1255 | if( hp = strpbrk(np+strlen(host),endofHOSTPORT) ) | ^ | == url.cc:1267:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1267 | if( hp = strpbrk(np+strlen(host),endofHOSTPORT) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url.cc:1267:10: note: place parentheses around the assignment to silence this warning 1267 | if( hp = strpbrk(np+strlen(host),endofHOSTPORT) ){ | ^ | ( ) url.cc:1267:10: note: use '==' to turn this assignment into an equality comparison 1267 | if( hp = strpbrk(np+strlen(host),endofHOSTPORT) ){ | ^ | == url.cc:1283:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1283 | if( durl = strstr(url,NDGU_MARK) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ url.cc:1283:11: note: place parentheses around the assignment to silence this warning 1283 | if( durl = strstr(url,NDGU_MARK) ){ | ^ | ( ) url.cc:1283:11: note: use '==' to turn this assignment into an equality comparison 1283 | if( durl = strstr(url,NDGU_MARK) ){ | ^ | == url.cc:1291:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1291 | if( durl = strstr(url,ODGU_MARK) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ url.cc:1291:11: note: place parentheses around the assignment to silence this warning 1291 | if( durl = strstr(url,ODGU_MARK) ){ | ^ | ( ) url.cc:1291:11: note: use '==' to turn this assignment into an equality comparison 1291 | if( durl = strstr(url,ODGU_MARK) ){ | ^ | == url.cc:1313:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1313 | for( up = url; uc = *up; up++ ){ | ~~~^~~~~ url.cc:1313:20: note: place parentheses around the assignment to silence this warning 1313 | for( up = url; uc = *up; up++ ){ | ^ | ( ) url.cc:1313:20: note: use '==' to turn this assignment into an equality comparison 1313 | for( up = url; uc = *up; up++ ){ | ^ | == url.cc:1344:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1344 | if( up = strrchr(site,'@') ){ | ~~~^~~~~~~~~~~~~~~~~~~ url.cc:1344:9: note: place parentheses around the assignment to silence this warning 1344 | if( up = strrchr(site,'@') ){ | ^ | ( ) url.cc:1344:9: note: use '==' to turn this assignment into an equality comparison 1344 | if( up = strrchr(site,'@') ){ | ^ | == url.cc:1345:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1345 | if( pp = strchr(up,':') ){ | ~~~^~~~~~~~~~~~~~~~ url.cc:1345:10: note: place parentheses around the assignment to silence this warning 1345 | if( pp = strchr(up,':') ){ | ^ | ( ) url.cc:1345:10: note: use '==' to turn this assignment into an equality comparison 1345 | if( pp = strchr(up,':') ){ | ^ | == url.cc:1360:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1360 | if( userp = strrchr(hostport,'@') ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ url.cc:1360:12: note: place parentheses around the assignment to silence this warning 1360 | if( userp = strrchr(hostport,'@') ){ | ^ | ( ) url.cc:1360:12: note: use '==' to turn this assignment into an equality comparison 1360 | if( userp = strrchr(hostport,'@') ){ | ^ | == url.cc:1363:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1363 | if( passp = strchr(hostport,':') ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ url.cc:1363:13: note: place parentheses around the assignment to silence this warning 1363 | if( passp = strchr(hostport,':') ){ | ^ | ( ) url.cc:1363:13: note: use '==' to turn this assignment into an equality comparison 1363 | if( passp = strchr(hostport,':') ){ | ^ | == url.cc:1376:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1376 | if( portp = strchr(host,':') ){ | ~~~~~~^~~~~~~~~~~~~~~~~~ url.cc:1376:12: note: place parentheses around the assignment to silence this warning 1376 | if( portp = strchr(host,':') ){ | ^ | ( ) url.cc:1376:12: note: use '==' to turn this assignment into an equality comparison 1376 | if( portp = strchr(host,':') ){ | ^ | == url.cc:1510:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1510 | if( xp = strpbrk(ident->i_user,"/?\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url.cc:1510:9: note: place parentheses around the assignment to silence this warning 1510 | if( xp = strpbrk(ident->i_user,"/?\r\n") ) | ^ | ( ) url.cc:1510:9: note: use '==' to turn this assignment into an equality comparison 1510 | if( xp = strpbrk(ident->i_user,"/?\r\n") ) | ^ | == url.cc:1512:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1512 | if( hp = strrchr(ident->i_user,'@') ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ url.cc:1512:9: note: place parentheses around the assignment to silence this warning 1512 | if( hp = strrchr(ident->i_user,'@') ) | ^ | ( ) url.cc:1512:9: note: use '==' to turn this assignment into an equality comparison 1512 | if( hp = strrchr(ident->i_user,'@') ) | ^ | == url.cc:1514:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1514 | if( pp = strchr(ident->i_user,':') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ url.cc:1514:9: note: place parentheses around the assignment to silence this warning 1514 | if( pp = strchr(ident->i_user,':') ){ | ^ | ( ) url.cc:1514:9: note: use '==' to turn this assignment into an equality comparison 1514 | if( pp = strchr(ident->i_user,':') ){ | ^ | == url.cc:1556:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1556 | if( sp = strstr(url,"://") ) | ~~~^~~~~~~~~~~~~~~~~~~ url.cc:1556:9: note: place parentheses around the assignment to silence this warning 1556 | if( sp = strstr(url,"://") ) | ^ | ( ) url.cc:1556:9: note: use '==' to turn this assignment into an equality comparison 1556 | if( sp = strstr(url,"://") ) | ^ | == url.cc:1582:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1582 | for( sp = hostport; ch = *sp; sp++ ){ | ~~~^~~~~ url.cc:1582:25: note: place parentheses around the assignment to silence this warning 1582 | for( sp = hostport; ch = *sp; sp++ ){ | ^ | ( ) url.cc:1582:25: note: use '==' to turn this assignment into an equality comparison 1582 | for( sp = hostport; ch = *sp; sp++ ){ | ^ | == url.cc:1632:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1632 | for( sp = hostport; ch = *sp; sp++ ){ | ~~~^~~~~ url.cc:1632:25: note: place parentheses around the assignment to silence this warning 1632 | for( sp = hostport; ch = *sp; sp++ ){ | ^ | ( ) url.cc:1632:25: note: use '==' to turn this assignment into an equality comparison 1632 | for( sp = hostport; ch = *sp; sp++ ){ | ^ | == url.cc:1713:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1713 | if( opt = CTX_changeproxy_url_to(ctx,clif,method,AVStr(url),AVStr(proxy)) ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url.cc:1713:10: note: place parentheses around the assignment to silence this warning 1713 | if( opt = CTX_changeproxy_url_to(ctx,clif,method,AVStr(url),AVStr(proxy)) ) | ^ | ( ) url.cc:1713:10: note: use '==' to turn this assignment into an equality comparison 1713 | if( opt = CTX_changeproxy_url_to(ctx,clif,method,AVStr(url),AVStr(proxy)) ) | ^ | == url.cc:1767:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1767 | if( v1 = getv(av,"proto")){ | ~~~^~~~~~~~~~~~~~~~~~ url.cc:1767:9: note: place parentheses around the assignment to silence this warning 1767 | if( v1 = getv(av,"proto")){ | ^ | ( ) url.cc:1767:9: note: use '==' to turn this assignment into an equality comparison 1767 | if( v1 = getv(av,"proto")){ | ^ | == url.cc:1772:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1772 | if( v1 = getv(av,"host") ){ | ~~~^~~~~~~~~~~~~~~~~ url.cc:1772:9: note: place parentheses around the assignment to silence this warning 1772 | if( v1 = getv(av,"host") ){ | ^ | ( ) url.cc:1772:9: note: use '==' to turn this assignment into an equality comparison 1772 | if( v1 = getv(av,"host") ){ | ^ | == url.cc:1777:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1777 | if( v1 = getv(av,"port") ) | ~~~^~~~~~~~~~~~~~~~~ url.cc:1777:9: note: place parentheses around the assignment to silence this warning 1777 | if( v1 = getv(av,"port") ) | ^ | ( ) url.cc:1777:9: note: use '==' to turn this assignment into an equality comparison 1777 | if( v1 = getv(av,"port") ) | ^ | == url.cc:1780:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1780 | if( v1 = getv(av,"path") ){ | ~~~^~~~~~~~~~~~~~~~~ url.cc:1780:9: note: place parentheses around the assignment to silence this warning 1780 | if( v1 = getv(av,"path") ){ | ^ | ( ) url.cc:1780:9: note: use '==' to turn this assignment into an equality comparison 1780 | if( v1 = getv(av,"path") ){ | ^ | == url.cc:1841:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1841 | while( uc = *up ){ | ~~~^~~~~ url.cc:1841:12: note: place parentheses around the assignment to silence this warning 1841 | while( uc = *up ){ | ^ | ( ) url.cc:1841:12: note: use '==' to turn this assignment into an equality comparison 1841 | while( uc = *up ){ | ^ | == url.cc:1859:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1859 | if( np = CURDIR(up) ){ | ~~~^~~~~~~~~~~~ url.cc:1859:10: note: place parentheses around the assignment to silence this warning 1859 | if( np = CURDIR(up) ){ | ^ | ( ) url.cc:1859:10: note: use '==' to turn this assignment into an equality comparison 1859 | if( np = CURDIR(up) ){ | ^ | == url.cc:1866:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1866 | if( np = UPDIR(up) ){ | ~~~^~~~~~~~~~~ url.cc:1866:10: note: place parentheses around the assignment to silence this warning 1866 | if( np = UPDIR(up) ){ | ^ | ( ) url.cc:1866:10: note: use '==' to turn this assignment into an equality comparison 1866 | if( np = UPDIR(up) ){ | ^ | == url.cc:1886:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1886 | while( uc = *up ){ | ~~~^~~~~ url.cc:1886:13: note: place parentheses around the assignment to silence this warning 1886 | while( uc = *up ){ | ^ | ( ) url.cc:1886:13: note: use '==' to turn this assignment into an equality comparison 1886 | while( uc = *up ){ | ^ | == url.cc:1927:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1927 | if( xp = CURDIR(up) ){ | ~~~^~~~~~~~~~~~ url.cc:1927:9: note: place parentheses around the assignment to silence this warning 1927 | if( xp = CURDIR(up) ){ | ^ | ( ) url.cc:1927:9: note: use '==' to turn this assignment into an equality comparison 1927 | if( xp = CURDIR(up) ){ | ^ | == url.cc:1932:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1932 | while( xp = UPDIR(up) ){ | ~~~^~~~~~~~~~~ url.cc:1932:12: note: place parentheses around the assignment to silence this warning 1932 | while( xp = UPDIR(up) ){ | ^ | ( ) url.cc:1932:12: note: use '==' to turn this assignment into an equality comparison 1932 | while( xp = UPDIR(up) ){ | ^ | == url.cc:2048:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2048 | if( dp = strstr(url,PORT_MARK) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~ url.cc:2048:9: note: place parentheses around the assignment to silence this warning 2048 | if( dp = strstr(url,PORT_MARK) ){ | ^ | ( ) url.cc:2048:9: note: use '==' to turn this assignment into an equality comparison 2048 | if( dp = strstr(url,PORT_MARK) ){ | ^ | == url.cc:2066:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2066 | if( dp = strstr(vurl,"://") ) | ~~~^~~~~~~~~~~~~~~~~~~~ url.cc:2066:9: note: place parentheses around the assignment to silence this warning 2066 | if( dp = strstr(vurl,"://") ) | ^ | ( ) url.cc:2066:9: note: use '==' to turn this assignment into an equality comparison 2066 | if( dp = strstr(vurl,"://") ) | ^ | == url.cc:2067:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2067 | if( dp = strpbrk(dp+3,":/? \t\r\n\"'") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url.cc:2067:9: note: place parentheses around the assignment to silence this warning 2067 | if( dp = strpbrk(dp+3,":/? \t\r\n\"'") ) | ^ | ( ) url.cc:2067:9: note: use '==' to turn this assignment into an equality comparison 2067 | if( dp = strpbrk(dp+3,":/? \t\r\n\"'") ) | ^ | == url.cc:2074:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2074 | if( dp = strpbrk(vurl,"?#") ) | ~~~^~~~~~~~~~~~~~~~~~~~ url.cc:2074:11: note: place parentheses around the assignment to silence this warning 2074 | if( dp = strpbrk(vurl,"?#") ) | ^ | ( ) url.cc:2074:11: note: use '==' to turn this assignment into an equality comparison 2074 | if( dp = strpbrk(vurl,"?#") ) | ^ | == url.cc:2233:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2233 | if( ilen = url_movport(np,AVStr(xp),256) ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url.cc:2233:15: note: place parentheses around the assignment to silence this warning 2233 | if( ilen = url_movport(np,AVStr(xp),256) ) | ^ | ( ) url.cc:2233:15: note: use '==' to turn this assignment into an equality comparison 2233 | if( ilen = url_movport(np,AVStr(xp),256) ) | ^ | == url.cc:2239:3: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2239 | SkipQuoted("absolute",referer,np,sp,xp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url.cc:2089:10: note: expanded from macro 'SkipQuoted' 2089 | if( qch = referer->r_tagctx.r_curquote ){ \ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url.cc:2239:3: note: place parentheses around the assignment to silence this warning url.cc:2089:10: note: expanded from macro 'SkipQuoted' 2089 | if( qch = referer->r_tagctx.r_curquote ){ \ | ^ url.cc:2239:3: note: use '==' to turn this assignment into an equality comparison url.cc:2089:10: note: expanded from macro 'SkipQuoted' 2089 | if( qch = referer->r_tagctx.r_curquote ){ \ | ^ url.cc:2239:3: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2239 | SkipQuoted("absolute",referer,np,sp,xp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url.cc:2094:14: note: expanded from macro 'SkipQuoted' 2094 | while( ch = *sp ){ \ | ~~~^~~~~ url.cc:2239:3: note: place parentheses around the assignment to silence this warning url.cc:2094:14: note: expanded from macro 'SkipQuoted' 2094 | while( ch = *sp ){ \ | ^ url.cc:2239:3: note: use '==' to turn this assignment into an equality comparison url.cc:2094:14: note: expanded from macro 'SkipQuoted' 2094 | while( ch = *sp ){ \ | ^ url.cc:2302:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2302 | if( ulen = CTX_url_rurlX(ctx,qch,np,AVStr(rurl),myproto,myhost,myport,mypath,dgrelay) ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url.cc:2302:12: note: place parentheses around the assignment to silence this warning 2302 | if( ulen = CTX_url_rurlX(ctx,qch,np,AVStr(rurl),myproto,myhost,myport,mypath,dgrelay) ) | ^ | ( ) url.cc:2302:12: note: use '==' to turn this assignment into an equality comparison 2302 | if( ulen = CTX_url_rurlX(ctx,qch,np,AVStr(rurl),myproto,myhost,myport,mypath,dgrelay) ) | ^ | == url.cc:2310:3: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2310 | SkipQuoted("deleate",referer,np,sp,xp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url.cc:2089:10: note: expanded from macro 'SkipQuoted' 2089 | if( qch = referer->r_tagctx.r_curquote ){ \ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url.cc:2310:3: note: place parentheses around the assignment to silence this warning url.cc:2089:10: note: expanded from macro 'SkipQuoted' 2089 | if( qch = referer->r_tagctx.r_curquote ){ \ | ^ url.cc:2310:3: note: use '==' to turn this assignment into an equality comparison url.cc:2089:10: note: expanded from macro 'SkipQuoted' 2089 | if( qch = referer->r_tagctx.r_curquote ){ \ | ^ url.cc:2310:3: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2310 | SkipQuoted("deleate",referer,np,sp,xp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url.cc:2094:14: note: expanded from macro 'SkipQuoted' 2094 | while( ch = *sp ){ \ | ~~~^~~~~ url.cc:2310:3: note: place parentheses around the assignment to silence this warning url.cc:2094:14: note: expanded from macro 'SkipQuoted' 2094 | while( ch = *sp ){ \ | ^ url.cc:2310:3: note: use '==' to turn this assignment into an equality comparison url.cc:2094:14: note: expanded from macro 'SkipQuoted' 2094 | while( ch = *sp ){ \ | ^ url.cc:2323:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2323 | while( np = html_nextTagAttr(sp,"",VStrNULL,NULL,NULL,NULL) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url.cc:2323:12: note: place parentheses around the assignment to silence this warning 2323 | while( np = html_nextTagAttr(sp,"",VStrNULL,NULL,NULL,NULL) ){ | ^ | ( ) url.cc:2323:12: note: use '==' to turn this assignment into an equality comparison 2323 | while( np = html_nextTagAttr(sp,"",VStrNULL,NULL,NULL,NULL) ){ | ^ | == url.cc:2324:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2324 | if( tp = strpbrk(np," \t\r\n\">") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ url.cc:2324:10: note: place parentheses around the assignment to silence this warning 2324 | if( tp = strpbrk(np," \t\r\n\">") ){ | ^ | ( ) url.cc:2324:10: note: use '==' to turn this assignment into an equality comparison 2324 | if( tp = strpbrk(np," \t\r\n\">") ){ | ^ | == url.cc:2646:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2646 | if( proto = getv(av,"proto") ) | ~~~~~~^~~~~~~~~~~~~~~~~~ url.cc:2646:14: note: place parentheses around the assignment to silence this warning 2646 | if( proto = getv(av,"proto") ) | ^ | ( ) url.cc:2646:14: note: use '==' to turn this assignment into an equality comparison 2646 | if( proto = getv(av,"proto") ) | ^ | == url.cc:2647:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2647 | if( host = getv(av,"host" ) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~ url.cc:2647:14: note: place parentheses around the assignment to silence this warning 2647 | if( host = getv(av,"host" ) ){ | ^ | ( ) url.cc:2647:14: note: use '==' to turn this assignment into an equality comparison 2647 | if( host = getv(av,"host" ) ){ | ^ | == url.cc:2648:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2648 | if( port = getv(av,"port") ) | ~~~~~^~~~~~~~~~~~~~~~~ url.cc:2648:14: note: place parentheses around the assignment to silence this warning 2648 | if( port = getv(av,"port") ) | ^ | ( ) url.cc:2648:14: note: use '==' to turn this assignment into an equality comparison 2648 | if( port = getv(av,"port") ) | ^ | == url.cc:2672:3: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2672 | SkipQuoted("partialize",referer,np,sp,xp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url.cc:2089:10: note: expanded from macro 'SkipQuoted' 2089 | if( qch = referer->r_tagctx.r_curquote ){ \ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url.cc:2672:3: note: place parentheses around the assignment to silence this warning url.cc:2089:10: note: expanded from macro 'SkipQuoted' 2089 | if( qch = referer->r_tagctx.r_curquote ){ \ | ^ url.cc:2672:3: note: use '==' to turn this assignment into an equality comparison url.cc:2089:10: note: expanded from macro 'SkipQuoted' 2089 | if( qch = referer->r_tagctx.r_curquote ){ \ | ^ url.cc:2672:3: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2672 | SkipQuoted("partialize",referer,np,sp,xp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url.cc:2094:14: note: expanded from macro 'SkipQuoted' 2094 | while( ch = *sp ){ \ | ~~~^~~~~ url.cc:2672:3: note: place parentheses around the assignment to silence this warning url.cc:2094:14: note: expanded from macro 'SkipQuoted' 2094 | while( ch = *sp ){ \ | ^ url.cc:2672:3: note: use '==' to turn this assignment into an equality comparison url.cc:2094:14: note: expanded from macro 'SkipQuoted' 2094 | while( ch = *sp ){ \ | ^ 76 warnings generated. ../mkcpp gopher.c gopher.cc -- mkcpp set time: 1791324531 -> 1166010130 gopher.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c gopher.cc gopher.cc:51:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 51 | if( tab = strrchr(req,'\t') ) | ~~~~^~~~~~~~~~~~~~~~~~~ gopher.cc:51:10: note: place parentheses around the assignment to silence this warning 51 | if( tab = strrchr(req,'\t') ) | ^ | ( ) gopher.cc:51:10: note: use '==' to turn this assignment into an equality comparison 51 | if( tab = strrchr(req,'\t') ) | ^ | == gopher.cc:58:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 58 | if( dp = strpbrk(req,"\t\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~ gopher.cc:58:9: note: place parentheses around the assignment to silence this warning 58 | if( dp = strpbrk(req,"\t\r\n") ) | ^ | ( ) gopher.cc:58:9: note: use '==' to turn this assignment into an equality comparison 58 | if( dp = strpbrk(req,"\t\r\n") ) | ^ | == gopher.cc:227:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 227 | if( cgtype = CTX_get_clientgtype(Conn) ) /* sent from client */ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ gopher.cc:227:13: note: place parentheses around the assignment to silence this warning 227 | if( cgtype = CTX_get_clientgtype(Conn) ) /* sent from client */ | ^ | ( ) gopher.cc:227:13: note: use '==' to turn this assignment into an equality comparison 227 | if( cgtype = CTX_get_clientgtype(Conn) ) /* sent from client */ | ^ | == gopher.cc:272:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 272 | if( dp = strchr(req,'\t') ){ | ~~~^~~~~~~~~~~~~~~~~~ gopher.cc:272:10: note: place parentheses around the assignment to silence this warning 272 | if( dp = strchr(req,'\t') ){ | ^ | ( ) gopher.cc:272:10: note: use '==' to turn this assignment into an equality comparison 272 | if( dp = strchr(req,'\t') ){ | ^ | == gopher.cc:359:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 359 | if( cachefp = cache_fopen_rd("GOPHER",AVStr(cpath),expire,&cdate) ){ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gopher.cc:359:15: note: place parentheses around the assignment to silence this warning 359 | if( cachefp = cache_fopen_rd("GOPHER",AVStr(cpath),expire,&cdate) ){ | ^ | ( ) gopher.cc:359:15: note: use '==' to turn this assignment into an equality comparison 359 | if( cachefp = cache_fopen_rd("GOPHER",AVStr(cpath),expire,&cdate) ){ | ^ | == gopher.cc:379:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 379 | if( cachefp = cache_fopen_rw("GOPHER",AVStr(cpath)) ){ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gopher.cc:379:15: note: place parentheses around the assignment to silence this warning 379 | if( cachefp = cache_fopen_rw("GOPHER",AVStr(cpath)) ){ | ^ | ( ) gopher.cc:379:15: note: use '==' to turn this assignment into an equality comparison 379 | if( cachefp = cache_fopen_rw("GOPHER",AVStr(cpath)) ){ | ^ | == gopher.cc:530:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 530 | if( dp = strchr(line,':') ){ | ~~~^~~~~~~~~~~~~~~~~~ gopher.cc:530:10: note: place parentheses around the assignment to silence this warning 530 | if( dp = strchr(line,':') ){ | ^ | ( ) gopher.cc:530:10: note: use '==' to turn this assignment into an equality comparison 530 | if( dp = strchr(line,':') ){ | ^ | == gopher.cc:544:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 544 | if(dp=strchr(dp,'\t')){ truncVStr(dp);dp++; *selector = dp; }else return 0; | ~~^~~~~~~~~~~~~~~~ gopher.cc:544:7: note: place parentheses around the assignment to silence this warning 544 | if(dp=strchr(dp,'\t')){ truncVStr(dp);dp++; *selector = dp; }else return 0; | ^ | ( ) gopher.cc:544:7: note: use '==' to turn this assignment into an equality comparison 544 | if(dp=strchr(dp,'\t')){ truncVStr(dp);dp++; *selector = dp; }else return 0; | ^ | == gopher.cc:545:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 545 | if(dp=strchr(dp,'\t')){ truncVStr(dp);dp++; *host = dp; }else return 0; | ~~^~~~~~~~~~~~~~~~ gopher.cc:545:7: note: place parentheses around the assignment to silence this warning 545 | if(dp=strchr(dp,'\t')){ truncVStr(dp);dp++; *host = dp; }else return 0; | ^ | ( ) gopher.cc:545:7: note: use '==' to turn this assignment into an equality comparison 545 | if(dp=strchr(dp,'\t')){ truncVStr(dp);dp++; *host = dp; }else return 0; | ^ | == gopher.cc:546:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 546 | if(dp=strchr(dp,'\t')){ truncVStr(dp);dp++; *iport=atoi(dp);}else return 0; | ~~^~~~~~~~~~~~~~~~ gopher.cc:546:7: note: place parentheses around the assignment to silence this warning 546 | if(dp=strchr(dp,'\t')){ truncVStr(dp);dp++; *iport=atoi(dp);}else return 0; | ^ | ( ) gopher.cc:546:7: note: use '==' to turn this assignment into an equality comparison 546 | if(dp=strchr(dp,'\t')){ truncVStr(dp);dp++; *iport=atoi(dp);}else return 0; | ^ | == gopher.cc:547:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 547 | if(dp=strchr(dp,'\t')){ *ext = dp; } | ~~^~~~~~~~~~~~~~~~ gopher.cc:547:7: note: place parentheses around the assignment to silence this warning 547 | if(dp=strchr(dp,'\t')){ *ext = dp; } | ^ | ( ) gopher.cc:547:7: note: use '==' to turn this assignment into an equality comparison 547 | if(dp=strchr(dp,'\t')){ *ext = dp; } | ^ | == gopher.cc:707:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 707 | if( dp = strchr(req,'?') ) | ~~~^~~~~~~~~~~~~~~~~ gopher.cc:707:10: note: place parentheses around the assignment to silence this warning 707 | if( dp = strchr(req,'?') ) | ^ | ( ) gopher.cc:707:10: note: use '==' to turn this assignment into an equality comparison 707 | if( dp = strchr(req,'?') ) | ^ | == 12 warnings generated. ../mkcpp icp.c icp.cc -- mkcpp set time: 1791324531 -> 1117219745 icp.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c icp.cc icp.cc:255:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 255 | if( tail = frex_match((struct fa_stat*)noicp_domain,host) ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ icp.cc:255:11: note: place parentheses around the assignment to silence this warning 255 | if( tail = frex_match((struct fa_stat*)noicp_domain,host) ) | ^ | ( ) icp.cc:255:11: note: use '==' to turn this assignment into an equality comparison 255 | if( tail = frex_match((struct fa_stat*)noicp_domain,host) ) | ^ | == icp.cc:308:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 308 | if( env = getenv("PARASERV") ) | ~~~~^~~~~~~~~~~~~~~~~~~~ icp.cc:308:11: note: place parentheses around the assignment to silence this warning 308 | if( env = getenv("PARASERV") ) | ^ | ( ) icp.cc:308:11: note: use '==' to turn this assignment into an equality comparison 308 | if( env = getenv("PARASERV") ) | ^ | == icp.cc:318:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 318 | if( env = getenv("NOICP_DOMAIN") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ icp.cc:318:10: note: place parentheses around the assignment to silence this warning 318 | if( env = getenv("NOICP_DOMAIN") ) | ^ | ( ) icp.cc:318:10: note: use '==' to turn this assignment into an equality comparison 318 | if( env = getenv("NOICP_DOMAIN") ) | ^ | == icp.cc:422:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 422 | if( fp = dirfopen("ICP",AVStr(cachepath),"r") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ icp.cc:422:10: note: place parentheses around the assignment to silence this warning 422 | if( fp = dirfopen("ICP",AVStr(cachepath),"r") ){ | ^ | ( ) icp.cc:422:10: note: use '==' to turn this assignment into an equality comparison 422 | if( fp = dirfopen("ICP",AVStr(cachepath),"r") ){ | ^ | == icp.cc:633:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 633 | if( arg = av[++ai] ){ | ~~~~^~~~~~~~~~ icp.cc:633:13: note: place parentheses around the assignment to silence this warning 633 | if( arg = av[++ai] ){ | ^ | ( ) icp.cc:633:13: note: use '==' to turn this assignment into an equality comparison 633 | if( arg = av[++ai] ){ | ^ | == icp.cc:1076:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1076 | if( addr = gethostaddr(icphost1) ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ icp.cc:1076:12: note: place parentheses around the assignment to silence this warning 1076 | if( addr = gethostaddr(icphost1) ) | ^ | ( ) icp.cc:1076:12: note: use '==' to turn this assignment into an equality comparison 1076 | if( addr = gethostaddr(icphost1) ) | ^ | == icp.cc:1087:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1087 | if( addr = gethostaddr(pxhost) ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~ icp.cc:1087:12: note: place parentheses around the assignment to silence this warning 1087 | if( addr = gethostaddr(pxhost) ) | ^ | ( ) icp.cc:1087:12: note: use '==' to turn this assignment into an equality comparison 1087 | if( addr = gethostaddr(pxhost) ) | ^ | == 7 warnings generated. ../mkcpp icap.c icap.cc -- mkcpp set time: 1791324532 -> 1116877967 icap.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c icap.cc ../mkcpp http.c http.cc -- mkcpp set time: 1791324532 -> 1230887798 http.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c http.cc http.cc:488:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 488 | if( dp = strstr(UA,"MSIE ") ) | ~~~^~~~~~~~~~~~~~~~~~~~ http.cc:488:9: note: place parentheses around the assignment to silence this warning 488 | if( dp = strstr(UA,"MSIE ") ) | ^ | ( ) http.cc:488:9: note: use '==' to turn this assignment into an equality comparison 488 | if( dp = strstr(UA,"MSIE ") ) | ^ | == http.cc:495:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 495 | if( dp = strstr(UA,"MSIE ") ){ | ~~~^~~~~~~~~~~~~~~~~~~~ http.cc:495:10: note: place parentheses around the assignment to silence this warning 495 | if( dp = strstr(UA,"MSIE ") ){ | ^ | ( ) http.cc:495:10: note: use '==' to turn this assignment into an equality comparison 495 | if( dp = strstr(UA,"MSIE ") ){ | ^ | == http.cc:500:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 500 | if( dp = strstr(UA,"Mozilla/") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~ http.cc:500:10: note: place parentheses around the assignment to silence this warning 500 | if( dp = strstr(UA,"Mozilla/") ){ | ^ | ( ) http.cc:500:10: note: use '==' to turn this assignment into an equality comparison 500 | if( dp = strstr(UA,"Mozilla/") ){ | ^ | == http.cc:509:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 509 | if( dp = strstr(UA,"MSIE ") ) | ~~~^~~~~~~~~~~~~~~~~~~~ http.cc:509:9: note: place parentheses around the assignment to silence this warning 509 | if( dp = strstr(UA,"MSIE ") ) | ^ | ( ) http.cc:509:9: note: use '==' to turn this assignment into an equality comparison 509 | if( dp = strstr(UA,"MSIE ") ) | ^ | == http.cc:513:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 513 | if( dp = strstr(UA,"MSIE ") ) | ~~~^~~~~~~~~~~~~~~~~~~~ http.cc:513:9: note: place parentheses around the assignment to silence this warning 513 | if( dp = strstr(UA,"MSIE ") ) | ^ | ( ) http.cc:513:9: note: use '==' to turn this assignment into an equality comparison 513 | if( dp = strstr(UA,"MSIE ") ) | ^ | == http.cc:518:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 518 | if( dp = strstr(UA,"Mosaic") ) | ~~~^~~~~~~~~~~~~~~~~~~~~ http.cc:518:9: note: place parentheses around the assignment to silence this warning 518 | if( dp = strstr(UA,"Mosaic") ) | ^ | ( ) http.cc:518:9: note: use '==' to turn this assignment into an equality comparison 518 | if( dp = strstr(UA,"Mosaic") ) | ^ | == http.cc:519:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 519 | if( dp = strstr(dp,"/") ) | ~~~^~~~~~~~~~~~~~~~ http.cc:519:9: note: place parentheses around the assignment to silence this warning 519 | if( dp = strstr(dp,"/") ) | ^ | ( ) http.cc:519:9: note: use '==' to turn this assignment into an equality comparison 519 | if( dp = strstr(dp,"/") ) | ^ | == http.cc:529:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 529 | if( dp = strstr(UA,"Mozilla/5.0") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ http.cc:529:9: note: place parentheses around the assignment to silence this warning 529 | if( dp = strstr(UA,"Mozilla/5.0") ) | ^ | ( ) http.cc:529:9: note: use '==' to turn this assignment into an equality comparison 529 | if( dp = strstr(UA,"Mozilla/5.0") ) | ^ | == http.cc:530:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 530 | if( dp = strstr(dp,"rv:1.7") ) | ~~~^~~~~~~~~~~~~~~~~~~~~ http.cc:530:9: note: place parentheses around the assignment to silence this warning 530 | if( dp = strstr(dp,"rv:1.7") ) | ^ | ( ) http.cc:530:9: note: use '==' to turn this assignment into an equality comparison 530 | if( dp = strstr(dp,"rv:1.7") ) | ^ | == http.cc:536:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 536 | if( dp = strstr(UA,"Lynx") ) | ~~~^~~~~~~~~~~~~~~~~~~ http.cc:536:9: note: place parentheses around the assignment to silence this warning 536 | if( dp = strstr(UA,"Lynx") ) | ^ | ( ) http.cc:536:9: note: use '==' to turn this assignment into an equality comparison 536 | if( dp = strstr(UA,"Lynx") ) | ^ | == http.cc:537:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 537 | if( dp = strstr(dp,"/") ) | ~~~^~~~~~~~~~~~~~~~ http.cc:537:9: note: place parentheses around the assignment to silence this warning 537 | if( dp = strstr(dp,"/") ) | ^ | ( ) http.cc:537:9: note: use '==' to turn this assignment into an equality comparison 537 | if( dp = strstr(dp,"/") ) | ^ | == http.cc:1132:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1132 | }else | ^ http.cc:1253:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1253 | for( sp = str; ch = *sp; sp++ ){ | ~~~^~~~~ http.cc:1253:20: note: place parentheses around the assignment to silence this warning 1253 | for( sp = str; ch = *sp; sp++ ){ | ^ | ( ) http.cc:1253:20: note: use '==' to turn this assignment into an equality comparison 1253 | for( sp = str; ch = *sp; sp++ ){ | ^ | == http.cc:1479:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1479 | if( fnlen = STRH(line,F_ContType) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ http.cc:1479:13: note: place parentheses around the assignment to silence this warning 1479 | if( fnlen = STRH(line,F_ContType) ) | ^ | ( ) http.cc:1479:13: note: use '==' to turn this assignment into an equality comparison 1479 | if( fnlen = STRH(line,F_ContType) ) | ^ | == http.cc:1482:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1482 | if( fnlen = STRH(line,F_ContLeng) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ http.cc:1482:13: note: place parentheses around the assignment to silence this warning 1482 | if( fnlen = STRH(line,F_ContLeng) ) | ^ | ( ) http.cc:1482:13: note: use '==' to turn this assignment into an equality comparison 1482 | if( fnlen = STRH(line,F_ContLeng) ) | ^ | == http.cc:1485:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1485 | if( fnlen = STRH(line,F_TransEncode) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ http.cc:1485:13: note: place parentheses around the assignment to silence this warning 1485 | if( fnlen = STRH(line,F_TransEncode) ){ | ^ | ( ) http.cc:1485:13: note: use '==' to turn this assignment into an equality comparison 1485 | if( fnlen = STRH(line,F_TransEncode) ){ | ^ | == http.cc:1491:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1491 | if( fnlen = STRH(line,F_ContEncode) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ http.cc:1491:13: note: place parentheses around the assignment to silence this warning 1491 | if( fnlen = STRH(line,F_ContEncode) ){ | ^ | ( ) http.cc:1491:13: note: use '==' to turn this assignment into an equality comparison 1491 | if( fnlen = STRH(line,F_ContEncode) ){ | ^ | == http.cc:1496:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1496 | if( fnlen = STRH(line,F_AccEncodeX) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ http.cc:1496:13: note: place parentheses around the assignment to silence this warning 1496 | if( fnlen = STRH(line,F_AccEncodeX) ){ | ^ | ( ) http.cc:1496:13: note: use '==' to turn this assignment into an equality comparison 1496 | if( fnlen = STRH(line,F_AccEncodeX) ){ | ^ | == http.cc:1500:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1500 | if( fnlen = STRH(line,F_ContMD5) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ http.cc:1500:13: note: place parentheses around the assignment to silence this warning 1500 | if( fnlen = STRH(line,F_ContMD5) ){ | ^ | ( ) http.cc:1500:13: note: use '==' to turn this assignment into an equality comparison 1500 | if( fnlen = STRH(line,F_ContMD5) ){ | ^ | == http.cc:1552:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1552 | if( zip = Gzip(AVStr(cencode),in) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ http.cc:1552:13: note: place parentheses around the assignment to silence this warning 1552 | if( zip = Gzip(AVStr(cencode),in) ){ | ^ | ( ) http.cc:1552:13: note: use '==' to turn this assignment into an equality comparison 1552 | if( zip = Gzip(AVStr(cencode),in) ){ | ^ | == http.cc:1572:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1572 | if( fnlen = STRH(line,F_ContMD5) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ http.cc:1572:13: note: place parentheses around the assignment to silence this warning 1572 | if( fnlen = STRH(line,F_ContMD5) ){ | ^ | ( ) http.cc:1572:13: note: use '==' to turn this assignment into an equality comparison 1572 | if( fnlen = STRH(line,F_ContMD5) ){ | ^ | == http.cc:1610:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1610 | if( fnlen = STRH(line,F_ContType) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ http.cc:1610:13: note: place parentheses around the assignment to silence this warning 1610 | if( fnlen = STRH(line,F_ContType) ){ | ^ | ( ) http.cc:1610:13: note: use '==' to turn this assignment into an equality comparison 1610 | if( fnlen = STRH(line,F_ContType) ){ | ^ | == http.cc:1614:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1614 | if( fnlen = STRH(line,F_ContLeng) ) continue; | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ http.cc:1614:13: note: place parentheses around the assignment to silence this warning 1614 | if( fnlen = STRH(line,F_ContLeng) ) continue; | ^ | ( ) http.cc:1614:13: note: use '==' to turn this assignment into an equality comparison 1614 | if( fnlen = STRH(line,F_ContLeng) ) continue; | ^ | == http.cc:1615:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1615 | if( fnlen = STRH(line,F_AccEncodeX) ) continue; | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ http.cc:1615:13: note: place parentheses around the assignment to silence this warning 1615 | if( fnlen = STRH(line,F_AccEncodeX) ) continue; | ^ | ( ) http.cc:1615:13: note: use '==' to turn this assignment into an equality comparison 1615 | if( fnlen = STRH(line,F_AccEncodeX) ) continue; | ^ | == http.cc:1710:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1710 | if( rdy = exceptionReady(ClientSock) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.cc:1710:10: note: place parentheses around the assignment to silence this warning 1710 | if( rdy = exceptionReady(ClientSock) ){ | ^ | ( ) http.cc:1710:10: note: use '==' to turn this assignment into an equality comparison 1710 | if( rdy = exceptionReady(ClientSock) ){ | ^ | == http.cc:1752:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1752 | if( xencbody = threadGzip(Conn,RX,tc) ){ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ http.cc:1752:16: note: place parentheses around the assignment to silence this warning 1752 | if( xencbody = threadGzip(Conn,RX,tc) ){ | ^ | ( ) http.cc:1752:16: note: use '==' to turn this assignment into an equality comparison 1752 | if( xencbody = threadGzip(Conn,RX,tc) ){ | ^ | == http.cc:1746:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1746 | }else | ^ http.cc:1784:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1784 | if( fnlen = STRH(field,F_ContType) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ http.cc:1784:13: note: place parentheses around the assignment to silence this warning 1784 | if( fnlen = STRH(field,F_ContType) ){ | ^ | ( ) http.cc:1784:13: note: use '==' to turn this assignment into an equality comparison 1784 | if( fnlen = STRH(field,F_ContType) ){ | ^ | == http.cc:1872:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1872 | if( fnlen = STRH(line,F_ContEncode) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ http.cc:1872:12: note: place parentheses around the assignment to silence this warning 1872 | if( fnlen = STRH(line,F_ContEncode) ) | ^ | ( ) http.cc:1872:12: note: use '==' to turn this assignment into an equality comparison 1872 | if( fnlen = STRH(line,F_ContEncode) ) | ^ | == http.cc:1878:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1878 | if( fnlen = STRH(line,F_ContLeng) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ http.cc:1878:12: note: place parentheses around the assignment to silence this warning 1878 | if( fnlen = STRH(line,F_ContLeng) ) | ^ | ( ) http.cc:1878:12: note: use '==' to turn this assignment into an equality comparison 1878 | if( fnlen = STRH(line,F_ContLeng) ) | ^ | == http.cc:1882:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1882 | if( fnlen = STRH(line,F_ContLeng) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ http.cc:1882:13: note: place parentheses around the assignment to silence this warning 1882 | if( fnlen = STRH(line,F_ContLeng) ){ | ^ | ( ) http.cc:1882:13: note: use '==' to turn this assignment into an equality comparison 1882 | if( fnlen = STRH(line,F_ContLeng) ){ | ^ | == http.cc:1895:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1895 | if( fnlen = STRH(line,F_ContRange) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ http.cc:1895:12: note: place parentheses around the assignment to silence this warning 1895 | if( fnlen = STRH(line,F_ContRange) ){ | ^ | ( ) http.cc:1895:12: note: use '==' to turn this assignment into an equality comparison 1895 | if( fnlen = STRH(line,F_ContRange) ){ | ^ | == http.cc:1898:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1898 | if( fnlen = STRH(line,F_LastMod) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ http.cc:1898:12: note: place parentheses around the assignment to silence this warning 1898 | if( fnlen = STRH(line,F_LastMod) ){ | ^ | ( ) http.cc:1898:12: note: use '==' to turn this assignment into an equality comparison 1898 | if( fnlen = STRH(line,F_LastMod) ){ | ^ | == http.cc:1902:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1902 | if( fnlen = STRH(line,F_ContType) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ http.cc:1902:12: note: place parentheses around the assignment to silence this warning 1902 | if( fnlen = STRH(line,F_ContType) ){ | ^ | ( ) http.cc:1902:12: note: use '==' to turn this assignment into an equality comparison 1902 | if( fnlen = STRH(line,F_ContType) ){ | ^ | == http.cc:1906:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1906 | if( pp = strchr(RX_ctype,';') ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ http.cc:1906:10: note: place parentheses around the assignment to silence this warning 1906 | if( pp = strchr(RX_ctype,';') ) | ^ | ( ) http.cc:1906:10: note: use '==' to turn this assignment into an equality comparison 1906 | if( pp = strchr(RX_ctype,';') ) | ^ | == http.cc:1908:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1908 | if( cp = strstr(pp+1,"charset=") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ http.cc:1908:14: note: place parentheses around the assignment to silence this warning 1908 | if( cp = strstr(pp+1,"charset=") ) | ^ | ( ) http.cc:1908:14: note: use '==' to turn this assignment into an equality comparison 1908 | if( cp = strstr(pp+1,"charset=") ) | ^ | == http.cc:1946:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1946 | if( fnlen = STRH(line,F_Server) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ http.cc:1946:12: note: place parentheses around the assignment to silence this warning 1946 | if( fnlen = STRH(line,F_Server) ){ | ^ | ( ) http.cc:1946:12: note: use '==' to turn this assignment into an equality comparison 1946 | if( fnlen = STRH(line,F_Server) ){ | ^ | == http.cc:1953:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1953 | if( fnlen = STRH(line,F_Pragma) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ http.cc:1953:12: note: place parentheses around the assignment to silence this warning 1953 | if( fnlen = STRH(line,F_Pragma) ){ | ^ | ( ) http.cc:1953:12: note: use '==' to turn this assignment into an equality comparison 1953 | if( fnlen = STRH(line,F_Pragma) ){ | ^ | == http.cc:1957:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1957 | if( fnlen = STRH(line,F_CacheControl) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ http.cc:1957:12: note: place parentheses around the assignment to silence this warning 1957 | if( fnlen = STRH(line,F_CacheControl) ){ | ^ | ( ) http.cc:1957:12: note: use '==' to turn this assignment into an equality comparison 1957 | if( fnlen = STRH(line,F_CacheControl) ){ | ^ | == http.cc:1978:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1978 | if( ovia = findFieldValue(fields,"Via") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.cc:1978:11: note: place parentheses around the assignment to silence this warning 1978 | if( ovia = findFieldValue(fields,"Via") ){ | ^ | ( ) http.cc:1978:11: note: use '==' to turn this assignment into an equality comparison 1978 | if( ovia = findFieldValue(fields,"Via") ){ | ^ | == http.cc:1980:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1980 | if( ovia = strpbrk(ovia,"\r\n") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ http.cc:1980:13: note: place parentheses around the assignment to silence this warning 1980 | if( ovia = strpbrk(ovia,"\r\n") ){ | ^ | ( ) http.cc:1980:13: note: use '==' to turn this assignment into an equality comparison 1980 | if( ovia = strpbrk(ovia,"\r\n") ){ | ^ | == http.cc:1982:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1982 | if( nvia = findFieldValue(ovia,"Via") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.cc:1982:14: note: place parentheses around the assignment to silence this warning 1982 | if( nvia = findFieldValue(ovia,"Via") ){ | ^ | ( ) http.cc:1982:14: note: use '==' to turn this assignment into an equality comparison 1982 | if( nvia = findFieldValue(ovia,"Via") ){ | ^ | == http.cc:2022:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2022 | }else | ^ http.cc:2097:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2097 | for( sp = str; ch = *sp; sp++ ){ | ~~~^~~~~ http.cc:2097:20: note: place parentheses around the assignment to silence this warning 2097 | for( sp = str; ch = *sp; sp++ ){ | ^ | ( ) http.cc:2097:20: note: use '==' to turn this assignment into an equality comparison 2097 | for( sp = str; ch = *sp; sp++ ){ | ^ | == http.cc:2138:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2138 | if( rp = strchr(head,'?') ){ | ~~~^~~~~~~~~~~~~~~~~~ http.cc:2138:10: note: place parentheses around the assignment to silence this warning 2138 | if( rp = strchr(head,'?') ){ | ^ | ( ) http.cc:2138:10: note: use '==' to turn this assignment into an equality comparison 2138 | if( rp = strchr(head,'?') ){ | ^ | == http.cc:2141:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2141 | if( ctype = filename2ctype(head) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ http.cc:2141:13: note: place parentheses around the assignment to silence this warning 2141 | if( ctype = filename2ctype(head) ){ | ^ | ( ) http.cc:2141:13: note: use '==' to turn this assignment into an equality comparison 2141 | if( ctype = filename2ctype(head) ){ | ^ | == http.cc:2220:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2220 | }else | ^ http.cc:2227:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2227 | }else | ^ http.cc:2483:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2483 | if( xcharset = HTTP_outCharset(Conn) ) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ http.cc:2483:16: note: place parentheses around the assignment to silence this warning 2483 | if( xcharset = HTTP_outCharset(Conn) ) | ^ | ( ) http.cc:2483:16: note: use '==' to turn this assignment into an equality comparison 2483 | if( xcharset = HTTP_outCharset(Conn) ) | ^ | == http.cc:2525:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2525 | if( fnlen = STRH(field,F_ContEncode) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ http.cc:2525:13: note: place parentheses around the assignment to silence this warning 2525 | if( fnlen = STRH(field,F_ContEncode) ){ | ^ | ( ) http.cc:2525:13: note: use '==' to turn this assignment into an equality comparison 2525 | if( fnlen = STRH(field,F_ContEncode) ){ | ^ | == http.cc:2530:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2530 | if( fnlen = STRH(field,F_Vary) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~ http.cc:2530:13: note: place parentheses around the assignment to silence this warning 2530 | if( fnlen = STRH(field,F_Vary) ){ | ^ | ( ) http.cc:2530:13: note: use '==' to turn this assignment into an equality comparison 2530 | if( fnlen = STRH(field,F_Vary) ){ | ^ | == http.cc:2559:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2559 | if( dp = strchr(line,';') ){ | ~~~^~~~~~~~~~~~~~~~~~ http.cc:2559:10: note: place parentheses around the assignment to silence this warning 2559 | if( dp = strchr(line,';') ){ | ^ | ( ) http.cc:2559:10: note: use '==' to turn this assignment into an equality comparison 2559 | if( dp = strchr(line,';') ){ | ^ | == http.cc:2576:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2576 | if( fnlen = STRH(line,F_ContType) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ http.cc:2576:12: note: place parentheses around the assignment to silence this warning 2576 | if( fnlen = STRH(line,F_ContType) ){ | ^ | ( ) http.cc:2576:12: note: use '==' to turn this assignment into an equality comparison 2576 | if( fnlen = STRH(line,F_ContType) ){ | ^ | == http.cc:2595:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2595 | }else | ^ http.cc:2605:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2605 | }else{ | ^ http.cc:2609:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2609 | if( fnlen = STRH(line,F_ContLeng) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ http.cc:2609:12: note: place parentheses around the assignment to silence this warning 2609 | if( fnlen = STRH(line,F_ContLeng) ){ | ^ | ( ) http.cc:2609:12: note: use '==' to turn this assignment into an equality comparison 2609 | if( fnlen = STRH(line,F_ContLeng) ){ | ^ | == http.cc:2625:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2625 | if( fnlen = STRH(line,F_PAuthenticate) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.cc:2625:12: note: place parentheses around the assignment to silence this warning 2625 | if( fnlen = STRH(line,F_PAuthenticate) ){ | ^ | ( ) http.cc:2625:12: note: use '==' to turn this assignment into an equality comparison 2625 | if( fnlen = STRH(line,F_PAuthenticate) ){ | ^ | == http.cc:2640:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2640 | if( fnlen = STRH(line,F_Authenticate) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ http.cc:2640:12: note: place parentheses around the assignment to silence this warning 2640 | if( fnlen = STRH(line,F_Authenticate) ){ | ^ | ( ) http.cc:2640:12: note: use '==' to turn this assignment into an equality comparison 2640 | if( fnlen = STRH(line,F_Authenticate) ){ | ^ | == http.cc:2656:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2656 | if( fnlen = STRH(line,F_SetCookie) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ http.cc:2656:12: note: place parentheses around the assignment to silence this warning 2656 | if( fnlen = STRH(line,F_SetCookie) ){ | ^ | ( ) http.cc:2656:12: note: use '==' to turn this assignment into an equality comparison 2656 | if( fnlen = STRH(line,F_SetCookie) ){ | ^ | == http.cc:2674:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2674 | if( fnlen = STRH(line,F_Location) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ http.cc:2674:12: note: place parentheses around the assignment to silence this warning 2674 | if( fnlen = STRH(line,F_Location) ){ | ^ | ( ) http.cc:2674:12: note: use '==' to turn this assignment into an equality comparison 2674 | if( fnlen = STRH(line,F_Location) ){ | ^ | == http.cc:2684:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2684 | }else | ^ http.cc:2696:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2696 | if( fnlen = STRH(line,F_KeepAlive) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ http.cc:2696:12: note: place parentheses around the assignment to silence this warning 2696 | if( fnlen = STRH(line,F_KeepAlive) ){ | ^ | ( ) http.cc:2696:12: note: use '==' to turn this assignment into an equality comparison 2696 | if( fnlen = STRH(line,F_KeepAlive) ){ | ^ | == http.cc:2700:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2700 | if( fnlen = STRH(line,F_Upgrade) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ http.cc:2700:12: note: place parentheses around the assignment to silence this warning 2700 | if( fnlen = STRH(line,F_Upgrade) ){ | ^ | ( ) http.cc:2700:12: note: use '==' to turn this assignment into an equality comparison 2700 | if( fnlen = STRH(line,F_Upgrade) ){ | ^ | == http.cc:2703:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2703 | if( fnlen = STRH_Connection(line) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ http.cc:2703:12: note: place parentheses around the assignment to silence this warning 2703 | if( fnlen = STRH_Connection(line) ){ | ^ | ( ) http.cc:2703:12: note: use '==' to turn this assignment into an equality comparison 2703 | if( fnlen = STRH_Connection(line) ){ | ^ | == http.cc:2707:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2707 | if( fnlen = STRH(line,F_TransEncode) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ http.cc:2707:12: note: place parentheses around the assignment to silence this warning 2707 | if( fnlen = STRH(line,F_TransEncode) ){ | ^ | ( ) http.cc:2707:12: note: use '==' to turn this assignment into an equality comparison 2707 | if( fnlen = STRH(line,F_TransEncode) ){ | ^ | == http.cc:2715:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2715 | if( fnlen = STRH(line,F_ContMD5) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ http.cc:2715:12: note: place parentheses around the assignment to silence this warning 2715 | if( fnlen = STRH(line,F_ContMD5) ){ | ^ | ( ) http.cc:2715:12: note: use '==' to turn this assignment into an equality comparison 2715 | if( fnlen = STRH(line,F_ContMD5) ){ | ^ | == http.cc:2747:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2747 | if( fnlen = STRH(line,F_Expires) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ http.cc:2747:12: note: place parentheses around the assignment to silence this warning 2747 | if( fnlen = STRH(line,F_Expires) ){ | ^ | ( ) http.cc:2747:12: note: use '==' to turn this assignment into an equality comparison 2747 | if( fnlen = STRH(line,F_Expires) ){ | ^ | == http.cc:2750:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2750 | if( fnlen = STRH(line,"Via:") ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~ http.cc:2750:12: note: place parentheses around the assignment to silence this warning 2750 | if( fnlen = STRH(line,"Via:") ){ | ^ | ( ) http.cc:2750:12: note: use '==' to turn this assignment into an equality comparison 2750 | if( fnlen = STRH(line,"Via:") ){ | ^ | == http.cc:2790:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2790 | if( rcc = fgetBuffered(AVStr(buff),RX_remsize,RX_fsp) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.cc:2790:10: note: place parentheses around the assignment to silence this warning 2790 | if( rcc = fgetBuffered(AVStr(buff),RX_remsize,RX_fsp) ){ | ^ | ( ) http.cc:2790:10: note: use '==' to turn this assignment into an equality comparison 2790 | if( rcc = fgetBuffered(AVStr(buff),RX_remsize,RX_fsp) ){ | ^ | == http.cc:3315:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3315 | if( op = strstr(old,"CL=") ) | ~~~^~~~~~~~~~~~~~~~~~~ http.cc:3315:11: note: place parentheses around the assignment to silence this warning 3315 | if( op = strstr(old,"CL=") ) | ^ | ( ) http.cc:3315:11: note: use '==' to turn this assignment into an equality comparison 3315 | if( op = strstr(old,"CL=") ) | ^ | == http.cc:3318:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3318 | if( op = strstr(old,"MT=") ) | ~~~^~~~~~~~~~~~~~~~~~~ http.cc:3318:11: note: place parentheses around the assignment to silence this warning 3318 | if( op = strstr(old,"MT=") ) | ^ | ( ) http.cc:3318:11: note: use '==' to turn this assignment into an equality comparison 3318 | if( op = strstr(old,"MT=") ) | ^ | == http.cc:3441:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3441 | if( acc = isinListX(rvers,ver,"h") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ http.cc:3441:11: note: place parentheses around the assignment to silence this warning 3441 | if( acc = isinListX(rvers,ver,"h") ){ | ^ | ( ) http.cc:3441:11: note: use '==' to turn this assignment into an equality comparison 3441 | if( acc = isinListX(rvers,ver,"h") ){ | ^ | == http.cc:4026:16: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] 4026 | int IsSolaris(); | ^~ http.cc:4026:16: note: replace parentheses with an initializer to declare a variable 4026 | int IsSolaris(); | ^~ | = 0 http.cc:4358:21: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] 4358 | setVStrElem(stat,0,255); | ~~~~~~~~~~~~~~~~~~~^~~~ ../include/ystring.h:146:63: note: expanded from macro 'setVStrElem' 146 | #define setVStrElem(p,x,v) (rangeOK(p,x))?(((char*)p)[x] = v):XsetVStrEnd(AVStr(p),x) | ~ ^ http.cc:4427:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4427 | if( ofp = threadGzip(Conn,RX,RX_tc_sav) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.cc:4427:12: note: place parentheses around the assignment to silence this warning 4427 | if( ofp = threadGzip(Conn,RX,RX_tc_sav) ){ | ^ | ( ) http.cc:4427:12: note: use '==' to turn this assignment into an equality comparison 4427 | if( ofp = threadGzip(Conn,RX,RX_tc_sav) ){ | ^ | == http.cc:4585:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4585 | if( hx = strSeekEOH(head) ){ | ~~~^~~~~~~~~~~~~~~~~~ http.cc:4585:9: note: place parentheses around the assignment to silence this warning 4585 | if( hx = strSeekEOH(head) ){ | ^ | ( ) http.cc:4585:9: note: use '==' to turn this assignment into an equality comparison 4585 | if( hx = strSeekEOH(head) ){ | ^ | == http.cc:4740:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 4740 | char *HTTP_thruType = "application/zip,application/x-rpm"; | ^ http.cc:4768:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 4768 | char *stx = ""; | ^ http.cc:4935:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4935 | if( val = findFieldValue(rhead,"Content-Type") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.cc:4935:12: note: place parentheses around the assignment to silence this warning 4935 | if( val = findFieldValue(rhead,"Content-Type") ){ | ^ | ( ) http.cc:4935:12: note: use '==' to turn this assignment into an equality comparison 4935 | if( val = findFieldValue(rhead,"Content-Type") ){ | ^ | == http.cc:4963:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4963 | if( val = findFieldValue(rhead,"Content-Encoding") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.cc:4963:12: note: place parentheses around the assignment to silence this warning 4963 | if( val = findFieldValue(rhead,"Content-Encoding") ){ | ^ | ( ) http.cc:4963:12: note: use '==' to turn this assignment into an equality comparison 4963 | if( val = findFieldValue(rhead,"Content-Encoding") ){ | ^ | == http.cc:4970:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4970 | if( val = findFieldValue(rhead,"Content-Length") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.cc:4970:12: note: place parentheses around the assignment to silence this warning 4970 | if( val = findFieldValue(rhead,"Content-Length") ){ | ^ | ( ) http.cc:4970:12: note: use '==' to turn this assignment into an equality comparison 4970 | if( val = findFieldValue(rhead,"Content-Length") ){ | ^ | == http.cc:4980:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4980 | if( val = findFieldValue(rhead,"X-Pragma") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.cc:4980:12: note: place parentheses around the assignment to silence this warning 4980 | if( val = findFieldValue(rhead,"X-Pragma") ){ | ^ | ( ) http.cc:4980:12: note: use '==' to turn this assignment into an equality comparison 4980 | if( val = findFieldValue(rhead,"X-Pragma") ){ | ^ | == http.cc:4986:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4986 | if( val = findFieldValue(rhead,"Proxy-Authenticate") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.cc:4986:12: note: place parentheses around the assignment to silence this warning 4986 | if( val = findFieldValue(rhead,"Proxy-Authenticate") ){ | ^ | ( ) http.cc:4986:12: note: use '==' to turn this assignment into an equality comparison 4986 | if( val = findFieldValue(rhead,"Proxy-Authenticate") ){ | ^ | == http.cc:4991:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4991 | if( val = findFieldValue(rhead,"WWW-Authenticate") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.cc:4991:12: note: place parentheses around the assignment to silence this warning 4991 | if( val = findFieldValue(rhead,"WWW-Authenticate") ){ | ^ | ( ) http.cc:4991:12: note: use '==' to turn this assignment into an equality comparison 4991 | if( val = findFieldValue(rhead,"WWW-Authenticate") ){ | ^ | == http.cc:5156:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5156 | while( got1 = GETRESPTXT(Conn,RX,fromcache) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.cc:5156:16: note: place parentheses around the assignment to silence this warning 5156 | while( got1 = GETRESPTXT(Conn,RX,fromcache) ){ | ^ | ( ) http.cc:5156:16: note: use '==' to turn this assignment into an equality comparison 5156 | while( got1 = GETRESPTXT(Conn,RX,fromcache) ){ | ^ | == http.cc:5440:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5440 | if( fnlen = STRH_Connection(line) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ http.cc:5440:15: note: place parentheses around the assignment to silence this warning 5440 | if( fnlen = STRH_Connection(line) ){ | ^ | ( ) http.cc:5440:15: note: use '==' to turn this assignment into an equality comparison 5440 | if( fnlen = STRH_Connection(line) ){ | ^ | == http.cc:5510:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5510 | if( dp = strstr(line,"303") ) | ~~~^~~~~~~~~~~~~~~~~~~~ http.cc:5510:12: note: place parentheses around the assignment to silence this warning 5510 | if( dp = strstr(line,"303") ) | ^ | ( ) http.cc:5510:12: note: use '==' to turn this assignment into an equality comparison 5510 | if( dp = strstr(line,"303") ) | ^ | == http.cc:5563:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5563 | if( dp = strstr(line,"407") ) | ~~~^~~~~~~~~~~~~~~~~~~~ http.cc:5563:11: note: place parentheses around the assignment to silence this warning 5563 | if( dp = strstr(line,"407") ) | ^ | ( ) http.cc:5563:11: note: use '==' to turn this assignment into an equality comparison 5563 | if( dp = strstr(line,"407") ) | ^ | == http.cc:5602:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 5602 | }else | ^ http.cc:5953:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5953 | for( sp = line; ch = *sp; sp++ ){ | ~~~^~~~~ http.cc:5953:26: note: place parentheses around the assignment to silence this warning 5953 | for( sp = line; ch = *sp; sp++ ){ | ^ | ( ) http.cc:5953:26: note: use '==' to turn this assignment into an equality comparison 5953 | for( sp = line; ch = *sp; sp++ ){ | ^ | == http.cc:6299:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 6299 | stx = "isREG"; | ^ http.cc:6304:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 6304 | stx = "inSAV"; | ^ http.cc:6309:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 6309 | stx = "clntEOF"; | ^ http.cc:6324:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 6324 | stx = "stopKA"; | ^ http.cc:6326:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 6326 | stx = "contKA"; | ^ http.cc:6339:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 6339 | stx = "noKAwithFTOCL"; | ^ http.cc:6343:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 6343 | stx = "noKAnoFTOCL"; | ^ http.cc:6587:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6587 | for( sp = req; sc = *sp; sp++ ){ | ~~~^~~~~ http.cc:6587:20: note: place parentheses around the assignment to silence this warning 6587 | for( sp = req; sc = *sp; sp++ ){ | ^ | ( ) http.cc:6587:20: note: use '==' to turn this assignment into an equality comparison 6587 | for( sp = req; sc = *sp; sp++ ){ | ^ | == http.cc:6631:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6631 | for( hp = bp; ch = *hp; hp++ ) | ~~~^~~~~ http.cc:6631:21: note: place parentheses around the assignment to silence this warning 6631 | for( hp = bp; ch = *hp; hp++ ) | ^ | ( ) http.cc:6631:21: note: use '==' to turn this assignment into an equality comparison 6631 | for( hp = bp; ch = *hp; hp++ ) | ^ | == http.cc:6679:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6679 | for( hp = head; ch = *hp; hp++ ){ | ~~~^~~~~ http.cc:6679:21: note: place parentheses around the assignment to silence this warning 6679 | for( hp = head; ch = *hp; hp++ ){ | ^ | ( ) http.cc:6679:21: note: use '==' to turn this assignment into an equality comparison 6679 | for( hp = head; ch = *hp; hp++ ){ | ^ | == http.cc:6721:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6721 | for( hp = head; ch = *hp; hp++ ){ | ~~~^~~~~ http.cc:6721:23: note: place parentheses around the assignment to silence this warning 6721 | for( hp = head; ch = *hp; hp++ ){ | ^ | ( ) http.cc:6721:23: note: use '==' to turn this assignment into an equality comparison 6721 | for( hp = head; ch = *hp; hp++ ){ | ^ | == http.cc:6750:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6750 | while( ch = *++hp ) | ~~~^~~~~~~ http.cc:6750:13: note: place parentheses around the assignment to silence this warning 6750 | while( ch = *++hp ) | ^ | ( ) http.cc:6750:13: note: use '==' to turn this assignment into an equality comparison 6750 | while( ch = *++hp ) | ^ | == http.cc:6784:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6784 | if( up = strchr(request,' ') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ http.cc:6784:9: note: place parentheses around the assignment to silence this warning 6784 | if( up = strchr(request,' ') ){ | ^ | ( ) http.cc:6784:9: note: use '==' to turn this assignment into an equality comparison 6784 | if( up = strchr(request,' ') ){ | ^ | == http.cc:6796:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6796 | for( hp = hostport; hc = *hp; hp++ ){ | ~~~^~~~~ http.cc:6796:25: note: place parentheses around the assignment to silence this warning 6796 | for( hp = hostport; hc = *hp; hp++ ){ | ^ | ( ) http.cc:6796:25: note: use '==' to turn this assignment into an equality comparison 6796 | for( hp = hostport; hc = *hp; hp++ ){ | ^ | == http.cc:7487:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 7487 | if( fnlen = STRH(req,F_Upgrade) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ http.cc:7487:13: note: place parentheses around the assignment to silence this warning 7487 | if( fnlen = STRH(req,F_Upgrade) ){ | ^ | ( ) http.cc:7487:13: note: use '==' to turn this assignment into an equality comparison 7487 | if( fnlen = STRH(req,F_Upgrade) ){ | ^ | == http.cc:7501:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 7501 | if( fnlen = STRH(req,F_ContType) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ http.cc:7501:13: note: place parentheses around the assignment to silence this warning 7501 | if( fnlen = STRH(req,F_ContType) ){ | ^ | ( ) http.cc:7501:13: note: use '==' to turn this assignment into an equality comparison 7501 | if( fnlen = STRH(req,F_ContType) ){ | ^ | == http.cc:7505:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 7505 | if( fnlen = STRH(req,F_ContLeng) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ http.cc:7505:13: note: place parentheses around the assignment to silence this warning 7505 | if( fnlen = STRH(req,F_ContLeng) ){ | ^ | ( ) http.cc:7505:13: note: use '==' to turn this assignment into an equality comparison 7505 | if( fnlen = STRH(req,F_ContLeng) ){ | ^ | == http.cc:7516:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 7516 | if( fnlen = STRH(req,F_AccEncode) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ http.cc:7516:13: note: place parentheses around the assignment to silence this warning 7516 | if( fnlen = STRH(req,F_AccEncode) ){ | ^ | ( ) http.cc:7516:13: note: use '==' to turn this assignment into an equality comparison 7516 | if( fnlen = STRH(req,F_AccEncode) ){ | ^ | == http.cc:7639:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 7639 | if( fnlen = STRH(req,F_CacheControl) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ http.cc:7639:13: note: place parentheses around the assignment to silence this warning 7639 | if( fnlen = STRH(req,F_CacheControl) ){ | ^ | ( ) http.cc:7639:13: note: use '==' to turn this assignment into an equality comparison 7639 | if( fnlen = STRH(req,F_CacheControl) ){ | ^ | == http.cc:7795:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 7795 | while( rcc = fgetBuffered(AVStr(buf),sizeof(buf),in) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.cc:7795:13: note: place parentheses around the assignment to silence this warning 7795 | while( rcc = fgetBuffered(AVStr(buf),sizeof(buf),in) ){ | ^ | ( ) http.cc:7795:13: note: use '==' to turn this assignment into an equality comparison 7795 | while( rcc = fgetBuffered(AVStr(buf),sizeof(buf),in) ){ | ^ | == http.cc:7833:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 7833 | if( auth = findFieldValue(REQ_FIELDS,"Authorization") ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.cc:7833:11: note: place parentheses around the assignment to silence this warning 7833 | if( auth = findFieldValue(REQ_FIELDS,"Authorization") ) | ^ | ( ) http.cc:7833:11: note: use '==' to turn this assignment into an equality comparison 7833 | if( auth = findFieldValue(REQ_FIELDS,"Authorization") ) | ^ | == http.cc:7846:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 7846 | if( dp = strpbrk(buf,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~ http.cc:7846:10: note: place parentheses around the assignment to silence this warning 7846 | if( dp = strpbrk(buf,"\r\n") ) | ^ | ( ) http.cc:7846:10: note: use '==' to turn this assignment into an equality comparison 7846 | if( dp = strpbrk(buf,"\r\n") ) | ^ | == http.cc:7868:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 7868 | }else | ^ http.cc:7906:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 7906 | if( ver = strstr(req1," HTTP/1.") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ http.cc:7906:10: note: place parentheses around the assignment to silence this warning 7906 | if( ver = strstr(req1," HTTP/1.") ) | ^ | ( ) http.cc:7906:10: note: use '==' to turn this assignment into an equality comparison 7906 | if( ver = strstr(req1," HTTP/1.") ) | ^ | == http.cc:8003:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 8003 | { register int ppid,cpid; | ^~~~~~~~ http.cc:8003:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 8003 | { register int ppid,cpid; | ^~~~~~~~ http.cc:8060:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 8060 | if( cpid = Fork("relayRequest") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ http.cc:8060:12: note: place parentheses around the assignment to silence this warning 8060 | if( cpid = Fork("relayRequest") ){ | ^ | ( ) http.cc:8060:12: note: use '==' to turn this assignment into an equality comparison 8060 | if( cpid = Fork("relayRequest") ){ | ^ | == http.cc:8265:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 8265 | }else DO_DELEGATE = 1; | ^ http.cc:8361:3: warning: '/*' within block comment [-Wcomment] 8361 | /* fclose(tc); */ | ^ http.cc:8390:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 8390 | if( dp = strchr(REQ,' ') ) | ~~~^~~~~~~~~~~~~~~~~ http.cc:8390:9: note: place parentheses around the assignment to silence this warning 8390 | if( dp = strchr(REQ,' ') ) | ^ | ( ) http.cc:8390:9: note: use '==' to turn this assignment into an equality comparison 8390 | if( dp = strchr(REQ,' ') ) | ^ | == http.cc:8392:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 8392 | if( dp = strchr(OREQ_MSG,' ') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ http.cc:8392:9: note: place parentheses around the assignment to silence this warning 8392 | if( dp = strchr(OREQ_MSG,' ') ){ | ^ | ( ) http.cc:8392:9: note: use '==' to turn this assignment into an equality comparison 8392 | if( dp = strchr(OREQ_MSG,' ') ){ | ^ | == http.cc:8487:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 8487 | if( cachefp = cache_fopen_rd("HTTP",AVStr(cpath),expire,&cdate) ) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.cc:8487:14: note: place parentheses around the assignment to silence this warning 8487 | if( cachefp = cache_fopen_rd("HTTP",AVStr(cpath),expire,&cdate) ) | ^ | ( ) http.cc:8487:14: note: use '==' to turn this assignment into an equality comparison 8487 | if( cachefp = cache_fopen_rd("HTTP",AVStr(cpath),expire,&cdate) ) | ^ | == http.cc:9109:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 9109 | if( fnlen = STRH(line,F_PAuthenticate) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.cc:9109:15: note: place parentheses around the assignment to silence this warning 9109 | if( fnlen = STRH(line,F_PAuthenticate) ){ | ^ | ( ) http.cc:9109:15: note: use '==' to turn this assignment into an equality comparison 9109 | if( fnlen = STRH(line,F_PAuthenticate) ){ | ^ | == http.cc:9260:3: warning: '/*' within block comment [-Wcomment] 9260 | /* so the request/response should be rewritten | ^ http.cc:9261:33: warning: '/*' within block comment [-Wcomment] 9261 | * with MOUNT="https://host:80/* http://host/* | ^ http.cc:9261:47: warning: '/*' within block comment [-Wcomment] 9261 | * with MOUNT="https://host:80/* http://host/* | ^ http.cc:9271:15: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] 9271 | int ServSock(); | ^~ http.cc:9271:15: note: replace parentheses with an initializer to declare a variable 9271 | int ServSock(); | ^~ | = 0 http.cc:9449:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 9449 | if( val = findFieldValue(REQ_FIELDS,"Cookie") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.cc:9449:10: note: place parentheses around the assignment to silence this warning 9449 | if( val = findFieldValue(REQ_FIELDS,"Cookie") ){ | ^ | ( ) http.cc:9449:10: note: use '==' to turn this assignment into an equality comparison 9449 | if( val = findFieldValue(REQ_FIELDS,"Cookie") ){ | ^ | == http.cc:9514:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 9514 | if( QX_totalc = HttpToMyself(Conn,AVStr(REQ),REQ_FIELDS,fc,tc,&stcode) ){ | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.cc:9514:16: note: place parentheses around the assignment to silence this warning 9514 | if( QX_totalc = HttpToMyself(Conn,AVStr(REQ),REQ_FIELDS,fc,tc,&stcode) ){ | ^ | ( ) http.cc:9514:16: note: use '==' to turn this assignment into an equality comparison 9514 | if( QX_totalc = HttpToMyself(Conn,AVStr(REQ),REQ_FIELDS,fc,tc,&stcode) ){ | ^ | == http.cc:9710:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 9710 | if( dp = strchr(ident.i_user,'@') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ http.cc:9710:10: note: place parentheses around the assignment to silence this warning 9710 | if( dp = strchr(ident.i_user,'@') ){ | ^ | ( ) http.cc:9710:10: note: use '==' to turn this assignment into an equality comparison 9710 | if( dp = strchr(ident.i_user,'@') ){ | ^ | == http.cc:9729:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 9729 | if( gtype = decomp_gopherURL(Conn,req,AVStr(path)) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.cc:9729:13: note: place parentheses around the assignment to silence this warning 9729 | if( gtype = decomp_gopherURL(Conn,req,AVStr(path)) ){ | ^ | ( ) http.cc:9729:13: note: use '==' to turn this assignment into an equality comparison 9729 | if( gtype = decomp_gopherURL(Conn,req,AVStr(path)) ){ | ^ | == http.cc:9800:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 9800 | if( QX_totalc = httpftp_cached(Conn,tc,user,pass,host,QX_port,path,&rc) ){ | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.cc:9800:16: note: place parentheses around the assignment to silence this warning 9800 | if( QX_totalc = httpftp_cached(Conn,tc,user,pass,host,QX_port,path,&rc) ){ | ^ | ( ) http.cc:9800:16: note: use '==' to turn this assignment into an equality comparison 9800 | if( QX_totalc = httpftp_cached(Conn,tc,user,pass,host,QX_port,path,&rc) ){ | ^ | == http.cc:9820:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 9820 | if( dp = strtailstr(ocpath,LOADING) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.cc:9820:9: note: place parentheses around the assignment to silence this warning 9820 | if( dp = strtailstr(ocpath,LOADING) ){ | ^ | ( ) http.cc:9820:9: note: use '==' to turn this assignment into an equality comparison 9820 | if( dp = strtailstr(ocpath,LOADING) ){ | ^ | == http.cc:9861:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 9861 | if( dp = strtailstr(QX_cpath,LOADING) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.cc:9861:9: note: place parentheses around the assignment to silence this warning 9861 | if( dp = strtailstr(QX_cpath,LOADING) ){ | ^ | ( ) http.cc:9861:9: note: use '==' to turn this assignment into an equality comparison 9861 | if( dp = strtailstr(QX_cpath,LOADING) ){ | ^ | == http.cc:9868:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 9868 | if( fp=expfopen("HTTP",CACHE_DONTEXP,AVStr(QX_cpath),"r",&cdate) ){ | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.cc:9868:9: note: place parentheses around the assignment to silence this warning 9868 | if( fp=expfopen("HTTP",CACHE_DONTEXP,AVStr(QX_cpath),"r",&cdate) ){ | ^ | ( ) http.cc:9868:9: note: use '==' to turn this assignment into an equality comparison 9868 | if( fp=expfopen("HTTP",CACHE_DONTEXP,AVStr(QX_cpath),"r",&cdate) ){ | ^ | == http.cc:9895:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 9895 | if( dp = strtailstr(cpath,LOADING) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ http.cc:9895:9: note: place parentheses around the assignment to silence this warning 9895 | if( dp = strtailstr(cpath,LOADING) ) | ^ | ( ) http.cc:9895:9: note: use '==' to turn this assignment into an equality comparison 9895 | if( dp = strtailstr(cpath,LOADING) ) | ^ | == http.cc:9945:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 9945 | if( QX_cachefp = cache_fopen_rw("HTTP",AVStr(xcpath)) ){ | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.cc:9945:17: note: place parentheses around the assignment to silence this warning 9945 | if( QX_cachefp = cache_fopen_rw("HTTP",AVStr(xcpath)) ){ | ^ | ( ) http.cc:9945:17: note: use '==' to turn this assignment into an equality comparison 9945 | if( QX_cachefp = cache_fopen_rw("HTTP",AVStr(xcpath)) ){ | ^ | == http.cc:9984:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 9984 | if( cp = strtailstr(QX_cpath,LOADING) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.cc:9984:9: note: place parentheses around the assignment to silence this warning 9984 | if( cp = strtailstr(QX_cpath,LOADING) ){ | ^ | ( ) http.cc:9984:9: note: use '==' to turn this assignment into an equality comparison 9984 | if( cp = strtailstr(QX_cpath,LOADING) ){ | ^ | == http.cc:10045:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 10045 | if( op = strtailstr(opath,LOADING) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ http.cc:10045:9: note: place parentheses around the assignment to silence this warning 10045 | if( op = strtailstr(opath,LOADING) ){ | ^ | ( ) http.cc:10045:9: note: use '==' to turn this assignment into an equality comparison 10045 | if( op = strtailstr(opath,LOADING) ){ | ^ | == http.cc:10050:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 10050 | if( fp = dirfopen("HTTPcache",AVStr(opath),"w") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.cc:10050:11: note: place parentheses around the assignment to silence this warning 10050 | if( fp = dirfopen("HTTPcache",AVStr(opath),"w") ){ | ^ | ( ) http.cc:10050:11: note: use '==' to turn this assignment into an equality comparison 10050 | if( fp = dirfopen("HTTPcache",AVStr(opath),"w") ){ | ^ | == http.cc:10058:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 10058 | if( fp = fopen(opath,"r") ){ | ~~~^~~~~~~~~~~~~~~~~~ http.cc:10058:11: note: place parentheses around the assignment to silence this warning 10058 | if( fp = fopen(opath,"r") ){ | ^ | ( ) http.cc:10058:11: note: use '==' to turn this assignment into an equality comparison 10058 | if( fp = fopen(opath,"r") ){ | ^ | == http.cc:10269:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 10269 | if( dp = strtailstr(QX_cpath,LOADING) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.cc:10269:9: note: place parentheses around the assignment to silence this warning 10269 | if( dp = strtailstr(QX_cpath,LOADING) ){ | ^ | ( ) http.cc:10269:9: note: use '==' to turn this assignment into an equality comparison 10269 | if( dp = strtailstr(QX_cpath,LOADING) ){ | ^ | == http.cc:10283:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 10283 | if( QX_cachefp = cache_fopen_rd("HTTP",AVStr(QX_cpath),QX_expire,&QX_cdate) ){ | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.cc:10283:17: note: place parentheses around the assignment to silence this warning 10283 | if( QX_cachefp = cache_fopen_rd("HTTP",AVStr(QX_cpath),QX_expire,&QX_cdate) ){ | ^ | ( ) http.cc:10283:17: note: use '==' to turn this assignment into an equality comparison 10283 | if( QX_cachefp = cache_fopen_rd("HTTP",AVStr(QX_cpath),QX_expire,&QX_cdate) ){ | ^ | == http.cc:10398:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 10398 | }else{ | ^ http.cc:10692:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 10692 | if( bp = strSeekEOHX(OREQ_MSG,OREQ_LEN) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.cc:10692:10: note: place parentheses around the assignment to silence this warning 10692 | if( bp = strSeekEOHX(OREQ_MSG,OREQ_LEN) ){ | ^ | ( ) http.cc:10692:10: note: use '==' to turn this assignment into an equality comparison 10692 | if( bp = strSeekEOHX(OREQ_MSG,OREQ_LEN) ){ | ^ | == http.cc:11222:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 11222 | }else | ^ http.cc:11252:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 11252 | if( QX_upath = strchr(REQ,'/') ) | ~~~~~~~~~^~~~~~~~~~~~~~~~~ http.cc:11252:15: note: place parentheses around the assignment to silence this warning 11252 | if( QX_upath = strchr(REQ,'/') ) | ^ | ( ) http.cc:11252:15: note: use '==' to turn this assignment into an equality comparison 11252 | if( QX_upath = strchr(REQ,'/') ) | ^ | == http.cc:11327:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 11327 | if( Conn->sv_reusing = getServ(Conn) ) /* FromS is set ... */ | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ http.cc:11327:24: note: place parentheses around the assignment to silence this warning 11327 | if( Conn->sv_reusing = getServ(Conn) ) /* FromS is set ... */ | ^ | ( ) http.cc:11327:24: note: use '==' to turn this assignment into an equality comparison 11327 | if( Conn->sv_reusing = getServ(Conn) ) /* FromS is set ... */ | ^ | == http.cc:11694:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 11694 | if( fvp = findFieldValue(head,"Authorization") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.cc:11694:10: note: place parentheses around the assignment to silence this warning 11694 | if( fvp = findFieldValue(head,"Authorization") ){ | ^ | ( ) http.cc:11694:10: note: use '==' to turn this assignment into an equality comparison 11694 | if( fvp = findFieldValue(head,"Authorization") ){ | ^ | == http.cc:11801:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 11801 | if( fvp = findFieldValue(OREQ_MSG,qfname) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.cc:11801:10: note: place parentheses around the assignment to silence this warning 11801 | if( fvp = findFieldValue(OREQ_MSG,qfname) ){ | ^ | ( ) http.cc:11801:10: note: use '==' to turn this assignment into an equality comparison 11801 | if( fvp = findFieldValue(OREQ_MSG,qfname) ){ | ^ | == http.cc:11927:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 11927 | if( rp = strSeekEOH(RESP_MSG) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ http.cc:11927:11: note: place parentheses around the assignment to silence this warning 11927 | if( rp = strSeekEOH(RESP_MSG) ) | ^ | ( ) http.cc:11927:11: note: use '==' to turn this assignment into an equality comparison 11927 | if( rp = strSeekEOH(RESP_MSG) ) | ^ | == http.cc:11942:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 11942 | if( qp = strSeekEOH(OREQ_MSG) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ http.cc:11942:9: note: place parentheses around the assignment to silence this warning 11942 | if( qp = strSeekEOH(OREQ_MSG) ) | ^ | ( ) http.cc:11942:9: note: use '==' to turn this assignment into an equality comparison 11942 | if( qp = strSeekEOH(OREQ_MSG) ) | ^ | == http.cc:11961:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 11961 | if( rp = strSeekEOH(RESP_MSG) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ http.cc:11961:11: note: place parentheses around the assignment to silence this warning 11961 | if( rp = strSeekEOH(RESP_MSG) ) | ^ | ( ) http.cc:11961:11: note: use '==' to turn this assignment into an equality comparison 11961 | if( rp = strSeekEOH(RESP_MSG) ) | ^ | == http.cc:12265:17: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] 12265 | int ServSock(); | ^~ http.cc:12265:17: note: replace parentheses with an initializer to declare a variable 12265 | int ServSock(); | ^~ | = 0 http.cc:12543:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 12543 | }else | ^ 155 warnings generated. ../mkcpp httpx.c httpx.cc -- mkcpp set time: 1791324534 -> 1227226907 httpx.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c httpx.cc httpx.cc:48:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 48 | }else | ^ httpx.cc:162:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 162 | if( fp = fopen(path,"r") ){ | ~~~^~~~~~~~~~~~~~~~~ httpx.cc:162:10: note: place parentheses around the assignment to silence this warning 162 | if( fp = fopen(path,"r") ){ | ^ | ( ) httpx.cc:162:10: note: use '==' to turn this assignment into an equality comparison 162 | if( fp = fopen(path,"r") ){ | ^ | == httpx.cc:301:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 301 | if( dp = strpbrk(loc,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~ httpx.cc:301:12: note: place parentheses around the assignment to silence this warning 301 | if( dp = strpbrk(loc,"\r\n") ) | ^ | ( ) httpx.cc:301:12: note: use '==' to turn this assignment into an equality comparison 301 | if( dp = strpbrk(loc,"\r\n") ) | ^ | == 3 warnings generated. ../mkcpp httplog.c httplog.cc -- mkcpp set time: 1791324534 -> 1220182117 httplog.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c httplog.cc httplog.cc:54:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 54 | if( buff = LOG_buffer(log) ){ | ~~~~~^~~~~~~~~~~~~~~~~ httplog.cc:54:11: note: place parentheses around the assignment to silence this warning 54 | if( buff = LOG_buffer(log) ){ | ^ | ( ) httplog.cc:54:11: note: use '==' to turn this assignment into an equality comparison 54 | if( buff = LOG_buffer(log) ){ | ^ | == httplog.cc:125:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 125 | for( fp = fmt; fc = *fp; fp++ ){ | ~~~^~~~~ httplog.cc:125:20: note: place parentheses around the assignment to silence this warning 125 | for( fp = fmt; fc = *fp; fp++ ){ | ^ | ( ) httplog.cc:125:20: note: use '==' to turn this assignment into an equality comparison 125 | for( fp = fmt; fc = *fp; fp++ ){ | ^ | == httplog.cc:252:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 252 | if( upath = URL_toMyself(Conn,referer) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ httplog.cc:252:12: note: place parentheses around the assignment to silence this warning 252 | if( upath = URL_toMyself(Conn,referer) ){ | ^ | ( ) httplog.cc:252:12: note: use '==' to turn this assignment into an equality comparison 252 | if( upath = URL_toMyself(Conn,referer) ){ | ^ | == 3 warnings generated. ../mkcpp httphead.c httphead.cc -- mkcpp set time: 1791324534 -> 1228450098 httphead.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c httphead.cc httphead.cc:267:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 267 | if( data = getMssg(url,&len) ) | ~~~~~^~~~~~~~~~~~~~~~~~~ httphead.cc:267:11: note: place parentheses around the assignment to silence this warning 267 | if( data = getMssg(url,&len) ) | ^ | ( ) httphead.cc:267:11: note: use '==' to turn this assignment into an equality comparison 267 | if( data = getMssg(url,&len) ) | ^ | == httphead.cc:423:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 423 | if( kp = strstr(val,"sign=\"rsa:") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead.cc:423:10: note: place parentheses around the assignment to silence this warning 423 | if( kp = strstr(val,"sign=\"rsa:") ){ | ^ | ( ) httphead.cc:423:10: note: use '==' to turn this assignment into an equality comparison 423 | if( kp = strstr(val,"sign=\"rsa:") ){ | ^ | == httphead.cc:494:10: warning: unsequenced modification and access to 'leng' [-Wunsequenced] 494 | leng += FPRINTF(tc,"Date: %s\r\n",date); | ~~ ^ httphead.cc:32:23: note: expanded from macro 'FPRINTF' 32 | #define FPRINTF leng += Fprintf | ^ httphead.cc:495:10: warning: unsequenced modification and access to 'leng' [-Wunsequenced] 495 | leng += FPRINTF(tc,"Server: %s\r\n",server); | ~~ ^ httphead.cc:32:23: note: expanded from macro 'FPRINTF' 32 | #define FPRINTF leng += Fprintf | ^ httphead.cc:499:11: warning: unsequenced modification and access to 'leng' [-Wunsequenced] 499 | leng += FPRINTF(tc,"ETag: %s\r\n",genETag); | ~~ ^ httphead.cc:32:23: note: expanded from macro 'FPRINTF' 32 | #define FPRINTF leng += Fprintf | ^ httphead.cc:503:11: warning: unsequenced modification and access to 'leng' [-Wunsequenced] 503 | leng += FPRINTF(tc,"%s",addRespHeaders); | ~~ ^ httphead.cc:32:23: note: expanded from macro 'FPRINTF' 32 | #define FPRINTF leng += Fprintf | ^ httphead.cc:656:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 656 | if( leng = getKeepAlive(Conn,AVStr(buff)) ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead.cc:656:11: note: place parentheses around the assignment to silence this warning 656 | if( leng = getKeepAlive(Conn,AVStr(buff)) ) | ^ | ( ) httphead.cc:656:11: note: use '==' to turn this assignment into an equality comparison 656 | if( leng = getKeepAlive(Conn,AVStr(buff)) ) | ^ | == httphead.cc:728:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 728 | if( ohpp = findFieldValue(head,"Host") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead.cc:728:11: note: place parentheses around the assignment to silence this warning 728 | if( ohpp = findFieldValue(head,"Host") ){ | ^ | ( ) httphead.cc:728:11: note: use '==' to turn this assignment into an equality comparison 728 | if( ohpp = findFieldValue(head,"Host") ){ | ^ | == httphead.cc:730:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 730 | for( hp = ohpb; hc = *hp; hp++ ){ | ~~~^~~~~ httphead.cc:730:22: note: place parentheses around the assignment to silence this warning 730 | for( hp = ohpb; hc = *hp; hp++ ){ | ^ | ( ) httphead.cc:730:22: note: use '==' to turn this assignment into an equality comparison 730 | for( hp = ohpb; hc = *hp; hp++ ){ | ^ | == httphead.cc:873:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 873 | if( url = strpbrk(request," \t") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ httphead.cc:873:11: note: place parentheses around the assignment to silence this warning 873 | if( url = strpbrk(request," \t") ){ | ^ | ( ) httphead.cc:873:11: note: use '==' to turn this assignment into an equality comparison 873 | if( url = strpbrk(request," \t") ){ | ^ | == httphead.cc:1003:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1003 | if( val = findFieldValue(fields,"Referer") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead.cc:1003:10: note: place parentheses around the assignment to silence this warning 1003 | if( val = findFieldValue(fields,"Referer") ){ | ^ | ( ) httphead.cc:1003:10: note: use '==' to turn this assignment into an equality comparison 1003 | if( val = findFieldValue(fields,"Referer") ){ | ^ | == httphead.cc:1031:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1031 | if( up = (char*)URL_toMyself(Conn,url) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead.cc:1031:9: note: place parentheses around the assignment to silence this warning 1031 | if( up = (char*)URL_toMyself(Conn,url) ){ | ^ | ( ) httphead.cc:1031:9: note: use '==' to turn this assignment into an equality comparison 1031 | if( up = (char*)URL_toMyself(Conn,url) ){ | ^ | == httphead.cc:1060:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1060 | if( port = forcedIF_H(Conn,BVStr(host)) ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead.cc:1060:11: note: place parentheses around the assignment to silence this warning 1060 | if( port = forcedIF_H(Conn,BVStr(host)) ) | ^ | ( ) httphead.cc:1060:11: note: use '==' to turn this assignment into an equality comparison 1060 | if( port = forcedIF_H(Conn,BVStr(host)) ) | ^ | == httphead.cc:1109:67: warning: '/*' within block comment [-Wcomment] 1109 | * When the parent HTTP server is also DeleGate, /-/builtin/icons/* | ^ httphead.cc:1164:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1164 | if( rcode = CTX_moved_url_to(Conn,OREQ_VHOST,REQ_METHOD,AVStr(furl)) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead.cc:1164:12: note: place parentheses around the assignment to silence this warning 1164 | if( rcode = CTX_moved_url_to(Conn,OREQ_VHOST,REQ_METHOD,AVStr(furl)) ){ | ^ | ( ) httphead.cc:1164:12: note: use '==' to turn this assignment into an equality comparison 1164 | if( rcode = CTX_moved_url_to(Conn,OREQ_VHOST,REQ_METHOD,AVStr(furl)) ){ | ^ | == httphead.cc:1215:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1215 | if( query = strstr(moved_url,"?-.-=") ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead.cc:1215:12: note: place parentheses around the assignment to silence this warning 1215 | if( query = strstr(moved_url,"?-.-=") ){ | ^ | ( ) httphead.cc:1215:12: note: use '==' to turn this assignment into an equality comparison 1215 | if( query = strstr(moved_url,"?-.-=") ){ | ^ | == httphead.cc:1288:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1288 | if( rp = strstr(opts,"rcode=") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~ httphead.cc:1288:9: note: place parentheses around the assignment to silence this warning 1288 | if( rp = strstr(opts,"rcode=") ) | ^ | ( ) httphead.cc:1288:9: note: use '==' to turn this assignment into an equality comparison 1288 | if( rp = strstr(opts,"rcode=") ) | ^ | == httphead.cc:1289:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1289 | if( rcode = atoi(rp+6) ){ | ~~~~~~^~~~~~~~~~~~ httphead.cc:1289:12: note: place parentheses around the assignment to silence this warning 1289 | if( rcode = atoi(rp+6) ){ | ^ | ( ) httphead.cc:1289:12: note: use '==' to turn this assignment into an equality comparison 1289 | if( rcode = atoi(rp+6) ){ | ^ | == httphead.cc:1419:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1419 | if( dp = strcasestr(opts,"urlesc=") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead.cc:1419:10: note: place parentheses around the assignment to silence this warning 1419 | if( dp = strcasestr(opts,"urlesc=") ){ | ^ | ( ) httphead.cc:1419:10: note: use '==' to turn this assignment into an equality comparison 1419 | if( dp = strcasestr(opts,"urlesc=") ){ | ^ | == httphead.cc:1455:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1455 | if( opts = CTX_onerror_url_to(Conn,NULL,reqx.hq_method,AVStr(eurl)) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead.cc:1455:11: note: place parentheses around the assignment to silence this warning 1455 | if( opts = CTX_onerror_url_to(Conn,NULL,reqx.hq_method,AVStr(eurl)) ){ | ^ | ( ) httphead.cc:1455:11: note: use '==' to turn this assignment into an equality comparison 1455 | if( opts = CTX_onerror_url_to(Conn,NULL,reqx.hq_method,AVStr(eurl)) ){ | ^ | == httphead.cc:1479:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1479 | for( tp = oval; tc = *tp; tp++ ) | ~~~^~~~~ httphead.cc:1479:21: note: place parentheses around the assignment to silence this warning 1479 | for( tp = oval; tc = *tp; tp++ ) | ^ | ( ) httphead.cc:1479:21: note: use '==' to turn this assignment into an equality comparison 1479 | for( tp = oval; tc = *tp; tp++ ) | ^ | == httphead.cc:1483:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1483 | for( sp = val; sc = *sp; sp++ ){ | ~~~^~~~~ httphead.cc:1483:20: note: place parentheses around the assignment to silence this warning 1483 | for( sp = val; sc = *sp; sp++ ){ | ^ | ( ) httphead.cc:1483:20: note: use '==' to turn this assignment into an equality comparison 1483 | for( sp = val; sc = *sp; sp++ ){ | ^ | == httphead.cc:1492:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1492 | for( sp = tp; sc = *sp; sp++ ) | ~~~^~~~~ httphead.cc:1492:20: note: place parentheses around the assignment to silence this warning 1492 | for( sp = tp; sc = *sp; sp++ ) | ^ | ( ) httphead.cc:1492:20: note: use '==' to turn this assignment into an equality comparison 1492 | for( sp = tp; sc = *sp; sp++ ) | ^ | == httphead.cc:1558:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1558 | if( dp = strchr(login,':') ) | ~~~^~~~~~~~~~~~~~~~~~~ httphead.cc:1558:9: note: place parentheses around the assignment to silence this warning 1558 | if( dp = strchr(login,':') ) | ^ | ( ) httphead.cc:1558:9: note: use '==' to turn this assignment into an equality comparison 1558 | if( dp = strchr(login,':') ) | ^ | == httphead.cc:1600:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1600 | if( cp = findFieldValue(OREQ_MSG,"Cookie") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead.cc:1600:9: note: place parentheses around the assignment to silence this warning 1600 | if( cp = findFieldValue(OREQ_MSG,"Cookie") ){ | ^ | ( ) httphead.cc:1600:9: note: use '==' to turn this assignment into an equality comparison 1600 | if( cp = findFieldValue(OREQ_MSG,"Cookie") ){ | ^ | == httphead.cc:1671:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1671 | for(; uc = url[ux]; ux++ ) | ~~~^~~~~~~~~ httphead.cc:1671:11: note: place parentheses around the assignment to silence this warning 1671 | for(; uc = url[ux]; ux++ ) | ^ | ( ) httphead.cc:1671:11: note: use '==' to turn this assignment into an equality comparison 1671 | for(; uc = url[ux]; ux++ ) | ^ | == httphead.cc:1718:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1718 | if( dp = strchr(rsite,'@') ){ | ~~~^~~~~~~~~~~~~~~~~~~ httphead.cc:1718:9: note: place parentheses around the assignment to silence this warning 1718 | if( dp = strchr(rsite,'@') ){ | ^ | ( ) httphead.cc:1718:9: note: use '==' to turn this assignment into an equality comparison 1718 | if( dp = strchr(rsite,'@') ){ | ^ | == httphead.cc:1937:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1937 | if( ncdate = HTTP_getLastModInCache(AVStr(scdate),size,cachefp,cpath) ) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead.cc:1937:13: note: place parentheses around the assignment to silence this warning 1937 | if( ncdate = HTTP_getLastModInCache(AVStr(scdate),size,cachefp,cpath) ) | ^ | ( ) httphead.cc:1937:13: note: use '==' to turn this assignment into an equality comparison 1937 | if( ncdate = HTTP_getLastModInCache(AVStr(scdate),size,cachefp,cpath) ) | ^ | == httphead.cc:1985:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1985 | if( nesc = url_escapeX(aval,AVStr(aval),avsiz,HTTP_passesc,"") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead.cc:1985:12: note: place parentheses around the assignment to silence this warning 1985 | if( nesc = url_escapeX(aval,AVStr(aval),avsiz,HTTP_passesc,"") ){ | ^ | ( ) httphead.cc:1985:12: note: use '==' to turn this assignment into an equality comparison 1985 | if( nesc = url_escapeX(aval,AVStr(aval),avsiz,HTTP_passesc,"") ){ | ^ | == httphead.cc:2034:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2034 | if( dp = strrchr(ident->i_user,'@') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead.cc:2034:10: note: place parentheses around the assignment to silence this warning 2034 | if( dp = strrchr(ident->i_user,'@') ){ | ^ | ( ) httphead.cc:2034:10: note: use '==' to turn this assignment into an equality comparison 2034 | if( dp = strrchr(ident->i_user,'@') ){ | ^ | == httphead.cc:2104:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2104 | if( ratype = HTTP_getAuthorization2(Conn,&ident,0) ) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead.cc:2104:13: note: place parentheses around the assignment to silence this warning 2104 | if( ratype = HTTP_getAuthorization2(Conn,&ident,0) ) | ^ | ( ) httphead.cc:2104:13: note: use '==' to turn this assignment into an equality comparison 2104 | if( ratype = HTTP_getAuthorization2(Conn,&ident,0) ) | ^ | == httphead.cc:2121:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2121 | if( dp = strrchr(aval,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~~ httphead.cc:2121:9: note: place parentheses around the assignment to silence this warning 2121 | if( dp = strrchr(aval,'/') ){ | ^ | ( ) httphead.cc:2121:9: note: use '==' to turn this assignment into an equality comparison 2121 | if( dp = strrchr(aval,'/') ){ | ^ | == httphead.cc:2137:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2137 | if( rcode = doAuth(Conn,&ident) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ httphead.cc:2137:13: note: place parentheses around the assignment to silence this warning 2137 | if( rcode = doAuth(Conn,&ident) ){ | ^ | ( ) httphead.cc:2137:13: note: use '==' to turn this assignment into an equality comparison 2137 | if( rcode = doAuth(Conn,&ident) ){ | ^ | == httphead.cc:2241:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2241 | if( url = strpbrk(OREQ," \t") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~ httphead.cc:2241:11: note: place parentheses around the assignment to silence this warning 2241 | if( url = strpbrk(OREQ," \t") ){ | ^ | ( ) httphead.cc:2241:11: note: use '==' to turn this assignment into an equality comparison 2241 | if( url = strpbrk(OREQ," \t") ){ | ^ | == httphead.cc:2245:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2245 | if( up = URL_toMyself(Conn,url) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ httphead.cc:2245:11: note: place parentheses around the assignment to silence this warning 2245 | if( up = URL_toMyself(Conn,url) ) | ^ | ( ) httphead.cc:2245:11: note: use '==' to turn this assignment into an equality comparison 2245 | if( up = URL_toMyself(Conn,url) ) | ^ | == httphead.cc:2247:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2247 | if( up = URL_toMyself(Conn,urlc) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ httphead.cc:2247:11: note: place parentheses around the assignment to silence this warning 2247 | if( up = URL_toMyself(Conn,urlc) ) | ^ | ( ) httphead.cc:2247:11: note: use '==' to turn this assignment into an equality comparison 2247 | if( up = URL_toMyself(Conn,urlc) ) | ^ | == httphead.cc:2289:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2289 | while( ch = *sp ){ | ~~~^~~~~ httphead.cc:2289:12: note: place parentheses around the assignment to silence this warning 2289 | while( ch = *sp ){ | ^ | ( ) httphead.cc:2289:12: note: use '==' to turn this assignment into an equality comparison 2289 | while( ch = *sp ){ | ^ | == httphead.cc:2295:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2295 | while( ch = *sp ){ | ~~~^~~~~ httphead.cc:2295:13: note: place parentheses around the assignment to silence this warning 2295 | while( ch = *sp ){ | ^ | ( ) httphead.cc:2295:13: note: use '==' to turn this assignment into an equality comparison 2295 | while( ch = *sp ){ | ^ | == httphead.cc:2314:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2314 | if( ffname = findField(OREQ_MSG,fname,&ffbody) ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead.cc:2314:14: note: place parentheses around the assignment to silence this warning 2314 | if( ffname = findField(OREQ_MSG,fname,&ffbody) ){ | ^ | ( ) httphead.cc:2314:14: note: use '==' to turn this assignment into an equality comparison 2314 | if( ffname = findField(OREQ_MSG,fname,&ffbody) ){ | ^ | == httphead.cc:2349:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2349 | if( ffname = findField(CurEnv->r_fields,fname,&ffbody) ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead.cc:2349:13: note: place parentheses around the assignment to silence this warning 2349 | if( ffname = findField(CurEnv->r_fields,fname,&ffbody) ){ | ^ | ( ) httphead.cc:2349:13: note: use '==' to turn this assignment into an equality comparison 2349 | if( ffname = findField(CurEnv->r_fields,fname,&ffbody) ){ | ^ | == httphead.cc:2387:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2387 | if( value = strchr(field,':') ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~ httphead.cc:2387:12: note: place parentheses around the assignment to silence this warning 2387 | if( value = strchr(field,':') ){ | ^ | ( ) httphead.cc:2387:12: note: use '==' to turn this assignment into an equality comparison 2387 | if( value = strchr(field,':') ){ | ^ | == httphead.cc:2398:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2398 | while( pp = strstr(value,"(pragma=") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ httphead.cc:2398:12: note: place parentheses around the assignment to silence this warning 2398 | while( pp = strstr(value,"(pragma=") ){ | ^ | ( ) httphead.cc:2398:12: note: use '==' to turn this assignment into an equality comparison 2398 | while( pp = strstr(value,"(pragma=") ){ | ^ | == httphead.cc:2408:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2408 | if( dp = strchr(pp,')') ) | ~~~^~~~~~~~~~~~~~~~ httphead.cc:2408:10: note: place parentheses around the assignment to silence this warning 2408 | if( dp = strchr(pp,')') ) | ^ | ( ) httphead.cc:2408:10: note: use '==' to turn this assignment into an equality comparison 2408 | if( dp = strchr(pp,')') ) | ^ | == httphead.cc:2435:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2435 | while( pp = strstr(value,"()") ) | ~~~^~~~~~~~~~~~~~~~~~~~ httphead.cc:2435:12: note: place parentheses around the assignment to silence this warning 2435 | while( pp = strstr(value,"()") ) | ^ | ( ) httphead.cc:2435:12: note: use '==' to turn this assignment into an equality comparison 2435 | while( pp = strstr(value,"()") ) | ^ | == httphead.cc:2464:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2464 | for( mi = 0; m1 = methodv[mi].m_name; mi++ ){ | ~~~^~~~~~~~~~~~~~~~~~~~ httphead.cc:2464:18: note: place parentheses around the assignment to silence this warning 2464 | for( mi = 0; m1 = methodv[mi].m_name; mi++ ){ | ^ | ( ) httphead.cc:2464:18: note: use '==' to turn this assignment into an equality comparison 2464 | for( mi = 0; m1 = methodv[mi].m_name; mi++ ){ | ^ | == httphead.cc:2492:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2492 | for( mi = 0; m1 = methodv[mi].m_name; mi++ ){ | ~~~^~~~~~~~~~~~~~~~~~~~ httphead.cc:2492:19: note: place parentheses around the assignment to silence this warning 2492 | for( mi = 0; m1 = methodv[mi].m_name; mi++ ){ | ^ | ( ) httphead.cc:2492:19: note: use '==' to turn this assignment into an equality comparison 2492 | for( mi = 0; m1 = methodv[mi].m_name; mi++ ){ | ^ | == httphead.cc:2543:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2543 | for( mi = 0; m1 = methodv[mi].m_name; mi++ ){ | ~~~^~~~~~~~~~~~~~~~~~~~ httphead.cc:2543:18: note: place parentheses around the assignment to silence this warning 2543 | for( mi = 0; m1 = methodv[mi].m_name; mi++ ){ | ^ | ( ) httphead.cc:2543:18: note: use '==' to turn this assignment into an equality comparison 2543 | for( mi = 0; m1 = methodv[mi].m_name; mi++ ){ | ^ | == httphead.cc:2869:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2869 | if( np = strchr(mp,'\n') ) | ~~~^~~~~~~~~~~~~~~~~ httphead.cc:2869:10: note: place parentheses around the assignment to silence this warning 2869 | if( np = strchr(mp,'\n') ) | ^ | ( ) httphead.cc:2869:10: note: use '==' to turn this assignment into an equality comparison 2869 | if( np = strchr(mp,'\n') ) | ^ | == httphead.cc:2880:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2880 | if( rhead = strstr(MountOptions,"rhead=+") ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead.cc:2880:13: note: place parentheses around the assignment to silence this warning 2880 | if( rhead = strstr(MountOptions,"rhead=+") ){ | ^ | ( ) httphead.cc:2880:13: note: use '==' to turn this assignment into an equality comparison 2880 | if( rhead = strstr(MountOptions,"rhead=+") ){ | ^ | == httphead.cc:2898:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2898 | if( sp = scanint(sp,&rcode) ){ | ~~~^~~~~~~~~~~~~~~~~~~~ httphead.cc:2898:10: note: place parentheses around the assignment to silence this warning 2898 | if( sp = scanint(sp,&rcode) ){ | ^ | ( ) httphead.cc:2898:10: note: use '==' to turn this assignment into an equality comparison 2898 | if( sp = scanint(sp,&rcode) ){ | ^ | == httphead.cc:2940:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2940 | }else | ^ httphead.cc:3072:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3072 | if( dp = strstr(REQ_UA,"Mozilla/") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead.cc:3072:9: note: place parentheses around the assignment to silence this warning 3072 | if( dp = strstr(REQ_UA,"Mozilla/") ){ | ^ | ( ) httphead.cc:3072:9: note: use '==' to turn this assignment into an equality comparison 3072 | if( dp = strstr(REQ_UA,"Mozilla/") ){ | ^ | == httphead.cc:3136:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3136 | if( qop_auth = streq(seed->i_qop,"auth") ){ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead.cc:3136:15: note: place parentheses around the assignment to silence this warning 3136 | if( qop_auth = streq(seed->i_qop,"auth") ){ | ^ | ( ) httphead.cc:3136:15: note: use '==' to turn this assignment into an equality comparison 3136 | if( qop_auth = streq(seed->i_qop,"auth") ){ | ^ | == 53 warnings generated. ../mkcpp httpd.c httpd.cc -- mkcpp set time: 1791324534 -> 1232321367 httpd.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c httpd.cc httpd.cc:277:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 277 | if( data = strchr(dataspec,',') ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ httpd.cc:277:11: note: place parentheses around the assignment to silence this warning 277 | if( data = strchr(dataspec,',') ){ | ^ | ( ) httpd.cc:277:11: note: use '==' to turn this assignment into an equality comparison 277 | if( data = strchr(dataspec,',') ){ | ^ | == httpd.cc:653:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 653 | if( leng = putRobotsTxt(Conn,tc,NULL,0) ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpd.cc:653:13: note: place parentheses around the assignment to silence this warning 653 | if( leng = putRobotsTxt(Conn,tc,NULL,0) ) | ^ | ( ) httpd.cc:653:13: note: use '==' to turn this assignment into an equality comparison 653 | if( leng = putRobotsTxt(Conn,tc,NULL,0) ) | ^ | == httpd.cc:668:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 668 | if( leng = putLocal(Conn,vno,method,AVStr(req),head,AVStr(path),fc,tc,stcodep) ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpd.cc:668:11: note: place parentheses around the assignment to silence this warning 668 | if( leng = putLocal(Conn,vno,method,AVStr(req),head,AVStr(path),fc,tc,stcodep) ) | ^ | ( ) httpd.cc:668:11: note: use '==' to turn this assignment into an equality comparison 668 | if( leng = putLocal(Conn,vno,method,AVStr(req),head,AVStr(path),fc,tc,stcodep) ) | ^ | == httpd.cc:678:15: warning: '/*' within block comment [-Wcomment] 678 | /* MOUNT="/p/* http://v/* vhost=-v */ | ^ httpd.cc:678:26: warning: '/*' within block comment [-Wcomment] 678 | /* MOUNT="/p/* http://v/* vhost=-v */ | ^ httpd.cc:831:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 831 | if( isnew = (Tmp == NULL) ){ | ~~~~~~^~~~~~~~~~~~~~~ httpd.cc:831:12: note: place parentheses around the assignment to silence this warning 831 | if( isnew = (Tmp == NULL) ){ | ^ | ( ) httpd.cc:831:12: note: use '==' to turn this assignment into an equality comparison 831 | if( isnew = (Tmp == NULL) ){ | ^ | == httpd.cc:851:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 851 | if( proto = Conn->my_vbase.u_proto ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ httpd.cc:851:13: note: place parentheses around the assignment to silence this warning 851 | if( proto = Conn->my_vbase.u_proto ){ | ^ | ( ) httpd.cc:851:13: note: use '==' to turn this assignment into an equality comparison 851 | if( proto = Conn->my_vbase.u_proto ){ | ^ | == httpd.cc:878:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 878 | if( dp = strchr(url+7,'/') ) | ~~~^~~~~~~~~~~~~~~~~~~ httpd.cc:878:11: note: place parentheses around the assignment to silence this warning 878 | if( dp = strchr(url+7,'/') ) | ^ | ( ) httpd.cc:878:11: note: use '==' to turn this assignment into an equality comparison 878 | if( dp = strchr(url+7,'/') ) | ^ | == httpd.cc:1162:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1162 | if( rpath = strstr(url,"://") ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~ httpd.cc:1162:12: note: place parentheses around the assignment to silence this warning 1162 | if( rpath = strstr(url,"://") ){ | ^ | ( ) httpd.cc:1162:12: note: use '==' to turn this assignment into an equality comparison 1162 | if( rpath = strstr(url,"://") ){ | ^ | == httpd.cc:1164:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1164 | if( rpath = strchr(rpath,'/') ) /* skip server part */ | ~~~~~~^~~~~~~~~~~~~~~~~~~ httpd.cc:1164:13: note: place parentheses around the assignment to silence this warning 1164 | if( rpath = strchr(rpath,'/') ) /* skip server part */ | ^ | ( ) httpd.cc:1164:13: note: use '==' to turn this assignment into an equality comparison 1164 | if( rpath = strchr(rpath,'/') ) /* skip server part */ | ^ | == httpd.cc:1167:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1167 | if( rpath = strstr(url,":/") ) | ~~~~~~^~~~~~~~~~~~~~~~~~ httpd.cc:1167:12: note: place parentheses around the assignment to silence this warning 1167 | if( rpath = strstr(url,":/") ) | ^ | ( ) httpd.cc:1167:12: note: use '==' to turn this assignment into an equality comparison 1167 | if( rpath = strstr(url,":/") ) | ^ | == httpd.cc:1314:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1314 | if( dp = strchr(kp->k_pat,'*') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~ httpd.cc:1314:9: note: place parentheses around the assignment to silence this warning 1314 | if( dp = strchr(kp->k_pat,'*') ){ | ^ | ( ) httpd.cc:1314:9: note: use '==' to turn this assignment into an equality comparison 1314 | if( dp = strchr(kp->k_pat,'*') ){ | ^ | == httpd.cc:1353:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1353 | if( np = strpbrk(hp,"\r\n") ){ | ~~~^~~~~~~~~~~~~~~~~~~~ httpd.cc:1353:11: note: place parentheses around the assignment to silence this warning 1353 | if( np = strpbrk(hp,"\r\n") ){ | ^ | ( ) httpd.cc:1353:11: note: use '==' to turn this assignment into an equality comparison 1353 | if( np = strpbrk(hp,"\r\n") ){ | ^ | == httpd.cc:1385:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1385 | if( dp = strchr(buf,':') ){ | ~~~^~~~~~~~~~~~~~~~~ httpd.cc:1385:9: note: place parentheses around the assignment to silence this warning 1385 | if( dp = strchr(buf,':') ){ | ^ | ( ) httpd.cc:1385:9: note: use '==' to turn this assignment into an equality comparison 1385 | if( dp = strchr(buf,':') ){ | ^ | == httpd.cc:1444:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1444 | if( mo = strstr(list,ot="add-head") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpd.cc:1444:9: note: place parentheses around the assignment to silence this warning 1444 | if( mo = strstr(list,ot="add-head") ) | ^ | ( ) httpd.cc:1444:9: note: use '==' to turn this assignment into an equality comparison 1444 | if( mo = strstr(list,ot="add-head") ) | ^ | == httpd.cc:2004:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2004 | if( fp = fopen(xpath,mode) ){ | ~~~^~~~~~~~~~~~~~~~~~~ httpd.cc:2004:10: note: place parentheses around the assignment to silence this warning 2004 | if( fp = fopen(xpath,mode) ){ | ^ | ( ) httpd.cc:2004:10: note: use '==' to turn this assignment into an equality comparison 2004 | if( fp = fopen(xpath,mode) ){ | ^ | == httpd.cc:2025:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2025 | for( sp = path; sc = *sp; sp++ ){ | ~~~^~~~~ httpd.cc:2025:22: note: place parentheses around the assignment to silence this warning 2025 | for( sp = path; sc = *sp; sp++ ){ | ^ | ( ) httpd.cc:2025:22: note: use '==' to turn this assignment into an equality comparison 2025 | for( sp = path; sc = *sp; sp++ ){ | ^ | == httpd.cc:2033:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2033 | for( ii = 0; file = indexurls[ii]; ii++ ){ | ~~~~~^~~~~~~~~~~~~~~ httpd.cc:2033:20: note: place parentheses around the assignment to silence this warning 2033 | for( ii = 0; file = indexurls[ii]; ii++ ){ | ^ | ( ) httpd.cc:2033:20: note: use '==' to turn this assignment into an equality comparison 2033 | for( ii = 0; file = indexurls[ii]; ii++ ){ | ^ | == httpd.cc:2065:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2065 | if( fp = extfopen(ipath,"r") ) | ~~~^~~~~~~~~~~~~~~~~~~~~ httpd.cc:2065:11: note: place parentheses around the assignment to silence this warning 2065 | if( fp = extfopen(ipath,"r") ) | ^ | ( ) httpd.cc:2065:11: note: use '==' to turn this assignment into an equality comparison 2065 | if( fp = extfopen(ipath,"r") ) | ^ | == httpd.cc:2209:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2209 | if( dp = strchr(surlb,'?') ){ | ~~~^~~~~~~~~~~~~~~~~~~ httpd.cc:2209:9: note: place parentheses around the assignment to silence this warning 2209 | if( dp = strchr(surlb,'?') ){ | ^ | ( ) httpd.cc:2209:9: note: use '==' to turn this assignment into an equality comparison 2209 | if( dp = strchr(surlb,'?') ){ | ^ | == httpd.cc:2220:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2220 | if( dp = strrchr(surlb,'/') ) | ~~~^~~~~~~~~~~~~~~~~~~~ httpd.cc:2220:10: note: place parentheses around the assignment to silence this warning 2220 | if( dp = strrchr(surlb,'/') ) | ^ | ( ) httpd.cc:2220:10: note: use '==' to turn this assignment into an equality comparison 2220 | if( dp = strrchr(surlb,'/') ) | ^ | == httpd.cc:2231:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2231 | if( script_namlen = strlen(surlb) ){ | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ httpd.cc:2231:20: note: place parentheses around the assignment to silence this warning 2231 | if( script_namlen = strlen(surlb) ){ | ^ | ( ) httpd.cc:2231:20: note: use '==' to turn this assignment into an equality comparison 2231 | if( script_namlen = strlen(surlb) ){ | ^ | == httpd.cc:2233:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2233 | if( dp = strchr(extrapath,'?') ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~ httpd.cc:2233:10: note: place parentheses around the assignment to silence this warning 2233 | if( dp = strchr(extrapath,'?') ) | ^ | ( ) httpd.cc:2233:10: note: use '==' to turn this assignment into an equality comparison 2233 | if( dp = strchr(extrapath,'?') ) | ^ | == httpd.cc:2273:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2273 | while( dp = strrchr(ipath,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~~~ httpd.cc:2273:12: note: place parentheses around the assignment to silence this warning 2273 | while( dp = strrchr(ipath,'/') ){ | ^ | ( ) httpd.cc:2273:12: note: use '==' to turn this assignment into an equality comparison 2273 | while( dp = strrchr(ipath,'/') ){ | ^ | == httpd.cc:2285:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2285 | if( fp = openIndex(Conn,ipath,upath,AVStr(iexecpath),mode,mtimep) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpd.cc:2285:10: note: place parentheses around the assignment to silence this warning 2285 | if( fp = openIndex(Conn,ipath,upath,AVStr(iexecpath),mode,mtimep) ){ | ^ | ( ) httpd.cc:2285:10: note: use '==' to turn this assignment into an equality comparison 2285 | if( fp = openIndex(Conn,ipath,upath,AVStr(iexecpath),mode,mtimep) ){ | ^ | == httpd.cc:2287:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2287 | if( xp = strtailstr(script,expath) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ httpd.cc:2287:11: note: place parentheses around the assignment to silence this warning 2287 | if( xp = strtailstr(script,expath) ) | ^ | ( ) httpd.cc:2287:11: note: use '==' to turn this assignment into an equality comparison 2287 | if( xp = strtailstr(script,expath) ) | ^ | == httpd.cc:2296:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2296 | if( fp = extfopen(ipath,"r") ) | ~~~^~~~~~~~~~~~~~~~~~~~~ httpd.cc:2296:10: note: place parentheses around the assignment to silence this warning 2296 | if( fp = extfopen(ipath,"r") ) | ^ | ( ) httpd.cc:2296:10: note: use '==' to turn this assignment into an equality comparison 2296 | if( fp = extfopen(ipath,"r") ) | ^ | == httpd.cc:2300:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2300 | if( xp = strtailstr(script,expath) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ httpd.cc:2300:11: note: place parentheses around the assignment to silence this warning 2300 | if( xp = strtailstr(script,expath) ) | ^ | ( ) httpd.cc:2300:11: note: use '==' to turn this assignment into an equality comparison 2300 | if( xp = strtailstr(script,expath) ) | ^ | == httpd.cc:2380:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2380 | if( ep = strstr(OREQ_MSG,"\r\n\r\n") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpd.cc:2380:9: note: place parentheses around the assignment to silence this warning 2380 | if( ep = strstr(OREQ_MSG,"\r\n\r\n") ){ | ^ | ( ) httpd.cc:2380:9: note: use '==' to turn this assignment into an equality comparison 2380 | if( ep = strstr(OREQ_MSG,"\r\n\r\n") ){ | ^ | == httpd.cc:2383:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2383 | if( ep = strstr(OREQ_MSG,"\n\n") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ httpd.cc:2383:9: note: place parentheses around the assignment to silence this warning 2383 | if( ep = strstr(OREQ_MSG,"\n\n") ){ | ^ | ( ) httpd.cc:2383:9: note: use '==' to turn this assignment into an equality comparison 2383 | if( ep = strstr(OREQ_MSG,"\n\n") ){ | ^ | == httpd.cc:2447:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2447 | if( dp = strcasestr(MountOptions,"search:") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpd.cc:2447:10: note: place parentheses around the assignment to silence this warning 2447 | if( dp = strcasestr(MountOptions,"search:") ){ | ^ | ( ) httpd.cc:2447:10: note: use '==' to turn this assignment into an equality comparison 2447 | if( dp = strcasestr(MountOptions,"search:") ){ | ^ | == httpd.cc:2462:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2462 | if( search = strchr(script,'?') ) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~ httpd.cc:2462:13: note: place parentheses around the assignment to silence this warning 2462 | if( search = strchr(script,'?') ) | ^ | ( ) httpd.cc:2462:13: note: use '==' to turn this assignment into an equality comparison 2462 | if( search = strchr(script,'?') ) | ^ | == httpd.cc:2483:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2483 | if( search = strchr(url,'?') ){ | ~~~~~~~^~~~~~~~~~~~~~~~~ httpd.cc:2483:13: note: place parentheses around the assignment to silence this warning 2483 | if( search = strchr(url,'?') ){ | ^ | ( ) httpd.cc:2483:13: note: use '==' to turn this assignment into an equality comparison 2483 | if( search = strchr(url,'?') ){ | ^ | == httpd.cc:2547:16: warning: '/*' within block comment [-Wcomment] 2547 | * for MOUNT="/* file:Q:/*" | ^ httpd.cc:2547:26: warning: '/*' within block comment [-Wcomment] 2547 | * for MOUNT="/* file:Q:/*" | ^ httpd.cc:2564:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2564 | if( fp = openIndex(Conn,execpath,upath,AVStr(iexecpath),S_EXEC,&mtime) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpd.cc:2564:11: note: place parentheses around the assignment to silence this warning 2564 | if( fp = openIndex(Conn,execpath,upath,AVStr(iexecpath),S_EXEC,&mtime) ){ | ^ | ( ) httpd.cc:2564:11: note: use '==' to turn this assignment into an equality comparison 2564 | if( fp = openIndex(Conn,execpath,upath,AVStr(iexecpath),S_EXEC,&mtime) ){ | ^ | == httpd.cc:2581:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2581 | if( search = strchr(expath,'?') ) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~ httpd.cc:2581:15: note: place parentheses around the assignment to silence this warning 2581 | if( search = strchr(expath,'?') ) | ^ | ( ) httpd.cc:2581:15: note: use '==' to turn this assignment into an equality comparison 2581 | if( search = strchr(expath,'?') ) | ^ | == httpd.cc:2588:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2588 | if( fp = openIndex(Conn,datapath,upath,AVStr(idatapath),S_DATA,&mtime) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpd.cc:2588:11: note: place parentheses around the assignment to silence this warning 2588 | if( fp = openIndex(Conn,datapath,upath,AVStr(idatapath),S_DATA,&mtime) ){ | ^ | ( ) httpd.cc:2588:11: note: use '==' to turn this assignment into an equality comparison 2588 | if( fp = openIndex(Conn,datapath,upath,AVStr(idatapath),S_DATA,&mtime) ){ | ^ | == httpd.cc:2637:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2637 | if( leng = putRobotsTxt(Conn,tc,fp,0) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpd.cc:2637:11: note: place parentheses around the assignment to silence this warning 2637 | if( leng = putRobotsTxt(Conn,tc,fp,0) ){ | ^ | ( ) httpd.cc:2637:11: note: use '==' to turn this assignment into an equality comparison 2637 | if( leng = putRobotsTxt(Conn,tc,fp,0) ){ | ^ | == httpd.cc:2659:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2659 | if( fp = extfopen(xpath,"r") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ httpd.cc:2659:11: note: place parentheses around the assignment to silence this warning 2659 | if( fp = extfopen(xpath,"r") ){ | ^ | ( ) httpd.cc:2659:11: note: use '==' to turn this assignment into an equality comparison 2659 | if( fp = extfopen(xpath,"r") ){ | ^ | == httpd.cc:2756:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2756 | if( pp = strstr(path,".dhtml") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~ httpd.cc:2756:9: note: place parentheses around the assignment to silence this warning 2756 | if( pp = strstr(path,".dhtml") ) | ^ | ( ) httpd.cc:2756:9: note: use '==' to turn this assignment into an equality comparison 2756 | if( pp = strstr(path,".dhtml") ) | ^ | == httpd.cc:2918:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2918 | if( dstx = putPARTfilter(Conn,fp,tc,&size) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpd.cc:2918:12: note: place parentheses around the assignment to silence this warning 2918 | if( dstx = putPARTfilter(Conn,fp,tc,&size) ){ | ^ | ( ) httpd.cc:2918:12: note: use '==' to turn this assignment into an equality comparison 2918 | if( dstx = putPARTfilter(Conn,fp,tc,&size) ){ | ^ | == httpd.cc:3082:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3082 | if( fp = fopen(a1,"r") ){ | ~~~^~~~~~~~~~~~~~~ httpd.cc:3082:10: note: place parentheses around the assignment to silence this warning 3082 | if( fp = fopen(a1,"r") ){ | ^ | ( ) httpd.cc:3082:10: note: use '==' to turn this assignment into an equality comparison 3082 | if( fp = fopen(a1,"r") ){ | ^ | == httpd.cc:3315:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3315 | if( np = strchr(sp,'\n') ) | ~~~^~~~~~~~~~~~~~~~~ httpd.cc:3315:11: note: place parentheses around the assignment to silence this warning 3315 | if( np = strchr(sp,'\n') ) | ^ | ( ) httpd.cc:3315:11: note: use '==' to turn this assignment into an equality comparison 3315 | if( np = strchr(sp,'\n') ) | ^ | == httpd.cc:3444:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3444 | if( pxp = strstr(url,ProxyControlMARK) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpd.cc:3444:10: note: place parentheses around the assignment to silence this warning 3444 | if( pxp = strstr(url,ProxyControlMARK) ){ | ^ | ( ) httpd.cc:3444:10: note: use '==' to turn this assignment into an equality comparison 3444 | if( pxp = strstr(url,ProxyControlMARK) ){ | ^ | == httpd.cc:3477:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3477 | if( tp = strcasestr(tbuff,"TITLE=") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpd.cc:3477:9: note: place parentheses around the assignment to silence this warning 3477 | if( tp = strcasestr(tbuff,"TITLE=") ){ | ^ | ( ) httpd.cc:3477:9: note: use '==' to turn this assignment into an equality comparison 3477 | if( tp = strcasestr(tbuff,"TITLE=") ){ | ^ | == httpd.cc:3498:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3498 | if( dp = strcasestr(line,"") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpd.cc:3498:9: note: place parentheses around the assignment to silence this warning 3498 | if( dp = strcasestr(line,"<TITLE>") ){ | ^ | ( ) httpd.cc:3498:9: note: use '==' to turn this assignment into an equality comparison 3498 | if( dp = strcasestr(line,"<TITLE>") ){ | ^ | == httpd.cc:3513:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3513 | while( tag = strcasestr(lp,"<A NAME=") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ httpd.cc:3513:14: note: place parentheses around the assignment to silence this warning 3513 | while( tag = strcasestr(lp,"<A NAME=") ){ | ^ | ( ) httpd.cc:3513:14: note: use '==' to turn this assignment into an equality comparison 3513 | while( tag = strcasestr(lp,"<A NAME=") ){ | ^ | == httpd.cc:3524:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3524 | if( lp = strchr(tag,'>') ) | ~~~^~~~~~~~~~~~~~~~~ httpd.cc:3524:12: note: place parentheses around the assignment to silence this warning 3524 | if( lp = strchr(tag,'>') ) | ^ | ( ) httpd.cc:3524:12: note: use '==' to turn this assignment into an equality comparison 3524 | if( lp = strchr(tag,'>') ) | ^ | == httpd.cc:3540:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3540 | if( dp = strchr(Pf->p_Base,'?') ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ httpd.cc:3540:10: note: place parentheses around the assignment to silence this warning 3540 | if( dp = strchr(Pf->p_Base,'?') ) | ^ | ( ) httpd.cc:3540:10: note: use '==' to turn this assignment into an equality comparison 3540 | if( dp = strchr(Pf->p_Base,'?') ) | ^ | == httpd.cc:3542:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3542 | if( dp = strrchr(Pf->p_Base,'/') ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ httpd.cc:3542:10: note: place parentheses around the assignment to silence this warning 3542 | if( dp = strrchr(Pf->p_Base,'/') ) | ^ | ( ) httpd.cc:3542:10: note: use '==' to turn this assignment into an equality comparison 3542 | if( dp = strrchr(Pf->p_Base,'/') ) | ^ | == httpd.cc:3597:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3597 | if( tag = strcasestr(lp,"<A HREF=") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ httpd.cc:3597:12: note: place parentheses around the assignment to silence this warning 3597 | if( tag = strcasestr(lp,"<A HREF=") ){ | ^ | ( ) httpd.cc:3597:12: note: use '==' to turn this assignment into an equality comparison 3597 | if( tag = strcasestr(lp,"<A HREF=") ){ | ^ | == 52 warnings generated. ../mkcpp cgi.c cgi.cc -- mkcpp set time: 1791324535 -> 1791324442 cgi.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c cgi.cc cgi.cc:69:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 69 | while( np = strpbrk(fp,"\r\n") ){ | ~~~^~~~~~~~~~~~~~~~~~~~ cgi.cc:69:12: note: place parentheses around the assignment to silence this warning 69 | while( np = strpbrk(fp,"\r\n") ){ | ^ | ( ) cgi.cc:69:12: note: use '==' to turn this assignment into an equality comparison 69 | while( np = strpbrk(fp,"\r\n") ){ | ^ | == cgi.cc:134:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 134 | for( ei = 0; es = environ[ei]; ei++ ){ | ~~~^~~~~~~~~~~~~ cgi.cc:134:18: note: place parentheses around the assignment to silence this warning 134 | for( ei = 0; es = environ[ei]; ei++ ){ | ^ | ( ) cgi.cc:134:18: note: use '==' to turn this assignment into an equality comparison 134 | for( ei = 0; es = environ[ei]; ei++ ){ | ^ | == cgi.cc:174:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 174 | if( search = strchr(es,'?') ) | ~~~~~~~^~~~~~~~~~~~~~~~ cgi.cc:174:13: note: place parentheses around the assignment to silence this warning 174 | if( search = strchr(es,'?') ) | ^ | ( ) cgi.cc:174:13: note: use '==' to turn this assignment into an equality comparison 174 | if( search = strchr(es,'?') ) | ^ | == cgi.cc:182:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 182 | if( search = strchr(vpath,'?') ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~ cgi.cc:182:13: note: place parentheses around the assignment to silence this warning 182 | if( search = strchr(vpath,'?') ){ | ^ | ( ) cgi.cc:182:13: note: use '==' to turn this assignment into an equality comparison 182 | if( search = strchr(vpath,'?') ){ | ^ | == cgi.cc:250:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 250 | if( sva = gethostaddr(sv) ) | ~~~~^~~~~~~~~~~~~~~~~ cgi.cc:250:11: note: place parentheses around the assignment to silence this warning 250 | if( sva = gethostaddr(sv) ) | ^ | ( ) cgi.cc:250:11: note: use '==' to turn this assignment into an equality comparison 250 | if( sva = gethostaddr(sv) ) | ^ | == cgi.cc:263:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 263 | while( np = strchr(fp,'+') ){ | ~~~^~~~~~~~~~~~~~~~ cgi.cc:263:14: note: place parentheses around the assignment to silence this warning 263 | while( np = strchr(fp,'+') ){ | ^ | ( ) cgi.cc:263:14: note: use '==' to turn this assignment into an equality comparison 263 | while( np = strchr(fp,'+') ){ | ^ | == cgi.cc:380:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 380 | if( tp = strpbrk(line,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ cgi.cc:380:10: note: place parentheses around the assignment to silence this warning 380 | if( tp = strpbrk(line,"\r\n") ) | ^ | ( ) cgi.cc:380:10: note: use '==' to turn this assignment into an equality comparison 380 | if( tp = strpbrk(line,"\r\n") ) | ^ | == cgi.cc:548:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 548 | if( env = getenv("PATH") ) | ~~~~^~~~~~~~~~~~~~~~ cgi.cc:548:10: note: place parentheses around the assignment to silence this warning 548 | if( env = getenv("PATH") ) | ^ | ( ) cgi.cc:548:10: note: use '==' to turn this assignment into an equality comparison 548 | if( env = getenv("PATH") ) | ^ | == cgi.cc:607:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 607 | if( cfp = fopen(execpath,"r") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~ cgi.cc:607:10: note: place parentheses around the assignment to silence this warning 607 | if( cfp = fopen(execpath,"r") ){ | ^ | ( ) cgi.cc:607:10: note: use '==' to turn this assignment into an equality comparison 607 | if( cfp = fopen(execpath,"r") ){ | ^ | == cgi.cc:712:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 712 | if( tp = strrchr(workdir,'/') ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ cgi.cc:712:9: note: place parentheses around the assignment to silence this warning 712 | if( tp = strrchr(workdir,'/') ) | ^ | ( ) cgi.cc:712:9: note: use '==' to turn this assignment into an equality comparison 712 | if( tp = strrchr(workdir,'/') ) | ^ | == cgi.cc:836:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 836 | for( ei = 0; env = environ[ei]; ei++ ) | ~~~~^~~~~~~~~~~~~ cgi.cc:836:19: note: place parentheses around the assignment to silence this warning 836 | for( ei = 0; env = environ[ei]; ei++ ) | ^ | ( ) cgi.cc:836:19: note: use '==' to turn this assignment into an equality comparison 836 | for( ei = 0; env = environ[ei]; ei++ ) | ^ | == cgi.cc:937:18: warning: '/*' within block comment [-Wcomment] 937 | set_MOUNT(Conn,"/*",mount,""); | ^ cgi.cc:973:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 973 | for( ei = 0; env = environ[ei]; ei++ ){ | ~~~~^~~~~~~~~~~~~ cgi.cc:973:19: note: place parentheses around the assignment to silence this warning 973 | for( ei = 0; env = environ[ei]; ei++ ){ | ^ | ( ) cgi.cc:973:19: note: use '==' to turn this assignment into an equality comparison 973 | for( ei = 0; env = environ[ei]; ei++ ){ | ^ | == cgi.cc:1006:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1006 | if( type = getenv("CONTENT_TYPE") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ cgi.cc:1006:12: note: place parentheses around the assignment to silence this warning 1006 | if( type = getenv("CONTENT_TYPE") ){ | ^ | ( ) cgi.cc:1006:12: note: use '==' to turn this assignment into an equality comparison 1006 | if( type = getenv("CONTENT_TYPE") ){ | ^ | == cgi.cc:1010:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1010 | if( leng = getenv("CONTENT_LENGTH") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ cgi.cc:1010:12: note: place parentheses around the assignment to silence this warning 1010 | if( leng = getenv("CONTENT_LENGTH") ){ | ^ | ( ) cgi.cc:1010:12: note: use '==' to turn this assignment into an equality comparison 1010 | if( leng = getenv("CONTENT_LENGTH") ){ | ^ | == cgi.cc:1043:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1043 | if( rcode = strchr(stat,' ') ){ | ~~~~~~^~~~~~~~~~~~~~~~~~ cgi.cc:1043:16: note: place parentheses around the assignment to silence this warning 1043 | if( rcode = strchr(stat,' ') ){ | ^ | ( ) cgi.cc:1043:16: note: use '==' to turn this assignment into an equality comparison 1043 | if( rcode = strchr(stat,' ') ){ | ^ | == cgi.cc:1113:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1113 | if( dp = strchr(sp,'&') ){ | ~~~^~~~~~~~~~~~~~~~ cgi.cc:1113:10: note: place parentheses around the assignment to silence this warning 1113 | if( dp = strchr(sp,'&') ){ | ^ | ( ) cgi.cc:1113:10: note: use '==' to turn this assignment into an equality comparison 1113 | if( dp = strchr(sp,'&') ){ | ^ | == cgi.cc:1144:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1144 | if( pp = strcasestr(ctype,"boundary=") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cgi.cc:1144:9: note: place parentheses around the assignment to silence this warning 1144 | if( pp = strcasestr(ctype,"boundary=") ){ | ^ | ( ) cgi.cc:1144:9: note: use '==' to turn this assignment into an equality comparison 1144 | if( pp = strcasestr(ctype,"boundary=") ){ | ^ | == cgi.cc:1192:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1192 | if( fnlen = STRH(line,F_ContDisp) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ cgi.cc:1192:14: note: place parentheses around the assignment to silence this warning 1192 | if( fnlen = STRH(line,F_ContDisp) ){ | ^ | ( ) cgi.cc:1192:14: note: use '==' to turn this assignment into an equality comparison 1192 | if( fnlen = STRH(line,F_ContDisp) ){ | ^ | == cgi.cc:1285:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1285 | }else{ | ^ cgi.cc:1348:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1348 | for( ei = 0; e1 = evp[ei]; ei++ ){ | ~~~^~~~~~~~~ cgi.cc:1348:18: note: place parentheses around the assignment to silence this warning 1348 | for( ei = 0; e1 = evp[ei]; ei++ ){ | ^ | ( ) cgi.cc:1348:18: note: use '==' to turn this assignment into an equality comparison 1348 | for( ei = 0; e1 = evp[ei]; ei++ ){ | ^ | == cgi.cc:1379:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1379 | for( ei = 0; e1 = sv[ei]; ei++ ){ | ~~~^~~~~~~~ cgi.cc:1379:18: note: place parentheses around the assignment to silence this warning 1379 | for( ei = 0; e1 = sv[ei]; ei++ ){ | ^ | ( ) cgi.cc:1379:18: note: use '==' to turn this assignment into an equality comparison 1379 | for( ei = 0; e1 = sv[ei]; ei++ ){ | ^ | == cgi.cc:1466:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1466 | if( dp = strstr(head,"\r\n\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ cgi.cc:1466:9: note: place parentheses around the assignment to silence this warning 1466 | if( dp = strstr(head,"\r\n\r\n") ) | ^ | ( ) cgi.cc:1466:9: note: use '==' to turn this assignment into an equality comparison 1466 | if( dp = strstr(head,"\r\n\r\n") ) | ^ | == cgi.cc:1468:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1468 | if( dp = strstr(head,"\n\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~ cgi.cc:1468:9: note: place parentheses around the assignment to silence this warning 1468 | if( dp = strstr(head,"\n\n") ) | ^ | ( ) cgi.cc:1468:9: note: use '==' to turn this assignment into an equality comparison 1468 | if( dp = strstr(head,"\n\n") ) | ^ | == 24 warnings generated. ../mkcpp ssi.c ssi.cc -- mkcpp set time: 1791324535 -> 1226748708 ssi.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c ssi.cc ssi.cc:138:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 138 | if( ap = strchr(mssg->h_url,'?') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ssi.cc:138:9: note: place parentheses around the assignment to silence this warning 138 | if( ap = strchr(mssg->h_url,'?') ){ | ^ | ( ) ssi.cc:138:9: note: use '==' to turn this assignment into an equality comparison 138 | if( ap = strchr(mssg->h_url,'?') ){ | ^ | == ssi.cc:167:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 167 | for( fp = fmt; fc = *fp; fp++ ){ | ~~~^~~~~ ssi.cc:167:20: note: place parentheses around the assignment to silence this warning 167 | for( fp = fmt; fc = *fp; fp++ ){ | ^ | ( ) ssi.cc:167:20: note: use '==' to turn this assignment into an equality comparison 167 | for( fp = fmt; fc = *fp; fp++ ){ | ^ | == ssi.cc:344:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 344 | for( tp = tag; tc = *tp; tp++ ){ | ~~~^~~~~ ssi.cc:344:21: note: place parentheses around the assignment to silence this warning 344 | for( tp = tag; tc = *tp; tp++ ){ | ^ | ( ) ssi.cc:344:21: note: use '==' to turn this assignment into an equality comparison 344 | for( tp = tag; tc = *tp; tp++ ){ | ^ | == ssi.cc:377:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 377 | if( val = getFav(arg) ){ | ~~~~^~~~~~~~~~~~~ ssi.cc:377:11: note: place parentheses around the assignment to silence this warning 377 | if( val = getFav(arg) ){ | ^ | ( ) ssi.cc:377:11: note: use '==' to turn this assignment into an equality comparison 377 | if( val = getFav(arg) ){ | ^ | == ssi.cc:471:25: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] 471 | const char *ver_sendFd(); | ^~ ssi.cc:471:25: note: replace parentheses with an initializer to declare a variable 471 | const char *ver_sendFd(); | ^~ | = nullptr ssi.cc:480:31: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] 480 | const char *DELEGATE_srcsign(); | ^~ ssi.cc:480:31: note: replace parentheses with an initializer to declare a variable 480 | const char *DELEGATE_srcsign(); | ^~ | = nullptr ssi.cc:481:31: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] 481 | const char *DELEGATE_bldsign(); | ^~ ssi.cc:481:31: note: replace parentheses with an initializer to declare a variable 481 | const char *DELEGATE_bldsign(); | ^~ | = nullptr ssi.cc:482:31: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] 482 | const char *DELEGATE_exesign(); | ^~ ssi.cc:482:31: note: replace parentheses with an initializer to declare a variable 482 | const char *DELEGATE_exesign(); | ^~ | = nullptr ssi.cc:552:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 552 | if( eval = getv(ev,ename) ){ | ~~~~~^~~~~~~~~~~~~~~~ ssi.cc:552:11: note: place parentheses around the assignment to silence this warning 552 | if( eval = getv(ev,ename) ){ | ^ | ( ) ssi.cc:552:11: note: use '==' to turn this assignment into an equality comparison 552 | if( eval = getv(ev,ename) ){ | ^ | == ssi.cc:556:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 556 | for( ni = 0; sname = cgi_equiv[ni].n_ssi; ni++ ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ ssi.cc:556:22: note: place parentheses around the assignment to silence this warning 556 | for( ni = 0; sname = cgi_equiv[ni].n_ssi; ni++ ){ | ^ | ( ) ssi.cc:556:22: note: use '==' to turn this assignment into an equality comparison 556 | for( ni = 0; sname = cgi_equiv[ni].n_ssi; ni++ ){ | ^ | == ssi.cc:563:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 563 | if( eval = getv(ev,cname) ) | ~~~~~^~~~~~~~~~~~~~~~ ssi.cc:563:13: note: place parentheses around the assignment to silence this warning 563 | if( eval = getv(ev,cname) ) | ^ | ( ) ssi.cc:563:13: note: use '==' to turn this assignment into an equality comparison 563 | if( eval = getv(ev,cname) ) | ^ | == ssi.cc:638:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 638 | for( ei = 0; eval = ev[ei]; ei++ ) | ~~~~~^~~~~~~~ ssi.cc:638:21: note: place parentheses around the assignment to silence this warning 638 | for( ei = 0; eval = ev[ei]; ei++ ) | ^ | ( ) ssi.cc:638:21: note: use '==' to turn this assignment into an equality comparison 638 | for( ei = 0; eval = ev[ei]; ei++ ) | ^ | == ssi.cc:696:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 696 | if( base = getv(ev,"SCRIPT_NAME") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ssi.cc:696:11: note: place parentheses around the assignment to silence this warning 696 | if( base = getv(ev,"SCRIPT_NAME") ){ | ^ | ( ) ssi.cc:696:11: note: use '==' to turn this assignment into an equality comparison 696 | if( base = getv(ev,"SCRIPT_NAME") ){ | ^ | == ssi.cc:699:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 699 | if( base = getv(ev,"REQUEST_URI") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ssi.cc:699:11: note: place parentheses around the assignment to silence this warning 699 | if( base = getv(ev,"REQUEST_URI") ){ | ^ | ( ) ssi.cc:699:11: note: use '==' to turn this assignment into an equality comparison 699 | if( base = getv(ev,"REQUEST_URI") ){ | ^ | == ssi.cc:755:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 755 | if( up = strchr(url,'#') ){ | ~~~^~~~~~~~~~~~~~~~~ ssi.cc:755:9: note: place parentheses around the assignment to silence this warning 755 | if( up = strchr(url,'#') ){ | ^ | ( ) ssi.cc:755:9: note: use '==' to turn this assignment into an equality comparison 755 | if( up = strchr(url,'#') ){ | ^ | == ssi.cc:761:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 761 | if( base = getv(ev,"SCRIPT_NAME") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ssi.cc:761:12: note: place parentheses around the assignment to silence this warning 761 | if( base = getv(ev,"SCRIPT_NAME") ){ | ^ | ( ) ssi.cc:761:12: note: use '==' to turn this assignment into an equality comparison 761 | if( base = getv(ev,"SCRIPT_NAME") ){ | ^ | == ssi.cc:764:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 764 | if( base = getv(ev,"REQUEST_URI") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ssi.cc:764:12: note: place parentheses around the assignment to silence this warning 764 | if( base = getv(ev,"REQUEST_URI") ){ | ^ | ( ) ssi.cc:764:12: note: use '==' to turn this assignment into an equality comparison 764 | if( base = getv(ev,"REQUEST_URI") ){ | ^ | == ssi.cc:789:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 789 | if( fp = fopen(file,"r") ){ | ~~~^~~~~~~~~~~~~~~~~ ssi.cc:789:9: note: place parentheses around the assignment to silence this warning 789 | if( fp = fopen(file,"r") ){ | ^ | ( ) ssi.cc:789:9: note: use '==' to turn this assignment into an equality comparison 789 | if( fp = fopen(file,"r") ){ | ^ | == ssi.cc:989:16: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] 989 | int NoHangWait(); | ^~ ssi.cc:989:16: note: replace parentheses with an initializer to declare a variable 989 | int NoHangWait(); | ^~ | = 0 ssi.cc:1003:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1003 | if( dp = strrpbrk(nwd,"/\\") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ ssi.cc:1003:10: note: place parentheses around the assignment to silence this warning 1003 | if( dp = strrpbrk(nwd,"/\\") ){ | ^ | ( ) ssi.cc:1003:10: note: use '==' to turn this assignment into an equality comparison 1003 | if( dp = strrpbrk(nwd,"/\\") ){ | ^ | == ssi.cc:1116:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1116 | if( cp = strcasestr(tagp,"content=") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ssi.cc:1116:9: note: place parentheses around the assignment to silence this warning 1116 | if( cp = strcasestr(tagp,"content=") ){ | ^ | ( ) ssi.cc:1116:9: note: use '==' to turn this assignment into an equality comparison 1116 | if( cp = strcasestr(tagp,"content=") ){ | ^ | == ssi.cc:1129:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1129 | for( sp = fvalue; fc = *sp; sp++ ){ | ~~~^~~~~ ssi.cc:1129:23: note: place parentheses around the assignment to silence this warning 1129 | for( sp = fvalue; fc = *sp; sp++ ){ | ^ | ( ) ssi.cc:1129:23: note: use '==' to turn this assignment into an equality comparison 1129 | for( sp = fvalue; fc = *sp; sp++ ){ | ^ | == ssi.cc:1146:8: warning: address of array 'cs' will always evaluate to 'true' [-Wpointer-bool-conversion] 1146 | if( cs ){ | ~~ ^~ ssi.cc:1187:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1187 | if( ep = strpbrk(np,">") ) sp = ep + 1; else | ~~~^~~~~~~~~~~~~~~~~ ssi.cc:1187:10: note: place parentheses around the assignment to silence this warning 1187 | if( ep = strpbrk(np,">") ) sp = ep + 1; else | ^ | ( ) ssi.cc:1187:10: note: use '==' to turn this assignment into an equality comparison 1187 | if( ep = strpbrk(np,">") ) sp = ep + 1; else | ^ | == ssi.cc:1188:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1188 | if( ep = strpbrk(np," \t\r\n")) sp = ep + 1; else | ~~~^~~~~~~~~~~~~~~~~~~~~~~ ssi.cc:1188:10: note: place parentheses around the assignment to silence this warning 1188 | if( ep = strpbrk(np," \t\r\n")) sp = ep + 1; else | ^ | ( ) ssi.cc:1188:10: note: use '==' to turn this assignment into an equality comparison 1188 | if( ep = strpbrk(np," \t\r\n")) sp = ep + 1; else | ^ | == ssi.cc:1196:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1196 | if( cont = strcasestr(tag,"content=") ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ssi.cc:1196:12: note: place parentheses around the assignment to silence this warning 1196 | if( cont = strcasestr(tag,"content=") ) | ^ | ( ) ssi.cc:1196:12: note: use '==' to turn this assignment into an equality comparison 1196 | if( cont = strcasestr(tag,"content=") ) | ^ | == ssi.cc:1228:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1228 | for( sp = np; sc = *sp; sp++ ){ | ~~~^~~~~ ssi.cc:1228:19: note: place parentheses around the assignment to silence this warning 1228 | for( sp = np; sc = *sp; sp++ ){ | ^ | ( ) ssi.cc:1228:19: note: use '==' to turn this assignment into an equality comparison 1228 | for( sp = np; sc = *sp; sp++ ){ | ^ | == ssi.cc:1321:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1321 | if( och = CCXident(CCXtoCL(ctx)) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ssi.cc:1321:13: note: place parentheses around the assignment to silence this warning 1321 | if( och = CCXident(CCXtoCL(ctx)) ){ | ^ | ( ) ssi.cc:1321:13: note: use '==' to turn this assignment into an equality comparison 1321 | if( och = CCXident(CCXtoCL(ctx)) ){ | ^ | == ssi.cc:1341:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1341 | if( fav1 = getFav("$DeleGate-Control-CCX") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ssi.cc:1341:12: note: place parentheses around the assignment to silence this warning 1341 | if( fav1 = getFav("$DeleGate-Control-CCX") ){ | ^ | ( ) ssi.cc:1341:12: note: use '==' to turn this assignment into an equality comparison 1341 | if( fav1 = getFav("$DeleGate-Control-CCX") ){ | ^ | == 29 warnings generated. ../mkcpp htaccept.c ../gen/htaccept.h -sign -- mkcpp set time: 1791324535 -> 1791324536 ../gen/htaccept.h ../mkcpp htaccept.c htaccept.cc -- mkcpp set time: 1791324535 -> 1232521896 htaccept.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c htaccept.cc htaccept.cc:1:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1 | char *SIGN_htaccept_c="{FILESIGN=htaccept.c:20090121161131+0900:deed258964185bbd:Author@DeleGate.ORG:nPRHKSht4PscnOEe2bHHm4QHc3+LNCrpN8rcwCvDx6wm4DfqEMpwin7MzYN7ZEVe4+f+luDgRA3YHMB1AB/iI4LiAMiB3yq4daT9yYWYJ5S7kR8M+LBXPThORLbAEt+jiDuXnC/4P5uDWWMhzLZuTEScaAEWLb4rT+0gvrqC5zQ=}"; | ^ htaccept.cc:66:55: warning: '/*' within block comment [-Wcomment] 66 | ACCEPT http://host:port/path -->> MOUNT="/path/* http://client/*" | ^ htaccept.cc:66:71: warning: '/*' within block comment [-Wcomment] 66 | ACCEPT http://host:port/path -->> MOUNT="/path/* http://client/*" | ^ 3 warnings generated. ../mkcpp htccx.c htccx.cc -- mkcpp set time: 1791324536 -> 1232283307 htccx.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c htccx.cc htccx.cc:133:8: warning: add explicit braces to avoid dangling else [-Wdangling-else] 133 | }else{ | ^ htccx.cc:197:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 197 | if( dp = strpbrk(path,"=+&%") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ htccx.cc:197:11: note: place parentheses around the assignment to silence this warning 197 | if( dp = strpbrk(path,"=+&%") ) | ^ | ( ) htccx.cc:197:11: note: use '==' to turn this assignment into an equality comparison 197 | if( dp = strpbrk(path,"=+&%") ) | ^ | == htccx.cc:199:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 199 | if( dp = strchr(path,'?') ) | ~~~^~~~~~~~~~~~~~~~~~ htccx.cc:199:11: note: place parentheses around the assignment to silence this warning 199 | if( dp = strchr(path,'?') ) | ^ | ( ) htccx.cc:199:11: note: use '==' to turn this assignment into an equality comparison 199 | if( dp = strchr(path,'?') ) | ^ | == htccx.cc:202:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 202 | if( dp = strchr(path+1,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~~~ htccx.cc:202:11: note: place parentheses around the assignment to silence this warning 202 | if( dp = strchr(path+1,'/') ){ | ^ | ( ) htccx.cc:202:11: note: use '==' to turn this assignment into an equality comparison 202 | if( dp = strchr(path+1,'/') ){ | ^ | == htccx.cc:203:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 203 | if( np = strchr(dp+1,'/') ) | ~~~^~~~~~~~~~~~~~~~~~ htccx.cc:203:12: note: place parentheses around the assignment to silence this warning 203 | if( np = strchr(dp+1,'/') ) | ^ | ( ) htccx.cc:203:12: note: use '==' to turn this assignment into an equality comparison 203 | if( np = strchr(dp+1,'/') ) | ^ | == htccx.cc:242:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 242 | if( up = strchr(url,'?') ){ | ~~~^~~~~~~~~~~~~~~~~ htccx.cc:242:9: note: place parentheses around the assignment to silence this warning 242 | if( up = strchr(url,'?') ){ | ^ | ( ) htccx.cc:242:9: note: use '==' to turn this assignment into an equality comparison 242 | if( up = strchr(url,'?') ){ | ^ | == htccx.cc:371:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 371 | if( dp = strchr(dom,'/') ) | ~~~^~~~~~~~~~~~~~~~~ htccx.cc:371:10: note: place parentheses around the assignment to silence this warning 371 | if( dp = strchr(dom,'/') ) | ^ | ( ) htccx.cc:371:10: note: use '==' to turn this assignment into an equality comparison 371 | if( dp = strchr(dom,'/') ) | ^ | == htccx.cc:372:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 372 | if( dp = strchr(dp+1,'/') ) | ~~~^~~~~~~~~~~~~~~~~~ htccx.cc:372:10: note: place parentheses around the assignment to silence this warning 372 | if( dp = strchr(dp+1,'/') ) | ^ | ( ) htccx.cc:372:10: note: use '==' to turn this assignment into an equality comparison 372 | if( dp = strchr(dp+1,'/') ) | ^ | == htccx.cc:413:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 413 | if( icset = CCXident(gccx) ) | ~~~~~~^~~~~~~~~~~~~~~~ htccx.cc:413:12: note: place parentheses around the assignment to silence this warning 413 | if( icset = CCXident(gccx) ) | ^ | ( ) htccx.cc:413:12: note: use '==' to turn this assignment into an equality comparison 413 | if( icset = CCXident(gccx) ) | ^ | == htccx.cc:488:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 488 | if( xcharset = HTTP_outCharset(Conn) ) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ htccx.cc:488:15: note: place parentheses around the assignment to silence this warning 488 | if( xcharset = HTTP_outCharset(Conn) ) | ^ | ( ) htccx.cc:488:15: note: use '==' to turn this assignment into an equality comparison 488 | if( xcharset = HTTP_outCharset(Conn) ) | ^ | == htccx.cc:624:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 624 | if( fnlen = STRH(line,F_ContType) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ htccx.cc:624:12: note: place parentheses around the assignment to silence this warning 624 | if( fnlen = STRH(line,F_ContType) ) | ^ | ( ) htccx.cc:624:12: note: use '==' to turn this assignment into an equality comparison 624 | if( fnlen = STRH(line,F_ContType) ) | ^ | == htccx.cc:626:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 626 | if( xcharset = CCXident(CCX_TOCL) ){ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ htccx.cc:626:16: note: place parentheses around the assignment to silence this warning 626 | if( xcharset = CCXident(CCX_TOCL) ){ | ^ | ( ) htccx.cc:626:16: note: use '==' to turn this assignment into an equality comparison 626 | if( xcharset = CCXident(CCX_TOCL) ){ | ^ | == htccx.cc:729:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 729 | if( sp1 = strchr(url1,'?') ){ | ~~~~^~~~~~~~~~~~~~~~~~ htccx.cc:729:10: note: place parentheses around the assignment to silence this warning 729 | if( sp1 = strchr(url1,'?') ){ | ^ | ( ) htccx.cc:729:10: note: use '==' to turn this assignment into an equality comparison 729 | if( sp1 = strchr(url1,'?') ){ | ^ | == htccx.cc:763:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 763 | if( sp2 = strstr(url2,"-_-_-") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~ htccx.cc:763:11: note: place parentheses around the assignment to silence this warning 763 | if( sp2 = strstr(url2,"-_-_-") ) | ^ | ( ) htccx.cc:763:11: note: use '==' to turn this assignment into an equality comparison 763 | if( sp2 = strstr(url2,"-_-_-") ) | ^ | == htccx.cc:775:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 775 | char *HTTP_POSTccxType = "application/x-www-form-urlencoded"; | ^ htccx.cc:857:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 857 | if( ctp = findFieldValue(xfields,"Content-Type") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ htccx.cc:857:12: note: place parentheses around the assignment to silence this warning 857 | if( ctp = findFieldValue(xfields,"Content-Type") ) | ^ | ( ) htccx.cc:857:12: note: use '==' to turn this assignment into an equality comparison 857 | if( ctp = findFieldValue(xfields,"Content-Type") ) | ^ | == htccx.cc:934:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 934 | if( occ = CCXexec(ccx,"",0,AVStr(xlin),sizeof(xlin)) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ htccx.cc:934:10: note: place parentheses around the assignment to silence this warning 934 | if( occ = CCXexec(ccx,"",0,AVStr(xlin),sizeof(xlin)) ){ | ^ | ( ) htccx.cc:934:10: note: use '==' to turn this assignment into an equality comparison 934 | if( occ = CCXexec(ccx,"",0,AVStr(xlin),sizeof(xlin)) ){ | ^ | == htccx.cc:984:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 984 | if( len = erase_charset_param(AVStr(cont),AVStr(cset)) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ htccx.cc:984:10: note: place parentheses around the assignment to silence this warning 984 | if( len = erase_charset_param(AVStr(cont),AVStr(cset)) ){ | ^ | ( ) htccx.cc:984:10: note: use '==' to turn this assignment into an equality comparison 984 | if( len = erase_charset_param(AVStr(cont),AVStr(cset)) ){ | ^ | == htccx.cc:1040:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1040 | if( fp = dirfopen("CCXMAP",AVStr(path),"w") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ htccx.cc:1040:10: note: place parentheses around the assignment to silence this warning 1040 | if( fp = dirfopen("CCXMAP",AVStr(path),"w") ){ | ^ | ( ) htccx.cc:1040:10: note: use '==' to turn this assignment into an equality comparison 1040 | if( fp = dirfopen("CCXMAP",AVStr(path),"w") ){ | ^ | == htccx.cc:1132:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1132 | if( fp = fopen("mlb.cnv","r") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ htccx.cc:1132:10: note: place parentheses around the assignment to silence this warning 1132 | if( fp = fopen("mlb.cnv","r") ){ | ^ | ( ) htccx.cc:1132:10: note: use '==' to turn this assignment into an equality comparison 1132 | if( fp = fopen("mlb.cnv","r") ){ | ^ | == htccx.cc:1217:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1217 | char *COOKIE_CLCC = "DeleGate-Control-CLCC"; | ^ 21 warnings generated. ../mkcpp htswitch.c htswitch.cc -- mkcpp set time: 1791324536 -> 1172313470 htswitch.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c htswitch.cc htswitch.cc:157:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 157 | if( dp = strcasestr(cookie,label) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ htswitch.cc:157:9: note: place parentheses around the assignment to silence this warning 157 | if( dp = strcasestr(cookie,label) ){ | ^ | ( ) htswitch.cc:157:9: note: use '==' to turn this assignment into an equality comparison 157 | if( dp = strcasestr(cookie,label) ){ | ^ | == htswitch.cc:219:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 219 | if( dp = strpbrk(postbody,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ htswitch.cc:219:10: note: place parentheses around the assignment to silence this warning 219 | if( dp = strpbrk(postbody,"\r\n") ) | ^ | ( ) htswitch.cc:219:10: note: use '==' to turn this assignment into an equality comparison 219 | if( dp = strpbrk(postbody,"\r\n") ) | ^ | == htswitch.cc:248:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 248 | for( swi = 0; sw = swv[swi]; swi++ ) | ~~~^~~~~~~~~~ htswitch.cc:248:19: note: place parentheses around the assignment to silence this warning 248 | for( swi = 0; sw = swv[swi]; swi++ ) | ^ | ( ) htswitch.cc:248:19: note: use '==' to turn this assignment into an equality comparison 248 | for( swi = 0; sw = swv[swi]; swi++ ) | ^ | == htswitch.cc:254:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 254 | for( swi = 1; sw = swv[swi]; swi++ ){ | ~~~^~~~~~~~~~ htswitch.cc:254:19: note: place parentheses around the assignment to silence this warning 254 | for( swi = 1; sw = swv[swi]; swi++ ){ | ^ | ( ) htswitch.cc:254:19: note: use '==' to turn this assignment into an equality comparison 254 | for( swi = 1; sw = swv[swi]; swi++ ){ | ^ | == htswitch.cc:263:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 263 | for( swi = 1; sw = swv[swi]; swi++ ) | ~~~^~~~~~~~~~ htswitch.cc:263:19: note: place parentheses around the assignment to silence this warning 263 | for( swi = 1; sw = swv[swi]; swi++ ) | ^ | ( ) htswitch.cc:263:19: note: use '==' to turn this assignment into an equality comparison 263 | for( swi = 1; sw = swv[swi]; swi++ ) | ^ | == htswitch.cc:279:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 279 | for( swi = 0; sw = swv[swi]; swi++ ){ | ~~~^~~~~~~~~~ htswitch.cc:279:19: note: place parentheses around the assignment to silence this warning 279 | for( swi = 0; sw = swv[swi]; swi++ ){ | ^ | ( ) htswitch.cc:279:19: note: use '==' to turn this assignment into an equality comparison 279 | for( swi = 0; sw = swv[swi]; swi++ ){ | ^ | == htswitch.cc:290:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 290 | for( swi = 1; sw = swv[swi]; swi++ ){ | ~~~^~~~~~~~~~ htswitch.cc:290:19: note: place parentheses around the assignment to silence this warning 290 | for( swi = 1; sw = swv[swi]; swi++ ){ | ^ | ( ) htswitch.cc:290:19: note: use '==' to turn this assignment into an equality comparison 290 | for( swi = 1; sw = swv[swi]; swi++ ){ | ^ | == 7 warnings generated. ../mkcpp htmlgen.c htmlgen.cc -- mkcpp set time: 1791324536 -> 1215670474 htmlgen.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c htmlgen.cc htmlgen.cc:236:28: warning: format specifies type 'char *' but the argument has type 'const char *' [-Wformat] 236 | sscanf(fv,"%[^;]; key=%s",AVStr(crc),AVStr(key)); | ~~~~ ^~~~~~~~~~ | %10s ../include/ystring.h:103:21: note: expanded from macro 'AVStr' 103 | #define AVStr(s) QVStr(s,s) | ^~~~~~~~~~ ../include/ystring.h:101:21: note: expanded from macro 'QVStr' 101 | #define QVStr(s,t) TVSTR(t) (const char*)s | ^~~~~~~~ ../include/ystring.h:73:21: note: expanded from macro 'TVSTR' 73 | #define TVSTR(t) _HERE_,(const char*)_CAT(t,BASE),_CAT(t,SIZE), | ^~~~~~ ../include/ystring.h:71:21: note: expanded from macro '_HERE_' 71 | #define _HERE_ __FILE__,__LINE__ | ^~~~~~~~ <scratch space>:136:1: note: expanded from here 136 | "htmlgen.cc" | ^~~~~~~~~~~~ htmlgen.cc:236:28: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 236 | sscanf(fv,"%[^;]; key=%s",AVStr(crc),AVStr(key)); | ~~ ^~~~~~~~~~ ../include/ystring.h:103:21: note: expanded from macro 'AVStr' 103 | #define AVStr(s) QVStr(s,s) | ^~~~~~~~~~ ../include/ystring.h:101:21: note: expanded from macro 'QVStr' 101 | #define QVStr(s,t) TVSTR(t) (const char*)s | ^~~~~~~~ ../include/ystring.h:73:21: note: expanded from macro 'TVSTR' 73 | #define TVSTR(t) _HERE_,(const char*)_CAT(t,BASE),_CAT(t,SIZE), | ^~~~~~ ../include/ystring.h:71:30: note: expanded from macro '_HERE_' 71 | #define _HERE_ __FILE__,__LINE__ | ^~~~~~~~ <scratch space>:137:1: note: expanded from here 137 | 236 | ^~~ htmlgen.cc:236:28: warning: data argument not used by format string [-Wformat-extra-args] 236 | sscanf(fv,"%[^;]; key=%s",AVStr(crc),AVStr(key)); | ~~~~~~~~~~~~~~~ ^ ../include/ystring.h:103:21: note: expanded from macro 'AVStr' 103 | #define AVStr(s) QVStr(s,s) | ^ ../include/ystring.h:101:21: note: expanded from macro 'QVStr' 101 | #define QVStr(s,t) TVSTR(t) (const char*)s | ^ ../include/ystring.h:73:28: note: expanded from macro 'TVSTR' 73 | #define TVSTR(t) _HERE_,(const char*)_CAT(t,BASE),_CAT(t,SIZE), | ^ htmlgen.cc:327:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 327 | if( data = getMssg(iurl,&rcc) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~ htmlgen.cc:327:12: note: place parentheses around the assignment to silence this warning 327 | if( data = getMssg(iurl,&rcc) ){ | ^ | ( ) htmlgen.cc:327:12: note: use '==' to turn this assignment into an equality comparison 327 | if( data = getMssg(iurl,&rcc) ){ | ^ | == htmlgen.cc:419:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 419 | if( dont_REWRITE = DONT_REWRITE ){ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ htmlgen.cc:419:20: note: place parentheses around the assignment to silence this warning 419 | if( dont_REWRITE = DONT_REWRITE ){ | ^ | ( ) htmlgen.cc:419:20: note: use '==' to turn this assignment into an equality comparison 419 | if( dont_REWRITE = DONT_REWRITE ){ | ^ | == htmlgen.cc:457:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 457 | if( DONT_REWRITE = dont_REWRITE ){ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ htmlgen.cc:457:20: note: place parentheses around the assignment to silence this warning 457 | if( DONT_REWRITE = dont_REWRITE ){ | ^ | ( ) htmlgen.cc:457:20: note: use '==' to turn this assignment into an equality comparison 457 | if( DONT_REWRITE = dont_REWRITE ){ | ^ | == htmlgen.cc:491:14: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 491 | HTMLSRC_EXT = 1; | ^ ~ htmlgen.cc:503:14: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 503 | HTMLSRC_EXT = 1; | ^ ~ htmlgen.cc:609:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 609 | for( sp = str; ch = *sp; sp++ ){ | ~~~^~~~~ htmlgen.cc:609:20: note: place parentheses around the assignment to silence this warning 609 | for( sp = str; ch = *sp; sp++ ){ | ^ | ( ) htmlgen.cc:609:20: note: use '==' to turn this assignment into an equality comparison 609 | for( sp = str; ch = *sp; sp++ ){ | ^ | == htmlgen.cc:632:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 632 | }else | ^ htmlgen.cc:652:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 652 | if( p = scanchr(itemexp,':',AVStr(name)) ) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ htmlgen.cc:652:8: note: place parentheses around the assignment to silence this warning 652 | if( p = scanchr(itemexp,':',AVStr(name)) ) | ^ | ( ) htmlgen.cc:652:8: note: use '==' to turn this assignment into an equality comparison 652 | if( p = scanchr(itemexp,':',AVStr(name)) ) | ^ | == htmlgen.cc:759:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 759 | if( dp = strpbrk(arg1,"[=") ) | ~~~^~~~~~~~~~~~~~~~~~~~ htmlgen.cc:759:10: note: place parentheses around the assignment to silence this warning 759 | if( dp = strpbrk(arg1,"[=") ) | ^ | ( ) htmlgen.cc:759:10: note: use '==' to turn this assignment into an equality comparison 759 | if( dp = strpbrk(arg1,"[=") ) | ^ | == htmlgen.cc:762:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 762 | if( dp = strchr(dp+1,']') ) | ~~~^~~~~~~~~~~~~~~~~~ htmlgen.cc:762:11: note: place parentheses around the assignment to silence this warning 762 | if( dp = strchr(dp+1,']') ) | ^ | ( ) htmlgen.cc:762:11: note: use '==' to turn this assignment into an equality comparison 762 | if( dp = strchr(dp+1,']') ) | ^ | == htmlgen.cc:776:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 776 | if( Not = strneq(item,"NOT.",4) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ htmlgen.cc:776:10: note: place parentheses around the assignment to silence this warning 776 | if( Not = strneq(item,"NOT.",4) ){ | ^ | ( ) htmlgen.cc:776:10: note: use '==' to turn this assignment into an equality comparison 776 | if( Not = strneq(item,"NOT.",4) ){ | ^ | == htmlgen.cc:779:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 779 | if( Nil = strneq(item,"NIL.",4) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ htmlgen.cc:779:10: note: place parentheses around the assignment to silence this warning 779 | if( Nil = strneq(item,"NIL.",4) ){ | ^ | ( ) htmlgen.cc:779:10: note: use '==' to turn this assignment into an equality comparison 779 | if( Nil = strneq(item,"NIL.",4) ){ | ^ | == htmlgen.cc:813:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 813 | if( dp = strrchr(curl,'/') ) | ~~~^~~~~~~~~~~~~~~~~~~ htmlgen.cc:813:10: note: place parentheses around the assignment to silence this warning 813 | if( dp = strrchr(curl,'/') ) | ^ | ( ) htmlgen.cc:813:10: note: use '==' to turn this assignment into an equality comparison 813 | if( dp = strrchr(curl,'/') ) | ^ | == htmlgen.cc:950:15: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 950 | ESCAPE_URL1 = 1; | ^ ~ htmlgen.cc:990:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 990 | if( p = scanchr(condexp,'?',AVStr(conds)) ) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ htmlgen.cc:990:8: note: place parentheses around the assignment to silence this warning 990 | if( p = scanchr(condexp,'?',AVStr(conds)) ) | ^ | ( ) htmlgen.cc:990:8: note: use '==' to turn this assignment into an equality comparison 990 | if( p = scanchr(condexp,'?',AVStr(conds)) ) | ^ | == htmlgen.cc:991:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 991 | if( p = scanchr(p,':',AVStr(trues)) ) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ htmlgen.cc:991:8: note: place parentheses around the assignment to silence this warning 991 | if( p = scanchr(p,':',AVStr(trues)) ) | ^ | ( ) htmlgen.cc:991:8: note: use '==' to turn this assignment into an equality comparison 991 | if( p = scanchr(p,':',AVStr(trues)) ) | ^ | == htmlgen.cc:999:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 999 | if( p = scanchr(exp,dch,AVStr(left)) ) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ htmlgen.cc:999:8: note: place parentheses around the assignment to silence this warning 999 | if( p = scanchr(exp,dch,AVStr(left)) ) | ^ | ( ) htmlgen.cc:999:8: note: use '==' to turn this assignment into an equality comparison 999 | if( p = scanchr(exp,dch,AVStr(left)) ) | ^ | == htmlgen.cc:1012:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1012 | if( dp = strpbrk(conds,"<=&|") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~ htmlgen.cc:1012:9: note: place parentheses around the assignment to silence this warning 1012 | if( dp = strpbrk(conds,"<=&|") ){ | ^ | ( ) htmlgen.cc:1012:9: note: use '==' to turn this assignment into an equality comparison 1012 | if( dp = strpbrk(conds,"<=&|") ){ | ^ | == htmlgen.cc:1047:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1047 | if( dp = scanchr(item,'?',VStrNULL) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ htmlgen.cc:1047:9: note: place parentheses around the assignment to silence this warning 1047 | if( dp = scanchr(item,'?',VStrNULL) ){ | ^ | ( ) htmlgen.cc:1047:9: note: use '==' to turn this assignment into an equality comparison 1047 | if( dp = scanchr(item,'?',VStrNULL) ){ | ^ | == htmlgen.cc:1140:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1140 | for( sp = str; ch = *sp; sp++ ){ | ~~~^~~~~ htmlgen.cc:1140:20: note: place parentheses around the assignment to silence this warning 1140 | for( sp = str; ch = *sp; sp++ ){ | ^ | ( ) htmlgen.cc:1140:20: note: use '==' to turn this assignment into an equality comparison 1140 | for( sp = str; ch = *sp; sp++ ){ | ^ | == htmlgen.cc:1182:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1182 | if( dp = scanitem(sp+2) ){ | ~~~^~~~~~~~~~~~~~~~ htmlgen.cc:1182:14: note: place parentheses around the assignment to silence this warning 1182 | if( dp = scanitem(sp+2) ){ | ^ | ( ) htmlgen.cc:1182:14: note: use '==' to turn this assignment into an equality comparison 1182 | if( dp = scanitem(sp+2) ){ | ^ | == htmlgen.cc:1190:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1190 | if( vp = Nvfind(sp+3) ){ | ~~~^~~~~~~~~~~~~~ htmlgen.cc:1190:12: note: place parentheses around the assignment to silence this warning 1190 | if( vp = Nvfind(sp+3) ){ | ^ | ( ) htmlgen.cc:1190:12: note: use '==' to turn this assignment into an equality comparison 1190 | if( vp = Nvfind(sp+3) ){ | ^ | == htmlgen.cc:1239:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1239 | if( dp = strchr(ctag,'>') ){ | ~~~^~~~~~~~~~~~~~~~~~ htmlgen.cc:1239:14: note: place parentheses around the assignment to silence this warning 1239 | if( dp = strchr(ctag,'>') ){ | ^ | ( ) htmlgen.cc:1239:14: note: use '==' to turn this assignment into an equality comparison 1239 | if( dp = strchr(ctag,'>') ){ | ^ | == htmlgen.cc:1242:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1242 | for( ti = 0; tag = dhtml_tags[ti].tag; ti++ ){ | ~~~~^~~~~~~~~~~~~~~~~~~~ htmlgen.cc:1242:21: note: place parentheses around the assignment to silence this warning 1242 | for( ti = 0; tag = dhtml_tags[ti].tag; ti++ ){ | ^ | ( ) htmlgen.cc:1242:21: note: use '==' to turn this assignment into an equality comparison 1242 | for( ti = 0; tag = dhtml_tags[ti].tag; ti++ ){ | ^ | == htmlgen.cc:1247:7: warning: expression result unused [-Wunused-value] 1247 | *arg++; | ^~~~~~ htmlgen.cc:1464:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1464 | if( ouser = VA_getOriginatorIdent(Conn,&ident) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ htmlgen.cc:1464:14: note: place parentheses around the assignment to silence this warning 1464 | if( ouser = VA_getOriginatorIdent(Conn,&ident) ) | ^ | ( ) htmlgen.cc:1464:14: note: use '==' to turn this assignment into an equality comparison 1464 | if( ouser = VA_getOriginatorIdent(Conn,&ident) ) | ^ | == htmlgen.cc:1480:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1480 | if( dp = strstr(url,"MSIE ") ) | ~~~^~~~~~~~~~~~~~~~~~~~~ htmlgen.cc:1480:11: note: place parentheses around the assignment to silence this warning 1480 | if( dp = strstr(url,"MSIE ") ) | ^ | ( ) htmlgen.cc:1480:11: note: use '==' to turn this assignment into an equality comparison 1480 | if( dp = strstr(url,"MSIE ") ) | ^ | == htmlgen.cc:1483:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1483 | if( dp = strrchr(url,')') ) | ~~~^~~~~~~~~~~~~~~~~~ htmlgen.cc:1483:12: note: place parentheses around the assignment to silence this warning 1483 | if( dp = strrchr(url,')') ) | ^ | ( ) htmlgen.cc:1483:12: note: use '==' to turn this assignment into an equality comparison 1483 | if( dp = strrchr(url,')') ) | ^ | == htmlgen.cc:1611:15: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 1611 | HTMLSRC_EXT = 1; | ^ ~ htmlgen.cc:1626:15: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 1626 | HTMLSRC_EXT = 1; | ^ ~ htmlgen.cc:1643:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1643 | if( up = strrchr(url,'/') ) | ~~~^~~~~~~~~~~~~~~~~~ htmlgen.cc:1643:11: note: place parentheses around the assignment to silence this warning 1643 | if( up = strrchr(url,'/') ) | ^ | ( ) htmlgen.cc:1643:11: note: use '==' to turn this assignment into an equality comparison 1643 | if( up = strrchr(url,'/') ) | ^ | == htmlgen.cc:1656:15: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 1656 | HTMLSRC_EXT = 1; | ^ ~ htmlgen.cc:1794:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1794 | if( vp = Nvfind(arg) ){ | ~~~^~~~~~~~~~~~~ htmlgen.cc:1794:10: note: place parentheses around the assignment to silence this warning 1794 | if( vp = Nvfind(arg) ){ | ^ | ( ) htmlgen.cc:1794:10: note: use '==' to turn this assignment into an equality comparison 1794 | if( vp = Nvfind(arg) ){ | ^ | == htmlgen.cc:1841:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1841 | if( rcc = fread(script,1,sizeof(script)-1,fp) ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ htmlgen.cc:1841:11: note: place parentheses around the assignment to silence this warning 1841 | if( rcc = fread(script,1,sizeof(script)-1,fp) ) | ^ | ( ) htmlgen.cc:1841:11: note: use '==' to turn this assignment into an equality comparison 1841 | if( rcc = fread(script,1,sizeof(script)-1,fp) ) | ^ | == 37 warnings generated. ../mkcpp nntp.c nntp.cc -- mkcpp set time: 1791324536 -> 1222150538 nntp.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c nntp.cc nntp.cc:59:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 59 | if( np = strpbrk(req,"\r\n") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ nntp.cc:59:11: note: place parentheses around the assignment to silence this warning 59 | if( np = strpbrk(req,"\r\n") ){ | ^ | ( ) nntp.cc:59:11: note: use '==' to turn this assignment into an equality comparison 59 | if( np = strpbrk(req,"\r\n") ){ | ^ | == nntp.cc:903:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 903 | for( hi = 0; hide = nm->nm_hide[hi]; hi++ ){ | ~~~~~^~~~~~~~~~~~~~~~~ nntp.cc:903:20: note: place parentheses around the assignment to silence this warning 903 | for( hi = 0; hide = nm->nm_hide[hi]; hi++ ){ | ^ | ( ) nntp.cc:903:20: note: use '==' to turn this assignment into an equality comparison 903 | for( hi = 0; hide = nm->nm_hide[hi]; hi++ ){ | ^ | == nntp.cc:1025:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1025 | if( dp = strchr(group1,',') ) | ~~~^~~~~~~~~~~~~~~~~~~~ nntp.cc:1025:9: note: place parentheses around the assignment to silence this warning 1025 | if( dp = strchr(group1,',') ) | ^ | ( ) nntp.cc:1025:9: note: use '==' to turn this assignment into an equality comparison 1025 | if( dp = strchr(group1,',') ) | ^ | == nntp.cc:1059:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1059 | if( tp = strchr(what,'>') ) | ~~~^~~~~~~~~~~~~~~~~~ nntp.cc:1059:10: note: place parentheses around the assignment to silence this warning 1059 | if( tp = strchr(what,'>') ) | ^ | ( ) nntp.cc:1059:10: note: use '==' to turn this assignment into an equality comparison 1059 | if( tp = strchr(what,'>') ) | ^ | == nntp.cc:1106:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1106 | for( mi = 0; m1 = methods[mi].qm_name; mi++ ) | ~~~^~~~~~~~~~~~~~~~~~~~~ nntp.cc:1106:18: note: place parentheses around the assignment to silence this warning 1106 | for( mi = 0; m1 = methods[mi].qm_name; mi++ ) | ^ | ( ) nntp.cc:1106:18: note: use '==' to turn this assignment into an equality comparison 1106 | for( mi = 0; m1 = methods[mi].qm_name; mi++ ) | ^ | == nntp.cc:1122:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1122 | for( mi = 0; m1 = methods[mi].qm_name; mi++ ) | ~~~^~~~~~~~~~~~~~~~~~~~~ nntp.cc:1122:18: note: place parentheses around the assignment to silence this warning 1122 | for( mi = 0; m1 = methods[mi].qm_name; mi++ ) | ^ | ( ) nntp.cc:1122:18: note: use '==' to turn this assignment into an equality comparison 1122 | for( mi = 0; m1 = methods[mi].qm_name; mi++ ) | ^ | == nntp.cc:1223:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1223 | if( nsid = (long int)Hsearch(permitted_nsid,group,0) ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp.cc:1223:11: note: place parentheses around the assignment to silence this warning 1223 | if( nsid = (long int)Hsearch(permitted_nsid,group,0) ) | ^ | ( ) nntp.cc:1223:11: note: use '==' to turn this assignment into an equality comparison 1223 | if( nsid = (long int)Hsearch(permitted_nsid,group,0) ) | ^ | == nntp.cc:1227:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1227 | if( nsid = permitted_group1(si,0,group) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp.cc:1227:12: note: place parentheses around the assignment to silence this warning 1227 | if( nsid = permitted_group1(si,0,group) ){ | ^ | ( ) nntp.cc:1227:12: note: use '==' to turn this assignment into an equality comparison 1227 | if( nsid = permitted_group1(si,0,group) ){ | ^ | == nntp.cc:1243:37: warning: '/*' within block comment [-Wcomment] 1243 | MOUNT="LOCALNEWS.* nntp://localnews/*" | ^ nntp.cc:1244:33: warning: '/*' within block comment [-Wcomment] 1244 | MOUNT="= nntp://news.aist.go.jp/*" | ^ nntp.cc:1262:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1262 | if( nm = mount_group_fromx(ns,ng) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ nntp.cc:1262:9: note: place parentheses around the assignment to silence this warning 1262 | if( nm = mount_group_fromx(ns,ng) ){ | ^ | ( ) nntp.cc:1262:9: note: use '==' to turn this assignment into an equality comparison 1262 | if( nm = mount_group_fromx(ns,ng) ){ | ^ | == nntp.cc:1670:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1670 | if( lfp = LCfp(ns,li) ){ | ~~~~^~~~~~~~~~~~~ nntp.cc:1670:10: note: place parentheses around the assignment to silence this warning 1670 | if( lfp = LCfp(ns,li) ){ | ^ | ( ) nntp.cc:1670:10: note: use '==' to turn this assignment into an equality comparison 1670 | if( lfp = LCfp(ns,li) ){ | ^ | == nntp.cc:1744:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1744 | if( lfp = dirfopen("LIST.active",ZVStr(cachepath,1024),"w+") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp.cc:1744:11: note: place parentheses around the assignment to silence this warning 1744 | if( lfp = dirfopen("LIST.active",ZVStr(cachepath,1024),"w+") ) | ^ | ( ) nntp.cc:1744:11: note: use '==' to turn this assignment into an equality comparison 1744 | if( lfp = dirfopen("LIST.active",ZVStr(cachepath,1024),"w+") ) | ^ | == nntp.cc:1749:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1749 | if( lfp = TMPFILE("nntp-LIST-private") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp.cc:1749:11: note: place parentheses around the assignment to silence this warning 1749 | if( lfp = TMPFILE("nntp-LIST-private") ) | ^ | ( ) nntp.cc:1749:11: note: use '==' to turn this assignment into an equality comparison 1749 | if( lfp = TMPFILE("nntp-LIST-private") ) | ^ | == nntp.cc:1771:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1771 | if( fp = fopen(ucpath,"w") ){ | ~~~^~~~~~~~~~~~~~~~~~~ nntp.cc:1771:10: note: place parentheses around the assignment to silence this warning 1771 | if( fp = fopen(ucpath,"w") ){ | ^ | ( ) nntp.cc:1771:10: note: use '==' to turn this assignment into an equality comparison 1771 | if( fp = fopen(ucpath,"w") ){ | ^ | == nntp.cc:1796:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1796 | if( mtime = ns->ns_posted ){ | ~~~~~~^~~~~~~~~~~~~~~ nntp.cc:1796:12: note: place parentheses around the assignment to silence this warning 1796 | if( mtime = ns->ns_posted ){ | ^ | ( ) nntp.cc:1796:12: note: use '==' to turn this assignment into an equality comparison 1796 | if( mtime = ns->ns_posted ){ | ^ | == nntp.cc:1805:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1805 | if( mtime = listMtime(ns,li,0) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~ nntp.cc:1805:12: note: place parentheses around the assignment to silence this warning 1805 | if( mtime = listMtime(ns,li,0) ){ | ^ | ( ) nntp.cc:1805:12: note: use '==' to turn this assignment into an equality comparison 1805 | if( mtime = listMtime(ns,li,0) ){ | ^ | == nntp.cc:1895:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1895 | if( mtime = LCorigmtime(ns,li) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~ nntp.cc:1895:14: note: place parentheses around the assignment to silence this warning 1895 | if( mtime = LCorigmtime(ns,li) ){ | ^ | ( ) nntp.cc:1895:14: note: use '==' to turn this assignment into an equality comparison 1895 | if( mtime = LCorigmtime(ns,li) ){ | ^ | == nntp.cc:2067:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2067 | if( cfp = dirfopen(where,AVStr(cpath),"r") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp.cc:2067:11: note: place parentheses around the assignment to silence this warning 2067 | if( cfp = dirfopen(where,AVStr(cpath),"r") ){ | ^ | ( ) nntp.cc:2067:11: note: use '==' to turn this assignment into an equality comparison 2067 | if( cfp = dirfopen(where,AVStr(cpath),"r") ){ | ^ | == nntp.cc:2075:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2075 | if( cfp = dirfopen(where,AVStr(cpath),"w") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp.cc:2075:11: note: place parentheses around the assignment to silence this warning 2075 | if( cfp = dirfopen(where,AVStr(cpath),"w") ){ | ^ | ( ) nntp.cc:2075:11: note: use '==' to turn this assignment into an equality comparison 2075 | if( cfp = dirfopen(where,AVStr(cpath),"w") ){ | ^ | == nntp.cc:2087:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2087 | if( cfp = dirfopen(where,AVStr(cpath),"r") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp.cc:2087:11: note: place parentheses around the assignment to silence this warning 2087 | if( cfp = dirfopen(where,AVStr(cpath),"r") ){ | ^ | ( ) nntp.cc:2087:11: note: use '==' to turn this assignment into an equality comparison 2087 | if( cfp = dirfopen(where,AVStr(cpath),"r") ){ | ^ | == nntp.cc:2237:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2237 | if( phfp = dirfopen("PATHHOST",AVStr(cpath),"w") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp.cc:2237:11: note: place parentheses around the assignment to silence this warning 2237 | if( phfp = dirfopen("PATHHOST",AVStr(cpath),"w") ){ | ^ | ( ) nntp.cc:2237:11: note: use '==' to turn this assignment into an equality comparison 2237 | if( phfp = dirfopen("PATHHOST",AVStr(cpath),"w") ){ | ^ | == nntp.cc:2297:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2297 | if( lfp = dirfopen("PATHHOST",AVStr(cpath),"w") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp.cc:2297:12: note: place parentheses around the assignment to silence this warning 2297 | if( lfp = dirfopen("PATHHOST",AVStr(cpath),"w") ){ | ^ | ( ) nntp.cc:2297:12: note: use '==' to turn this assignment into an equality comparison 2297 | if( lfp = dirfopen("PATHHOST",AVStr(cpath),"w") ){ | ^ | == nntp.cc:2419:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2419 | if( match1 = mount_group_from1(si,AVStr(ngs)) ) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp.cc:2419:16: note: place parentheses around the assignment to silence this warning 2419 | if( match1 = mount_group_from1(si,AVStr(ngs)) ) | ^ | ( ) nntp.cc:2419:16: note: use '==' to turn this assignment into an equality comparison 2419 | if( match1 = mount_group_from1(si,AVStr(ngs)) ) | ^ | == nntp.cc:2423:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2423 | for(; ch = *ngs; ngs++){ | ~~~^~~~~~ nntp.cc:2423:12: note: place parentheses around the assignment to silence this warning 2423 | for(; ch = *ngs; ngs++){ | ^ | ( ) nntp.cc:2423:12: note: use '==' to turn this assignment into an equality comparison 2423 | for(; ch = *ngs; ngs++){ | ^ | == nntp.cc:2472:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2472 | if( dp = strchr(mid,'>') ) | ~~~^~~~~~~~~~~~~~~~~ nntp.cc:2472:10: note: place parentheses around the assignment to silence this warning 2472 | if( dp = strchr(mid,'>') ) | ^ | ( ) nntp.cc:2472:10: note: use '==' to turn this assignment into an equality comparison 2472 | if( dp = strchr(mid,'>') ) | ^ | == nntp.cc:2475:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2475 | if( afp = ENEWS_article(mid,group,anum) ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp.cc:2475:11: note: place parentheses around the assignment to silence this warning 2475 | if( afp = ENEWS_article(mid,group,anum) ) | ^ | ( ) nntp.cc:2475:11: note: use '==' to turn this assignment into an equality comparison 2475 | if( afp = ENEWS_article(mid,group,anum) ) | ^ | == nntp.cc:2492:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2492 | if( afp = ENEWS_article(NULL,group,anum) ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp.cc:2492:11: note: place parentheses around the assignment to silence this warning 2492 | if( afp = ENEWS_article(NULL,group,anum) ) | ^ | ( ) nntp.cc:2492:11: note: use '==' to turn this assignment into an equality comparison 2492 | if( afp = ENEWS_article(NULL,group,anum) ) | ^ | == nntp.cc:2583:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2583 | while( xp = wordScan(xp,xref1) ){ | ~~~^~~~~~~~~~~~~~~~~~~~ nntp.cc:2583:12: note: place parentheses around the assignment to silence this warning 2583 | while( xp = wordScan(xp,xref1) ){ | ^ | ( ) nntp.cc:2583:12: note: use '==' to turn this assignment into an equality comparison 2583 | while( xp = wordScan(xp,xref1) ){ | ^ | == nntp.cc:2633:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2633 | for( dp = groups; ch = *dp; dp++ ){ | ~~~^~~~~ nntp.cc:2633:24: note: place parentheses around the assignment to silence this warning 2633 | for( dp = groups; ch = *dp; dp++ ){ | ^ | ( ) nntp.cc:2633:24: note: use '==' to turn this assignment into an equality comparison 2633 | for( dp = groups; ch = *dp; dp++ ){ | ^ | == nntp.cc:2645:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2645 | for( dp = groups; ch = *dp; dp++ ){ | ~~~^~~~~ nntp.cc:2645:24: note: place parentheses around the assignment to silence this warning 2645 | for( dp = groups; ch = *dp; dp++ ){ | ^ | ( ) nntp.cc:2645:24: note: use '==' to turn this assignment into an equality comparison 2645 | for( dp = groups; ch = *dp; dp++ ){ | ^ | == nntp.cc:2734:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2734 | if( fp = ACL_fopen("nntp",host,port,"",0,AVStr(cpath)) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp.cc:2734:9: note: place parentheses around the assignment to silence this warning 2734 | if( fp = ACL_fopen("nntp",host,port,"",0,AVStr(cpath)) ){ | ^ | ( ) nntp.cc:2734:9: note: use '==' to turn this assignment into an equality comparison 2734 | if( fp = ACL_fopen("nntp",host,port,"",0,AVStr(cpath)) ){ | ^ | == nntp.cc:2750:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2750 | if( fp = ACL_fopen("nntp",host,port,path,0,AVStr(cpath)) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp.cc:2750:9: note: place parentheses around the assignment to silence this warning 2750 | if( fp = ACL_fopen("nntp",host,port,path,0,AVStr(cpath)) ){ | ^ | ( ) nntp.cc:2750:9: note: use '==' to turn this assignment into an equality comparison 2750 | if( fp = ACL_fopen("nntp",host,port,path,0,AVStr(cpath)) ){ | ^ | == nntp.cc:2788:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2788 | if( imask = MC_scanMasks(mask) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~ nntp.cc:2788:13: note: place parentheses around the assignment to silence this warning 2788 | if( imask = MC_scanMasks(mask) ){ | ^ | ( ) nntp.cc:2788:13: note: use '==' to turn this assignment into an equality comparison 2788 | if( imask = MC_scanMasks(mask) ){ | ^ | == nntp.cc:2799:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2799 | if( imask = MC_scanMasks(mask) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~ nntp.cc:2799:13: note: place parentheses around the assignment to silence this warning 2799 | if( imask = MC_scanMasks(mask) ){ | ^ | ( ) nntp.cc:2799:13: note: use '==' to turn this assignment into an equality comparison 2799 | if( imask = MC_scanMasks(mask) ){ | ^ | == nntp.cc:2806:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2806 | if( imask = MC_scanAnons(mask) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~ nntp.cc:2806:13: note: place parentheses around the assignment to silence this warning 2806 | if( imask = MC_scanAnons(mask) ){ | ^ | ( ) nntp.cc:2806:13: note: use '==' to turn this assignment into an equality comparison 2806 | if( imask = MC_scanAnons(mask) ){ | ^ | == nntp.cc:2813:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2813 | if( imask = MC_scanAnons(mask) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~ nntp.cc:2813:13: note: place parentheses around the assignment to silence this warning 2813 | if( imask = MC_scanAnons(mask) ){ | ^ | ( ) nntp.cc:2813:13: note: use '==' to turn this assignment into an equality comparison 2813 | if( imask = MC_scanAnons(mask) ){ | ^ | == nntp.cc:2865:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2865 | if( ft = findFieldValue(head,"X-From-Fp") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp.cc:2865:9: note: place parentheses around the assignment to silence this warning 2865 | if( ft = findFieldValue(head,"X-From-Fp") ){ | ^ | ( ) nntp.cc:2865:9: note: use '==' to turn this assignment into an equality comparison 2865 | if( ft = findFieldValue(head,"X-From-Fp") ){ | ^ | == nntp.cc:2872:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2872 | if( imask = MC_scanMasks(mask) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~ nntp.cc:2872:14: note: place parentheses around the assignment to silence this warning 2872 | if( imask = MC_scanMasks(mask) ) | ^ | ( ) nntp.cc:2872:14: note: use '==' to turn this assignment into an equality comparison 2872 | if( imask = MC_scanMasks(mask) ) | ^ | == nntp.cc:2875:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2875 | if( ft = findFieldValue(head,"From") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp.cc:2875:11: note: place parentheses around the assignment to silence this warning 2875 | if( ft = findFieldValue(head,"From") ){ | ^ | ( ) nntp.cc:2875:11: note: use '==' to turn this assignment into an equality comparison 2875 | if( ft = findFieldValue(head,"From") ){ | ^ | == nntp.cc:2898:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2898 | if( ng = findFieldValue(head,"Newsgroups") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp.cc:2898:9: note: place parentheses around the assignment to silence this warning 2898 | if( ng = findFieldValue(head,"Newsgroups") ){ | ^ | ( ) nntp.cc:2898:9: note: use '==' to turn this assignment into an equality comparison 2898 | if( ng = findFieldValue(head,"Newsgroups") ){ | ^ | == nntp.cc:2912:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2912 | if( ft = findFieldValue(head,"Followup-To") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp.cc:2912:9: note: place parentheses around the assignment to silence this warning 2912 | if( ft = findFieldValue(head,"Followup-To") ) | ^ | ( ) nntp.cc:2912:9: note: use '==' to turn this assignment into an equality comparison 2912 | if( ft = findFieldValue(head,"Followup-To") ) | ^ | == nntp.cc:2938:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2938 | while( xrv = findFieldValue(head,"Xref") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp.cc:2938:13: note: place parentheses around the assignment to silence this warning 2938 | while( xrv = findFieldValue(head,"Xref") ){ | ^ | ( ) nntp.cc:2938:13: note: use '==' to turn this assignment into an equality comparison 2938 | while( xrv = findFieldValue(head,"Xref") ){ | ^ | == nntp.cc:2950:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2950 | if( rp = strchr(xrv,'\r') ) | ~~~^~~~~~~~~~~~~~~~~~ nntp.cc:2950:10: note: place parentheses around the assignment to silence this warning 2950 | if( rp = strchr(xrv,'\r') ) | ^ | ( ) nntp.cc:2950:10: note: use '==' to turn this assignment into an equality comparison 2950 | if( rp = strchr(xrv,'\r') ) | ^ | == nntp.cc:2974:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2974 | if( path = findFieldValue(head,"Path") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp.cc:2974:12: note: place parentheses around the assignment to silence this warning 2974 | if( path = findFieldValue(head,"Path") ){ | ^ | ( ) nntp.cc:2974:12: note: use '==' to turn this assignment into an equality comparison 2974 | if( path = findFieldValue(head,"Path") ){ | ^ | == nntp.cc:2988:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2988 | if( ng = findFieldValue(head,"Newsgroups") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp.cc:2988:10: note: place parentheses around the assignment to silence this warning 2988 | if( ng = findFieldValue(head,"Newsgroups") ){ | ^ | ( ) nntp.cc:2988:10: note: use '==' to turn this assignment into an equality comparison 2988 | if( ng = findFieldValue(head,"Newsgroups") ){ | ^ | == nntp.cc:2990:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2990 | if( nm = mount_group_fromx(ns,ngs) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp.cc:2990:11: note: place parentheses around the assignment to silence this warning 2990 | if( nm = mount_group_fromx(ns,ngs) ) | ^ | ( ) nntp.cc:2990:11: note: use '==' to turn this assignment into an equality comparison 2990 | if( nm = mount_group_fromx(ns,ngs) ) | ^ | == nntp.cc:3042:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 3042 | }else | ^ nntp.cc:3099:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3099 | if( fname = ng_field(line) ){ | ~~~~~~^~~~~~~~~~~~~~~~ nntp.cc:3099:16: note: place parentheses around the assignment to silence this warning 3099 | if( fname = ng_field(line) ){ | ^ | ( ) nntp.cc:3099:16: note: use '==' to turn this assignment into an equality comparison 3099 | if( fname = ng_field(line) ){ | ^ | == nntp.cc:3282:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3282 | if( afp = lookaside_cache(ns->ns_nsid,DO_arg,DO_com,DO_arg) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp.cc:3282:10: note: place parentheses around the assignment to silence this warning 3282 | if( afp = lookaside_cache(ns->ns_nsid,DO_arg,DO_com,DO_arg) ){ | ^ | ( ) nntp.cc:3282:10: note: use '==' to turn this assignment into an equality comparison 3282 | if( afp = lookaside_cache(ns->ns_nsid,DO_arg,DO_com,DO_arg) ){ | ^ | == nntp.cc:3365:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3365 | if( rp = QueueTop ){ | ~~~^~~~~~~~~~ nntp.cc:3365:9: note: place parentheses around the assignment to silence this warning 3365 | if( rp = QueueTop ){ | ^ | ( ) nntp.cc:3365:9: note: use '==' to turn this assignment into an equality comparison 3365 | if( rp = QueueTop ){ | ^ | == nntp.cc:3366:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3366 | if( afp = rp->q_cache ){ | ~~~~^~~~~~~~~~~~~ nntp.cc:3366:11: note: place parentheses around the assignment to silence this warning 3366 | if( afp = rp->q_cache ){ | ^ | ( ) nntp.cc:3366:11: note: use '==' to turn this assignment into an equality comparison 3366 | if( afp = rp->q_cache ){ | ^ | == nntp.cc:3461:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3461 | if( postok = strstr(msg,okword) ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~ nntp.cc:3461:14: note: place parentheses around the assignment to silence this warning 3461 | if( postok = strstr(msg,okword) ){ | ^ | ( ) nntp.cc:3461:14: note: use '==' to turn this assignment into an equality comparison 3461 | if( postok = strstr(msg,okword) ){ | ^ | == nntp.cc:3870:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3870 | if( afp = ENEWS_article(NULL,curGroup,anum+ai) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp.cc:3870:12: note: place parentheses around the assignment to silence this warning 3870 | if( afp = ENEWS_article(NULL,curGroup,anum+ai) ){ | ^ | ( ) nntp.cc:3870:12: note: use '==' to turn this assignment into an equality comparison 3870 | if( afp = ENEWS_article(NULL,curGroup,anum+ai) ){ | ^ | == nntp.cc:3889:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3889 | if( afp = ENEWS_article(NULL,curGroup,anum-ai) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp.cc:3889:12: note: place parentheses around the assignment to silence this warning 3889 | if( afp = ENEWS_article(NULL,curGroup,anum-ai) ){ | ^ | ( ) nntp.cc:3889:12: note: use '==' to turn this assignment into an equality comparison 3889 | if( afp = ENEWS_article(NULL,curGroup,anum-ai) ){ | ^ | == nntp.cc:3911:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3911 | if( afp = ENEWS_article(NULL,ns->ns_curgroup,anum) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp.cc:3911:10: note: place parentheses around the assignment to silence this warning 3911 | if( afp = ENEWS_article(NULL,ns->ns_curgroup,anum) ){ | ^ | ( ) nntp.cc:3911:10: note: use '==' to turn this assignment into an equality comparison 3911 | if( afp = ENEWS_article(NULL,ns->ns_curgroup,anum) ){ | ^ | == nntp.cc:3959:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3959 | if( rfp = servers[si].ns_rfp ) | ~~~~^~~~~~~~~~~~~~~~~~~~ nntp.cc:3959:11: note: place parentheses around the assignment to silence this warning 3959 | if( rfp = servers[si].ns_rfp ) | ^ | ( ) nntp.cc:3959:11: note: use '==' to turn this assignment into an equality comparison 3959 | if( rfp = servers[si].ns_rfp ) | ^ | == nntp.cc:4181:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4181 | if( rewaddr = ns->ns_rewaddr ){ | ~~~~~~~~^~~~~~~~~~~~~~~~ nntp.cc:4181:14: note: place parentheses around the assignment to silence this warning 4181 | if( rewaddr = ns->ns_rewaddr ){ | ^ | ( ) nntp.cc:4181:14: note: use '==' to turn this assignment into an equality comparison 4181 | if( rewaddr = ns->ns_rewaddr ){ | ^ | == nntp.cc:4226:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4226 | if( afp = ENEWS_article(NULL,rgroup,anum) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp.cc:4226:12: note: place parentheses around the assignment to silence this warning 4226 | if( afp = ENEWS_article(NULL,rgroup,anum) ){ | ^ | ( ) nntp.cc:4226:12: note: use '==' to turn this assignment into an equality comparison 4226 | if( afp = ENEWS_article(NULL,rgroup,anum) ){ | ^ | == nntp.cc:4388:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4388 | if( afp = cachedResponse(&rserverx) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp.cc:4388:11: note: place parentheses around the assignment to silence this warning 4388 | if( afp = cachedResponse(&rserverx) ){ | ^ | ( ) nntp.cc:4388:11: note: use '==' to turn this assignment into an equality comparison 4388 | if( afp = cachedResponse(&rserverx) ){ | ^ | == nntp.cc:4529:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4529 | if( dp = wordScan(ReqBuf,com) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ nntp.cc:4529:10: note: place parentheses around the assignment to silence this warning 4529 | if( dp = wordScan(ReqBuf,com) ) | ^ | ( ) nntp.cc:4529:10: note: use '==' to turn this assignment into an equality comparison 4529 | if( dp = wordScan(ReqBuf,com) ) | ^ | == nntp.cc:4639:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 4639 | }else | ^ nntp.cc:5116:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5116 | if( actfp = openLIST(arg,host,port) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ nntp.cc:5116:13: note: place parentheses around the assignment to silence this warning 5116 | if( actfp = openLIST(arg,host,port) ){ | ^ | ( ) nntp.cc:5116:13: note: use '==' to turn this assignment into an equality comparison 5116 | if( actfp = openLIST(arg,host,port) ){ | ^ | == nntp.cc:5124:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 5124 | else | ^ nntp.cc:5325:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5325 | if( found = !ns->ns_isself ) | ~~~~~~^~~~~~~~~~~~~~~~ nntp.cc:5325:13: note: place parentheses around the assignment to silence this warning 5325 | if( found = !ns->ns_isself ) | ^ | ( ) nntp.cc:5325:13: note: use '==' to turn this assignment into an equality comparison 5325 | if( found = !ns->ns_isself ) | ^ | == nntp.cc:5380:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5380 | if( ns = toNS(nsid) ) | ~~~^~~~~~~~~~~~ nntp.cc:5380:9: note: place parentheses around the assignment to silence this warning 5380 | if( ns = toNS(nsid) ) | ^ | ( ) nntp.cc:5380:9: note: use '==' to turn this assignment into an equality comparison 5380 | if( ns = toNS(nsid) ) | ^ | == nntp.cc:5475:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5475 | if( nsid = isServer(proto,host,port) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp.cc:5475:11: note: place parentheses around the assignment to silence this warning 5475 | if( nsid = isServer(proto,host,port) ){ | ^ | ( ) nntp.cc:5475:11: note: use '==' to turn this assignment into an equality comparison 5475 | if( nsid = isServer(proto,host,port) ){ | ^ | == nntp.cc:5760:32: warning: '/*' within block comment [-Wcomment] 5760 | * MOUNT="group.* file:/path/*" should be recursive... | ^ nntp.cc:5886:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5886 | if( fp = ns->ns_rfp ) fclose(fp); | ~~~^~~~~~~~~~~~ nntp.cc:5886:10: note: place parentheses around the assignment to silence this warning 5886 | if( fp = ns->ns_rfp ) fclose(fp); | ^ | ( ) nntp.cc:5886:10: note: use '==' to turn this assignment into an equality comparison 5886 | if( fp = ns->ns_rfp ) fclose(fp); | ^ | == nntp.cc:5887:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5887 | if( fp = ns->ns_wfp ) fclose(fp); | ~~~^~~~~~~~~~~~ nntp.cc:5887:10: note: place parentheses around the assignment to silence this warning 5887 | if( fp = ns->ns_wfp ) fclose(fp); | ^ | ( ) nntp.cc:5887:10: note: use '==' to turn this assignment into an equality comparison 5887 | if( fp = ns->ns_wfp ) fclose(fp); | ^ | == nntp.cc:6069:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6069 | for( lp = src; ch = *lp; lp++ ){ | ~~~^~~~~ nntp.cc:6069:20: note: place parentheses around the assignment to silence this warning 6069 | for( lp = src; ch = *lp; lp++ ){ | ^ | ( ) nntp.cc:6069:20: note: use '==' to turn this assignment into an equality comparison 6069 | for( lp = src; ch = *lp; lp++ ){ | ^ | == nntp.cc:6141:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6141 | if( cfp = fopen(cachepath,"r+") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ nntp.cc:6141:10: note: place parentheses around the assignment to silence this warning 6141 | if( cfp = fopen(cachepath,"r+") ){ | ^ | ( ) nntp.cc:6141:10: note: use '==' to turn this assignment into an equality comparison 6141 | if( cfp = fopen(cachepath,"r+") ){ | ^ | == nntp.cc:6197:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6197 | if( afp = openCACHE(nsid,0,NO_EXPIRE,DIR_SPOOL,group,anum,AVStr(cachepath)) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp.cc:6197:10: note: place parentheses around the assignment to silence this warning 6197 | if( afp = openCACHE(nsid,0,NO_EXPIRE,DIR_SPOOL,group,anum,AVStr(cachepath)) ){ | ^ | ( ) nntp.cc:6197:10: note: use '==' to turn this assignment into an equality comparison 6197 | if( afp = openCACHE(nsid,0,NO_EXPIRE,DIR_SPOOL,group,anum,AVStr(cachepath)) ){ | ^ | == nntp.cc:6245:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6245 | if( dp = strrchr(value,' ') ) | ~~~^~~~~~~~~~~~~~~~~~~~ nntp.cc:6245:11: note: place parentheses around the assignment to silence this warning 6245 | if( dp = strrchr(value,' ') ) | ^ | ( ) nntp.cc:6245:11: note: use '==' to turn this assignment into an equality comparison 6245 | if( dp = strrchr(value,' ') ) | ^ | == nntp.cc:6248:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6248 | for( vp = value; ch = *vp; vp++ ){ | ~~~^~~~~ nntp.cc:6248:23: note: place parentheses around the assignment to silence this warning 6248 | for( vp = value; ch = *vp; vp++ ){ | ^ | ( ) nntp.cc:6248:23: note: use '==' to turn this assignment into an equality comparison 6248 | for( vp = value; ch = *vp; vp++ ){ | ^ | == nntp.cc:6277:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6277 | if( xfp = openCACHE(nsid,0,NO_EXPIRE,DIR_XOVER,group,anum,AVStr(cachepath)) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp.cc:6277:10: note: place parentheses around the assignment to silence this warning 6277 | if( xfp = openCACHE(nsid,0,NO_EXPIRE,DIR_XOVER,group,anum,AVStr(cachepath)) ){ | ^ | ( ) nntp.cc:6277:10: note: use '==' to turn this assignment into an equality comparison 6277 | if( xfp = openCACHE(nsid,0,NO_EXPIRE,DIR_XOVER,group,anum,AVStr(cachepath)) ){ | ^ | == nntp.cc:6295:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6295 | if( xfp = openCACHE(nsid,1,NO_EXPIRE,DIR_XOVER,group,anum,AVStr(cachepath)) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp.cc:6295:10: note: place parentheses around the assignment to silence this warning 6295 | if( xfp = openCACHE(nsid,1,NO_EXPIRE,DIR_XOVER,group,anum,AVStr(cachepath)) ){ | ^ | ( ) nntp.cc:6295:10: note: use '==' to turn this assignment into an equality comparison 6295 | if( xfp = openCACHE(nsid,1,NO_EXPIRE,DIR_XOVER,group,anum,AVStr(cachepath)) ){ | ^ | == nntp.cc:6312:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6312 | if( afp = ENEWS_article(NULL,group,anum) ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp.cc:6312:11: note: place parentheses around the assignment to silence this warning 6312 | if( afp = ENEWS_article(NULL,group,anum) ) | ^ | ( ) nntp.cc:6312:11: note: use '==' to turn this assignment into an equality comparison 6312 | if( afp = ENEWS_article(NULL,group,anum) ) | ^ | == nntp.cc:6316:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6316 | if( afp = NNTP_openARTICLE(nsid,NO_EXPIRE,group,anum,AVStr(cpath)) ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp.cc:6316:10: note: place parentheses around the assignment to silence this warning 6316 | if( afp = NNTP_openARTICLE(nsid,NO_EXPIRE,group,anum,AVStr(cpath)) ) | ^ | ( ) nntp.cc:6316:10: note: use '==' to turn this assignment into an equality comparison 6316 | if( afp = NNTP_openARTICLE(nsid,NO_EXPIRE,group,anum,AVStr(cpath)) ) | ^ | == nntp.cc:6446:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6446 | if( fanum = matchMsgid(msgid,group,AVStr(rgroup),xover) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp.cc:6446:14: note: place parentheses around the assignment to silence this warning 6446 | if( fanum = matchMsgid(msgid,group,AVStr(rgroup),xover) ) | ^ | ( ) nntp.cc:6446:14: note: use '==' to turn this assignment into an equality comparison 6446 | if( fanum = matchMsgid(msgid,group,AVStr(rgroup),xover) ) | ^ | == nntp.cc:6493:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6493 | if( afp = openCACHE(nsid,0,expire,DIR_SPOOL,group,anum,AVStr(cpath)) ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp.cc:6493:10: note: place parentheses around the assignment to silence this warning 6493 | if( afp = openCACHE(nsid,0,expire,DIR_SPOOL,group,anum,AVStr(cpath)) ) | ^ | ( ) nntp.cc:6493:10: note: use '==' to turn this assignment into an equality comparison 6493 | if( afp = openCACHE(nsid,0,expire,DIR_SPOOL,group,anum,AVStr(cpath)) ) | ^ | == nntp.cc:6519:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6519 | if( afp = NNTP_openARTICLEC(nsid,expire,group,anum,AVStr(cpath)) ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp.cc:6519:10: note: place parentheses around the assignment to silence this warning 6519 | if( afp = NNTP_openARTICLEC(nsid,expire,group,anum,AVStr(cpath)) ) | ^ | ( ) nntp.cc:6519:10: note: use '==' to turn this assignment into an equality comparison 6519 | if( afp = NNTP_openARTICLEC(nsid,expire,group,anum,AVStr(cpath)) ) | ^ | == nntp.cc:6538:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 6538 | else return openCACHE(nsid,0,NO_EXPIRE,DIR_SPOOL,group,anum,AVStr(cpath)); | ^ nntp.cc:6610:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6610 | if( xafp = fopen(xapath,"r") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~ nntp.cc:6610:11: note: place parentheses around the assignment to silence this warning 6610 | if( xafp = fopen(xapath,"r") ){ | ^ | ( ) nntp.cc:6610:11: note: use '==' to turn this assignment into an equality comparison 6610 | if( xafp = fopen(xapath,"r") ){ | ^ | == nntp.cc:6680:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6680 | if( mp = strchr(msgid,'<') ){ | ~~~^~~~~~~~~~~~~~~~~~~ nntp.cc:6680:9: note: place parentheses around the assignment to silence this warning 6680 | if( mp = strchr(msgid,'<') ){ | ^ | ( ) nntp.cc:6680:9: note: use '==' to turn this assignment into an equality comparison 6680 | if( mp = strchr(msgid,'<') ){ | ^ | == nntp.cc:6682:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6682 | if( mp = strchr(msgid,'>') ) | ~~~^~~~~~~~~~~~~~~~~~~ nntp.cc:6682:10: note: place parentheses around the assignment to silence this warning 6682 | if( mp = strchr(msgid,'>') ) | ^ | ( ) nntp.cc:6682:10: note: use '==' to turn this assignment into an equality comparison 6682 | if( mp = strchr(msgid,'>') ) | ^ | == nntp.cc:6834:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6834 | while( xp = wordScan(xp,xpath1) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ nntp.cc:6834:12: note: place parentheses around the assignment to silence this warning 6834 | while( xp = wordScan(xp,xpath1) ){ | ^ | ( ) nntp.cc:6834:12: note: use '==' to turn this assignment into an equality comparison 6834 | while( xp = wordScan(xp,xpath1) ){ | ^ | == nntp.cc:6869:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6869 | if( anum = anomidToGroup(msgid,BVStr(rgroup)) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp.cc:6869:11: note: place parentheses around the assignment to silence this warning 6869 | if( anum = anomidToGroup(msgid,BVStr(rgroup)) ){ | ^ | ( ) nntp.cc:6869:11: note: use '==' to turn this assignment into an equality comparison 6869 | if( anum = anomidToGroup(msgid,BVStr(rgroup)) ){ | ^ | == nntp.cc:6873:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6873 | if( afp = NNTP_openArticle(nsid,NO_EXPIRE,msgid,group,0,AVStr(cpath)) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp.cc:6873:10: note: place parentheses around the assignment to silence this warning 6873 | if( afp = NNTP_openArticle(nsid,NO_EXPIRE,msgid,group,0,AVStr(cpath)) ){ | ^ | ( ) nntp.cc:6873:10: note: use '==' to turn this assignment into an equality comparison 6873 | if( afp = NNTP_openArticle(nsid,NO_EXPIRE,msgid,group,0,AVStr(cpath)) ){ | ^ | == nntp.cc:6880:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6880 | if( dp = strstr(xref,group) ) | ~~~^~~~~~~~~~~~~~~~~~~~ nntp.cc:6880:11: note: place parentheses around the assignment to silence this warning 6880 | if( dp = strstr(xref,group) ) | ^ | ( ) nntp.cc:6880:11: note: use '==' to turn this assignment into an equality comparison 6880 | if( dp = strstr(xref,group) ) | ^ | == nntp.cc:6886:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6886 | if( dp = strchr(xref,' ') ) | ~~~^~~~~~~~~~~~~~~~~~ nntp.cc:6886:12: note: place parentheses around the assignment to silence this warning 6886 | if( dp = strchr(xref,' ') ) | ^ | ( ) nntp.cc:6886:12: note: use '==' to turn this assignment into an equality comparison 6886 | if( dp = strchr(xref,' ') ) | ^ | == nntp.cc:6904:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6904 | if( anum = GroupanumbyXPATH(nsid,msgid,group,AVStr(rgroup)) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp.cc:6904:11: note: place parentheses around the assignment to silence this warning 6904 | if( anum = GroupanumbyXPATH(nsid,msgid,group,AVStr(rgroup)) ){ | ^ | ( ) nntp.cc:6904:11: note: use '==' to turn this assignment into an equality comparison 6904 | if( anum = GroupanumbyXPATH(nsid,msgid,group,AVStr(rgroup)) ){ | ^ | == nntp.cc:6927:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6927 | if( anum = search1(nsid,msgid,group,anum1,anum1-40,AVStr(rgroup)) ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp.cc:6927:11: note: place parentheses around the assignment to silence this warning 6927 | if( anum = search1(nsid,msgid,group,anum1,anum1-40,AVStr(rgroup)) ) | ^ | ( ) nntp.cc:6927:11: note: use '==' to turn this assignment into an equality comparison 6927 | if( anum = search1(nsid,msgid,group,anum1,anum1-40,AVStr(rgroup)) ) | ^ | == nntp.cc:6929:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6929 | if( anum = search1(nsid,msgid,group,anum1,anum1+10,AVStr(rgroup)) ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp.cc:6929:11: note: place parentheses around the assignment to silence this warning 6929 | if( anum = search1(nsid,msgid,group,anum1,anum1+10,AVStr(rgroup)) ) | ^ | ( ) nntp.cc:6929:11: note: use '==' to turn this assignment into an equality comparison 6929 | if( anum = search1(nsid,msgid,group,anum1,anum1+10,AVStr(rgroup)) ) | ^ | == nntp.cc:6950:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6950 | if( lfp = openCACHE(nsid,0,expire,DIR_LIB,LIST_GROUP,ganum,AVStr(cache)) ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp.cc:6950:10: note: place parentheses around the assignment to silence this warning 6950 | if( lfp = openCACHE(nsid,0,expire,DIR_LIB,LIST_GROUP,ganum,AVStr(cache)) ) | ^ | ( ) nntp.cc:6950:10: note: use '==' to turn this assignment into an equality comparison 6950 | if( lfp = openCACHE(nsid,0,expire,DIR_LIB,LIST_GROUP,ganum,AVStr(cache)) ) | ^ | == nntp.cc:7029:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 7029 | if( lfp = NNTP_openLIST(nsid,expire,"NNTP_getGROUP") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp.cc:7029:10: note: place parentheses around the assignment to silence this warning 7029 | if( lfp = NNTP_openLIST(nsid,expire,"NNTP_getGROUP") ){ | ^ | ( ) nntp.cc:7029:10: note: use '==' to turn this assignment into an equality comparison 7029 | if( lfp = NNTP_openLIST(nsid,expire,"NNTP_getGROUP") ){ | ^ | == nntp.cc:7184:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 7184 | if( mno = cachedmno(mid) ) | ~~~~^~~~~~~~~~~~~~~~ nntp.cc:7184:10: note: place parentheses around the assignment to silence this warning 7184 | if( mno = cachedmno(mid) ) | ^ | ( ) nntp.cc:7184:10: note: use '==' to turn this assignment into an equality comparison 7184 | if( mno = cachedmno(mid) ) | ^ | == nntp.cc:7223:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 7223 | if( mno = POP_findMessageid(ts,fs,arg) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp.cc:7223:12: note: place parentheses around the assignment to silence this warning 7223 | if( mno = POP_findMessageid(ts,fs,arg) ){ | ^ | ( ) nntp.cc:7223:12: note: use '==' to turn this assignment into an equality comparison 7223 | if( mno = POP_findMessageid(ts,fs,arg) ){ | ^ | == nntp.cc:7645:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 7645 | if( pas = strchr(authb,':') ){ | ~~~~^~~~~~~~~~~~~~~~~~~ nntp.cc:7645:11: note: place parentheses around the assignment to silence this warning 7645 | if( pas = strchr(authb,':') ){ | ^ | ( ) nntp.cc:7645:11: note: use '==' to turn this assignment into an equality comparison 7645 | if( pas = strchr(authb,':') ){ | ^ | == 99 warnings generated. ../mkcpp nntplist.c nntplist.cc -- mkcpp set time: 1791324537 -> 1109633125 nntplist.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c nntplist.cc nntplist.cc:49:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 49 | for(vp = b64; ch = *vp; vp++){ | ~~~^~~~~ nntplist.cc:49:19: note: place parentheses around the assignment to silence this warning 49 | for(vp = b64; ch = *vp; vp++){ | ^ | ( ) nntplist.cc:49:19: note: use '==' to turn this assignment into an equality comparison 49 | for(vp = b64; ch = *vp; vp++){ | ^ | == nntplist.cc:77:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 77 | if( dp = strpbrk(buf,"\r\n") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ nntplist.cc:77:10: note: place parentheses around the assignment to silence this warning 77 | if( dp = strpbrk(buf,"\r\n") ){ | ^ | ( ) nntplist.cc:77:10: note: use '==' to turn this assignment into an equality comparison 77 | if( dp = strpbrk(buf,"\r\n") ){ | ^ | == 2 warnings generated. ../mkcpp nntpgw.c nntpgw.cc -- mkcpp set time: 1791324537 -> 1231215966 nntpgw.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c nntpgw.cc nntpgw.cc:802:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 802 | for( sp = name; ch = *sp; sp++ ){ | ~~~^~~~~ nntpgw.cc:802:21: note: place parentheses around the assignment to silence this warning 802 | for( sp = name; ch = *sp; sp++ ){ | ^ | ( ) nntpgw.cc:802:21: note: use '==' to turn this assignment into an equality comparison 802 | for( sp = name; ch = *sp; sp++ ){ | ^ | == nntpgw.cc:887:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 887 | for( np = name; ch = *np; np++ ){ | ~~~^~~~~ nntpgw.cc:887:21: note: place parentheses around the assignment to silence this warning 887 | for( np = name; ch = *np; np++ ){ | ^ | ( ) nntpgw.cc:887:21: note: use '==' to turn this assignment into an equality comparison 887 | for( np = name; ch = *np; np++ ){ | ^ | == nntpgw.cc:1005:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1005 | for( sx = 1; ch = tmp[sx]; sx++ ){ | ~~~^~~~~~~~~ nntpgw.cc:1005:20: note: place parentheses around the assignment to silence this warning 1005 | for( sx = 1; ch = tmp[sx]; sx++ ){ | ^ | ( ) nntpgw.cc:1005:20: note: use '==' to turn this assignment into an equality comparison 1005 | for( sx = 1; ch = tmp[sx]; sx++ ){ | ^ | == nntpgw.cc:1037:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1037 | if( tp = strrchr(References,'>') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ nntpgw.cc:1037:9: note: place parentheses around the assignment to silence this warning 1037 | if( tp = strrchr(References,'>') ){ | ^ | ( ) nntpgw.cc:1037:9: note: use '==' to turn this assignment into an equality comparison 1037 | if( tp = strrchr(References,'>') ){ | ^ | == nntpgw.cc:1071:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1071 | if( dp = strrchr(url,'/') ) | ~~~^~~~~~~~~~~~~~~~~~ nntpgw.cc:1071:10: note: place parentheses around the assignment to silence this warning 1071 | if( dp = strrchr(url,'/') ) | ^ | ( ) nntpgw.cc:1071:10: note: use '==' to turn this assignment into an equality comparison 1071 | if( dp = strrchr(url,'/') ) | ^ | == nntpgw.cc:1112:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1112 | if( tp = strchr(str,'<') ) | ~~~^~~~~~~~~~~~~~~~~ nntpgw.cc:1112:9: note: place parentheses around the assignment to silence this warning 1112 | if( tp = strchr(str,'<') ) | ^ | ( ) nntpgw.cc:1112:9: note: use '==' to turn this assignment into an equality comparison 1112 | if( tp = strchr(str,'<') ) | ^ | == nntpgw.cc:1113:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1113 | if( ep = strchr(tp,'>') ){ | ~~~^~~~~~~~~~~~~~~~ nntpgw.cc:1113:9: note: place parentheses around the assignment to silence this warning 1113 | if( ep = strchr(tp,'>') ){ | ^ | ( ) nntpgw.cc:1113:9: note: use '==' to turn this assignment into an equality comparison 1113 | if( ep = strchr(tp,'>') ){ | ^ | == nntpgw.cc:1122:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1122 | for( sp = str; ch = *sp; ){ | ~~~^~~~~ nntpgw.cc:1122:20: note: place parentheses around the assignment to silence this warning 1122 | for( sp = str; ch = *sp; ){ | ^ | ( ) nntpgw.cc:1122:20: note: use '==' to turn this assignment into an equality comparison 1122 | for( sp = str; ch = *sp; ){ | ^ | == nntpgw.cc:1124:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1124 | for( sp++; ch = *sp; sp++ ){ | ~~~^~~~~ nntpgw.cc:1124:18: note: place parentheses around the assignment to silence this warning 1124 | for( sp++; ch = *sp; sp++ ){ | ^ | ( ) nntpgw.cc:1124:18: note: use '==' to turn this assignment into an equality comparison 1124 | for( sp++; ch = *sp; sp++ ){ | ^ | == nntpgw.cc:1159:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1159 | for( sp = istr; ch = *sp; sp++ ){ | ~~~^~~~~ nntpgw.cc:1159:21: note: place parentheses around the assignment to silence this warning 1159 | for( sp = istr; ch = *sp; sp++ ){ | ^ | ( ) nntpgw.cc:1159:21: note: use '==' to turn this assignment into an equality comparison 1159 | for( sp = istr; ch = *sp; sp++ ){ | ^ | == nntpgw.cc:1398:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1398 | for( sp = normsubj; ch = *sp++; ) | ~~~^~~~~~~ nntpgw.cc:1398:27: note: place parentheses around the assignment to silence this warning 1398 | for( sp = normsubj; ch = *sp++; ) | ^ | ( ) nntpgw.cc:1398:27: note: use '==' to turn this assignment into an equality comparison 1398 | for( sp = normsubj; ch = *sp++; ) | ^ | == nntpgw.cc:1416:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1416 | if( dp = strchr(prntsubj+1,']') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ nntpgw.cc:1416:13: note: place parentheses around the assignment to silence this warning 1416 | if( dp = strchr(prntsubj+1,']') ){ | ^ | ( ) nntpgw.cc:1416:13: note: use '==' to turn this assignment into an equality comparison 1416 | if( dp = strchr(prntsubj+1,']') ){ | ^ | == nntpgw.cc:1439:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1439 | if( dp = strchr(next,':') ){ | ~~~^~~~~~~~~~~~~~~~~~ nntpgw.cc:1439:11: note: place parentheses around the assignment to silence this warning 1439 | if( dp = strchr(next,':') ){ | ^ | ( ) nntpgw.cc:1439:11: note: use '==' to turn this assignment into an equality comparison 1439 | if( dp = strchr(next,':') ){ | ^ | == nntpgw.cc:1495:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1495 | if( fa1 = getv(Fav,"digest") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~ nntpgw.cc:1495:10: note: place parentheses around the assignment to silence this warning 1495 | if( fa1 = getv(Fav,"digest") ){ | ^ | ( ) nntpgw.cc:1495:10: note: use '==' to turn this assignment into an equality comparison 1495 | if( fa1 = getv(Fav,"digest") ){ | ^ | == nntpgw.cc:1600:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1600 | if( dp = strrchr(groups,'/') ) | ~~~^~~~~~~~~~~~~~~~~~~~~ nntpgw.cc:1600:10: note: place parentheses around the assignment to silence this warning 1600 | if( dp = strrchr(groups,'/') ) | ^ | ( ) nntpgw.cc:1600:10: note: use '==' to turn this assignment into an equality comparison 1600 | if( dp = strrchr(groups,'/') ) | ^ | == nntpgw.cc:1656:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1656 | if( dp = strrchr(group,'/') ) | ~~~^~~~~~~~~~~~~~~~~~~~ nntpgw.cc:1656:13: note: place parentheses around the assignment to silence this warning 1656 | if( dp = strrchr(group,'/') ) | ^ | ( ) nntpgw.cc:1656:13: note: use '==' to turn this assignment into an equality comparison 1656 | if( dp = strrchr(group,'/') ) | ^ | == nntpgw.cc:1700:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1700 | if( dp = strrchr(group,'/') ) | ~~~^~~~~~~~~~~~~~~~~~~~ nntpgw.cc:1700:12: note: place parentheses around the assignment to silence this warning 1700 | if( dp = strrchr(group,'/') ) | ^ | ( ) nntpgw.cc:1700:12: note: use '==' to turn this assignment into an equality comparison 1700 | if( dp = strrchr(group,'/') ) | ^ | == nntpgw.cc:1779:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1779 | if( dp = strrchr(urlrealm,'/') ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~ nntpgw.cc:1779:9: note: place parentheses around the assignment to silence this warning 1779 | if( dp = strrchr(urlrealm,'/') ) | ^ | ( ) nntpgw.cc:1779:9: note: use '==' to turn this assignment into an equality comparison 1779 | if( dp = strrchr(urlrealm,'/') ) | ^ | == nntpgw.cc:2062:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2062 | if( hostp = strchr(host,'@') ) | ~~~~~~^~~~~~~~~~~~~~~~~~ nntpgw.cc:2062:12: note: place parentheses around the assignment to silence this warning 2062 | if( hostp = strchr(host,'@') ) | ^ | ( ) nntpgw.cc:2062:12: note: use '==' to turn this assignment into an equality comparison 2062 | if( hostp = strchr(host,'@') ) | ^ | == nntpgw.cc:2098:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2098 | if( dp = strchr(UrlSelf,'?') ) | ~~~^~~~~~~~~~~~~~~~~~~~~ nntpgw.cc:2098:9: note: place parentheses around the assignment to silence this warning 2098 | if( dp = strchr(UrlSelf,'?') ) | ^ | ( ) nntpgw.cc:2098:9: note: use '==' to turn this assignment into an equality comparison 2098 | if( dp = strchr(UrlSelf,'?') ) | ^ | == nntpgw.cc:2132:38: warning: '/*' within block comment [-Wcomment] 2132 | * MOUNT="http://icon-server/icons/* /-/builtin/icons/*" | ^ nntpgw.cc:2132:57: warning: '/*' within block comment [-Wcomment] 2132 | * MOUNT="http://icon-server/icons/* /-/builtin/icons/*" | ^ nntpgw.cc:2134:30: warning: '/*' within block comment [-Wcomment] 2134 | * MOUNT="/-/builtin/icons/* http://icons-server/icons/* moved" | ^ nntpgw.cc:2134:58: warning: '/*' within block comment [-Wcomment] 2134 | * MOUNT="/-/builtin/icons/* http://icons-server/icons/* moved" | ^ nntpgw.cc:2138:38: warning: '/*' within block comment [-Wcomment] 2138 | * MOUNT="http://icon-server/icons/* builtin:/-/builtin/icons/*" | ^ nntpgw.cc:2138:65: warning: '/*' within block comment [-Wcomment] 2138 | * MOUNT="http://icon-server/icons/* builtin:/-/builtin/icons/*" | ^ nntpgw.cc:2154:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2154 | if( fp = strchr(groupanum,'?') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~ nntpgw.cc:2154:9: note: place parentheses around the assignment to silence this warning 2154 | if( fp = strchr(groupanum,'?') ){ | ^ | ( ) nntpgw.cc:2154:9: note: use '==' to turn this assignment into an equality comparison 2154 | if( fp = strchr(groupanum,'?') ){ | ^ | == nntpgw.cc:2266:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2266 | if( totalc = putViewerControl(Conn,env,fc,tc,stcodep) ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntpgw.cc:2266:15: note: place parentheses around the assignment to silence this warning 2266 | if( totalc = putViewerControl(Conn,env,fc,tc,stcodep) ){ | ^ | ( ) nntpgw.cc:2266:15: note: use '==' to turn this assignment into an equality comparison 2266 | if( totalc = putViewerControl(Conn,env,fc,tc,stcodep) ){ | ^ | == nntpgw.cc:2273:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2273 | if( totalc = putViewerControl(Conn,env,fc,tc,stcodep) ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntpgw.cc:2273:15: note: place parentheses around the assignment to silence this warning 2273 | if( totalc = putViewerControl(Conn,env,fc,tc,stcodep) ){ | ^ | ( ) nntpgw.cc:2273:15: note: use '==' to turn this assignment into an equality comparison 2273 | if( totalc = putViewerControl(Conn,env,fc,tc,stcodep) ){ | ^ | == nntpgw.cc:2312:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2312 | if( fa1 = getv(Fav,"digest") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~ nntpgw.cc:2312:10: note: place parentheses around the assignment to silence this warning 2312 | if( fa1 = getv(Fav,"digest") ){ | ^ | ( ) nntpgw.cc:2312:10: note: use '==' to turn this assignment into an equality comparison 2312 | if( fa1 = getv(Fav,"digest") ){ | ^ | == nntpgw.cc:2340:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2340 | if( dp = strrchr(url,'/') ) | ~~~^~~~~~~~~~~~~~~~~~ nntpgw.cc:2340:10: note: place parentheses around the assignment to silence this warning 2340 | if( dp = strrchr(url,'/') ) | ^ | ( ) nntpgw.cc:2340:10: note: use '==' to turn this assignment into an equality comparison 2340 | if( dp = strrchr(url,'/') ) | ^ | == nntpgw.cc:2363:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2363 | if( Lfp = NNTP_openLIST(Nsid,expireL,"active") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntpgw.cc:2363:11: note: place parentheses around the assignment to silence this warning 2363 | if( Lfp = NNTP_openLIST(Nsid,expireL,"active") ) | ^ | ( ) nntpgw.cc:2363:11: note: use '==' to turn this assignment into an equality comparison 2363 | if( Lfp = NNTP_openLIST(Nsid,expireL,"active") ) | ^ | == nntpgw.cc:2365:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2365 | if( notfound = matchgroup(Lfp,Group) <= 0 ) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntpgw.cc:2365:17: note: place parentheses around the assignment to silence this warning 2365 | if( notfound = matchgroup(Lfp,Group) <= 0 ) | ^ | ( ) nntpgw.cc:2365:17: note: use '==' to turn this assignment into an equality comparison 2365 | if( notfound = matchgroup(Lfp,Group) <= 0 ) | ^ | == nntpgw.cc:2388:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2388 | if( notfound = nart < 0 ){ /* 8.10.4 */ | ~~~~~~~~~^~~~~~~~~~ nntpgw.cc:2388:16: note: place parentheses around the assignment to silence this warning 2388 | if( notfound = nart < 0 ){ /* 8.10.4 */ | ^ | ( ) nntpgw.cc:2388:16: note: use '==' to turn this assignment into an equality comparison 2388 | if( notfound = nart < 0 ){ /* 8.10.4 */ | ^ | == nntpgw.cc:2397:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2397 | if( notfound = Max <= 0 ) | ~~~~~~~~~^~~~~~~~~~ nntpgw.cc:2397:16: note: place parentheses around the assignment to silence this warning 2397 | if( notfound = Max <= 0 ) | ^ | ( ) nntpgw.cc:2397:16: note: use '==' to turn this assignment into an equality comparison 2397 | if( notfound = Max <= 0 ) | ^ | == nntpgw.cc:2403:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2403 | if( notfound = (Anum1<Min && Anum2<Min) || (Max<Anum1 && Max<Anum2) ) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntpgw.cc:2403:16: note: place parentheses around the assignment to silence this warning 2403 | if( notfound = (Anum1<Min && Anum2<Min) || (Max<Anum1 && Max<Anum2) ) | ^ | ( ) nntpgw.cc:2403:16: note: use '==' to turn this assignment into an equality comparison 2403 | if( notfound = (Anum1<Min && Anum2<Min) || (Max<Anum1 && Max<Anum2) ) | ^ | == nntpgw.cc:2473:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2473 | if( fa1 = getv(Fav,"JumpTo") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~ nntpgw.cc:2473:10: note: place parentheses around the assignment to silence this warning 2473 | if( fa1 = getv(Fav,"JumpTo") ){ | ^ | ( ) nntpgw.cc:2473:10: note: use '==' to turn this assignment into an equality comparison 2473 | if( fa1 = getv(Fav,"JumpTo") ){ | ^ | == nntpgw.cc:2476:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2476 | if( dp = strrchr(url,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~ nntpgw.cc:2476:10: note: place parentheses around the assignment to silence this warning 2476 | if( dp = strrchr(url,'/') ){ | ^ | ( ) nntpgw.cc:2476:10: note: use '==' to turn this assignment into an equality comparison 2476 | if( dp = strrchr(url,'/') ){ | ^ | == nntpgw.cc:2563:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2563 | if( dp = strrchr(Group,'/') ) | ~~~^~~~~~~~~~~~~~~~~~~~ nntpgw.cc:2563:12: note: place parentheses around the assignment to silence this warning 2563 | if( dp = strrchr(Group,'/') ) | ^ | ( ) nntpgw.cc:2563:12: note: use '==' to turn this assignment into an equality comparison 2563 | if( dp = strrchr(Group,'/') ) | ^ | == nntpgw.cc:2786:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2786 | if( ng = findFieldValue(head,"Newsgroups") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntpgw.cc:2786:9: note: place parentheses around the assignment to silence this warning 2786 | if( ng = findFieldValue(head,"Newsgroups") ){ | ^ | ( ) nntpgw.cc:2786:9: note: use '==' to turn this assignment into an equality comparison 2786 | if( ng = findFieldValue(head,"Newsgroups") ){ | ^ | == nntpgw.cc:2837:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2837 | if( afp = openArt1(Conn,env) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~ nntpgw.cc:2837:10: note: place parentheses around the assignment to silence this warning 2837 | if( afp = openArt1(Conn,env) ){ | ^ | ( ) nntpgw.cc:2837:10: note: use '==' to turn this assignment into an equality comparison 2837 | if( afp = openArt1(Conn,env) ){ | ^ | == nntpgw.cc:2969:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 2969 | static char *MC_GECOS = "_GECOS"; | ^ nntpgw.cc:2970:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 2970 | static char *MC_BODY = "_Body"; | ^ nntpgw.cc:2971:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 2971 | static char *MC_SIGNA = "_Signature"; | ^ nntpgw.cc:2972:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 2972 | static char *MC_POSTER= "_Poster"; | ^ nntpgw.cc:2973:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 2973 | static char *MC_MSGID = "_MessageID"; | ^ nntpgw.cc:2974:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 2974 | static char *MC_EMAIL = "_Email"; | ^ nntpgw.cc:2975:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 2975 | static char *MC_PHONE = "_Phone"; | ^ nntpgw.cc:2977:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 2977 | static char *MC_MGECOS = "maskFrom"; | ^ nntpgw.cc:2978:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 2978 | static char *MC_MBODY = "maskBody"; | ^ nntpgw.cc:2979:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 2979 | static char *MC_MSIGNA = "maskSign"; | ^ nntpgw.cc:2980:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 2980 | static char *MC_APOSTER = "anonFrom"; | ^ nntpgw.cc:2981:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 2981 | static char *MC_AMSGID = "anonMsgid"; | ^ nntpgw.cc:2982:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 2982 | static char *MC_AEMAIL = "anonEmail"; | ^ nntpgw.cc:2983:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 2983 | static char *MC_APHONE = "anonPhone"; | ^ nntpgw.cc:3135:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3135 | if( comment = getv(Fav,"comment") ){ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ nntpgw.cc:3135:15: note: place parentheses around the assignment to silence this warning 3135 | if( comment = getv(Fav,"comment") ){ | ^ | ( ) nntpgw.cc:3135:15: note: use '==' to turn this assignment into an equality comparison 3135 | if( comment = getv(Fav,"comment") ){ | ^ | == 56 warnings generated. ../mkcpp enews.c enews.cc -- mkcpp set time: 1791324538 -> 1138551289 enews.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c enews.cc enews.cc:54:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 54 | for( pp = gname; pc = *pp; pp++ ){ | ~~~^~~~~ enews.cc:54:22: note: place parentheses around the assignment to silence this warning 54 | for( pp = gname; pc = *pp; pp++ ){ | ^ | ( ) enews.cc:54:22: note: use '==' to turn this assignment into an equality comparison 54 | for( pp = gname; pc = *pp; pp++ ){ | ^ | == enews.cc:123:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 123 | if( hfp = dirfopen("ART-HISTORY",AVStr(path),"r+") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enews.cc:123:11: note: place parentheses around the assignment to silence this warning 123 | if( hfp = dirfopen("ART-HISTORY",AVStr(path),"r+") ) | ^ | ( ) enews.cc:123:11: note: use '==' to turn this assignment into an equality comparison 123 | if( hfp = dirfopen("ART-HISTORY",AVStr(path),"r+") ) | ^ | == enews.cc:143:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 143 | for( sp = group; sc = *sp; sp++ ){ | ~~~^~~~~ enews.cc:143:22: note: place parentheses around the assignment to silence this warning 143 | for( sp = group; sc = *sp; sp++ ){ | ^ | ( ) enews.cc:143:22: note: use '==' to turn this assignment into an equality comparison 143 | for( sp = group; sc = *sp; sp++ ){ | ^ | == enews.cc:151:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 151 | if( dp = strpbrk(line,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ enews.cc:151:10: note: place parentheses around the assignment to silence this warning 151 | if( dp = strpbrk(line,"\r\n") ) | ^ | ( ) enews.cc:151:10: note: use '==' to turn this assignment into an equality comparison 151 | if( dp = strpbrk(line,"\r\n") ) | ^ | == enews.cc:179:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 179 | for( sp = group; sc = *sp; sp++ ){ | ~~~^~~~~ enews.cc:179:22: note: place parentheses around the assignment to silence this warning 179 | for( sp = group; sc = *sp; sp++ ){ | ^ | ( ) enews.cc:179:22: note: use '==' to turn this assignment into an equality comparison 179 | for( sp = group; sc = *sp; sp++ ){ | ^ | == enews.cc:188:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 188 | if( dp = strpbrk(line,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ enews.cc:188:10: note: place parentheses around the assignment to silence this warning 188 | if( dp = strpbrk(line,"\r\n") ) | ^ | ( ) enews.cc:188:10: note: use '==' to turn this assignment into an equality comparison 188 | if( dp = strpbrk(line,"\r\n") ) | ^ | == enews.cc:192:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 192 | if( dp = strchr(line,' ') ) | ~~~^~~~~~~~~~~~~~~~~~ enews.cc:192:10: note: place parentheses around the assignment to silence this warning 192 | if( dp = strchr(line,' ') ) | ^ | ( ) enews.cc:192:10: note: use '==' to turn this assignment into an equality comparison 192 | if( dp = strchr(line,' ') ) | ^ | == enews.cc:226:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 226 | if( anum = anomidToGroup(msgid,AVStr(group)) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enews.cc:226:11: note: place parentheses around the assignment to silence this warning 226 | if( anum = anomidToGroup(msgid,AVStr(group)) ){ | ^ | ( ) enews.cc:226:11: note: use '==' to turn this assignment into an equality comparison 226 | if( anum = anomidToGroup(msgid,AVStr(group)) ){ | ^ | == enews.cc:245:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 245 | if( afp = open_anomid(msgid,"r") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ enews.cc:245:12: note: place parentheses around the assignment to silence this warning 245 | if( afp = open_anomid(msgid,"r") ){ | ^ | ( ) enews.cc:245:12: note: use '==' to turn this assignment into an equality comparison 245 | if( afp = open_anomid(msgid,"r") ){ | ^ | == enews.cc:262:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 262 | if( dp = strpbrk(line,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ enews.cc:262:10: note: place parentheses around the assignment to silence this warning 262 | if( dp = strpbrk(line,"\r\n") ) | ^ | ( ) enews.cc:262:10: note: use '==' to turn this assignment into an equality comparison 262 | if( dp = strpbrk(line,"\r\n") ) | ^ | == enews.cc:324:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 324 | if( artfp = open_anomid(msgid,"r") ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ enews.cc:324:13: note: place parentheses around the assignment to silence this warning 324 | if( artfp = open_anomid(msgid,"r") ) | ^ | ( ) enews.cc:324:13: note: use '==' to turn this assignment into an equality comparison 324 | if( artfp = open_anomid(msgid,"r") ) | ^ | == enews.cc:349:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 349 | if( artfmt = getartfmt(grppath,VStrNULL,VStrNULL) ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enews.cc:349:13: note: place parentheses around the assignment to silence this warning 349 | if( artfmt = getartfmt(grppath,VStrNULL,VStrNULL) ){ | ^ | ( ) enews.cc:349:13: note: use '==' to turn this assignment into an equality comparison 349 | if( artfmt = getartfmt(grppath,VStrNULL,VStrNULL) ){ | ^ | == enews.cc:383:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 383 | if( afp = fopen_article(msgid,group,anum,"r",AVStr(artpath)) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enews.cc:383:10: note: place parentheses around the assignment to silence this warning 383 | if( afp = fopen_article(msgid,group,anum,"r",AVStr(artpath)) ){ | ^ | ( ) enews.cc:383:10: note: use '==' to turn this assignment into an equality comparison 383 | if( afp = fopen_article(msgid,group,anum,"r",AVStr(artpath)) ){ | ^ | == enews.cc:475:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 475 | if( nfp = fopen(nartpath,"w") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~ enews.cc:475:12: note: place parentheses around the assignment to silence this warning 475 | if( nfp = fopen(nartpath,"w") ){ | ^ | ( ) enews.cc:475:12: note: use '==' to turn this assignment into an equality comparison 475 | if( nfp = fopen(nartpath,"w") ){ | ^ | == enews.cc:529:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 529 | if( rcode = controlMessage(AVStr(stat),afp) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enews.cc:529:13: note: place parentheses around the assignment to silence this warning 529 | if( rcode = controlMessage(AVStr(stat),afp) ) | ^ | ( ) enews.cc:529:13: note: use '==' to turn this assignment into an equality comparison 529 | if( rcode = controlMessage(AVStr(stat),afp) ) | ^ | == enews.cc:625:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 625 | if( artfp = fopen_article(NULL,group,anum,"r",AVStr(artpath)) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enews.cc:625:12: note: place parentheses around the assignment to silence this warning 625 | if( artfp = fopen_article(NULL,group,anum,"r",AVStr(artpath)) ){ | ^ | ( ) enews.cc:625:12: note: use '==' to turn this assignment into an equality comparison 625 | if( artfp = fopen_article(NULL,group,anum,"r",AVStr(artpath)) ){ | ^ | == enews.cc:733:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 733 | if( dp = strchr(dst,'>') ) | ~~~^~~~~~~~~~~~~~~~~ enews.cc:733:10: note: place parentheses around the assignment to silence this warning 733 | if( dp = strchr(dst,'>') ) | ^ | ( ) enews.cc:733:10: note: use '==' to turn this assignment into an equality comparison 733 | if( dp = strchr(dst,'>') ) | ^ | == enews.cc:817:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 817 | if( afp = fopen(actpath,"r") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~ enews.cc:817:10: note: place parentheses around the assignment to silence this warning 817 | if( afp = fopen(actpath,"r") ){ | ^ | ( ) enews.cc:817:10: note: use '==' to turn this assignment into an equality comparison 817 | if( afp = fopen(actpath,"r") ){ | ^ | == enews.cc:844:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 844 | if( ok = make_active(group,max,min,cdate,mdate,AVStr(dir)) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enews.cc:844:9: note: place parentheses around the assignment to silence this warning 844 | if( ok = make_active(group,max,min,cdate,mdate,AVStr(dir)) ) | ^ | ( ) enews.cc:844:9: note: use '==' to turn this assignment into an equality comparison 844 | if( ok = make_active(group,max,min,cdate,mdate,AVStr(dir)) ) | ^ | == enews.cc:845:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 845 | if( afp = dirfopen("ACTIVE-FILE1",AVStr(actpath),"w") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enews.cc:845:10: note: place parentheses around the assignment to silence this warning 845 | if( afp = dirfopen("ACTIVE-FILE1",AVStr(actpath),"w") ){ | ^ | ( ) enews.cc:845:10: note: use '==' to turn this assignment into an equality comparison 845 | if( afp = dirfopen("ACTIVE-FILE1",AVStr(actpath),"w") ){ | ^ | == enews.cc:930:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 930 | if( afp = fopen_active(group,"r",NULL) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enews.cc:930:10: note: place parentheses around the assignment to silence this warning 930 | if( afp = fopen_active(group,"r",NULL) ){ | ^ | ( ) enews.cc:930:10: note: use '==' to turn this assignment into an equality comparison 930 | if( afp = fopen_active(group,"r",NULL) ){ | ^ | == enews.cc:954:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 954 | if( afp = fopen_article(NULL,group,mean,"r",AVStr(apath)) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enews.cc:954:10: note: place parentheses around the assignment to silence this warning 954 | if( afp = fopen_article(NULL,group,mean,"r",AVStr(apath)) ){ | ^ | ( ) enews.cc:954:10: note: use '==' to turn this assignment into an equality comparison 954 | if( afp = fopen_article(NULL,group,mean,"r",AVStr(apath)) ){ | ^ | == enews.cc:975:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 975 | if( afp = ENEWS_article(NULL,group,mi) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enews.cc:975:11: note: place parentheses around the assignment to silence this warning 975 | if( afp = ENEWS_article(NULL,group,mi) ){ | ^ | ( ) enews.cc:975:11: note: use '==' to turn this assignment into an equality comparison 975 | if( afp = ENEWS_article(NULL,group,mi) ){ | ^ | == enews.cc:1044:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1044 | if( ap = strchr(apath,' ') ){ | ~~~^~~~~~~~~~~~~~~~~~~ enews.cc:1044:10: note: place parentheses around the assignment to silence this warning 1044 | if( ap = strchr(apath,' ') ){ | ^ | ( ) enews.cc:1044:10: note: use '==' to turn this assignment into an equality comparison 1044 | if( ap = strchr(apath,' ') ){ | ^ | == enews.cc:1047:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1047 | if( ap = strrchr(apath,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~~~ enews.cc:1047:10: note: place parentheses around the assignment to silence this warning 1047 | if( ap = strrchr(apath,'/') ){ | ^ | ( ) enews.cc:1047:10: note: use '==' to turn this assignment into an equality comparison 1047 | if( ap = strrchr(apath,'/') ){ | ^ | == enews.cc:1072:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1072 | if( ap = strchr(apath,':') ){ | ~~~^~~~~~~~~~~~~~~~~~~ enews.cc:1072:10: note: place parentheses around the assignment to silence this warning 1072 | if( ap = strchr(apath,':') ){ | ^ | ( ) enews.cc:1072:10: note: use '==' to turn this assignment into an equality comparison 1072 | if( ap = strchr(apath,':') ){ | ^ | == enews.cc:1080:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1080 | if( ap = strchr(apath,' ') ){ | ~~~^~~~~~~~~~~~~~~~~~~ enews.cc:1080:10: note: place parentheses around the assignment to silence this warning 1080 | if( ap = strchr(apath,' ') ){ | ^ | ( ) enews.cc:1080:10: note: use '==' to turn this assignment into an equality comparison 1080 | if( ap = strchr(apath,' ') ){ | ^ | == enews.cc:1083:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1083 | if( ap = strrchr(apath,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~~~ enews.cc:1083:10: note: place parentheses around the assignment to silence this warning 1083 | if( ap = strrchr(apath,'/') ){ | ^ | ( ) enews.cc:1083:10: note: use '==' to turn this assignment into an equality comparison 1083 | if( ap = strrchr(apath,'/') ){ | ^ | == enews.cc:1106:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1106 | if( dp = strstr(mid,"@-group.") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ enews.cc:1106:9: note: place parentheses around the assignment to silence this warning 1106 | if( dp = strstr(mid,"@-group.") ){ | ^ | ( ) enews.cc:1106:9: note: use '==' to turn this assignment into an equality comparison 1106 | if( dp = strstr(mid,"@-group.") ){ | ^ | == enews.cc:1115:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1115 | if( dp = strchr(mid,'@') ){ | ~~~^~~~~~~~~~~~~~~~~ enews.cc:1115:10: note: place parentheses around the assignment to silence this warning 1115 | if( dp = strchr(mid,'@') ){ | ^ | ( ) enews.cc:1115:10: note: use '==' to turn this assignment into an equality comparison 1115 | if( dp = strchr(mid,'@') ){ | ^ | == enews.cc:1118:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1118 | if( dp = strstr(rgroup,mmSg(0)) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ enews.cc:1118:12: note: place parentheses around the assignment to silence this warning 1118 | if( dp = strstr(rgroup,mmSg(0)) ) | ^ | ( ) enews.cc:1118:12: note: use '==' to turn this assignment into an equality comparison 1118 | if( dp = strstr(rgroup,mmSg(0)) ) | ^ | == 31 warnings generated. ../mkcpp pop.c pop.cc -- mkcpp set time: 1791324538 -> 1224311853 pop.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c pop.cc pop.cc:371:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 371 | if( pp = strstr(opts,"apop=") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ pop.cc:371:9: note: place parentheses around the assignment to silence this warning 371 | if( pp = strstr(opts,"apop=") ){ | ^ | ( ) pop.cc:371:9: note: use '==' to turn this assignment into an equality comparison 371 | if( pp = strstr(opts,"apop=") ){ | ^ | == pop.cc:388:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 388 | if( pp = strstr(opts,"pass=") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ pop.cc:388:9: note: place parentheses around the assignment to silence this warning 388 | if( pp = strstr(opts,"pass=") ){ | ^ | ( ) pop.cc:388:9: note: use '==' to turn this assignment into an equality comparison 388 | if( pp = strstr(opts,"pass=") ){ | ^ | == pop.cc:443:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 443 | if( dp = strrpbrk(userhost,POP_USERHOST_DELIMITER) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pop.cc:443:9: note: place parentheses around the assignment to silence this warning 443 | if( dp = strrpbrk(userhost,POP_USERHOST_DELIMITER) ) | ^ | ( ) pop.cc:443:9: note: use '==' to turn this assignment into an equality comparison 443 | if( dp = strrpbrk(userhost,POP_USERHOST_DELIMITER) ) | ^ | == pop.cc:446:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 446 | if( dp = strrchr(userhost,'@') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~ pop.cc:446:9: note: place parentheses around the assignment to silence this warning 446 | if( dp = strrchr(userhost,'@') ){ | ^ | ( ) pop.cc:446:9: note: use '==' to turn this assignment into an equality comparison 446 | if( dp = strrchr(userhost,'@') ){ | ^ | == pop.cc:456:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 456 | if( dp = strrpbrk(user,POP_USERHOST_ESCDELIM) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pop.cc:456:10: note: place parentheses around the assignment to silence this warning 456 | if( dp = strrpbrk(user,POP_USERHOST_ESCDELIM) ) | ^ | ( ) pop.cc:456:10: note: use '==' to turn this assignment into an equality comparison 456 | if( dp = strrpbrk(user,POP_USERHOST_ESCDELIM) ) | ^ | == pop.cc:634:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 634 | if( sp = strchr(banner,'<') ) | ~~~^~~~~~~~~~~~~~~~~~~~ pop.cc:634:9: note: place parentheses around the assignment to silence this warning 634 | if( sp = strchr(banner,'<') ) | ^ | ( ) pop.cc:634:9: note: use '==' to turn this assignment into an equality comparison 634 | if( sp = strchr(banner,'<') ) | ^ | == pop.cc:635:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 635 | for(; ch = *sp; sp++ ){ | ~~~^~~~~ pop.cc:635:11: note: place parentheses around the assignment to silence this warning 635 | for(; ch = *sp; sp++ ){ | ^ | ( ) pop.cc:635:11: note: use '==' to turn this assignment into an equality comparison 635 | for(; ch = *sp; sp++ ){ | ^ | == pop.cc:668:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 668 | if( dp = strpbrk(req,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~ pop.cc:668:10: note: place parentheses around the assignment to silence this warning 668 | if( dp = strpbrk(req,"\r\n") ) | ^ | ( ) pop.cc:668:10: note: use '==' to turn this assignment into an equality comparison 668 | if( dp = strpbrk(req,"\r\n") ) | ^ | == pop.cc:898:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 898 | for( sp++; ch = *sp; sp++ ){ | ~~~^~~~~ pop.cc:898:18: note: place parentheses around the assignment to silence this warning 898 | for( sp++; ch = *sp; sp++ ){ | ^ | ( ) pop.cc:898:18: note: use '==' to turn this assignment into an equality comparison 898 | for( sp++; ch = *sp; sp++ ){ | ^ | == pop.cc:972:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 972 | for( ri = 0; acom = pop_command[ri].name; ri++ ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ pop.cc:972:21: note: place parentheses around the assignment to silence this warning 972 | for( ri = 0; acom = pop_command[ri].name; ri++ ){ | ^ | ( ) pop.cc:972:21: note: use '==' to turn this assignment into an equality comparison 972 | for( ri = 0; acom = pop_command[ri].name; ri++ ){ | ^ | == pop.cc:1084:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1084 | if( dp = strpbrk(line,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ pop.cc:1084:9: note: place parentheses around the assignment to silence this warning 1084 | if( dp = strpbrk(line,"\r\n") ) | ^ | ( ) pop.cc:1084:9: note: use '==' to turn this assignment into an equality comparison 1084 | if( dp = strpbrk(line,"\r\n") ) | ^ | == 11 warnings generated. ../mkcpp smtp.c smtp.cc -- mkcpp set time: 1791324538 -> 1224603296 smtp.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c smtp.cc smtp.cc:343:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 343 | if( np = strstr(rbuf,"] ") ){ /* Timestamp */ | ~~~^~~~~~~~~~~~~~~~~~~ smtp.cc:343:10: note: place parentheses around the assignment to silence this warning 343 | if( np = strstr(rbuf,"] ") ){ /* Timestamp */ | ^ | ( ) smtp.cc:343:10: note: use '==' to turn this assignment into an equality comparison 343 | if( np = strstr(rbuf,"] ") ){ /* Timestamp */ | ^ | == smtp.cc:462:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 462 | if( dp = strrchr(tob,'%') ) | ~~~^~~~~~~~~~~~~~~~~~ smtp.cc:462:9: note: place parentheses around the assignment to silence this warning 462 | if( dp = strrchr(tob,'%') ) | ^ | ( ) smtp.cc:462:9: note: use '==' to turn this assignment into an equality comparison 462 | if( dp = strrchr(tob,'%') ) | ^ | == smtp.cc:463:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 463 | if( op = strchr(dp,'@') ){ | ~~~^~~~~~~~~~~~~~~~ smtp.cc:463:9: note: place parentheses around the assignment to silence this warning 463 | if( op = strchr(dp,'@') ){ | ^ | ( ) smtp.cc:463:9: note: use '==' to turn this assignment into an equality comparison 463 | if( op = strchr(dp,'@') ){ | ^ | == smtp.cc:539:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 539 | if( np = strchr(sp,'\n') ) | ~~~^~~~~~~~~~~~~~~~~ smtp.cc:539:10: note: place parentheses around the assignment to silence this warning 539 | if( np = strchr(sp,'\n') ) | ^ | ( ) smtp.cc:539:10: note: use '==' to turn this assignment into an equality comparison 539 | if( np = strchr(sp,'\n') ) | ^ | == smtp.cc:784:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 784 | if( ep = strpbrk(line,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ smtp.cc:784:11: note: place parentheses around the assignment to silence this warning 784 | if( ep = strpbrk(line,"\r\n") ) | ^ | ( ) smtp.cc:784:11: note: use '==' to turn this assignment into an equality comparison 784 | if( ep = strpbrk(line,"\r\n") ) | ^ | == smtp.cc:1193:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1193 | if( dp = strchr(msg,'\n') ) | ~~~^~~~~~~~~~~~~~~~~~ smtp.cc:1193:9: note: place parentheses around the assignment to silence this warning 1193 | if( dp = strchr(msg,'\n') ) | ^ | ( ) smtp.cc:1193:9: note: use '==' to turn this assignment into an equality comparison 1193 | if( dp = strchr(msg,'\n') ) | ^ | == smtp.cc:1263:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1263 | else | ^ smtp.cc:1471:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1471 | if( pp = strpbrk(bplain,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ smtp.cc:1471:10: note: place parentheses around the assignment to silence this warning 1471 | if( pp = strpbrk(bplain,"\r\n") ) | ^ | ( ) smtp.cc:1471:10: note: use '==' to turn this assignment into an equality comparison 1471 | if( pp = strpbrk(bplain,"\r\n") ) | ^ | == smtp.cc:2134:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2134 | if( withMX = hostIsResolvable(mx) ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ smtp.cc:2134:14: note: place parentheses around the assignment to silence this warning 2134 | if( withMX = hostIsResolvable(mx) ){ | ^ | ( ) smtp.cc:2134:14: note: use '==' to turn this assignment into an equality comparison 2134 | if( withMX = hostIsResolvable(mx) ){ | ^ | == 9 warnings generated. ../mkcpp telnet.c telnet.cc -- mkcpp set time: 1791324539 -> 1791324442 telnet.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c telnet.cc telnet.cc:347:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 347 | if( doga = ClientsDO[O_SUPAHEAD] ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ telnet.cc:347:11: note: place parentheses around the assignment to silence this warning 347 | if( doga = ClientsDO[O_SUPAHEAD] ) | ^ | ( ) telnet.cc:347:11: note: use '==' to turn this assignment into an equality comparison 347 | if( doga = ClientsDO[O_SUPAHEAD] ) | ^ | == telnet.cc:357:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 357 | if( doecho = ClientsDO[O_ECHO] ) | ~~~~~~~^~~~~~~~~~~~~~~~~~~ telnet.cc:357:13: note: place parentheses around the assignment to silence this warning 357 | if( doecho = ClientsDO[O_ECHO] ) | ^ | ( ) telnet.cc:357:13: note: use '==' to turn this assignment into an equality comparison 357 | if( doecho = ClientsDO[O_ECHO] ) | ^ | == telnet.cc:533:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 533 | if( mn = code(ch) ){ | ~~~^~~~~~~~~~ telnet.cc:533:12: note: place parentheses around the assignment to silence this warning 533 | if( mn = code(ch) ){ | ^ | ( ) telnet.cc:533:12: note: use '==' to turn this assignment into an equality comparison 533 | if( mn = code(ch) ){ | ^ | == telnet.cc:844:10: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] 844 | addIbuf(IAC); addIbuf(com); addIbuf(what); | ~~~~~~~~^~~~ telnet.cc:139:13: note: expanded from macro 'IAC' 139 | #define IAC 255 | ^~~ telnet.cc:838:43: note: expanded from macro 'addIbuf' 838 | #define addIbuf(v) setVStrElemInc(ibuf,ii,v) | ~~~~~~~~~~~~~~~~~~~~~~~^~ ../include/ystring.h:147:63: note: expanded from macro 'setVStrElemInc' 147 | #define setVStrElemInc(p,x,v) (rangeOK(p,x))?(((char*)p)[x++]=v):XsetVStrEnd(AVStr(p),x) | ~^ telnet.cc:920:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 920 | if( co = ClientsWill[op] ){ | ~~~^~~~~~~~~~~~~~~~~ telnet.cc:920:9: note: place parentheses around the assignment to silence this warning 920 | if( co = ClientsWill[op] ){ | ^ | ( ) telnet.cc:920:9: note: use '==' to turn this assignment into an equality comparison 920 | if( co = ClientsWill[op] ){ | ^ | == telnet.cc:1147:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1147 | { register int ppid,cpid; | ^~~~~~~~ telnet.cc:1147:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1147 | { register int ppid,cpid; | ^~~~~~~~ telnet.cc:1249:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1249 | { register int ppid,cpid; | ^~~~~~~~ telnet.cc:1249:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1249 | { register int ppid,cpid; | ^~~~~~~~ telnet.cc:1342:10: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] 1342 | addIbuf(IAC); addIbuf(WILL); addIbuf(opt); | ~~~~~~~~^~~~ telnet.cc:139:13: note: expanded from macro 'IAC' 139 | #define IAC 255 | ^~~ telnet.cc:838:43: note: expanded from macro 'addIbuf' 838 | #define addIbuf(v) setVStrElemInc(ibuf,ii,v) | ~~~~~~~~~~~~~~~~~~~~~~~^~ ../include/ystring.h:147:63: note: expanded from macro 'setVStrElemInc' 147 | #define setVStrElemInc(p,x,v) (rangeOK(p,x))?(((char*)p)[x++]=v):XsetVStrEnd(AVStr(p),x) | ~^ telnet.cc:1342:24: warning: implicit conversion from 'int' to 'char' changes value from 251 to -5 [-Wconstant-conversion] 1342 | addIbuf(IAC); addIbuf(WILL); addIbuf(opt); | ~~~~~~~~^~~~~ telnet.cc:135:14: note: expanded from macro 'WILL' 135 | #define WILL 251 | ^~~ telnet.cc:838:43: note: expanded from macro 'addIbuf' 838 | #define addIbuf(v) setVStrElemInc(ibuf,ii,v) | ~~~~~~~~~~~~~~~~~~~~~~~^~ ../include/ystring.h:147:63: note: expanded from macro 'setVStrElemInc' 147 | #define setVStrElemInc(p,x,v) (rangeOK(p,x))?(((char*)p)[x++]=v):XsetVStrEnd(AVStr(p),x) | ~^ telnet.cc:1343:10: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] 1343 | addIbuf(IAC); addIbuf(SB); addIbuf(opt); | ~~~~~~~~^~~~ telnet.cc:139:13: note: expanded from macro 'IAC' 139 | #define IAC 255 | ^~~ telnet.cc:838:43: note: expanded from macro 'addIbuf' 838 | #define addIbuf(v) setVStrElemInc(ibuf,ii,v) | ~~~~~~~~~~~~~~~~~~~~~~~^~ ../include/ystring.h:147:63: note: expanded from macro 'setVStrElemInc' 147 | #define setVStrElemInc(p,x,v) (rangeOK(p,x))?(((char*)p)[x++]=v):XsetVStrEnd(AVStr(p),x) | ~^ telnet.cc:1343:24: warning: implicit conversion from 'int' to 'char' changes value from 250 to -6 [-Wconstant-conversion] 1343 | addIbuf(IAC); addIbuf(SB); addIbuf(opt); | ~~~~~~~~^~~ telnet.cc:134:12: note: expanded from macro 'SB' 134 | #define SB 250 | ^~~ telnet.cc:838:43: note: expanded from macro 'addIbuf' 838 | #define addIbuf(v) setVStrElemInc(ibuf,ii,v) | ~~~~~~~~~~~~~~~~~~~~~~~^~ ../include/ystring.h:147:63: note: expanded from macro 'setVStrElemInc' 147 | #define setVStrElemInc(p,x,v) (rangeOK(p,x))?(((char*)p)[x++]=v):XsetVStrEnd(AVStr(p),x) | ~^ telnet.cc:1347:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1347 | for( ij = 0; ch = "DISPLAY"[ij]; ij++ ){ | ~~~^~~~~~~~~~~~~~~ telnet.cc:1347:19: note: place parentheses around the assignment to silence this warning 1347 | for( ij = 0; ch = "DISPLAY"[ij]; ij++ ){ | ^ | ( ) telnet.cc:1347:19: note: use '==' to turn this assignment into an equality comparison 1347 | for( ij = 0; ch = "DISPLAY"[ij]; ij++ ){ | ^ | == telnet.cc:1352:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1352 | for( ij = 0; ch = display[ij]; ij++ ){ | ~~~^~~~~~~~~~~~~ telnet.cc:1352:18: note: place parentheses around the assignment to silence this warning 1352 | for( ij = 0; ch = display[ij]; ij++ ){ | ^ | ( ) telnet.cc:1352:18: note: use '==' to turn this assignment into an equality comparison 1352 | for( ij = 0; ch = display[ij]; ij++ ){ | ^ | == telnet.cc:1357:10: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] 1357 | addIbuf(IAC); addIbuf(SE); | ~~~~~~~~^~~~ telnet.cc:139:13: note: expanded from macro 'IAC' 139 | #define IAC 255 | ^~~ telnet.cc:838:43: note: expanded from macro 'addIbuf' 838 | #define addIbuf(v) setVStrElemInc(ibuf,ii,v) | ~~~~~~~~~~~~~~~~~~~~~~~^~ ../include/ystring.h:147:63: note: expanded from macro 'setVStrElemInc' 147 | #define setVStrElemInc(p,x,v) (rangeOK(p,x))?(((char*)p)[x++]=v):XsetVStrEnd(AVStr(p),x) | ~^ telnet.cc:1357:24: warning: implicit conversion from 'int' to 'char' changes value from 240 to -16 [-Wconstant-conversion] 1357 | addIbuf(IAC); addIbuf(SE); | ~~~~~~~~^~~ telnet.cc:129:12: note: expanded from macro 'SE' 129 | #define SE 240 | ^~~ telnet.cc:838:43: note: expanded from macro 'addIbuf' 838 | #define addIbuf(v) setVStrElemInc(ibuf,ii,v) | ~~~~~~~~~~~~~~~~~~~~~~~^~ ../include/ystring.h:147:63: note: expanded from macro 'setVStrElemInc' 147 | #define setVStrElemInc(p,x,v) (rangeOK(p,x))?(((char*)p)[x++]=v):XsetVStrEnd(AVStr(p),x) | ~^ telnet.cc:1391:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1391 | if( dp = strchr(Xproxy,':') ){ | ~~~^~~~~~~~~~~~~~~~~~~~ telnet.cc:1391:11: note: place parentheses around the assignment to silence this warning 1391 | if( dp = strchr(Xproxy,':') ){ | ^ | ( ) telnet.cc:1391:11: note: use '==' to turn this assignment into an equality comparison 1391 | if( dp = strchr(Xproxy,':') ){ | ^ | == telnet.cc:1448:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1448 | if( mount_opts = CTX_mount_url_to(Conn,NULL,"GET",AVStr(comline)) ){ | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ telnet.cc:1448:18: note: place parentheses around the assignment to silence this warning 1448 | if( mount_opts = CTX_mount_url_to(Conn,NULL,"GET",AVStr(comline)) ){ | ^ | ( ) telnet.cc:1448:18: note: use '==' to turn this assignment into an equality comparison 1448 | if( mount_opts = CTX_mount_url_to(Conn,NULL,"GET",AVStr(comline)) ){ | ^ | == telnet.cc:1452:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1452 | if( dp = strchr(comline,':') ) | ~~~^~~~~~~~~~~~~~~~~~~~~ telnet.cc:1452:12: note: place parentheses around the assignment to silence this warning 1452 | if( dp = strchr(comline,':') ) | ^ | ( ) telnet.cc:1452:12: note: use '==' to turn this assignment into an equality comparison 1452 | if( dp = strchr(comline,':') ) | ^ | == telnet.cc:1565:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1565 | if( iuser = getClientHostPortUser(Conn,AVStr(clnt),NULL) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ telnet.cc:1565:13: note: place parentheses around the assignment to silence this warning 1565 | if( iuser = getClientHostPortUser(Conn,AVStr(clnt),NULL) ) | ^ | ( ) telnet.cc:1565:13: note: use '==' to turn this assignment into an equality comparison 1565 | if( iuser = getClientHostPortUser(Conn,AVStr(clnt),NULL) ) | ^ | == telnet.cc:1716:10: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] 1716 | addIbuf(IAC); addIbuf(WONT); addIbuf(O_ECHO); | ~~~~~~~~^~~~ telnet.cc:139:13: note: expanded from macro 'IAC' 139 | #define IAC 255 | ^~~ telnet.cc:838:43: note: expanded from macro 'addIbuf' 838 | #define addIbuf(v) setVStrElemInc(ibuf,ii,v) | ~~~~~~~~~~~~~~~~~~~~~~~^~ ../include/ystring.h:147:63: note: expanded from macro 'setVStrElemInc' 147 | #define setVStrElemInc(p,x,v) (rangeOK(p,x))?(((char*)p)[x++]=v):XsetVStrEnd(AVStr(p),x) | ~^ telnet.cc:1716:24: warning: implicit conversion from 'int' to 'char' changes value from 252 to -4 [-Wconstant-conversion] 1716 | addIbuf(IAC); addIbuf(WONT); addIbuf(O_ECHO); | ~~~~~~~~^~~~~ telnet.cc:136:14: note: expanded from macro 'WONT' 136 | #define WONT 252 | ^~~ telnet.cc:838:43: note: expanded from macro 'addIbuf' 838 | #define addIbuf(v) setVStrElemInc(ibuf,ii,v) | ~~~~~~~~~~~~~~~~~~~~~~~^~ ../include/ystring.h:147:63: note: expanded from macro 'setVStrElemInc' 147 | #define setVStrElemInc(p,x,v) (rangeOK(p,x))?(((char*)p)[x++]=v):XsetVStrEnd(AVStr(p),x) | ~^ telnet.cc:1717:10: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] 1717 | addIbuf(IAC); addIbuf(DO); addIbuf(O_ECHO); | ~~~~~~~~^~~~ telnet.cc:139:13: note: expanded from macro 'IAC' 139 | #define IAC 255 | ^~~ telnet.cc:838:43: note: expanded from macro 'addIbuf' 838 | #define addIbuf(v) setVStrElemInc(ibuf,ii,v) | ~~~~~~~~~~~~~~~~~~~~~~~^~ ../include/ystring.h:147:63: note: expanded from macro 'setVStrElemInc' 147 | #define setVStrElemInc(p,x,v) (rangeOK(p,x))?(((char*)p)[x++]=v):XsetVStrEnd(AVStr(p),x) | ~^ telnet.cc:1717:24: warning: implicit conversion from 'int' to 'char' changes value from 253 to -3 [-Wconstant-conversion] 1717 | addIbuf(IAC); addIbuf(DO); addIbuf(O_ECHO); | ~~~~~~~~^~~ telnet.cc:137:12: note: expanded from macro 'DO' 137 | #define DO 253 | ^~~ telnet.cc:838:43: note: expanded from macro 'addIbuf' 838 | #define addIbuf(v) setVStrElemInc(ibuf,ii,v) | ~~~~~~~~~~~~~~~~~~~~~~~^~ ../include/ystring.h:147:63: note: expanded from macro 'setVStrElemInc' 147 | #define setVStrElemInc(p,x,v) (rangeOK(p,x))?(((char*)p)[x++]=v):XsetVStrEnd(AVStr(p),x) | ~^ telnet.cc:1732:10: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] 1732 | addIbuf(IAC); addIbuf(WILL); addIbuf(O_ECHO); | ~~~~~~~~^~~~ telnet.cc:139:13: note: expanded from macro 'IAC' 139 | #define IAC 255 | ^~~ telnet.cc:838:43: note: expanded from macro 'addIbuf' 838 | #define addIbuf(v) setVStrElemInc(ibuf,ii,v) | ~~~~~~~~~~~~~~~~~~~~~~~^~ ../include/ystring.h:147:63: note: expanded from macro 'setVStrElemInc' 147 | #define setVStrElemInc(p,x,v) (rangeOK(p,x))?(((char*)p)[x++]=v):XsetVStrEnd(AVStr(p),x) | ~^ telnet.cc:1732:24: warning: implicit conversion from 'int' to 'char' changes value from 251 to -5 [-Wconstant-conversion] 1732 | addIbuf(IAC); addIbuf(WILL); addIbuf(O_ECHO); | ~~~~~~~~^~~~~ telnet.cc:135:14: note: expanded from macro 'WILL' 135 | #define WILL 251 | ^~~ telnet.cc:838:43: note: expanded from macro 'addIbuf' 838 | #define addIbuf(v) setVStrElemInc(ibuf,ii,v) | ~~~~~~~~~~~~~~~~~~~~~~~^~ ../include/ystring.h:147:63: note: expanded from macro 'setVStrElemInc' 147 | #define setVStrElemInc(p,x,v) (rangeOK(p,x))?(((char*)p)[x++]=v):XsetVStrEnd(AVStr(p),x) | ~^ telnet.cc:1733:10: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] 1733 | addIbuf(IAC); addIbuf(DONT); addIbuf(O_ECHO); | ~~~~~~~~^~~~ telnet.cc:139:13: note: expanded from macro 'IAC' 139 | #define IAC 255 | ^~~ telnet.cc:838:43: note: expanded from macro 'addIbuf' 838 | #define addIbuf(v) setVStrElemInc(ibuf,ii,v) | ~~~~~~~~~~~~~~~~~~~~~~~^~ ../include/ystring.h:147:63: note: expanded from macro 'setVStrElemInc' 147 | #define setVStrElemInc(p,x,v) (rangeOK(p,x))?(((char*)p)[x++]=v):XsetVStrEnd(AVStr(p),x) | ~^ telnet.cc:1733:24: warning: implicit conversion from 'int' to 'char' changes value from 254 to -2 [-Wconstant-conversion] 1733 | addIbuf(IAC); addIbuf(DONT); addIbuf(O_ECHO); | ~~~~~~~~^~~~~ telnet.cc:138:14: note: expanded from macro 'DONT' 138 | #define DONT 254 | ^~~ telnet.cc:838:43: note: expanded from macro 'addIbuf' 838 | #define addIbuf(v) setVStrElemInc(ibuf,ii,v) | ~~~~~~~~~~~~~~~~~~~~~~~^~ ../include/ystring.h:147:63: note: expanded from macro 'setVStrElemInc' 147 | #define setVStrElemInc(p,x,v) (rangeOK(p,x))?(((char*)p)[x++]=v):XsetVStrEnd(AVStr(p),x) | ~^ telnet.cc:1750:10: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] 1750 | addIbuf(IAC); addIbuf(WONT); addIbuf(O_ECHO); | ~~~~~~~~^~~~ telnet.cc:139:13: note: expanded from macro 'IAC' 139 | #define IAC 255 | ^~~ telnet.cc:838:43: note: expanded from macro 'addIbuf' 838 | #define addIbuf(v) setVStrElemInc(ibuf,ii,v) | ~~~~~~~~~~~~~~~~~~~~~~~^~ ../include/ystring.h:147:63: note: expanded from macro 'setVStrElemInc' 147 | #define setVStrElemInc(p,x,v) (rangeOK(p,x))?(((char*)p)[x++]=v):XsetVStrEnd(AVStr(p),x) | ~^ telnet.cc:1750:24: warning: implicit conversion from 'int' to 'char' changes value from 252 to -4 [-Wconstant-conversion] 1750 | addIbuf(IAC); addIbuf(WONT); addIbuf(O_ECHO); | ~~~~~~~~^~~~~ telnet.cc:136:14: note: expanded from macro 'WONT' 136 | #define WONT 252 | ^~~ telnet.cc:838:43: note: expanded from macro 'addIbuf' 838 | #define addIbuf(v) setVStrElemInc(ibuf,ii,v) | ~~~~~~~~~~~~~~~~~~~~~~~^~ ../include/ystring.h:147:63: note: expanded from macro 'setVStrElemInc' 147 | #define setVStrElemInc(p,x,v) (rangeOK(p,x))?(((char*)p)[x++]=v):XsetVStrEnd(AVStr(p),x) | ~^ telnet.cc:1751:10: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] 1751 | addIbuf(IAC); addIbuf(DO); addIbuf(O_ECHO); | ~~~~~~~~^~~~ telnet.cc:139:13: note: expanded from macro 'IAC' 139 | #define IAC 255 | ^~~ telnet.cc:838:43: note: expanded from macro 'addIbuf' 838 | #define addIbuf(v) setVStrElemInc(ibuf,ii,v) | ~~~~~~~~~~~~~~~~~~~~~~~^~ ../include/ystring.h:147:63: note: expanded from macro 'setVStrElemInc' 147 | #define setVStrElemInc(p,x,v) (rangeOK(p,x))?(((char*)p)[x++]=v):XsetVStrEnd(AVStr(p),x) | ~^ telnet.cc:1751:24: warning: implicit conversion from 'int' to 'char' changes value from 253 to -3 [-Wconstant-conversion] 1751 | addIbuf(IAC); addIbuf(DO); addIbuf(O_ECHO); | ~~~~~~~~^~~ telnet.cc:137:12: note: expanded from macro 'DO' 137 | #define DO 253 | ^~~ telnet.cc:838:43: note: expanded from macro 'addIbuf' 838 | #define addIbuf(v) setVStrElemInc(ibuf,ii,v) | ~~~~~~~~~~~~~~~~~~~~~~~^~ ../include/ystring.h:147:63: note: expanded from macro 'setVStrElemInc' 147 | #define setVStrElemInc(p,x,v) (rangeOK(p,x))?(((char*)p)[x++]=v):XsetVStrEnd(AVStr(p),x) | ~^ telnet.cc:1766:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1766 | if( dp = strpbrk(line,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ telnet.cc:1766:10: note: place parentheses around the assignment to silence this warning 1766 | if( dp = strpbrk(line,"\r\n") ) | ^ | ( ) telnet.cc:1766:10: note: use '==' to turn this assignment into an equality comparison 1766 | if( dp = strpbrk(line,"\r\n") ) | ^ | == telnet.cc:1780:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1780 | if( dp = strpbrk(line,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ telnet.cc:1780:11: note: place parentheses around the assignment to silence this warning 1780 | if( dp = strpbrk(line,"\r\n") ) | ^ | ( ) telnet.cc:1780:11: note: use '==' to turn this assignment into an equality comparison 1780 | if( dp = strpbrk(line,"\r\n") ) | ^ | == telnet.cc:2193:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 2193 | static char *ssh_com = "ssh -p %d %s@%s"; | ^ telnet.cc:2226:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2226 | if( dp = strpbrk(res,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~ telnet.cc:2226:10: note: place parentheses around the assignment to silence this warning 2226 | if( dp = strpbrk(res,"\r\n") ) | ^ | ( ) telnet.cc:2226:10: note: use '==' to turn this assignment into an equality comparison 2226 | if( dp = strpbrk(res,"\r\n") ) | ^ | == 37 warnings generated. ../mkcpp ftp.c ftp.cc -- mkcpp set time: 1791324539 -> 1231457904 ftp.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c ftp.cc ftp.cc:153:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 153 | "Type=%xY;Size=%S;Modify=%xTD;Perm=%xP;Unique=%xU; %N"; | ^ ftp.cc:155:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 155 | "Type*;Size*;Modify*;Perm*;Unique*;"; | ^ ftp.cc:509:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 509 | if( confv = parameq(conf,P_FTPCONF) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ftp.cc:509:14: note: place parentheses around the assignment to silence this warning 509 | if( confv = parameq(conf,P_FTPCONF) ){ | ^ | ( ) ftp.cc:509:14: note: use '==' to turn this assignment into an equality comparison 509 | if( confv = parameq(conf,P_FTPCONF) ){ | ^ | == ftp.cc:713:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 713 | if( xp = strrpbrk(arg,FCF.fc_usdelim) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftp.cc:713:9: note: place parentheses around the assignment to silence this warning 713 | if( xp = strrpbrk(arg,FCF.fc_usdelim) ){ | ^ | ( ) ftp.cc:713:9: note: use '==' to turn this assignment into an equality comparison 713 | if( xp = strrpbrk(arg,FCF.fc_usdelim) ){ | ^ | == ftp.cc:723:13: warning: '/*' within block comment [-Wcomment] 723 | * MOUNT="/* ftp://server/*" | ^ ftp.cc:723:28: warning: '/*' within block comment [-Wcomment] 723 | * MOUNT="/* ftp://server/*" | ^ ftp.cc:847:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 847 | if( dp = strchr(serv,'/') ) | ~~~^~~~~~~~~~~~~~~~~~ ftp.cc:847:9: note: place parentheses around the assignment to silence this warning 847 | if( dp = strchr(serv,'/') ) | ^ | ( ) ftp.cc:847:9: note: use '==' to turn this assignment into an equality comparison 847 | if( dp = strchr(serv,'/') ) | ^ | == ftp.cc:849:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 849 | if( dp = strchr(server,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~~~ ftp.cc:849:9: note: place parentheses around the assignment to silence this warning 849 | if( dp = strchr(server,'/') ){ | ^ | ( ) ftp.cc:849:9: note: use '==' to turn this assignment into an equality comparison 849 | if( dp = strchr(server,'/') ){ | ^ | == ftp.cc:859:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 859 | if( xp = strrchr(serv,':') ){ | ~~~^~~~~~~~~~~~~~~~~~~ ftp.cc:859:9: note: place parentheses around the assignment to silence this warning 859 | if( xp = strrchr(serv,':') ){ | ^ | ( ) ftp.cc:859:9: note: use '==' to turn this assignment into an equality comparison 859 | if( xp = strrchr(serv,':') ){ | ^ | == ftp.cc:958:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 958 | for( np = sp; ch = *np; np++ ){ | ~~~^~~~~ ftp.cc:958:20: note: place parentheses around the assignment to silence this warning 958 | for( np = sp; ch = *np; np++ ){ | ^ | ( ) ftp.cc:958:20: note: use '==' to turn this assignment into an equality comparison 958 | for( np = sp; ch = *np; np++ ){ | ^ | == ftp.cc:991:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 991 | if( np = strchr(sp,'\n') ) | ~~~^~~~~~~~~~~~~~~~~ ftp.cc:991:10: note: place parentheses around the assignment to silence this warning 991 | if( np = strchr(sp,'\n') ) | ^ | ( ) ftp.cc:991:10: note: use '==' to turn this assignment into an equality comparison 991 | if( np = strchr(sp,'\n') ) | ^ | == ftp.cc:1015:32: warning: '/*' within block comment [-Wcomment] 1015 | * in case such as MOUNT="/xxx/* /*" with CWD="/" | ^ ftp.cc:1015:35: warning: '/*' within block comment [-Wcomment] 1015 | * in case such as MOUNT="/xxx/* /*" with CWD="/" | ^ ftp.cc:1072:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1072 | if( tp = strrchr(npath,'/') ) | ~~~^~~~~~~~~~~~~~~~~~~~ ftp.cc:1072:9: note: place parentheses around the assignment to silence this warning 1072 | if( tp = strrchr(npath,'/') ) | ^ | ( ) ftp.cc:1072:9: note: use '==' to turn this assignment into an equality comparison 1072 | if( tp = strrchr(npath,'/') ) | ^ | == ftp.cc:1104:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1104 | if( opts = CTX_mount_url_to(FS->fs_Conn,NULL,method,AVStr(vurl)) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftp.cc:1104:12: note: place parentheses around the assignment to silence this warning 1104 | if( opts = CTX_mount_url_to(FS->fs_Conn,NULL,method,AVStr(vurl)) ){ | ^ | ( ) ftp.cc:1104:12: note: use '==' to turn this assignment into an equality comparison 1104 | if( opts = CTX_mount_url_to(FS->fs_Conn,NULL,method,AVStr(vurl)) ){ | ^ | == ftp.cc:1136:20: warning: '/*' within block comment [-Wcomment] 1136 | * by MOUNT="/X/* /dir/*" | ^ ftp.cc:1136:27: warning: '/*' within block comment [-Wcomment] 1136 | * by MOUNT="/X/* /dir/*" | ^ ftp.cc:1173:17: warning: '/*' within block comment [-Wcomment] 1173 | * MOUNT="/d1/* ..." (1) | ^ ftp.cc:1174:20: warning: '/*' within block comment [-Wcomment] 1174 | * MOUNT="/d1/d2/* ..." (2) | ^ ftp.cc:1182:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1182 | if( opts = CTX_mount_url_to(FS->fs_Conn,NULL,"GET",AVStr(vurl)) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftp.cc:1182:11: note: place parentheses around the assignment to silence this warning 1182 | if( opts = CTX_mount_url_to(FS->fs_Conn,NULL,"GET",AVStr(vurl)) ){ | ^ | ( ) ftp.cc:1182:11: note: use '==' to turn this assignment into an equality comparison 1182 | if( opts = CTX_mount_url_to(FS->fs_Conn,NULL,"GET",AVStr(vurl)) ){ | ^ | == ftp.cc:1193:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1193 | if( opts = CTX_mount_url_to(FS->fs_Conn,NULL,"GET",AVStr(vurl)) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftp.cc:1193:11: note: place parentheses around the assignment to silence this warning 1193 | if( opts = CTX_mount_url_to(FS->fs_Conn,NULL,"GET",AVStr(vurl)) ){ | ^ | ( ) ftp.cc:1193:11: note: use '==' to turn this assignment into an equality comparison 1193 | if( opts = CTX_mount_url_to(FS->fs_Conn,NULL,"GET",AVStr(vurl)) ){ | ^ | == ftp.cc:1438:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1438 | if( opt = CTX_mount_url_to(FS->fs_Conn,NULL,"PUT",AVStr(path)) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftp.cc:1438:10: note: place parentheses around the assignment to silence this warning 1438 | if( opt = CTX_mount_url_to(FS->fs_Conn,NULL,"PUT",AVStr(path)) ){ | ^ | ( ) ftp.cc:1438:10: note: use '==' to turn this assignment into an equality comparison 1438 | if( opt = CTX_mount_url_to(FS->fs_Conn,NULL,"PUT",AVStr(path)) ){ | ^ | == ftp.cc:1511:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1511 | if( vopt = strchr(xfopt,'v') ){ /* -v for test */ | ~~~~~^~~~~~~~~~~~~~~~~~~ ftp.cc:1511:12: note: place parentheses around the assignment to silence this warning 1511 | if( vopt = strchr(xfopt,'v') ){ /* -v for test */ | ^ | ( ) ftp.cc:1511:12: note: use '==' to turn this assignment into an equality comparison 1511 | if( vopt = strchr(xfopt,'v') ){ /* -v for test */ | ^ | == ftp.cc:1557:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1557 | for( sp = str; sc = *sp; sp++ ){ | ~~~^~~~~ ftp.cc:1557:20: note: place parentheses around the assignment to silence this warning 1557 | for( sp = str; sc = *sp; sp++ ){ | ^ | ( ) ftp.cc:1557:20: note: use '==' to turn this assignment into an equality comparison 1557 | for( sp = str; sc = *sp; sp++ ){ | ^ | == ftp.cc:1627:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1627 | if( fp = URLget(url,0,NULL) ) | ~~~^~~~~~~~~~~~~~~~~~~~ ftp.cc:1627:10: note: place parentheses around the assignment to silence this warning 1627 | if( fp = URLget(url,0,NULL) ) | ^ | ( ) ftp.cc:1627:10: note: use '==' to turn this assignment into an equality comparison 1627 | if( fp = URLget(url,0,NULL) ) | ^ | == ftp.cc:1745:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1745 | if( opt = isGateway(FS,0,vpath,AVStr(path),AVStr(scheme),AVStr(lphost),&lpport,AVStr(lpq),AVStr(fname)) ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftp.cc:1745:10: note: place parentheses around the assignment to silence this warning 1745 | if( opt = isGateway(FS,0,vpath,AVStr(path),AVStr(scheme),AVStr(lphost),&lpport,AVStr(lpq),AVStr(fname)) ) | ^ | ( ) ftp.cc:1745:10: note: use '==' to turn this assignment into an equality comparison 1745 | if( opt = isGateway(FS,0,vpath,AVStr(path),AVStr(scheme),AVStr(lphost),&lpport,AVStr(lpq),AVStr(fname)) ) | ^ | == ftp.cc:1782:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1782 | if( opts = isGateway(FS,0,vpath,AVStr(path),AVStr(scheme),AVStr(lphost),&lpport,AVStr(lpq),AVStr(fname)) ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftp.cc:1782:11: note: place parentheses around the assignment to silence this warning 1782 | if( opts = isGateway(FS,0,vpath,AVStr(path),AVStr(scheme),AVStr(lphost),&lpport,AVStr(lpq),AVStr(fname)) ) | ^ | ( ) ftp.cc:1782:11: note: use '==' to turn this assignment into an equality comparison 1782 | if( opts = isGateway(FS,0,vpath,AVStr(path),AVStr(scheme),AVStr(lphost),&lpport,AVStr(lpq),AVStr(fname)) ) | ^ | == ftp.cc:1994:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1994 | if( lp = strrchr(line,';') ) | ~~~^~~~~~~~~~~~~~~~~~~ ftp.cc:1994:9: note: place parentheses around the assignment to silence this warning 1994 | if( lp = strrchr(line,';') ) | ^ | ( ) ftp.cc:1994:9: note: use '==' to turn this assignment into an equality comparison 1994 | if( lp = strrchr(line,';') ) | ^ | == ftp.cc:2010:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2010 | if( rp = wordscanY(rp,AVStr(line),sizeof(line),"^\n") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftp.cc:2010:10: note: place parentheses around the assignment to silence this warning 2010 | if( rp = wordscanY(rp,AVStr(line),sizeof(line),"^\n") ){ | ^ | ( ) ftp.cc:2010:10: note: use '==' to turn this assignment into an equality comparison 2010 | if( rp = wordscanY(rp,AVStr(line),sizeof(line),"^\n") ){ | ^ | == ftp.cc:2243:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2243 | if( fp = localLIST(FS,tc,com,arg,AVStr(path)) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftp.cc:2243:10: note: place parentheses around the assignment to silence this warning 2243 | if( fp = localLIST(FS,tc,com,arg,AVStr(path)) ){ | ^ | ( ) ftp.cc:2243:10: note: use '==' to turn this assignment into an equality comparison 2243 | if( fp = localLIST(FS,tc,com,arg,AVStr(path)) ){ | ^ | == ftp.cc:2257:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2257 | if( fp = localRETR(FS,tc,com,arg,AVStr(path)) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftp.cc:2257:10: note: place parentheses around the assignment to silence this warning 2257 | if( fp = localRETR(FS,tc,com,arg,AVStr(path)) ){ | ^ | ( ) ftp.cc:2257:10: note: use '==' to turn this assignment into an equality comparison 2257 | if( fp = localRETR(FS,tc,com,arg,AVStr(path)) ){ | ^ | == ftp.cc:2314:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2314 | if( dp = strchr(mdir+2,'/') ) | ~~~^~~~~~~~~~~~~~~~~~~~ ftp.cc:2314:10: note: place parentheses around the assignment to silence this warning 2314 | if( dp = strchr(mdir+2,'/') ) | ^ | ( ) ftp.cc:2314:10: note: use '==' to turn this assignment into an equality comparison 2314 | if( dp = strchr(mdir+2,'/') ) | ^ | == ftp.cc:2477:25: warning: '/*' within block comment [-Wcomment] 2477 | /* 9.9.1 with MOUNT="/* ftp://server/%2F* */ | ^ ftp.cc:2551:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2551 | if( host = strchr(user,'@') ){ | ~~~~~^~~~~~~~~~~~~~~~~~ ftp.cc:2551:12: note: place parentheses around the assignment to silence this warning 2551 | if( host = strchr(user,'@') ){ | ^ | ( ) ftp.cc:2551:12: note: use '==' to turn this assignment into an equality comparison 2551 | if( host = strchr(user,'@') ){ | ^ | == ftp.cc:2586:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2586 | if( dp = strtailstr(me,":21") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ ftp.cc:2586:11: note: place parentheses around the assignment to silence this warning 2586 | if( dp = strtailstr(me,":21") ) | ^ | ( ) ftp.cc:2586:11: note: use '==' to turn this assignment into an equality comparison 2586 | if( dp = strtailstr(me,":21") ) | ^ | == ftp.cc:2878:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2878 | if( dp = strstr(pxuser,"//") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ ftp.cc:2878:12: note: place parentheses around the assignment to silence this warning 2878 | if( dp = strstr(pxuser,"//") ){ | ^ | ( ) ftp.cc:2878:12: note: use '==' to turn this assignment into an equality comparison 2878 | if( dp = strstr(pxuser,"//") ){ | ^ | == ftp.cc:2881:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2881 | if( dp = strchr(FS->fs_USER,'@') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ftp.cc:2881:13: note: place parentheses around the assignment to silence this warning 2881 | if( dp = strchr(FS->fs_USER,'@') ){ | ^ | ( ) ftp.cc:2881:13: note: use '==' to turn this assignment into an equality comparison 2881 | if( dp = strchr(FS->fs_USER,'@') ){ | ^ | == ftp.cc:2933:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2933 | else | ^ ftp.cc:2960:25: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] 2960 | int nondefaultMounted(); | ^~ ftp.cc:2960:25: note: replace parentheses with an initializer to declare a variable 2960 | int nondefaultMounted(); | ^~ | = 0 ftp.cc:3191:36: warning: '/*' within block comment [-Wcomment] 3191 | CWD "/x" + CWD "y" for MOUNT="/x/y/* ftp://server/*" | ^ ftp.cc:3191:51: warning: '/*' within block comment [-Wcomment] 3191 | CWD "/x" + CWD "y" for MOUNT="/x/y/* ftp://server/*" | ^ ftp.cc:3504:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3504 | for( sp = snum; sc = *sp; sp++ ){ | ~~~^~~~~ ftp.cc:3504:21: note: place parentheses around the assignment to silence this warning 3504 | for( sp = snum; sc = *sp; sp++ ){ | ^ | ( ) ftp.cc:3504:21: note: use '==' to turn this assignment into an equality comparison 3504 | for( sp = snum; sc = *sp; sp++ ){ | ^ | == ftp.cc:3513:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3513 | for( ; sc = *sp; sp++ ){ | ~~~^~~~~ ftp.cc:3513:12: note: place parentheses around the assignment to silence this warning 3513 | for( ; sc = *sp; sp++ ){ | ^ | ( ) ftp.cc:3513:12: note: use '==' to turn this assignment into an equality comparison 3513 | for( ; sc = *sp; sp++ ){ | ^ | == ftp.cc:3554:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3554 | if( dp = strrchr(xpath,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~~~ ftp.cc:3554:10: note: place parentheses around the assignment to silence this warning 3554 | if( dp = strrchr(xpath,'/') ){ | ^ | ( ) ftp.cc:3554:10: note: use '==' to turn this assignment into an equality comparison 3554 | if( dp = strrchr(xpath,'/') ){ | ^ | == ftp.cc:4046:10: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] 4046 | qb[0] = 255; qb[1] = 244; /* IAC+IP */ | ~ ^~~ ftp.cc:4046:23: warning: implicit conversion from 'int' to 'char' changes value from 244 to -12 [-Wconstant-conversion] 4046 | qb[0] = 255; qb[1] = 244; /* IAC+IP */ | ~ ^~~ ftp.cc:4055:10: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] 4055 | qb[0] = 255; | ~ ^~~ ftp.cc:4060:10: warning: implicit conversion from 'int' to 'char' changes value from 242 to -14 [-Wconstant-conversion] 4060 | qb[0] = 242; /* SYNC */ | ~ ^~~ ftp.cc:4298:13: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] 4298 | int CCXsize(); | ^~ ftp.cc:4298:13: note: replace parentheses with an initializer to declare a variable 4298 | int CCXsize(); | ^~ | = 0 ftp.cc:4306:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4306 | if( fromcache = file_isreg(src) ){ | ~~~~~~~~~~^~~~~~~~~~~~~~~~~ ftp.cc:4306:16: note: place parentheses around the assignment to silence this warning 4306 | if( fromcache = file_isreg(src) ){ | ^ | ( ) ftp.cc:4306:16: note: use '==' to turn this assignment into an equality comparison 4306 | if( fromcache = file_isreg(src) ){ | ^ | == ftp.cc:4730:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4730 | if( dp = strrchr(path,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~~ ftp.cc:4730:10: note: place parentheses around the assignment to silence this warning 4730 | if( dp = strrchr(path,'/') ){ | ^ | ( ) ftp.cc:4730:10: note: use '==' to turn this assignment into an equality comparison 4730 | if( dp = strrchr(path,'/') ){ | ^ | == ftp.cc:4950:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4950 | if( dp = strstr(resp," bytes)") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ ftp.cc:4950:9: note: place parentheses around the assignment to silence this warning 4950 | if( dp = strstr(resp," bytes)") ){ | ^ | ( ) ftp.cc:4950:9: note: use '==' to turn this assignment into an equality comparison 4950 | if( dp = strstr(resp," bytes)") ){ | ^ | == ftp.cc:5158:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5158 | if( dp = strchr(FS->fs_auser,'@') ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ftp.cc:5158:10: note: place parentheses around the assignment to silence this warning 5158 | if( dp = strchr(FS->fs_auser,'@') ) | ^ | ( ) ftp.cc:5158:10: note: use '==' to turn this assignment into an equality comparison 5158 | if( dp = strchr(FS->fs_auser,'@') ) | ^ | == ftp.cc:5181:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5181 | if( FS->fs_anonymous = is_anonymous(user) ) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ftp.cc:5181:23: note: place parentheses around the assignment to silence this warning 5181 | if( FS->fs_anonymous = is_anonymous(user) ) | ^ | ( ) ftp.cc:5181:23: note: use '==' to turn this assignment into an equality comparison 5181 | if( FS->fs_anonymous = is_anonymous(user) ) | ^ | == ftp.cc:5217:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5217 | if( what = strrchr(path,'/') ) | ~~~~~^~~~~~~~~~~~~~~~~~~ ftp.cc:5217:12: note: place parentheses around the assignment to silence this warning 5217 | if( what = strrchr(path,'/') ) | ^ | ( ) ftp.cc:5217:12: note: use '==' to turn this assignment into an equality comparison 5217 | if( what = strrchr(path,'/') ) | ^ | == ftp.cc:5255:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5255 | if( dp = strrchr(tmp,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~ ftp.cc:5255:9: note: place parentheses around the assignment to silence this warning 5255 | if( dp = strrchr(tmp,'/') ){ | ^ | ( ) ftp.cc:5255:9: note: use '==' to turn this assignment into an equality comparison 5255 | if( dp = strrchr(tmp,'/') ){ | ^ | == ftp.cc:5313:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5313 | if( cfp = localLIST(FS,tc,com,arg,AVStr(path)) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftp.cc:5313:10: note: place parentheses around the assignment to silence this warning 5313 | if( cfp = localLIST(FS,tc,com,arg,AVStr(path)) ){ | ^ | ( ) ftp.cc:5313:10: note: use '==' to turn this assignment into an equality comparison 5313 | if( cfp = localLIST(FS,tc,com,arg,AVStr(path)) ){ | ^ | == ftp.cc:5319:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5319 | if( cfp = localRETR(FS,tc,com,arg,AVStr(path)) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftp.cc:5319:10: note: place parentheses around the assignment to silence this warning 5319 | if( cfp = localRETR(FS,tc,com,arg,AVStr(path)) ){ | ^ | ( ) ftp.cc:5319:10: note: use '==' to turn this assignment into an equality comparison 5319 | if( cfp = localRETR(FS,tc,com,arg,AVStr(path)) ){ | ^ | == ftp.cc:5457:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 5457 | static char *IFUPM = "InheritingFromUnboundProxyMode"; | ^ ftp.cc:5971:43: warning: '/*' within block comment [-Wcomment] 5971 | if( streq(prevurl,"ftp://") ){ /* MOUNT="/* ftp://*" */ | ^ ftp.cc:5971:51: warning: '/*' within block comment [-Wcomment] 5971 | if( streq(prevurl,"ftp://") ){ /* MOUNT="/* ftp://*" */ | ^ ftp.cc:6407:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6407 | if( dp = strstr(resp,"\n331") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ ftp.cc:6407:10: note: place parentheses around the assignment to silence this warning 6407 | if( dp = strstr(resp,"\n331") ) | ^ | ( ) ftp.cc:6407:10: note: use '==' to turn this assignment into an equality comparison 6407 | if( dp = strstr(resp,"\n331") ) | ^ | == ftp.cc:6411:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6411 | if( dp = strstr(resp,"\n230") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ ftp.cc:6411:11: note: place parentheses around the assignment to silence this warning 6411 | if( dp = strstr(resp,"\n230") ) | ^ | ( ) ftp.cc:6411:11: note: use '==' to turn this assignment into an equality comparison 6411 | if( dp = strstr(resp,"\n230") ) | ^ | == ftp.cc:6542:16: warning: '/*' within block comment [-Wcomment] 6542 | * (as MOUNT="/* ftp://Server/*") and the current server is not Server. | ^ ftp.cc:6542:31: warning: '/*' within block comment [-Wcomment] 6542 | * (as MOUNT="/* ftp://Server/*") and the current server is not Server. | ^ ftp.cc:6547:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6547 | if( enable_mount = mounted ) | ~~~~~~~~~~~~~^~~~~~~~~ ftp.cc:6547:19: note: place parentheses around the assignment to silence this warning 6547 | if( enable_mount = mounted ) | ^ | ( ) ftp.cc:6547:19: note: use '==' to turn this assignment into an equality comparison 6547 | if( enable_mount = mounted ) | ^ | == ftp.cc:6644:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6644 | if( tp = strpbrk(dp+1,"@") ) | ~~~^~~~~~~~~~~~~~~~~~~ ftp.cc:6644:11: note: place parentheses around the assignment to silence this warning 6644 | if( tp = strpbrk(dp+1,"@") ) | ^ | ( ) ftp.cc:6644:11: note: use '==' to turn this assignment into an equality comparison 6644 | if( tp = strpbrk(dp+1,"@") ) | ^ | == ftp.cc:7416:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 7416 | char *nl= "\n"; | ^ ftp.cc:7419:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 7419 | nl = "\r\n"; | ^ ftp.cc:7501:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 7501 | if( dfp = cache_verify(Conn,ts,fs,path,AVStr(resp),rsize,isdirp) ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftp.cc:7501:10: note: place parentheses around the assignment to silence this warning 7501 | if( dfp = cache_verify(Conn,ts,fs,path,AVStr(resp),rsize,isdirp) ) | ^ | ( ) ftp.cc:7501:10: note: use '==' to turn this assignment into an equality comparison 7501 | if( dfp = cache_verify(Conn,ts,fs,path,AVStr(resp),rsize,isdirp) ) | ^ | == ftp.cc:7554:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 7554 | if( sp = strstr(resp,"bytes)") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~ ftp.cc:7554:9: note: place parentheses around the assignment to silence this warning 7554 | if( sp = strstr(resp,"bytes)") ){ | ^ | ( ) ftp.cc:7554:9: note: use '==' to turn this assignment into an equality comparison 7554 | if( sp = strstr(resp,"bytes)") ){ | ^ | == ftp.cc:7568:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 7568 | if( dp = strstr(stat,"150") ) | ~~~^~~~~~~~~~~~~~~~~~~~ ftp.cc:7568:9: note: place parentheses around the assignment to silence this warning 7568 | if( dp = strstr(stat,"150") ) | ^ | ( ) ftp.cc:7568:9: note: use '==' to turn this assignment into an equality comparison 7568 | if( dp = strstr(stat,"150") ) | ^ | == ftp.cc:7578:32: warning: '/*' within block comment [-Wcomment] 7578 | * MOUNT="/MagicPath* https://-/*" | ^ ftp.cc:7588:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 7588 | if( dp = strstr(path,"--") ){ | ~~~^~~~~~~~~~~~~~~~~~~ ftp.cc:7588:9: note: place parentheses around the assignment to silence this warning 7588 | if( dp = strstr(path,"--") ){ | ^ | ( ) ftp.cc:7588:9: note: use '==' to turn this assignment into an equality comparison 7588 | if( dp = strstr(path,"--") ){ | ^ | == 74 warnings generated. ../mkcpp xferlog.c xferlog.cc -- mkcpp set time: 1791324540 -> 1149576220 xferlog.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c xferlog.cc ../mkcpp X.c X.cc -- mkcpp set time: 1791324540 -> 1193647386 X.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c X.cc X.cc:264:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 264 | { register int ppid,cpid; | ^~~~~~~~ X.cc:264:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 264 | { register int ppid,cpid; | ^~~~~~~~ 2 warnings generated. ../mkcpp wais.c wais.cc -- mkcpp set time: 1791324540 -> 1171820788 wais.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c wais.cc wais.cc:198:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 198 | if( np = (unsigned char*)STRCHR(ep,';') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wais.cc:198:10: note: place parentheses around the assignment to silence this warning 198 | if( np = (unsigned char*)STRCHR(ep,';') ){ | ^ | ( ) wais.cc:198:10: note: use '==' to turn this assignment into an equality comparison 198 | if( np = (unsigned char*)STRCHR(ep,';') ){ | ^ | == wais.cc:207:38: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 207 | for( fp = (unsigned char*)elem; ch = *fp++; ){ | ~~~^~~~~~~ wais.cc:207:38: note: place parentheses around the assignment to silence this warning 207 | for( fp = (unsigned char*)elem; ch = *fp++; ){ | ^ | ( ) wais.cc:207:38: note: use '==' to turn this assignment into an equality comparison 207 | for( fp = (unsigned char*)elem; ch = *fp++; ){ | ^ | == wais.cc:234:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 234 | for( ti = 0; tname = ttab[ti].t_name; ti++ ) | ~~~~~~^~~~~~~~~~~~~~~~~ wais.cc:234:21: note: place parentheses around the assignment to silence this warning 234 | for( ti = 0; tname = ttab[ti].t_name; ti++ ) | ^ | ( ) wais.cc:234:21: note: use '==' to turn this assignment into an equality comparison 234 | for( ti = 0; tname = ttab[ti].t_name; ti++ ) | ^ | == wais.cc:332:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 332 | if( hfp = findFieldValue(dhg,"Score") ) score = atoi(hfp); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wais.cc:332:10: note: place parentheses around the assignment to silence this warning 332 | if( hfp = findFieldValue(dhg,"Score") ) score = atoi(hfp); | ^ | ( ) wais.cc:332:10: note: use '==' to turn this assignment into an equality comparison 332 | if( hfp = findFieldValue(dhg,"Score") ) score = atoi(hfp); | ^ | == wais.cc:333:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 333 | if( hfp = findFieldValue(dhg,"Lines") ) lines = atoi(hfp); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wais.cc:333:10: note: place parentheses around the assignment to silence this warning 333 | if( hfp = findFieldValue(dhg,"Lines") ) lines = atoi(hfp); | ^ | ( ) wais.cc:333:10: note: use '==' to turn this assignment into an equality comparison 333 | if( hfp = findFieldValue(dhg,"Lines") ) lines = atoi(hfp); | ^ | == wais.cc:334:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 334 | if( hfp = findFieldValue(dhg,"Document-Length") ) bytes = atoi(hfp); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wais.cc:334:10: note: place parentheses around the assignment to silence this warning 334 | if( hfp = findFieldValue(dhg,"Document-Length") ) bytes = atoi(hfp); | ^ | ( ) wais.cc:334:10: note: use '==' to turn this assignment into an equality comparison 334 | if( hfp = findFieldValue(dhg,"Document-Length") ) bytes = atoi(hfp); | ^ | == wais.cc:335:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 335 | if( hfp = findFieldValue(dhg,"Date") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ wais.cc:335:10: note: place parentheses around the assignment to silence this warning 335 | if( hfp = findFieldValue(dhg,"Date") ) | ^ | ( ) wais.cc:335:10: note: use '==' to turn this assignment into an equality comparison 335 | if( hfp = findFieldValue(dhg,"Date") ) | ^ | == wais.cc:337:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 337 | if( hfp = findFieldValue(dhg,"Type") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ wais.cc:337:10: note: place parentheses around the assignment to silence this warning 337 | if( hfp = findFieldValue(dhg,"Type") ) | ^ | ( ) wais.cc:337:10: note: use '==' to turn this assignment into an equality comparison 337 | if( hfp = findFieldValue(dhg,"Type") ) | ^ | == wais.cc:339:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 339 | if( hfp = findFieldValue(dhg,"Document-ID") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wais.cc:339:10: note: place parentheses around the assignment to silence this warning 339 | if( hfp = findFieldValue(dhg,"Document-ID") ) | ^ | ( ) wais.cc:339:10: note: use '==' to turn this assignment into an equality comparison 339 | if( hfp = findFieldValue(dhg,"Document-ID") ) | ^ | == wais.cc:341:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 341 | if( hfp = findFieldValue(dhg,"Headline") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wais.cc:341:10: note: place parentheses around the assignment to silence this warning 341 | if( hfp = findFieldValue(dhg,"Headline") ){ | ^ | ( ) wais.cc:341:10: note: use '==' to turn this assignment into an equality comparison 341 | if( hfp = findFieldValue(dhg,"Headline") ){ | ^ | == wais.cc:488:3: warning: left operand of comma operator has no effect [-Wunused-value] 488 | ptype,dump_record(&buf[2],hsize-2,VStrNULL); | ^~~~~ wais.cc:540:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 540 | while( cc = relay_record(Conn,1,fc,ts,VStrNULL,VStrNULL) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wais.cc:540:12: note: place parentheses around the assignment to silence this warning 540 | while( cc = relay_record(Conn,1,fc,ts,VStrNULL,VStrNULL) ){ | ^ | ( ) wais.cc:540:12: note: use '==' to turn this assignment into an equality comparison 540 | while( cc = relay_record(Conn,1,fc,ts,VStrNULL,VStrNULL) ){ | ^ | == wais.cc:721:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 721 | if( hfp = findFieldValue(head,"Search-Returned") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wais.cc:721:11: note: place parentheses around the assignment to silence this warning 721 | if( hfp = findFieldValue(head,"Search-Returned") ) | ^ | ( ) wais.cc:721:11: note: use '==' to turn this assignment into an equality comparison 721 | if( hfp = findFieldValue(head,"Search-Returned") ) | ^ | == wais.cc:761:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 761 | if( words = strchr(dbname,'?') ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~ wais.cc:761:12: note: place parentheses around the assignment to silence this warning 761 | if( words = strchr(dbname,'?') ){ | ^ | ( ) wais.cc:761:12: note: use '==' to turn this assignment into an equality comparison 761 | if( words = strchr(dbname,'?') ){ | ^ | == wais.cc:769:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 769 | if( type = strchr(dbname,'/') ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~ wais.cc:769:11: note: place parentheses around the assignment to silence this warning 769 | if( type = strchr(dbname,'/') ){ | ^ | ( ) wais.cc:769:11: note: use '==' to turn this assignment into an equality comparison 769 | if( type = strchr(dbname,'/') ){ | ^ | == wais.cc:771:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 771 | if( dp = strchr(type,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~ wais.cc:771:10: note: place parentheses around the assignment to silence this warning 771 | if( dp = strchr(type,'/') ){ | ^ | ( ) wais.cc:771:10: note: use '==' to turn this assignment into an equality comparison 771 | if( dp = strchr(type,'/') ){ | ^ | == wais.cc:774:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 774 | if( docid = strchr(dp,'/') ){ | ~~~~~~^~~~~~~~~~~~~~~~ wais.cc:774:14: note: place parentheses around the assignment to silence this warning 774 | if( docid = strchr(dp,'/') ){ | ^ | ( ) wais.cc:774:14: note: use '==' to turn this assignment into an equality comparison 774 | if( docid = strchr(dp,'/') ){ | ^ | == 17 warnings generated. ../mkcpp whois.c whois.cc -- mkcpp set time: 1791324541 -> 1101560391 whois.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c whois.cc ../mkcpp imap.c imap.cc -- mkcpp set time: 1791324541 -> 1210827337 imap.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c imap.cc imap.cc:43:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 43 | if( dp = strrpbrk(user,"@%") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ imap.cc:43:9: note: place parentheses around the assignment to silence this warning 43 | if( dp = strrpbrk(user,"@%") ){ | ^ | ( ) imap.cc:43:9: note: use '==' to turn this assignment into an equality comparison 43 | if( dp = strrpbrk(user,"@%") ){ | ^ | == imap.cc:123:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 123 | if( sp = strstr(caps,"STARTTLS") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ imap.cc:123:9: note: place parentheses around the assignment to silence this warning 123 | if( sp = strstr(caps,"STARTTLS") ){ | ^ | ( ) imap.cc:123:9: note: use '==' to turn this assignment into an equality comparison 123 | if( sp = strstr(caps,"STARTTLS") ){ | ^ | == 2 warnings generated. ../mkcpp ldap.c ldap.cc -- mkcpp set time: 1791324541 -> 1229757765 ldap.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c ldap.cc ldap.cc:372:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 372 | for( ei = 0; edit = mssgEdit[ei].e_edit; ei++ ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~ ldap.cc:372:21: note: place parentheses around the assignment to silence this warning 372 | for( ei = 0; edit = mssgEdit[ei].e_edit; ei++ ){ | ^ | ( ) ldap.cc:372:21: note: use '==' to turn this assignment into an equality comparison 372 | for( ei = 0; edit = mssgEdit[ei].e_edit; ei++ ){ | ^ | == ldap.cc:398:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 398 | if( wleng = Mp->m_btm - Mp->m_push ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ldap.cc:398:14: note: place parentheses around the assignment to silence this warning 398 | if( wleng = Mp->m_btm - Mp->m_push ){ | ^ | ( ) ldap.cc:398:14: note: use '==' to turn this assignment into an equality comparison 398 | if( wleng = Mp->m_btm - Mp->m_push ){ | ^ | == ldap.cc:433:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 433 | if( dp = (Message)strrchr((char*)Mp->m_work,'@') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ldap.cc:433:11: note: place parentheses around the assignment to silence this warning 433 | if( dp = (Message)strrchr((char*)Mp->m_work,'@') ){ | ^ | ( ) ldap.cc:433:11: note: use '==' to turn this assignment into an equality comparison 433 | if( dp = (Message)strrchr((char*)Mp->m_work,'@') ){ | ^ | == ldap.cc:672:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 672 | if( opts = CTX_mount_url_to(Conn,NULL,"GET",AVStr(server)) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ldap.cc:672:11: note: place parentheses around the assignment to silence this warning 672 | if( opts = CTX_mount_url_to(Conn,NULL,"GET",AVStr(server)) ){ | ^ | ( ) ldap.cc:672:11: note: use '==' to turn this assignment into an equality comparison 672 | if( opts = CTX_mount_url_to(Conn,NULL,"GET",AVStr(server)) ){ | ^ | == 4 warnings generated. ../mkcpp smtpgate.c smtpgate.cc -- mkcpp set time: 1791324541 -> 1232339098 smtpgate.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c smtpgate.cc smtpgate.cc:252:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 252 | if( dp = strchr(pname,'/') ) | ~~~^~~~~~~~~~~~~~~~~~~ smtpgate.cc:252:9: note: place parentheses around the assignment to silence this warning 252 | if( dp = strchr(pname,'/') ) | ^ | ( ) smtpgate.cc:252:9: note: use '==' to turn this assignment into an equality comparison 252 | if( dp = strchr(pname,'/') ) | ^ | == smtpgate.cc:396:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 396 | for( pi = 0; line = lines[pi]; pi++ ){ | ~~~~~^~~~~~~~~~~ smtpgate.cc:396:21: note: place parentheses around the assignment to silence this warning 396 | for( pi = 0; line = lines[pi]; pi++ ){ | ^ | ( ) smtpgate.cc:396:21: note: use '==' to turn this assignment into an equality comparison 396 | for( pi = 0; line = lines[pi]; pi++ ){ | ^ | == smtpgate.cc:411:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 411 | for( gwi = 0; gname1 = builtins[gwi].g_pv[GWTYPE]; gwi++ ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtpgate.cc:411:23: note: place parentheses around the assignment to silence this warning 411 | for( gwi = 0; gname1 = builtins[gwi].g_pv[GWTYPE]; gwi++ ){ | ^ | ( ) smtpgate.cc:411:23: note: use '==' to turn this assignment into an equality comparison 411 | for( gwi = 0; gname1 = builtins[gwi].g_pv[GWTYPE]; gwi++ ){ | ^ | == smtpgate.cc:474:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 474 | if( np = strchr(name,'/') ) | ~~~^~~~~~~~~~~~~~~~~~ smtpgate.cc:474:10: note: place parentheses around the assignment to silence this warning 474 | if( np = strchr(name,'/') ) | ^ | ( ) smtpgate.cc:474:10: note: use '==' to turn this assignment into an equality comparison 474 | if( np = strchr(name,'/') ) | ^ | == smtpgate.cc:537:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 537 | for( ui = 0; xclass = user_class[ui]; ui++ ){ | ~~~~~~~^~~~~~~~~~~~~~~~ smtpgate.cc:537:22: note: place parentheses around the assignment to silence this warning 537 | for( ui = 0; xclass = user_class[ui]; ui++ ){ | ^ | ( ) smtpgate.cc:537:22: note: use '==' to turn this assignment into an equality comparison 537 | for( ui = 0; xclass = user_class[ui]; ui++ ){ | ^ | == smtpgate.cc:543:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 543 | if( fp = fopen(cpath,mode) ) | ~~~^~~~~~~~~~~~~~~~~~~ smtpgate.cc:543:10: note: place parentheses around the assignment to silence this warning 543 | if( fp = fopen(cpath,mode) ) | ^ | ( ) smtpgate.cc:543:10: note: use '==' to turn this assignment into an equality comparison 543 | if( fp = fopen(cpath,mode) ) | ^ | == smtpgate.cc:723:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 723 | for( sp = subj; sc = *sp; ){ | ~~~^~~~~ smtpgate.cc:723:21: note: place parentheses around the assignment to silence this warning 723 | for( sp = subj; sc = *sp; ){ | ^ | ( ) smtpgate.cc:723:21: note: use '==' to turn this assignment into an equality comparison 723 | for( sp = subj; sc = *sp; ){ | ^ | == smtpgate.cc:729:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 729 | for( sp++; sc = *sp; sp++ ) | ~~~^~~~~ smtpgate.cc:729:18: note: place parentheses around the assignment to silence this warning 729 | for( sp++; sc = *sp; sp++ ) | ^ | ( ) smtpgate.cc:729:18: note: use '==' to turn this assignment into an equality comparison 729 | for( sp++; sc = *sp; sp++ ) | ^ | == smtpgate.cc:925:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 925 | if( sp = strstr(dst,V_REWADDR) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~ smtpgate.cc:925:9: note: place parentheses around the assignment to silence this warning 925 | if( sp = strstr(dst,V_REWADDR) ) | ^ | ( ) smtpgate.cc:925:9: note: use '==' to turn this assignment into an equality comparison 925 | if( sp = strstr(dst,V_REWADDR) ) | ^ | == smtpgate.cc:926:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 926 | if( dp = strchr(sp,'}') ){ | ~~~^~~~~~~~~~~~~~~~ smtpgate.cc:926:9: note: place parentheses around the assignment to silence this warning 926 | if( dp = strchr(sp,'}') ){ | ^ | ( ) smtpgate.cc:926:9: note: use '==' to turn this assignment into an equality comparison 926 | if( dp = strchr(sp,'}') ){ | ^ | == smtpgate.cc:955:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 955 | if( sp = strstr(dst,V_ORIGHEADER) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ smtpgate.cc:955:9: note: place parentheses around the assignment to silence this warning 955 | if( sp = strstr(dst,V_ORIGHEADER) ) | ^ | ( ) smtpgate.cc:955:9: note: use '==' to turn this assignment into an equality comparison 955 | if( sp = strstr(dst,V_ORIGHEADER) ) | ^ | == smtpgate.cc:956:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 956 | if( dp = strchr(sp,'}') ){ | ~~~^~~~~~~~~~~~~~~~ smtpgate.cc:956:9: note: place parentheses around the assignment to silence this warning 956 | if( dp = strchr(sp,'}') ){ | ^ | ( ) smtpgate.cc:956:9: note: use '==' to turn this assignment into an equality comparison 956 | if( dp = strchr(sp,'}') ){ | ^ | == smtpgate.cc:974:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 974 | if( p1 = getv(OUT_REPLY_TO) ){ | ~~~^~~~~~~~~~~~~~~~~~~~ smtpgate.cc:974:9: note: place parentheses around the assignment to silence this warning 974 | if( p1 = getv(OUT_REPLY_TO) ){ | ^ | ( ) smtpgate.cc:974:9: note: use '==' to turn this assignment into an equality comparison 974 | if( p1 = getv(OUT_REPLY_TO) ){ | ^ | == smtpgate.cc:978:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 978 | if( p1 = getv(OUT_SUBJECT) ){ | ~~~^~~~~~~~~~~~~~~~~~~ smtpgate.cc:978:9: note: place parentheses around the assignment to silence this warning 978 | if( p1 = getv(OUT_SUBJECT) ){ | ^ | ( ) smtpgate.cc:978:9: note: use '==' to turn this assignment into an equality comparison 978 | if( p1 = getv(OUT_SUBJECT) ){ | ^ | == smtpgate.cc:983:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 983 | if( p1 = getv(OUT_FROM) ){ | ~~~^~~~~~~~~~~~~~~~ smtpgate.cc:983:9: note: place parentheses around the assignment to silence this warning 983 | if( p1 = getv(OUT_FROM) ){ | ^ | ( ) smtpgate.cc:983:9: note: use '==' to turn this assignment into an equality comparison 983 | if( p1 = getv(OUT_FROM) ){ | ^ | == smtpgate.cc:987:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 987 | if(p1 = getv(OUT_MESSAGE_ID) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ smtpgate.cc:987:8: note: place parentheses around the assignment to silence this warning 987 | if(p1 = getv(OUT_MESSAGE_ID) ){ | ^ | ( ) smtpgate.cc:987:8: note: use '==' to turn this assignment into an equality comparison 987 | if(p1 = getv(OUT_MESSAGE_ID) ){ | ^ | == smtpgate.cc:1112:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1112 | if( p1 = getv(OUT_NEWSGROUPS) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ smtpgate.cc:1112:9: note: place parentheses around the assignment to silence this warning 1112 | if( p1 = getv(OUT_NEWSGROUPS) ){ | ^ | ( ) smtpgate.cc:1112:9: note: use '==' to turn this assignment into an equality comparison 1112 | if( p1 = getv(OUT_NEWSGROUPS) ){ | ^ | == smtpgate.cc:1116:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1116 | if( p1 = getv(OUT_DISTRIBUTION) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ smtpgate.cc:1116:9: note: place parentheses around the assignment to silence this warning 1116 | if( p1 = getv(OUT_DISTRIBUTION) ){ | ^ | ( ) smtpgate.cc:1116:9: note: use '==' to turn this assignment into an equality comparison 1116 | if( p1 = getv(OUT_DISTRIBUTION) ){ | ^ | == smtpgate.cc:1206:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1206 | if( admin = DELEGATE_ADMIN ) | ~~~~~~^~~~~~~~~~~~~~~~ smtpgate.cc:1206:13: note: place parentheses around the assignment to silence this warning 1206 | if( admin = DELEGATE_ADMIN ) | ^ | ( ) smtpgate.cc:1206:13: note: use '==' to turn this assignment into an equality comparison 1206 | if( admin = DELEGATE_ADMIN ) | ^ | == smtpgate.cc:1363:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1363 | if( p1 = getv(SERVPORT) ) | ~~~^~~~~~~~~~~~~~~~ smtpgate.cc:1363:9: note: place parentheses around the assignment to silence this warning 1363 | if( p1 = getv(SERVPORT) ) | ^ | ( ) smtpgate.cc:1363:9: note: use '==' to turn this assignment into an equality comparison 1363 | if( p1 = getv(SERVPORT) ) | ^ | == smtpgate.cc:1391:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1391 | if( auth = getv(CTL_MYAUTH) ){ | ~~~~~^~~~~~~~~~~~~~~~~~ smtpgate.cc:1391:11: note: place parentheses around the assignment to silence this warning 1391 | if( auth = getv(CTL_MYAUTH) ){ | ^ | ( ) smtpgate.cc:1391:11: note: use '==' to turn this assignment into an equality comparison 1391 | if( auth = getv(CTL_MYAUTH) ){ | ^ | == smtpgate.cc:1706:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1706 | if( mxaddr = gethostaddr(mxhost) ) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~ smtpgate.cc:1706:13: note: place parentheses around the assignment to silence this warning 1706 | if( mxaddr = gethostaddr(mxhost) ) | ^ | ( ) smtpgate.cc:1706:13: note: use '==' to turn this assignment into an equality comparison 1706 | if( mxaddr = gethostaddr(mxhost) ) | ^ | == smtpgate.cc:1709:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1709 | if( mxaddr = gethostaddr(rechost) ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ smtpgate.cc:1709:13: note: place parentheses around the assignment to silence this warning 1709 | if( mxaddr = gethostaddr(rechost) ){ | ^ | ( ) smtpgate.cc:1709:13: note: use '==' to turn this assignment into an equality comparison 1709 | if( mxaddr = gethostaddr(rechost) ){ | ^ | == smtpgate.cc:1769:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1769 | if( dp = strchr(recv[ri],'@') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ smtpgate.cc:1769:10: note: place parentheses around the assignment to silence this warning 1769 | if( dp = strchr(recv[ri],'@') ){ | ^ | ( ) smtpgate.cc:1769:10: note: use '==' to turn this assignment into an equality comparison 1769 | if( dp = strchr(recv[ri],'@') ){ | ^ | == smtpgate.cc:1798:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1798 | if( np = strpbrk(recipient,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ smtpgate.cc:1798:9: note: place parentheses around the assignment to silence this warning 1798 | if( np = strpbrk(recipient,"\r\n") ) | ^ | ( ) smtpgate.cc:1798:9: note: use '==' to turn this assignment into an equality comparison 1798 | if( np = strpbrk(recipient,"\r\n") ) | ^ | == smtpgate.cc:1824:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1824 | if( np = strpbrk(recipient,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ smtpgate.cc:1824:11: note: place parentheses around the assignment to silence this warning 1824 | if( np = strpbrk(recipient,"\r\n") ) | ^ | ( ) smtpgate.cc:1824:11: note: use '==' to turn this assignment into an equality comparison 1824 | if( np = strpbrk(recipient,"\r\n") ) | ^ | == smtpgate.cc:1887:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1887 | if( gwlog = open_file(Rname,"smmdgate.log","a",AVStr(rpath)) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtpgate.cc:1887:12: note: place parentheses around the assignment to silence this warning 1887 | if( gwlog = open_file(Rname,"smmdgate.log","a",AVStr(rpath)) ){ | ^ | ( ) smtpgate.cc:1887:12: note: use '==' to turn this assignment into an equality comparison 1887 | if( gwlog = open_file(Rname,"smmdgate.log","a",AVStr(rpath)) ){ | ^ | == smtpgate.cc:1974:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1974 | if( from = getv(CTL_SENDER) ) | ~~~~~^~~~~~~~~~~~~~~~~~ smtpgate.cc:1974:11: note: place parentheses around the assignment to silence this warning 1974 | if( from = getv(CTL_SENDER) ) | ^ | ( ) smtpgate.cc:1974:11: note: use '==' to turn this assignment into an equality comparison 1974 | if( from = getv(CTL_SENDER) ) | ^ | == smtpgate.cc:1996:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1996 | if( p1 = getv(SERVPORT) ) | ~~~^~~~~~~~~~~~~~~~ smtpgate.cc:1996:10: note: place parentheses around the assignment to silence this warning 1996 | if( p1 = getv(SERVPORT) ) | ^ | ( ) smtpgate.cc:1996:10: note: use '==' to turn this assignment into an equality comparison 1996 | if( p1 = getv(SERVPORT) ) | ^ | == smtpgate.cc:2042:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2042 | if( i1 = mxaddr(bcc,AVStr(addr) )) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ smtpgate.cc:2042:9: note: place parentheses around the assignment to silence this warning 2042 | if( i1 = mxaddr(bcc,AVStr(addr) )) | ^ | ( ) smtpgate.cc:2042:9: note: use '==' to turn this assignment into an equality comparison 2042 | if( i1 = mxaddr(bcc,AVStr(addr) )) | ^ | == smtpgate.cc:2086:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2086 | if( counter = open_file(name,"count","r+",AVStr(rpath)) ){ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtpgate.cc:2086:14: note: place parentheses around the assignment to silence this warning 2086 | if( counter = open_file(name,"count","r+",AVStr(rpath)) ){ | ^ | ( ) smtpgate.cc:2086:14: note: use '==' to turn this assignment into an equality comparison 2086 | if( counter = open_file(name,"count","r+",AVStr(rpath)) ){ | ^ | == smtpgate.cc:2098:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2098 | if( counter = open_file(name,"count","w+",AVStr(rpath)) ){ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtpgate.cc:2098:14: note: place parentheses around the assignment to silence this warning 2098 | if( counter = open_file(name,"count","w+",AVStr(rpath)) ){ | ^ | ( ) smtpgate.cc:2098:14: note: use '==' to turn this assignment into an equality comparison 2098 | if( counter = open_file(name,"count","w+",AVStr(rpath)) ){ | ^ | == smtpgate.cc:2147:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2147 | if( dp = strpbrk(line,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ smtpgate.cc:2147:10: note: place parentheses around the assignment to silence this warning 2147 | if( dp = strpbrk(line,"\r\n") ) | ^ | ( ) smtpgate.cc:2147:10: note: use '==' to turn this assignment into an equality comparison 2147 | if( dp = strpbrk(line,"\r\n") ) | ^ | == smtpgate.cc:2198:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2198 | if( negate = (*acl1 == '!') ) | ~~~~~~~^~~~~~~~~~~~~~~~ smtpgate.cc:2198:14: note: place parentheses around the assignment to silence this warning 2198 | if( negate = (*acl1 == '!') ) | ^ | ( ) smtpgate.cc:2198:14: note: use '==' to turn this assignment into an equality comparison 2198 | if( negate = (*acl1 == '!') ) | ^ | == smtpgate.cc:2201:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2201 | if( subst = isFullpath(acl1) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~ smtpgate.cc:2201:13: note: place parentheses around the assignment to silence this warning 2201 | if( subst = isFullpath(acl1) ){ | ^ | ( ) smtpgate.cc:2201:13: note: use '==' to turn this assignment into an equality comparison 2201 | if( subst = isFullpath(acl1) ){ | ^ | == smtpgate.cc:2209:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2209 | if( subst = (strncmp(acl1,"${expn:",7)==0) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtpgate.cc:2209:13: note: place parentheses around the assignment to silence this warning 2209 | if( subst = (strncmp(acl1,"${expn:",7)==0) ){ | ^ | ( ) smtpgate.cc:2209:13: note: use '==' to turn this assignment into an equality comparison 2209 | if( subst = (strncmp(acl1,"${expn:",7)==0) ){ | ^ | == smtpgate.cc:2232:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2232 | if( match = strmatch_list(addr,aclc,"",(iFUNCP)lfprintf1,log) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtpgate.cc:2232:12: note: place parentheses around the assignment to silence this warning 2232 | if( match = strmatch_list(addr,aclc,"",(iFUNCP)lfprintf1,log) ){ | ^ | ( ) smtpgate.cc:2232:12: note: use '==' to turn this assignment into an equality comparison 2232 | if( match = strmatch_list(addr,aclc,"",(iFUNCP)lfprintf1,log) ){ | ^ | == smtpgate.cc:2359:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2359 | if( last = QPsplitLine(0,AVStr(line),0) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtpgate.cc:2359:14: note: place parentheses around the assignment to silence this warning 2359 | if( last = QPsplitLine(0,AVStr(line),0) ){ | ^ | ( ) smtpgate.cc:2359:14: note: use '==' to turn this assignment into an equality comparison 2359 | if( last = QPsplitLine(0,AVStr(line),0) ){ | ^ | == smtpgate.cc:2395:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2395 | if( opt = strchr(code,',') ) | ~~~~^~~~~~~~~~~~~~~~~~ smtpgate.cc:2395:11: note: place parentheses around the assignment to silence this warning 2395 | if( opt = strchr(code,',') ) | ^ | ( ) smtpgate.cc:2395:11: note: use '==' to turn this assignment into an equality comparison 2395 | if( opt = strchr(code,',') ) | ^ | == smtpgate.cc:2494:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2494 | if( parent = getv(INHERIT) ) | ~~~~~~~^~~~~~~~~~~~~~~ smtpgate.cc:2494:15: note: place parentheses around the assignment to silence this warning 2494 | if( parent = getv(INHERIT) ) | ^ | ( ) smtpgate.cc:2494:15: note: use '==' to turn this assignment into an equality comparison 2494 | if( parent = getv(INHERIT) ) | ^ | == smtpgate.cc:2522:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2522 | if( BGw = builtinGw(parent,1) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~ smtpgate.cc:2522:11: note: place parentheses around the assignment to silence this warning 2522 | if( BGw = builtinGw(parent,1) ){ | ^ | ( ) smtpgate.cc:2522:11: note: use '==' to turn this assignment into an equality comparison 2522 | if( BGw = builtinGw(parent,1) ){ | ^ | == smtpgate.cc:2550:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2550 | if( p1 = getv(ACC_CLIENT_HOST) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~ smtpgate.cc:2550:9: note: place parentheses around the assignment to silence this warning 2550 | if( p1 = getv(ACC_CLIENT_HOST) ){ | ^ | ( ) smtpgate.cc:2550:9: note: use '==' to turn this assignment into an equality comparison 2550 | if( p1 = getv(ACC_CLIENT_HOST) ){ | ^ | == smtpgate.cc:2564:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2564 | if( p1 = getv(ACC_SENDER) ){ | ~~~^~~~~~~~~~~~~~~~~~ smtpgate.cc:2564:9: note: place parentheses around the assignment to silence this warning 2564 | if( p1 = getv(ACC_SENDER) ){ | ^ | ( ) smtpgate.cc:2564:9: note: use '==' to turn this assignment into an equality comparison 2564 | if( p1 = getv(ACC_SENDER) ){ | ^ | == smtpgate.cc:2572:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2572 | if( p1 = getv(ACC_RECIPIENT) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ smtpgate.cc:2572:9: note: place parentheses around the assignment to silence this warning 2572 | if( p1 = getv(ACC_RECIPIENT) ){ | ^ | ( ) smtpgate.cc:2572:9: note: use '==' to turn this assignment into an equality comparison 2572 | if( p1 = getv(ACC_RECIPIENT) ){ | ^ | == smtpgate.cc:2579:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2579 | if( p1 = getv(ACC_TO) ){ /* case of lacking To: */ | ~~~^~~~~~~~~~~~~~ smtpgate.cc:2579:9: note: place parentheses around the assignment to silence this warning 2579 | if( p1 = getv(ACC_TO) ){ /* case of lacking To: */ | ^ | ( ) smtpgate.cc:2579:9: note: use '==' to turn this assignment into an equality comparison 2579 | if( p1 = getv(ACC_TO) ){ /* case of lacking To: */ | ^ | == smtpgate.cc:2592:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2592 | if( p1 = getv(ACC_MESSAGE_ID) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ smtpgate.cc:2592:9: note: place parentheses around the assignment to silence this warning 2592 | if( p1 = getv(ACC_MESSAGE_ID) ){ | ^ | ( ) smtpgate.cc:2592:9: note: use '==' to turn this assignment into an equality comparison 2592 | if( p1 = getv(ACC_MESSAGE_ID) ){ | ^ | == smtpgate.cc:2601:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2601 | if( p1 = getv(ACC_CONTTYPE) ){ | ~~~^~~~~~~~~~~~~~~~~~~~ smtpgate.cc:2601:9: note: place parentheses around the assignment to silence this warning 2601 | if( p1 = getv(ACC_CONTTYPE) ){ | ^ | ( ) smtpgate.cc:2601:9: note: use '==' to turn this assignment into an equality comparison 2601 | if( p1 = getv(ACC_CONTTYPE) ){ | ^ | == smtpgate.cc:2610:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2610 | if( p1 = getv(ACC_MAX_BYTES) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ smtpgate.cc:2610:9: note: place parentheses around the assignment to silence this warning 2610 | if( p1 = getv(ACC_MAX_BYTES) ){ | ^ | ( ) smtpgate.cc:2610:9: note: use '==' to turn this assignment into an equality comparison 2610 | if( p1 = getv(ACC_MAX_BYTES) ){ | ^ | == smtpgate.cc:2626:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2626 | if( p1 = getv(ACC_MIN_BYTES) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ smtpgate.cc:2626:9: note: place parentheses around the assignment to silence this warning 2626 | if( p1 = getv(ACC_MIN_BYTES) ){ | ^ | ( ) smtpgate.cc:2626:9: note: use '==' to turn this assignment into an equality comparison 2626 | if( p1 = getv(ACC_MIN_BYTES) ){ | ^ | == smtpgate.cc:2640:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2640 | if( p1 = getv(ACC_MIN_BODY_BYTES) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ smtpgate.cc:2640:9: note: place parentheses around the assignment to silence this warning 2640 | if( p1 = getv(ACC_MIN_BODY_BYTES) ){ | ^ | ( ) smtpgate.cc:2640:9: note: use '==' to turn this assignment into an equality comparison 2640 | if( p1 = getv(ACC_MIN_BODY_BYTES) ){ | ^ | == smtpgate.cc:2657:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2657 | if( p1 = getv(ACC_USERTEXT) ){ | ~~~^~~~~~~~~~~~~~~~~~~~ smtpgate.cc:2657:9: note: place parentheses around the assignment to silence this warning 2657 | if( p1 = getv(ACC_USERTEXT) ){ | ^ | ( ) smtpgate.cc:2657:9: note: use '==' to turn this assignment into an equality comparison 2657 | if( p1 = getv(ACC_USERTEXT) ){ | ^ | == smtpgate.cc:2664:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2664 | if( p1 = getv(REJ_USERTEXT) ){ | ~~~^~~~~~~~~~~~~~~~~~~~ smtpgate.cc:2664:9: note: place parentheses around the assignment to silence this warning 2664 | if( p1 = getv(REJ_USERTEXT) ){ | ^ | ( ) smtpgate.cc:2664:9: note: use '==' to turn this assignment into an equality comparison 2664 | if( p1 = getv(REJ_USERTEXT) ){ | ^ | == smtpgate.cc:2671:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2671 | if( p1 = getv(REJ_HEADER) ){ | ~~~^~~~~~~~~~~~~~~~~~ smtpgate.cc:2671:9: note: place parentheses around the assignment to silence this warning 2671 | if( p1 = getv(REJ_HEADER) ){ | ^ | ( ) smtpgate.cc:2671:9: note: use '==' to turn this assignment into an equality comparison 2671 | if( p1 = getv(REJ_HEADER) ){ | ^ | == smtpgate.cc:2673:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2673 | if( rc = find_header(tc,mfp,soff,log,p1) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtpgate.cc:2673:10: note: place parentheses around the assignment to silence this warning 2673 | if( rc = find_header(tc,mfp,soff,log,p1) ){ | ^ | ( ) smtpgate.cc:2673:10: note: use '==' to turn this assignment into an equality comparison 2673 | if( rc = find_header(tc,mfp,soff,log,p1) ){ | ^ | == smtpgate.cc:2679:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2679 | if( p1 = getv(ACC_MAX_EXCLAMS) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~ smtpgate.cc:2679:9: note: place parentheses around the assignment to silence this warning 2679 | if( p1 = getv(ACC_MAX_EXCLAMS) ){ | ^ | ( ) smtpgate.cc:2679:9: note: use '==' to turn this assignment into an equality comparison 2679 | if( p1 = getv(ACC_MAX_EXCLAMS) ){ | ^ | == smtpgate.cc:2692:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2692 | if( p1 = getv(DELAY_MESSAGE_ID) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ smtpgate.cc:2692:9: note: place parentheses around the assignment to silence this warning 2692 | if( p1 = getv(DELAY_MESSAGE_ID) ){ | ^ | ( ) smtpgate.cc:2692:9: note: use '==' to turn this assignment into an equality comparison 2692 | if( p1 = getv(DELAY_MESSAGE_ID) ){ | ^ | == smtpgate.cc:2710:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2710 | if( p1 = getv(OPTION) ) | ~~~^~~~~~~~~~~~~~ smtpgate.cc:2710:9: note: place parentheses around the assignment to silence this warning 2710 | if( p1 = getv(OPTION) ) | ^ | ( ) smtpgate.cc:2710:9: note: use '==' to turn this assignment into an equality comparison 2710 | if( p1 = getv(OPTION) ) | ^ | == smtpgate.cc:2775:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2775 | if( sfp = open_file(local2,spath,"w",AVStr(rpath)) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtpgate.cc:2775:11: note: place parentheses around the assignment to silence this warning 2775 | if( sfp = open_file(local2,spath,"w",AVStr(rpath)) ){ | ^ | ( ) smtpgate.cc:2775:11: note: use '==' to turn this assignment into an equality comparison 2775 | if( sfp = open_file(local2,spath,"w",AVStr(rpath)) ){ | ^ | == smtpgate.cc:2787:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2787 | if( arcspec = getv(ARCHIVE) ){ | ~~~~~~~~^~~~~~~~~~~~~~~ smtpgate.cc:2787:15: note: place parentheses around the assignment to silence this warning 2787 | if( arcspec = getv(ARCHIVE) ){ | ^ | ( ) smtpgate.cc:2787:15: note: use '==' to turn this assignment into an equality comparison 2787 | if( arcspec = getv(ARCHIVE) ){ | ^ | == smtpgate.cc:2793:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2793 | if( sfp = open_file(local2,spath,"a",AVStr(rpath)) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtpgate.cc:2793:12: note: place parentheses around the assignment to silence this warning 2793 | if( sfp = open_file(local2,spath,"a",AVStr(rpath)) ){ | ^ | ( ) smtpgate.cc:2793:12: note: use '==' to turn this assignment into an equality comparison 2793 | if( sfp = open_file(local2,spath,"a",AVStr(rpath)) ){ | ^ | == smtpgate.cc:2812:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2812 | if( log1 = open_file(local2,"log","a",AVStr(rpath)) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtpgate.cc:2812:12: note: place parentheses around the assignment to silence this warning 2812 | if( log1 = open_file(local2,"log","a",AVStr(rpath)) ){ | ^ | ( ) smtpgate.cc:2812:12: note: use '==' to turn this assignment into an equality comparison 2812 | if( log1 = open_file(local2,"log","a",AVStr(rpath)) ){ | ^ | == smtpgate.cc:2833:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2833 | if( rfp = open_file(local2,rfile,"a",AVStr(rpath)) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtpgate.cc:2833:11: note: place parentheses around the assignment to silence this warning 2833 | if( rfp = open_file(local2,rfile,"a",AVStr(rpath)) ){ | ^ | ( ) smtpgate.cc:2833:11: note: use '==' to turn this assignment into an equality comparison 2833 | if( rfp = open_file(local2,rfile,"a",AVStr(rpath)) ){ | ^ | == smtpgate.cc:2843:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2843 | if( p1 = getv(CTL_REJTO) ){ | ~~~^~~~~~~~~~~~~~~~~ smtpgate.cc:2843:10: note: place parentheses around the assignment to silence this warning 2843 | if( p1 = getv(CTL_REJTO) ){ | ^ | ( ) smtpgate.cc:2843:10: note: use '==' to turn this assignment into an equality comparison 2843 | if( p1 = getv(CTL_REJTO) ){ | ^ | == smtpgate.cc:2845:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2845 | if( rfp = TMPFILE("Reject-To") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~ smtpgate.cc:2845:15: note: place parentheses around the assignment to silence this warning 2845 | if( rfp = TMPFILE("Reject-To") ){ | ^ | ( ) smtpgate.cc:2845:15: note: use '==' to turn this assignment into an equality comparison 2845 | if( rfp = TMPFILE("Reject-To") ){ | ^ | == smtpgate.cc:2864:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2864 | if( p1 = getv(CTL_ETO) ){ | ~~~^~~~~~~~~~~~~~~ smtpgate.cc:2864:10: note: place parentheses around the assignment to silence this warning 2864 | if( p1 = getv(CTL_ETO) ){ | ^ | ( ) smtpgate.cc:2864:10: note: use '==' to turn this assignment into an equality comparison 2864 | if( p1 = getv(CTL_ETO) ){ | ^ | == smtpgate.cc:2866:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2866 | if( rfp = TMPFILE("Errors-To") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~ smtpgate.cc:2866:15: note: place parentheses around the assignment to silence this warning 2866 | if( rfp = TMPFILE("Errors-To") ){ | ^ | ( ) smtpgate.cc:2866:15: note: use '==' to turn this assignment into an equality comparison 2866 | if( rfp = TMPFILE("Errors-To") ){ | ^ | == 66 warnings generated. ../mkcpp alias.c alias.cc -- mkcpp set time: 1791324542 -> 1109462810 alias.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c alias.cc alias.cc:48:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 48 | if( afp = fopen(recipient,"r") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~ alias.cc:48:11: note: place parentheses around the assignment to silence this warning 48 | if( afp = fopen(recipient,"r") ){ | ^ | ( ) alias.cc:48:11: note: use '==' to turn this assignment into an equality comparison 48 | if( afp = fopen(recipient,"r") ){ | ^ | == alias.cc:50:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 50 | if( np = strpbrk(rb,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~ alias.cc:50:12: note: place parentheses around the assignment to silence this warning 50 | if( np = strpbrk(rb,"\r\n") ) | ^ | ( ) alias.cc:50:12: note: use '==' to turn this assignment into an equality comparison 50 | if( np = strpbrk(rb,"\r\n") ) | ^ | == alias.cc:52:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 52 | if( rcode = exp1(rb,RCPT,log) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~ alias.cc:52:15: note: place parentheses around the assignment to silence this warning 52 | if( rcode = exp1(rb,RCPT,log) ) | ^ | ( ) alias.cc:52:15: note: use '==' to turn this assignment into an equality comparison 52 | if( rcode = exp1(rb,RCPT,log) ) | ^ | == alias.cc:89:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 89 | if( afp = expand_aliases(av[1],stderr) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alias.cc:89:10: note: place parentheses around the assignment to silence this warning 89 | if( afp = expand_aliases(av[1],stderr) ){ | ^ | ( ) alias.cc:89:10: note: use '==' to turn this assignment into an equality comparison 89 | if( afp = expand_aliases(av[1],stderr) ){ | ^ | == 4 warnings generated. ../mkcpp domain.c domain.cc -- mkcpp set time: 1791324542 -> 1217059353 domain.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c domain.cc domain.cc:217:19: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] 217 | double Start,Time(); | ^~ domain.cc:217:19: note: replace parentheses with an initializer to declare a variable 217 | double Start,Time(); | ^~ | = 0.0 domain.cc:256:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 256 | if( dp = strchr(froma,':') ){ | ~~~^~~~~~~~~~~~~~~~~~~ domain.cc:256:11: note: place parentheses around the assignment to silence this warning 256 | if( dp = strchr(froma,':') ){ | ^ | ( ) domain.cc:256:11: note: use '==' to turn this assignment into an equality comparison 256 | if( dp = strchr(froma,':') ){ | ^ | == domain.cc:392:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 392 | if( dp = strchr(DNS_ORIGIN,'.') ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ domain.cc:392:10: note: place parentheses around the assignment to silence this warning 392 | if( dp = strchr(DNS_ORIGIN,'.') ) | ^ | ( ) domain.cc:392:10: note: use '==' to turn this assignment into an equality comparison 392 | if( dp = strchr(DNS_ORIGIN,'.') ) | ^ | == 3 warnings generated. ../mkcpp lpr.c lpr.cc -- mkcpp set time: 1791324542 -> 1201463656 lpr.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c lpr.cc ../mkcpp sftp.c sftp.cc -- mkcpp set time: 1791324542 -> 1230865514 sftp.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c sftp.cc sftp.cc:50:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 50 | static char *sftp_com = "sftp -oPort=%d %s@%s"; | ^ sftp.cc:153:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 153 | if( dp = strpbrk(res,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~ sftp.cc:153:10: note: place parentheses around the assignment to silence this warning 153 | if( dp = strpbrk(res,"\r\n") ) | ^ | ( ) sftp.cc:153:10: note: use '==' to turn this assignment into an equality comparison 153 | if( dp = strpbrk(res,"\r\n") ) | ^ | == sftp.cc:561:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 561 | if( np = strchr(sp,'\n') ){ | ~~~^~~~~~~~~~~~~~~~~ sftp.cc:561:10: note: place parentheses around the assignment to silence this warning 561 | if( np = strchr(sp,'\n') ){ | ^ | ( ) sftp.cc:561:10: note: use '==' to turn this assignment into an equality comparison 561 | if( np = strchr(sp,'\n') ){ | ^ | == sftp.cc:569:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 569 | if( sp = linehead(sresp,head,0) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ sftp.cc:569:9: note: place parentheses around the assignment to silence this warning 569 | if( sp = linehead(sresp,head,0) ){ | ^ | ( ) sftp.cc:569:9: note: use '==' to turn this assignment into an equality comparison 569 | if( sp = linehead(sresp,head,0) ){ | ^ | == sftp.cc:576:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 576 | static char *BadPath = "No such file or directory"; | ^ sftp.cc:954:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 954 | if( dp = strstr(sresp,"Couldn't") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ sftp.cc:954:11: note: place parentheses around the assignment to silence this warning 954 | if( dp = strstr(sresp,"Couldn't") ){ | ^ | ( ) sftp.cc:954:11: note: use '==' to turn this assignment into an equality comparison 954 | if( dp = strstr(sresp,"Couldn't") ){ | ^ | == sftp.cc:975:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 975 | if( dp = strstr(sresp,"Couldn't") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ sftp.cc:975:11: note: place parentheses around the assignment to silence this warning 975 | if( dp = strstr(sresp,"Couldn't") ){ | ^ | ( ) sftp.cc:975:11: note: use '==' to turn this assignment into an equality comparison 975 | if( dp = strstr(sresp,"Couldn't") ){ | ^ | == 7 warnings generated. ../mkcpp socks.c socks.cc -- mkcpp set time: 1791324543 -> 1229657382 socks.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c socks.cc socks.cc:124:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 124 | if( opts = strchr(svportver,'/') ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ socks.cc:124:12: note: place parentheses around the assignment to silence this warning 124 | if( opts = strchr(svportver,'/') ) | ^ | ( ) socks.cc:124:12: note: use '==' to turn this assignment into an equality comparison 124 | if( opts = strchr(svportver,'/') ) | ^ | == socks.cc:136:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 136 | for( sx = 0; host1 = sockservs[sx].s_Host; sx++ ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ socks.cc:136:21: note: place parentheses around the assignment to silence this warning 136 | for( sx = 0; host1 = sockservs[sx].s_Host; sx++ ){ | ^ | ( ) socks.cc:136:21: note: use '==' to turn this assignment into an equality comparison 136 | for( sx = 0; host1 = sockservs[sx].s_Host; sx++ ){ | ^ | == socks.cc:276:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 276 | if( sv = getViaSocks(host,port,vlocal) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ socks.cc:276:9: note: place parentheses around the assignment to silence this warning 276 | if( sv = getViaSocks(host,port,vlocal) ){ | ^ | ( ) socks.cc:276:9: note: use '==' to turn this assignment into an equality comparison 276 | if( sv = getViaSocks(host,port,vlocal) ){ | ^ | == socks.cc:286:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 286 | if( sv = tobeViaSocks(&toConn) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~ socks.cc:286:9: note: place parentheses around the assignment to silence this warning 286 | if( sv = tobeViaSocks(&toConn) ){ | ^ | ( ) socks.cc:286:9: note: use '==' to turn this assignment into an equality comparison 286 | if( sv = tobeViaSocks(&toConn) ){ | ^ | == socks.cc:329:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 329 | for( sx = 0; host = sockservs[sx].s_Host; sx++ ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ socks.cc:329:20: note: place parentheses around the assignment to silence this warning 329 | for( sx = 0; host = sockservs[sx].s_Host; sx++ ) | ^ | ( ) socks.cc:329:20: note: use '==' to turn this assignment into an equality comparison 329 | for( sx = 0; host = sockservs[sx].s_Host; sx++ ) | ^ | == socks.cc:373:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 373 | if( addr = gethostaddr(host) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~ socks.cc:373:11: note: place parentheses around the assignment to silence this warning 373 | if( addr = gethostaddr(host) ){ | ^ | ( ) socks.cc:373:11: note: use '==' to turn this assignment into an equality comparison 373 | if( addr = gethostaddr(host) ){ | ^ | == socks.cc:395:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 395 | if( addr = gethostaddr(host) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~ socks.cc:395:13: note: place parentheses around the assignment to silence this warning 395 | if( addr = gethostaddr(host) ){ | ^ | ( ) socks.cc:395:13: note: use '==' to turn this assignment into an equality comparison 395 | if( addr = gethostaddr(host) ){ | ^ | == socks.cc:484:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 484 | if( sv = getViaSocksX(gethostint_nboV4(host),port,vlocal) ) return sv; | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ socks.cc:484:9: note: place parentheses around the assignment to silence this warning 484 | if( sv = getViaSocksX(gethostint_nboV4(host),port,vlocal) ) return sv; | ^ | ( ) socks.cc:484:9: note: use '==' to turn this assignment into an equality comparison 484 | if( sv = getViaSocksX(gethostint_nboV4(host),port,vlocal) ) return sv; | ^ | == socks.cc:485:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 485 | if( sv = getViaSocksX(gethostintMin(host),port,vlocal) ) return sv; | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ socks.cc:485:9: note: place parentheses around the assignment to silence this warning 485 | if( sv = getViaSocksX(gethostintMin(host),port,vlocal) ) return sv; | ^ | ( ) socks.cc:485:9: note: use '==' to turn this assignment into an equality comparison 485 | if( sv = getViaSocksX(gethostintMin(host),port,vlocal) ) return sv; | ^ | == socks.cc:486:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 486 | if( sv = getViaSocksX(_inet_addrV4(host),port,vlocal) ) return sv; | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ socks.cc:486:9: note: place parentheses around the assignment to silence this warning 486 | if( sv = getViaSocksX(_inet_addrV4(host),port,vlocal) ) return sv; | ^ | ( ) socks.cc:486:9: note: use '==' to turn this assignment into an equality comparison 486 | if( sv = getViaSocksX(_inet_addrV4(host),port,vlocal) ) return sv; | ^ | == socks.cc:621:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 621 | if( sv = getViaSocksX(gethostint_nboV4(dsthost),dstport,NULL) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ socks.cc:621:9: note: place parentheses around the assignment to silence this warning 621 | if( sv = getViaSocksX(gethostint_nboV4(dsthost),dstport,NULL) ){ | ^ | ( ) socks.cc:621:9: note: use '==' to turn this assignment into an equality comparison 621 | if( sv = getViaSocksX(gethostint_nboV4(dsthost),dstport,NULL) ){ | ^ | == socks.cc:700:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 700 | if( sv = getViaSocksX(gethostint_nboV4(dsthost),dstport,NULL) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ socks.cc:700:9: note: place parentheses around the assignment to silence this warning 700 | if( sv = getViaSocksX(gethostint_nboV4(dsthost),dstport,NULL) ){ | ^ | ( ) socks.cc:700:9: note: use '==' to turn this assignment into an equality comparison 700 | if( sv = getViaSocksX(gethostint_nboV4(dsthost),dstport,NULL) ){ | ^ | == 12 warnings generated. ../mkcpp socks4.c socks4.cc -- mkcpp set time: 1791324543 -> 1207080017 socks4.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c socks4.cc socks4.cc:74:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 74 | if( forwrslv = !isinetAddr(addr) ){ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~ socks4.cc:74:15: note: place parentheses around the assignment to silence this warning 74 | if( forwrslv = !isinetAddr(addr) ){ | ^ | ( ) socks4.cc:74:15: note: use '==' to turn this assignment into an equality comparison 74 | if( forwrslv = !isinetAddr(addr) ){ | ^ | == socks4.cc:198:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 198 | if( addr = gethostaddr(host) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~ socks4.cc:198:12: note: place parentheses around the assignment to silence this warning 198 | if( addr = gethostaddr(host) ){ | ^ | ( ) socks4.cc:198:12: note: use '==' to turn this assignment into an equality comparison 198 | if( addr = gethostaddr(host) ){ | ^ | == 2 warnings generated. ../mkcpp sox.c ../gen/sox.h -sign -- mkcpp set time: 1791324543 -> 1791324544 ../gen/sox.h ../mkcpp sox.c sox.cc -- mkcpp set time: 1791324543 -> 1232521896 sox.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c sox.cc sox.cc:1:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1 | char *SIGN_sox_c="{FILESIGN=sox.c:20090121161130+0900:810fd9d55bd02c2b:Author@DeleGate.ORG:GxbJDEXna/i4bgRM/qRv8Avld4k2ap/jL0K0DwUBcghPZD4tEjoJcBk1WioHVkA3+p2+IVcPHUoOJPFGzNHiXSfuUvY5qgYHqkwciPOHlxMG9aj2JCnPgmmRWno/yUpljOkFT5RvVYtEsLlRu0TS6yW6N9G+lHkxlVbu7i5MCt8=}"; | ^ sox.cc:1300:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1300 | if( pp = parameq(arg,P_SOXOUTPORT) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ sox.cc:1300:10: note: place parentheses around the assignment to silence this warning 1300 | if( pp = parameq(arg,P_SOXOUTPORT) ){ | ^ | ( ) sox.cc:1300:10: note: use '==' to turn this assignment into an equality comparison 1300 | if( pp = parameq(arg,P_SOXOUTPORT) ){ | ^ | == sox.cc:1377:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1377 | if( dp = wordScanY(from,addr,"^:") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ sox.cc:1377:10: note: place parentheses around the assignment to silence this warning 1377 | if( dp = wordScanY(from,addr,"^:") ) | ^ | ( ) sox.cc:1377:10: note: use '==' to turn this assignment into an equality comparison 1377 | if( dp = wordScanY(from,addr,"^:") ) | ^ | == sox.cc:1386:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1386 | if( dp = strchr(addr,':') ){ | ~~~^~~~~~~~~~~~~~~~~~ sox.cc:1386:10: note: place parentheses around the assignment to silence this warning 1386 | if( dp = strchr(addr,':') ){ | ^ | ( ) sox.cc:1386:10: note: use '==' to turn this assignment into an equality comparison 1386 | if( dp = strchr(addr,':') ){ | ^ | == sox.cc:1504:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1504 | if( dp = strchr(servU,'(') ){ | ~~~^~~~~~~~~~~~~~~~~~~ sox.cc:1504:9: note: place parentheses around the assignment to silence this warning 1504 | if( dp = strchr(servU,'(') ){ | ^ | ( ) sox.cc:1504:9: note: use '==' to turn this assignment into an equality comparison 1504 | if( dp = strchr(servU,'(') ){ | ^ | == sox.cc:1506:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1506 | if( ep = strchr(servU,')') ) | ~~~^~~~~~~~~~~~~~~~~~~ sox.cc:1506:10: note: place parentheses around the assignment to silence this warning 1506 | if( ep = strchr(servU,')') ) | ^ | ( ) sox.cc:1506:10: note: use '==' to turn this assignment into an equality comparison 1506 | if( ep = strchr(servU,')') ) | ^ | == sox.cc:1510:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1510 | if( dp = strchr(servU,',') ){ | ~~~^~~~~~~~~~~~~~~~~~~ sox.cc:1510:9: note: place parentheses around the assignment to silence this warning 1510 | if( dp = strchr(servU,',') ){ | ^ | ( ) sox.cc:1510:9: note: use '==' to turn this assignment into an equality comparison 1510 | if( dp = strchr(servU,',') ){ | ^ | == sox.cc:1625:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1625 | if( dp = strstr(fifo,"@") ) | ~~~^~~~~~~~~~~~~~~~~~ sox.cc:1625:9: note: place parentheses around the assignment to silence this warning 1625 | if( dp = strstr(fifo,"@") ) | ^ | ( ) sox.cc:1625:9: note: use '==' to turn this assignment into an equality comparison 1625 | if( dp = strstr(fifo,"@") ) | ^ | == sox.cc:1699:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1699 | if( pp = parameq(a1,P_SYNCHTMUX) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ sox.cc:1699:11: note: place parentheses around the assignment to silence this warning 1699 | if( pp = parameq(a1,P_SYNCHTMUX) ){ | ^ | ( ) sox.cc:1699:11: note: use '==' to turn this assignment into an equality comparison 1699 | if( pp = parameq(a1,P_SYNCHTMUX) ){ | ^ | == sox.cc:1702:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1702 | if( pp = parameq(a1,P_SOXINPORTS) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ sox.cc:1702:11: note: place parentheses around the assignment to silence this warning 1702 | if( pp = parameq(a1,P_SOXINPORTS) ){ | ^ | ( ) sox.cc:1702:11: note: use '==' to turn this assignment into an equality comparison 1702 | if( pp = parameq(a1,P_SOXINPORTS) ){ | ^ | == sox.cc:1912:20: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] 1912 | int getParentSock(); | ^~ sox.cc:1912:20: note: replace parentheses with an initializer to declare a variable 1912 | int getParentSock(); | ^~ | = 0 sox.cc:2084:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2084 | else | ^ sox.cc:2267:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2267 | if( sent = rem - Api->a_lbuf.b_rem ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ sox.cc:2267:13: note: place parentheses around the assignment to silence this warning 2267 | if( sent = rem - Api->a_lbuf.b_rem ){ | ^ | ( ) sox.cc:2267:13: note: use '==' to turn this assignment into an equality comparison 2267 | if( sent = rem - Api->a_lbuf.b_rem ){ | ^ | == sox.cc:2452:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2452 | }else{ | ^ 14 warnings generated. ../mkcpp cuseeme.c cuseeme.cc -- mkcpp set time: 1791324543 -> 1120317847 cuseeme.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c cuseeme.cc cuseeme.cc:226:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 226 | if( ci = isClient(caddr) ) | ~~~^~~~~~~~~~~~~~~~~ cuseeme.cc:226:9: note: place parentheses around the assignment to silence this warning 226 | if( ci = isClient(caddr) ) | ^ | ( ) cuseeme.cc:226:9: note: use '==' to turn this assignment into an equality comparison 226 | if( ci = isClient(caddr) ) | ^ | == cuseeme.cc:428:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 428 | if( file = getenv("CUIN") ){ | ~~~~~^~~~~~~~~~~~~~~~ cuseeme.cc:428:11: note: place parentheses around the assignment to silence this warning 428 | if( file = getenv("CUIN") ){ | ^ | ( ) cuseeme.cc:428:11: note: use '==' to turn this assignment into an equality comparison 428 | if( file = getenv("CUIN") ){ | ^ | == 2 warnings generated. ../mkcpp coupler.c coupler.cc -- mkcpp set time: 1791324544 -> 1142502479 coupler.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c coupler.cc coupler.cc:42:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 42 | if( sfp = fopen(spath,"r") ){ | ~~~~^~~~~~~~~~~~~~~~~~ coupler.cc:42:10: note: place parentheses around the assignment to silence this warning 42 | if( sfp = fopen(spath,"r") ){ | ^ | ( ) coupler.cc:42:10: note: use '==' to turn this assignment into an equality comparison 42 | if( sfp = fopen(spath,"r") ){ | ^ | == 1 warning generated. ../mkcpp vsap.c ../gen/vsap.h -sign -- mkcpp set time: 1791324544 -> 1791324545 ../gen/vsap.h ../mkcpp vsap.c vsap.cc -- mkcpp set time: 1791324544 -> 1232521896 vsap.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c vsap.cc vsap.cc:1:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1 | char *SIGN_vsap_c="{FILESIGN=vsap.c:20090121161131+0900:b43e6b203501214f:Author@DeleGate.ORG:DFTOoIAyWGTjbcvsXnlgM3/G9AjffyY7WcXNwVlY0UnwtU6k2vjrFGbG6UPAcD+j5YztUXsJG3+9HCI07rK0TQRFvgBsiyL4jdyLEKLEiUbEzF6g5aT+iyLB53wVvWUz+0BcL/gU3Ts4d2Zf2glsbMoRlRa9L55/7ndQ9EOoZJM=}"; | ^ vsap.cc:114:22: warning: '/*' within block comment [-Wcomment] 114 | ... MOUNT="/path/* http://realserver/" | ^ 2 warnings generated. ../mkcpp tcprelay.c tcprelay.cc -- mkcpp set time: 1791324544 -> 1224311978 tcprelay.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c tcprelay.cc ../mkcpp udprelay.c udprelay.cc -- mkcpp set time: 1791324544 -> 1193160135 udprelay.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c udprelay.cc udprelay.cc:71:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 71 | for( ai = 0; ua = uav[ai]; ai++ ){ | ~~~^~~~~~~~~ udprelay.cc:71:18: note: place parentheses around the assignment to silence this warning 71 | for( ai = 0; ua = uav[ai]; ai++ ){ | ^ | ( ) udprelay.cc:71:18: note: use '==' to turn this assignment into an equality comparison 71 | for( ai = 0; ua = uav[ai]; ai++ ){ | ^ | == udprelay.cc:82:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 82 | for( ai = 0; ua1 = uav[ai]; ai++ ){ | ~~~~^~~~~~~~~ udprelay.cc:82:19: note: place parentheses around the assignment to silence this warning 82 | for( ai = 0; ua1 = uav[ai]; ai++ ){ | ^ | ( ) udprelay.cc:82:19: note: use '==' to turn this assignment into an equality comparison 82 | for( ai = 0; ua1 = uav[ai]; ai++ ){ | ^ | == udprelay.cc:96:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 96 | for( ai = 0; ua = uav[ai]; ai++ ){ | ~~~^~~~~~~~~ udprelay.cc:96:18: note: place parentheses around the assignment to silence this warning 96 | for( ai = 0; ua = uav[ai]; ai++ ){ | ^ | ( ) udprelay.cc:96:18: note: use '==' to turn this assignment into an equality comparison 96 | for( ai = 0; ua = uav[ai]; ai++ ){ | ^ | == udprelay.cc:250:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 250 | for( ux = 0; ua = uav[ux]; ux++ ){ | ~~~^~~~~~~~~ udprelay.cc:250:18: note: place parentheses around the assignment to silence this warning 250 | for( ux = 0; ua = uav[ux]; ux++ ){ | ^ | ( ) udprelay.cc:250:18: note: use '==' to turn this assignment into an equality comparison 250 | for( ux = 0; ua = uav[ux]; ux++ ){ | ^ | == udprelay.cc:368:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 368 | for( ai = 0; ua = uassocv[ai]; ai++ ){ | ~~~^~~~~~~~~~~~~ udprelay.cc:368:20: note: place parentheses around the assignment to silence this warning 368 | for( ai = 0; ua = uassocv[ai]; ai++ ){ | ^ | ( ) udprelay.cc:368:20: note: use '==' to turn this assignment into an equality comparison 368 | for( ai = 0; ua = uassocv[ai]; ai++ ){ | ^ | == udprelay.cc:376:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 376 | for( ai = 0; ua = uassocv[ai]; ai++ ){ | ~~~^~~~~~~~~~~~~ udprelay.cc:376:20: note: place parentheses around the assignment to silence this warning 376 | for( ai = 0; ua = uassocv[ai]; ai++ ){ | ^ | ( ) udprelay.cc:376:20: note: use '==' to turn this assignment into an equality comparison 376 | for( ai = 0; ua = uassocv[ai]; ai++ ){ | ^ | == udprelay.cc:382:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 382 | for( ai = 0; ua = uassocv[ai]; ai++ ){ | ~~~^~~~~~~~~~~~~ udprelay.cc:382:20: note: place parentheses around the assignment to silence this warning 382 | for( ai = 0; ua = uassocv[ai]; ai++ ){ | ^ | ( ) udprelay.cc:382:20: note: use '==' to turn this assignment into an equality comparison 382 | for( ai = 0; ua = uassocv[ai]; ai++ ){ | ^ | == 7 warnings generated. ../mkcpp ftpgw.c ftpgw.cc -- mkcpp set time: 1791324544 -> 1231276189 ftpgw.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c ftpgw.cc ftpgw.cc:113:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 113 | for( pb = pathbuf; dp = strchr(pb,'/'); pb = dp +1 ){ | ~~~^~~~~~~~~~~~~~~~ ftpgw.cc:113:24: note: place parentheses around the assignment to silence this warning 113 | for( pb = pathbuf; dp = strchr(pb,'/'); pb = dp +1 ){ | ^ | ( ) ftpgw.cc:113:24: note: use '==' to turn this assignment into an equality comparison 113 | for( pb = pathbuf; dp = strchr(pb,'/'); pb = dp +1 ){ | ^ | == ftpgw.cc:226:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 226 | if( dp = strstr(resp,busy) ){ | ~~~^~~~~~~~~~~~~~~~~~~ ftpgw.cc:226:10: note: place parentheses around the assignment to silence this warning 226 | if( dp = strstr(resp,busy) ){ | ^ | ( ) ftpgw.cc:226:10: note: use '==' to turn this assignment into an equality comparison 226 | if( dp = strstr(resp,busy) ){ | ^ | == ftpgw.cc:403:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 403 | if( rcode = ftp_cachepath(Conn,host,port,path,AVStr(cachepath)) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftpgw.cc:403:12: note: place parentheses around the assignment to silence this warning 403 | if( rcode = ftp_cachepath(Conn,host,port,path,AVStr(cachepath)) ){ | ^ | ( ) ftpgw.cc:403:12: note: use '==' to turn this assignment into an equality comparison 403 | if( rcode = ftp_cachepath(Conn,host,port,path,AVStr(cachepath)) ){ | ^ | == ftpgw.cc:432:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 432 | if( dp = strrchr(ppath,'/') ) | ~~~^~~~~~~~~~~~~~~~~~~~ ftpgw.cc:432:9: note: place parentheses around the assignment to silence this warning 432 | if( dp = strrchr(ppath,'/') ) | ^ | ( ) ftpgw.cc:432:9: note: use '==' to turn this assignment into an equality comparison 432 | if( dp = strrchr(ppath,'/') ) | ^ | == ftpgw.cc:438:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 438 | if( pfp = fopen(ppath,"r") ) | ~~~~^~~~~~~~~~~~~~~~~~ ftpgw.cc:438:10: note: place parentheses around the assignment to silence this warning 438 | if( pfp = fopen(ppath,"r") ) | ^ | ( ) ftpgw.cc:438:10: note: use '==' to turn this assignment into an equality comparison 438 | if( pfp = fopen(ppath,"r") ) | ^ | == ftpgw.cc:456:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 456 | if( dp = strrchr(ocpath,'/') ) | ~~~^~~~~~~~~~~~~~~~~~~~~ ftpgw.cc:456:9: note: place parentheses around the assignment to silence this warning 456 | if( dp = strrchr(ocpath,'/') ) | ^ | ( ) ftpgw.cc:456:9: note: use '==' to turn this assignment into an equality comparison 456 | if( dp = strrchr(ocpath,'/') ) | ^ | == ftpgw.cc:459:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 459 | if( file = strrchr(ocpath,'/') ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~ ftpgw.cc:459:11: note: place parentheses around the assignment to silence this warning 459 | if( file = strrchr(ocpath,'/') ) | ^ | ( ) ftpgw.cc:459:11: note: use '==' to turn this assignment into an equality comparison 459 | if( file = strrchr(ocpath,'/') ) | ^ | == ftpgw.cc:677:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 677 | if( totalc = putMovedToDir(Conn,tc) ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ftpgw.cc:677:14: note: place parentheses around the assignment to silence this warning 677 | if( totalc = putMovedToDir(Conn,tc) ){ | ^ | ( ) ftpgw.cc:677:14: note: use '==' to turn this assignment into an equality comparison 677 | if( totalc = putMovedToDir(Conn,tc) ){ | ^ | == ftpgw.cc:947:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 947 | if( totalc = putMovedToDir(Conn,tc) ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ftpgw.cc:947:15: note: place parentheses around the assignment to silence this warning 947 | if( totalc = putMovedToDir(Conn,tc) ){ | ^ | ( ) ftpgw.cc:947:15: note: use '==' to turn this assignment into an equality comparison 947 | if( totalc = putMovedToDir(Conn,tc) ){ | ^ | == ftpgw.cc:1151:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1151 | else | ^ ftpgw.cc:1264:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1264 | if( dp = strpbrk(lsl,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~ ftpgw.cc:1264:9: note: place parentheses around the assignment to silence this warning 1264 | if( dp = strpbrk(lsl,"\r\n") ) | ^ | ( ) ftpgw.cc:1264:9: note: use '==' to turn this assignment into an equality comparison 1264 | if( dp = strpbrk(lsl,"\r\n") ) | ^ | == ftpgw.cc:1298:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1298 | if( len = strlen(links) ){ | ~~~~^~~~~~~~~~~~~~~ ftpgw.cc:1298:10: note: place parentheses around the assignment to silence this warning 1298 | if( len = strlen(links) ){ | ^ | ( ) ftpgw.cc:1298:10: note: use '==' to turn this assignment into an equality comparison 1298 | if( len = strlen(links) ){ | ^ | == ftpgw.cc:1344:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1344 | if( slp = strstr(name," -> ") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~ ftpgw.cc:1344:11: note: place parentheses around the assignment to silence this warning 1344 | if( slp = strstr(name," -> ") ){ | ^ | ( ) ftpgw.cc:1344:11: note: use '==' to turn this assignment into an equality comparison 1344 | if( slp = strstr(name," -> ") ){ | ^ | == ftpgw.cc:1377:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1377 | if( dp = strpbrk(name,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ ftpgw.cc:1377:10: note: place parentheses around the assignment to silence this warning 1377 | if( dp = strpbrk(name,"\r\n") ) | ^ | ( ) ftpgw.cc:1377:10: note: use '==' to turn this assignment into an equality comparison 1377 | if( dp = strpbrk(name,"\r\n") ) | ^ | == ftpgw.cc:1381:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1381 | if( dp = strrchr(name,' ') ) | ~~~^~~~~~~~~~~~~~~~~~~ ftpgw.cc:1381:10: note: place parentheses around the assignment to silence this warning 1381 | if( dp = strrchr(name,' ') ) | ^ | ( ) ftpgw.cc:1381:10: note: use '==' to turn this assignment into an equality comparison 1381 | if( dp = strrchr(name,' ') ) | ^ | == ftpgw.cc:1399:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1399 | if( dp = strrchr(line,' ') ){ | ~~~^~~~~~~~~~~~~~~~~~~ ftpgw.cc:1399:9: note: place parentheses around the assignment to silence this warning 1399 | if( dp = strrchr(line,' ') ){ | ^ | ( ) ftpgw.cc:1399:9: note: use '==' to turn this assignment into an equality comparison 1399 | if( dp = strrchr(line,' ') ){ | ^ | == ftpgw.cc:1424:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1424 | if( lastdir = strrchr(dir,'/') ) | ~~~~~~~~^~~~~~~~~~~~~~~~~~ ftpgw.cc:1424:16: note: place parentheses around the assignment to silence this warning 1424 | if( lastdir = strrchr(dir,'/') ) | ^ | ( ) ftpgw.cc:1424:16: note: use '==' to turn this assignment into an equality comparison 1424 | if( lastdir = strrchr(dir,'/') ) | ^ | == ftpgw.cc:1443:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1443 | while( cdir = strstr(path,"/./") ) | ~~~~~^~~~~~~~~~~~~~~~~~~~ ftpgw.cc:1443:15: note: place parentheses around the assignment to silence this warning 1443 | while( cdir = strstr(path,"/./") ) | ^ | ( ) ftpgw.cc:1443:15: note: use '==' to turn this assignment into an equality comparison 1443 | while( cdir = strstr(path,"/./") ) | ^ | == ftpgw.cc:1446:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1446 | while( pdir = strstr(path,"/../") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~ ftpgw.cc:1446:15: note: place parentheses around the assignment to silence this warning 1446 | while( pdir = strstr(path,"/../") ){ | ^ | ( ) ftpgw.cc:1446:15: note: use '==' to turn this assignment into an equality comparison 1446 | while( pdir = strstr(path,"/../") ){ | ^ | == 19 warnings generated. ../mkcpp filetype.c filetype.cc -- mkcpp set time: 1791324545 -> 1219914732 filetype.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c filetype.cc filetype.cc:132:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 132 | for( fx = 0; filetype = dflt_filetypes[fx]; fx++ ) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ filetype.cc:132:24: note: place parentheses around the assignment to silence this warning 132 | for( fx = 0; filetype = dflt_filetypes[fx]; fx++ ) | ^ | ( ) filetype.cc:132:24: note: use '==' to turn this assignment into an equality comparison 132 | for( fx = 0; filetype = dflt_filetypes[fx]; fx++ ) | ^ | == filetype.cc:140:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 140 | if( sp = strrcasestr(path,sfx) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~ filetype.cc:140:9: note: place parentheses around the assignment to silence this warning 140 | if( sp = strrcasestr(path,sfx) ){ | ^ | ( ) filetype.cc:140:9: note: use '==' to turn this assignment into an equality comparison 140 | if( sp = strrcasestr(path,sfx) ){ | ^ | == filetype.cc:152:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 152 | for( ci = 0; ft = filetypes[ci]; ci++ ){ | ~~~^~~~~~~~~~~~~~~ filetype.cc:152:18: note: place parentheses around the assignment to silence this warning 152 | for( ci = 0; ft = filetypes[ci]; ci++ ){ | ^ | ( ) filetype.cc:152:18: note: use '==' to turn this assignment into an equality comparison 152 | for( ci = 0; ft = filetypes[ci]; ci++ ){ | ^ | == filetype.cc:166:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 166 | for( ci = 0; ft = filetypes[ci]; ci++ ){ | ~~~^~~~~~~~~~~~~~~ filetype.cc:166:18: note: place parentheses around the assignment to silence this warning 166 | for( ci = 0; ft = filetypes[ci]; ci++ ){ | ^ | ( ) filetype.cc:166:18: note: use '==' to turn this assignment into an equality comparison 166 | for( ci = 0; ft = filetypes[ci]; ci++ ){ | ^ | == filetype.cc:174:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 174 | if( gt = filename2gtypeX(name) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~ filetype.cc:174:9: note: place parentheses around the assignment to silence this warning 174 | if( gt = filename2gtypeX(name) ) | ^ | ( ) filetype.cc:174:9: note: use '==' to turn this assignment into an equality comparison 174 | if( gt = filename2gtypeX(name) ) | ^ | == filetype.cc:183:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 183 | for( ci = 0; ft = filetypes[ci]; ci++ ){ | ~~~^~~~~~~~~~~~~~~ filetype.cc:183:18: note: place parentheses around the assignment to silence this warning 183 | for( ci = 0; ft = filetypes[ci]; ci++ ){ | ^ | ( ) filetype.cc:183:18: note: use '==' to turn this assignment into an equality comparison 183 | for( ci = 0; ft = filetypes[ci]; ci++ ){ | ^ | == filetype.cc:209:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 209 | if( ctype = filename2ctype(path/*,0L*/) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ filetype.cc:209:12: note: place parentheses around the assignment to silence this warning 209 | if( ctype = filename2ctype(path/*,0L*/) ) | ^ | ( ) filetype.cc:209:12: note: use '==' to turn this assignment into an equality comparison 209 | if( ctype = filename2ctype(path/*,0L*/) ) | ^ | == filetype.cc:217:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 217 | if( gtype = filename2gtypeX(path) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ filetype.cc:217:12: note: place parentheses around the assignment to silence this warning 217 | if( gtype = filename2gtypeX(path) ){ | ^ | ( ) filetype.cc:217:12: note: use '==' to turn this assignment into an equality comparison 217 | if( gtype = filename2gtypeX(path) ){ | ^ | == 8 warnings generated. rm -f ../lib/libdelegate.a ar cr ../lib/libdelegate.a version.o ../srcsign.o editconf.o admin.o notify.o shutter.o abort.o form2conf.o process.o vaddr.o conf.o svport.o ddi.o textconv.o script.o param.o env.o syslog.o log.o svstat.o iotimeout.o misc.o msg.o yshell.o shio.o db.o hostlist.o cond.o service.o svconf.o filter.o master.o delegate.o caps.o stls.o tsp.o sudo.o gacl.o access.o ident.o dgauth.o dgsign.o ccache.o cache.o distrib.o bcounter.o ipno.o inets.o uns.o rident.o inetd.o thruwayd.o dget.o urlfind.o mount.o url.o gopher.o icp.o icap.o http.o httpx.o httplog.o httphead.o httpd.o cgi.o ssi.o htaccept.o htccx.o htswitch.o htmlgen.o nntp.o nntplist.o nntpgw.o enews.o pop.o smtp.o telnet.o ftp.o xferlog.o X.o wais.o whois.o imap.o ldap.o smtpgate.o alias.o domain.o lpr.o sftp.o socks.o socks4.o sox.o cuseeme.o coupler.o vsap.o tcprelay.o udprelay.o ftpgw.o filetype.o /usr/bin/ranlib ../lib/libdelegate.a ../mkcpp embed.c embed.cc -- mkcpp set time: 1791324545 -> 1225877503 embed.cc clang -O2 -x c++ -DQS -DNONC99 -I../gen -I../include -Wno-narrowing -pipe -Os -c embed.cc -DADMINPASS=\"\" -DADMIN=\"root@localhost\" -DIMPSIZE=10000 embed.cc:76:16: warning: format specifies type 'unsigned int' but the argument has type '__darwin_time_t' (aka 'long') [-Wformat] 76 | printf("%-8x",st.st_mtime); | ~~~~ ^~~~~~~~~~~ | %-8lx embed.cc:118:19: warning: data argument not used by format string [-Wformat-extra-args] 118 | printf("\"\n\n",nc,st.st_mtime); | ~~~~~~~~ ^ embed.cc:119:24: warning: data argument not used by format string [-Wformat-extra-args] 119 | else printf("\";\n\n",nc,st.st_mtime); | ~~~~~~~~~ ^ embed.cc:182:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 182 | if( az = strheadstrX(a1,"-IMPSIZE=",0) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ embed.cc:182:10: note: place parentheses around the assignment to silence this warning 182 | if( az = strheadstrX(a1,"-IMPSIZE=",0) ){ | ^ | ( ) embed.cc:182:10: note: use '==' to turn this assignment into an equality comparison 182 | if( az = strheadstrX(a1,"-IMPSIZE=",0) ){ | ^ | == embed.cc:267:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 267 | if( filter = (char*)strrchr(dirfile,'/') ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ embed.cc:267:14: note: place parentheses around the assignment to silence this warning 267 | if( filter = (char*)strrchr(dirfile,'/') ){ | ^ | ( ) embed.cc:267:14: note: use '==' to turn this assignment into an equality comparison 267 | if( filter = (char*)strrchr(dirfile,'/') ){ | ^ | == embed.cc:269:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 269 | if( recursive = strstr(dirfile,"**") ){ | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ embed.cc:269:18: note: place parentheses around the assignment to silence this warning 269 | if( recursive = strstr(dirfile,"**") ){ | ^ | ( ) embed.cc:269:18: note: use '==' to turn this assignment into an equality comparison 269 | if( recursive = strstr(dirfile,"**") ){ | ^ | == embed.cc:324:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 324 | if( np = strchr(psp,':') ) | ~~~^~~~~~~~~~~~~~~~~ embed.cc:324:12: note: place parentheses around the assignment to silence this warning 324 | if( np = strchr(psp,':') ) | ^ | ( ) embed.cc:324:12: note: use '==' to turn this assignment into an equality comparison 324 | if( np = strchr(psp,':') ) | ^ | == embed.cc:332:34: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat] 332 | printf("#define MADE_TIME %d\n",time(0)); | ~~ ^~~~~~~ | %ld 8 warnings generated. clang -L../lib -o ./embed embed.o version.o ../srcsign.o ../lib/library.a ../lib/libmimekit.a ../lib/libmd5.a -ldl -lutil -lpthread -lpam -lstdc++ -lc ../lib/libsubst.a ./embed -IMPSIZE=10000 > _builtin.c "../COPYRIGHT" "builtin/**/*.gif" "builtin/**/*.ico" "builtin/**/*.bmp" "builtin/**/*.dll" "builtin/**/*.dhtml" "builtin/**/*.pem" "builtin/**/*.cnf" "builtin/**/*.cnv" "builtin/config/smtpgate/**/conf" Segmentation fault *** Error code 139 Stop. bmake[2]: stopped making "start2" in /var/tmp/work/net/delegate/work/delegate9.9.1/src *** Error code 1 Stop. bmake[1]: stopped making "start0" in /var/tmp/work/net/delegate/work/delegate9.9.1/src *** exit(1): -makeat at /var/tmp/work/net/delegate/work/delegate9.9.1/src [0] /opt/pkg/bin/bmake [1] MKMAKE_SRC= [2] SHELL=/opt/pkg/bin/mksh [3] HDRDIRS=-I../gen -I../include -Wno-narrowing -pipe -Os [4] LIBDIRS=-L../lib [5] MKMAKE=/var/tmp/work/net/delegate/work/delegate9.9.1/mkmake.exe [6] MKBASE=/var/tmp/work/net/delegate/work/delegate9.9.1 [7] MKMKMK=/var/tmp/work/net/delegate/work/delegate9.9.1/mkmkmk.exe *** exit(1): -makeat at /var/tmp/work/net/delegate/work/delegate9.9.1/src [0] ./mkmake.exe [1] [2] src [3] dg.exe [4] /opt/pkg/bin/bmake [5] MKMAKE_SRC= [6] SHELL=/opt/pkg/bin/mksh [7] HDRDIRS=-I../gen -I../include -Wno-narrowing -pipe -Os [8] LIBDIRS=-L../lib *** Error code 1 Stop. bmake: stopped making "all" in /var/tmp/work/net/delegate/work/delegate9.9.1 *** Error code 1 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/delegate *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/delegate