The build took 00h 03m 50s and was SUCCESSFUL.
The program in this build is written in the following languages, according to sloccount:
SLOC | Language |
---|---|
426,505 |
ansic |
64,701 |
cpp |
1,931 |
makefile |
990 |
sh |
37 |
csh |
494,164 |
total |
The process tree of the build process is here.
To avoid scrolling, you may jump to the last line of the
invocation of makepkg
that was used to build this
package.
Removed vanilla repositories from pacman.conf and added:
Copied permanent toolchain into container-local sysroot
/toolchain_root/sysroot --> /sysroot/sysroot
/toolchain_root/lib --> /sysroot/lib
/toolchain_root/sbin --> /sysroot/sbin
/toolchain_root/lib64 --> /sysroot/lib64
/toolchain_root/etc --> /sysroot/etc
/toolchain_root/share --> /sysroot/share
/toolchain_root/bin --> /sysroot/bin
/toolchain_root/var --> /sysroot/var
/toolchain_root/usr --> /sysroot/usr
/toolchain_root/glibc-build --> /sysroot/glibc-build
/toolchain_root/x86_64-pc-linux-gnu --> /sysroot/x86_64-pc-linux-gnu
/toolchain_root/include --> /sysroot/include
/toolchain_root/libexec --> /sysroot/libexec
CMD: sudo -u tuscan PATH=/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CC=clang CXX=clang++ red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
==> Making package: delegate 9.9.13-3 (Thu Apr 13 21:00:08 UTC 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
sh link-libs.sh
clang -DMKMKMK -DDEFCC=\"clang\" -I../gen -I../include -Wno-narrowing -Llib mkmkmk.c -o mkmkmk.exe
In file included from mkmkmk.c:1:
./maker/mkmake.c:237:3: warning: add explicit braces to avoid dangling else [-Wdangling-else]
else
^
./maker/mkmake.c:246:3: warning: add explicit braces to avoid dangling else [-Wdangling-else]
else
^
./maker/mkmake.c:365:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( fp = fopen(path,"r+") ){
~~~^~~~~~~~~~~~~~~~~~
./maker/mkmake.c:365:10: note: place parentheses around the assignment to silence this warning
if( fp = fopen(path,"r+") ){
^
( )
./maker/mkmake.c:365:10: note: use '==' to turn this assignment into an equality comparison
if( fp = fopen(path,"r+") ){
^
==
./maker/mkmake.c:424:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( err = fopen("mkmake.err","a") ){
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./maker/mkmake.c:424:10: note: place parentheses around the assignment to silence this warning
if( err = fopen("mkmake.err","a") ){
^
( )
./maker/mkmake.c:424:10: note: use '==' to turn this assignment into an equality comparison
if( err = fopen("mkmake.err","a") ){
^
==
./maker/mkmake.c:604:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( fp = fopen(CONF,"w") ){
~~~^~~~~~~~~~~~~~~~~
./maker/mkmake.c:604:9: note: place parentheses around the assignment to silence this warning
if( fp = fopen(CONF,"w") ){
^
( )
./maker/mkmake.c:604:9: note: use '==' to turn this assignment into an equality comparison
if( fp = fopen(CONF,"w") ){
^
==
./maker/mkmake.c:725:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = strchr(a1+3,')') ){
~~~^~~~~~~~~~~~~~~~~~
./maker/mkmake.c:725:12: note: place parentheses around the assignment to silence this warning
if( dp = strchr(a1+3,')') ){
^
( )
./maker/mkmake.c:725:12: note: use '==' to turn this assignment into an equality comparison
if( dp = strchr(a1+3,')') ){
^
==
./maker/mkmake.c:789:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( env = getenv("MAKEFLAGS") ) *env = 0;
~~~~^~~~~~~~~~~~~~~~~~~~~
./maker/mkmake.c:789:11: note: place parentheses around the assignment to silence this warning
if( env = getenv("MAKEFLAGS") ) *env = 0;
^
( )
./maker/mkmake.c:789:11: note: use '==' to turn this assignment into an equality comparison
if( env = getenv("MAKEFLAGS") ) *env = 0;
^
==
./maker/mkmake.c:790:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( env = getenv("MFLAGS") ) *env = 0;
~~~~^~~~~~~~~~~~~~~~~~
./maker/mkmake.c:790:11: note: place parentheses around the assignment to silence this warning
if( env = getenv("MFLAGS") ) *env = 0;
^
( )
./maker/mkmake.c:790:11: note: use '==' to turn this assignment into an equality comparison
if( env = getenv("MFLAGS") ) *env = 0;
^
==
./maker/mkmake.c:1052:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( fp = fopen(file,"r") ){
~~~^~~~~~~~~~~~~~~~~
./maker/mkmake.c:1052:10: note: place parentheses around the assignment to silence this warning
if( fp = fopen(file,"r") ){
^
( )
./maker/mkmake.c:1052:10: note: use '==' to turn this assignment into an equality comparison
if( fp = fopen(file,"r") ){
^
==
./maker/mkmake.c:1157:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = strpbrk(ans,"\r\n") )
~~~^~~~~~~~~~~~~~~~~~~~~
./maker/mkmake.c:1157:10: note: place parentheses around the assignment to silence this warning
if( dp = strpbrk(ans,"\r\n") )
^
( )
./maker/mkmake.c:1157:10: note: use '==' to turn this assignment into an equality comparison
if( dp = strpbrk(ans,"\r\n") )
^
==
./maker/mkmake.c:1168:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = strpbrk(ans,"\r\n") )
~~~^~~~~~~~~~~~~~~~~~~~~
./maker/mkmake.c:1168:10: note: place parentheses around the assignment to silence this warning
if( dp = strpbrk(ans,"\r\n") )
^
( )
./maker/mkmake.c:1168:10: note: use '==' to turn this assignment into an equality comparison
if( dp = strpbrk(ans,"\r\n") )
^
==
./maker/mkmake.c:1195:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( conf = fopen(CONF,"a") ){
~~~~~^~~~~~~~~~~~~~~~~
./maker/mkmake.c:1195:12: note: place parentheses around the assignment to silence this warning
if( conf = fopen(CONF,"a") ){
^
( )
./maker/mkmake.c:1195:12: note: use '==' to turn this assignment into an equality comparison
if( conf = fopen(CONF,"a") ){
^
==
./maker/mkmake.c:1201:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( okfp = fopen(MAKEFILE_OK,"w") ){
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
./maker/mkmake.c:1201:11: note: place parentheses around the assignment to silence this warning
if( okfp = fopen(MAKEFILE_OK,"w") ){
^
( )
./maker/mkmake.c:1201:11: note: use '==' to turn this assignment into an equality comparison
if( okfp = fopen(MAKEFILE_OK,"w") ){
^
==
./maker/mkmake.c:1357:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( rcode = EXECVPR(nav[0],nav) ){
~~~~~~^~~~~~~~~~~~~~~~~~~~~
./maker/mkmake.c:1357:12: note: place parentheses around the assignment to silence this warning
if( rcode = EXECVPR(nav[0],nav) ){
^
( )
./maker/mkmake.c:1357:12: note: use '==' to turn this assignment into an equality comparison
if( rcode = EXECVPR(nav[0],nav) ){
^
==
./maker/mkmake.c:1405:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = strrchr(src,'/') ){
~~~^~~~~~~~~~~~~~~~~~
./maker/mkmake.c:1405:10: note: place parentheses around the assignment to silence this warning
if( dp = strrchr(src,'/') ){
^
( )
./maker/mkmake.c:1405:10: note: use '==' to turn this assignment into an equality comparison
if( dp = strrchr(src,'/') ){
^
==
./maker/mkmake.c:1449:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while( rcc = fread(buf,1,sizeof(buf),ifp) )
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./maker/mkmake.c:1449:14: note: place parentheses around the assignment to silence this warning
while( rcc = fread(buf,1,sizeof(buf),ifp) )
^
( )
./maker/mkmake.c:1449:14: note: use '==' to turn this assignment into an equality comparison
while( rcc = fread(buf,1,sizeof(buf),ifp) )
^
==
./maker/mkmake.c:1474:11: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( ln1 && ln1 <= lnc
~~~~^~~~~~~~~~~~~
./maker/mkmake.c:1474:11: note: place parentheses around the '&&' expression to silence this warning
if( ln1 && ln1 <= lnc
^
( )
./maker/mkmake.c:1475:11: warning: '&&' within '||' [-Wlogical-op-parentheses]
|| ls1 && strncmp(line,ls1,strlen(ls1)) == 0 )
~~ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./maker/mkmake.c:1475:11: note: place parentheses around the '&&' expression to silence this warning
|| ls1 && strncmp(line,ls1,strlen(ls1)) == 0 )
^
( )
./maker/mkmake.c:1539:11: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( ln2 && ln2 <= lnc
~~~~^~~~~~~~~~~~~
./maker/mkmake.c:1539:11: note: place parentheses around the '&&' expression to silence this warning
if( ln2 && ln2 <= lnc
^
( )
./maker/mkmake.c:1540:11: warning: '&&' within '||' [-Wlogical-op-parentheses]
|| ls2 && strncmp(line,ls2,strlen(ls2)) == 0 ){
~~ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./maker/mkmake.c:1540:11: note: place parentheses around the '&&' expression to silence this warning
|| ls2 && strncmp(line,ls2,strlen(ls2)) == 0 ){
^
( )
./maker/mkmake.c:1558:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( ep = wp; ec = *ep; ep++ ){
~~~^~~~~
./maker/mkmake.c:1558:19: note: place parentheses around the assignment to silence this warning
for( ep = wp; ec = *ep; ep++ ){
^
( )
./maker/mkmake.c:1558:19: note: use '==' to turn this assignment into an equality comparison
for( ep = wp; ec = *ep; ep++ ){
^
==
./maker/mkmake.c:1589:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( pe = getenv("PATH") )
~~~^~~~~~~~~~~~~~~~
./maker/mkmake.c:1589:9: note: place parentheses around the assignment to silence this warning
if( pe = getenv("PATH") )
^
( )
./maker/mkmake.c:1589:9: note: use '==' to turn this assignment into an equality comparison
if( pe = getenv("PATH") )
^
==
./maker/mkmake.c:1595:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( np = (char*)strchr(dir+1,':') )
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
./maker/mkmake.c:1595:10: note: place parentheses around the assignment to silence this warning
if( np = (char*)strchr(dir+1,':') )
^
( )
./maker/mkmake.c:1595:10: note: use '==' to turn this assignment into an equality comparison
if( np = (char*)strchr(dir+1,':') )
^
==
./maker/mkmake.c:1599:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( fp = fopen(path,"r") ){
~~~^~~~~~~~~~~~~~~~~
./maker/mkmake.c:1599:10: note: place parentheses around the assignment to silence this warning
if( fp = fopen(path,"r") ){
^
( )
./maker/mkmake.c:1599:10: note: use '==' to turn this assignment into an equality comparison
if( fp = fopen(path,"r") ){
^
==
./maker/mkmake.c:1716:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = (char*)strrchr(file,'.') )
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
./maker/mkmake.c:1716:9: note: place parentheses around the assignment to silence this warning
if( dp = (char*)strrchr(file,'.') )
^
( )
./maker/mkmake.c:1716:9: note: use '==' to turn this assignment into an equality comparison
if( dp = (char*)strrchr(file,'.') )
^
==
./maker/mkmake.c:1742:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( si = 0; src1 = srcv[si]; si++ )
~~~~~^~~~~~~~~~
./maker/mkmake.c:1742:20: note: place parentheses around the assignment to silence this warning
for( si = 0; src1 = srcv[si]; si++ )
^
( )
./maker/mkmake.c:1742:20: note: use '==' to turn this assignment into an equality comparison
for( si = 0; src1 = srcv[si]; si++ )
^
==
./maker/mkmake.c:1769:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( fp = fopen(manifest,"r") ){
~~~^~~~~~~~~~~~~~~~~~~~~
./maker/mkmake.c:1769:9: note: place parentheses around the assignment to silence this warning
if( fp = fopen(manifest,"r") ){
^
( )
./maker/mkmake.c:1769:9: note: use '==' to turn this assignment into an equality comparison
if( fp = fopen(manifest,"r") ){
^
==
./maker/mkmake.c:1797:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( fp = fopen(manifest,"w") ){
~~~^~~~~~~~~~~~~~~~~~~~~
./maker/mkmake.c:1797:9: note: place parentheses around the assignment to silence this warning
if( fp = fopen(manifest,"w") ){
^
( )
./maker/mkmake.c:1797:9: note: use '==' to turn this assignment into an equality comparison
if( fp = fopen(manifest,"w") ){
^
==
./maker/mkmake.c:1850:15: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( CPP != 0 && sym[0] == '_'
~~~~~~~~~^~~~~~~~~~~~~~~~
./maker/mkmake.c:1850:15: note: place parentheses around the '&&' expression to silence this warning
if( CPP != 0 && sym[0] == '_'
^
( )
./maker/mkmake.c:1922:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( sfp = fopen(substlist,"r") ){
~~~~^~~~~~~~~~~~~~~~~~~~~~
./maker/mkmake.c:1922:10: note: place parentheses around the assignment to silence this warning
if( sfp = fopen(substlist,"r") ){
^
( )
./maker/mkmake.c:1922:10: note: use '==' to turn this assignment into an equality comparison
if( sfp = fopen(substlist,"r") ){
^
==
./maker/mkmake.c:1930:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = strpbrk(buf,"\r\n") )
~~~^~~~~~~~~~~~~~~~~~~~~
./maker/mkmake.c:1930:11: note: place parentheses around the assignment to silence this warning
if( dp = strpbrk(buf,"\r\n") )
^
( )
./maker/mkmake.c:1930:11: note: use '==' to turn this assignment into an equality comparison
if( dp = strpbrk(buf,"\r\n") )
^
==
./maker/mkmake.c:1939:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( sfp = fopen(substlist,"w") ){
~~~~^~~~~~~~~~~~~~~~~~~~~~
./maker/mkmake.c:1939:11: note: place parentheses around the assignment to silence this warning
if( sfp = fopen(substlist,"w") ){
^
( )
./maker/mkmake.c:1939:11: note: use '==' to turn this assignment into an equality comparison
if( sfp = fopen(substlist,"w") ){
^
==
./maker/mkmake.c:2044:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( rcode = (*func)(file,fv,fcp) )
~~~~~~^~~~~~~~~~~~~~~~~~~~~~
./maker/mkmake.c:2044:13: note: place parentheses around the assignment to silence this warning
if( rcode = (*func)(file,fv,fcp) )
^
( )
./maker/mkmake.c:2044:13: note: use '==' to turn this assignment into an equality comparison
if( rcode = (*func)(file,fv,fcp) )
^
==
./maker/mkmake.c:2404:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( fp = fopen(HOSTNAME_FILE,"r") ){
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
./maker/mkmake.c:2404:10: note: place parentheses around the assignment to silence this warning
if( fp = fopen(HOSTNAME_FILE,"r") ){
^
( )
./maker/mkmake.c:2404:10: note: use '==' to turn this assignment into an equality comparison
if( fp = fopen(HOSTNAME_FILE,"r") ){
^
==
./maker/mkmake.c:2412:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( fp = popen(HOSTNAME_COM,"r") ){
~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./maker/mkmake.c:2412:10: note: place parentheses around the assignment to silence this warning
if( fp = popen(HOSTNAME_COM,"r") ){
^
( )
./maker/mkmake.c:2412:10: note: use '==' to turn this assignment into an equality comparison
if( fp = popen(HOSTNAME_COM,"r") ){
^
==
In file included from mkmkmk.c:1:
In file included from ./maker/mkmake.c:2468:
./maker/../rary/cksum.c:60:23: warning: expression result unused [-Wunused-value]
for( li = 0; li < 4; li ){
^~
./maker/../rary/cksum.c:107:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( fp = fopen(file,"r") ){
~~~^~~~~~~~~~~~~~~~~
./maker/../rary/cksum.c:107:9: note: place parentheses around the assignment to silence this warning
if( fp = fopen(file,"r") ){
^
( )
./maker/../rary/cksum.c:107:9: note: use '==' to turn this assignment into an equality comparison
if( fp = fopen(file,"r") ){
^
==
./maker/../rary/cksum.c:115:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( sum = fopen(sumfile,"w") ){
~~~~^~~~~~~~~~~~~~~~~~~~
./maker/../rary/cksum.c:115:11: note: place parentheses around the assignment to silence this warning
if( sum = fopen(sumfile,"w") ){
^
( )
./maker/../rary/cksum.c:115:11: note: use '==' to turn this assignment into an equality comparison
if( sum = fopen(sumfile,"w") ){
^
==
./maker/../rary/cksum.c:142:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( ci = 0; ch = line[ci]; ci++ ){
~~~^~~~~~~~~~
./maker/../rary/cksum.c:142:20: note: place parentheses around the assignment to silence this warning
for( ci = 0; ch = line[ci]; ci++ ){
^
( )
./maker/../rary/cksum.c:142:20: note: use '==' to turn this assignment into an equality comparison
for( ci = 0; ch = line[ci]; ci++ ){
^
==
./maker/../rary/cksum.c:207:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( fp = fopen(file,"r") ){
~~~^~~~~~~~~~~~~~~~~
./maker/../rary/cksum.c:207:12: note: place parentheses around the assignment to silence this warning
if( fp = fopen(file,"r") ){
^
( )
./maker/../rary/cksum.c:207:12: note: use '==' to turn this assignment into an equality comparison
if( fp = fopen(file,"r") ){
^
==
./maker/../rary/cksum.c:263:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( fp = fopen(av[ai],"r") ){
~~~^~~~~~~~~~~~~~~~~~~
./maker/../rary/cksum.c:263:11: note: place parentheses around the assignment to silence this warning
if( fp = fopen(av[ai],"r") ){
^
( )
./maker/../rary/cksum.c:263:11: note: use '==' to turn this assignment into an equality comparison
if( fp = fopen(av[ai],"r") ){
^
==
./maker/../rary/cksum.c:265:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = strpbrk(line,"\r\n") )
~~~^~~~~~~~~~~~~~~~~~~~~~
./maker/../rary/cksum.c:265:13: note: place parentheses around the assignment to silence this warning
if( dp = strpbrk(line,"\r\n") )
^
( )
./maker/../rary/cksum.c:265:13: note: use '==' to turn this assignment into an equality comparison
if( dp = strpbrk(line,"\r\n") )
^
==
42 warnings generated.
"./mkmkmk.exe" -mkmkmk "clang" -I../gen -I../include -Wno-narrowing -Llib maker/mkmake.c -o mkmake.exe
maker/mkmake.c:237:3: warning: add explicit braces to avoid dangling else [-Wdangling-else]
else
^
maker/mkmake.c:246:3: warning: add explicit braces to avoid dangling else [-Wdangling-else]
else
^
maker/mkmake.c:365:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( fp = fopen(path,"r+") ){
~~~^~~~~~~~~~~~~~~~~~
maker/mkmake.c:365:10: note: place parentheses around the assignment to silence this warning
if( fp = fopen(path,"r+") ){
^
( )
maker/mkmake.c:365:10: note: use '==' to turn this assignment into an equality comparison
if( fp = fopen(path,"r+") ){
^
==
maker/mkmake.c:424:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( err = fopen("mkmake.err","a") ){
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
maker/mkmake.c:424:10: note: place parentheses around the assignment to silence this warning
if( err = fopen("mkmake.err","a") ){
^
( )
maker/mkmake.c:424:10: note: use '==' to turn this assignment into an equality comparison
if( err = fopen("mkmake.err","a") ){
^
==
maker/mkmake.c:604:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( fp = fopen(CONF,"w") ){
~~~^~~~~~~~~~~~~~~~~
maker/mkmake.c:604:9: note: place parentheses around the assignment to silence this warning
if( fp = fopen(CONF,"w") ){
^
( )
maker/mkmake.c:604:9: note: use '==' to turn this assignment into an equality comparison
if( fp = fopen(CONF,"w") ){
^
==
maker/mkmake.c:725:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = strchr(a1+3,')') ){
~~~^~~~~~~~~~~~~~~~~~
maker/mkmake.c:725:12: note: place parentheses around the assignment to silence this warning
if( dp = strchr(a1+3,')') ){
^
( )
maker/mkmake.c:725:12: note: use '==' to turn this assignment into an equality comparison
if( dp = strchr(a1+3,')') ){
^
==
maker/mkmake.c:789:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( env = getenv("MAKEFLAGS") ) *env = 0;
~~~~^~~~~~~~~~~~~~~~~~~~~
maker/mkmake.c:789:11: note: place parentheses around the assignment to silence this warning
if( env = getenv("MAKEFLAGS") ) *env = 0;
^
( )
maker/mkmake.c:789:11: note: use '==' to turn this assignment into an equality comparison
if( env = getenv("MAKEFLAGS") ) *env = 0;
^
==
maker/mkmake.c:790:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( env = getenv("MFLAGS") ) *env = 0;
~~~~^~~~~~~~~~~~~~~~~~
maker/mkmake.c:790:11: note: place parentheses around the assignment to silence this warning
if( env = getenv("MFLAGS") ) *env = 0;
^
( )
maker/mkmake.c:790:11: note: use '==' to turn this assignment into an equality comparison
if( env = getenv("MFLAGS") ) *env = 0;
^
==
maker/mkmake.c:1052:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( fp = fopen(file,"r") ){
~~~^~~~~~~~~~~~~~~~~
maker/mkmake.c:1052:10: note: place parentheses around the assignment to silence this warning
if( fp = fopen(file,"r") ){
^
( )
maker/mkmake.c:1052:10: note: use '==' to turn this assignment into an equality comparison
if( fp = fopen(file,"r") ){
^
==
maker/mkmake.c:1157:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = strpbrk(ans,"\r\n") )
~~~^~~~~~~~~~~~~~~~~~~~~
maker/mkmake.c:1157:10: note: place parentheses around the assignment to silence this warning
if( dp = strpbrk(ans,"\r\n") )
^
( )
maker/mkmake.c:1157:10: note: use '==' to turn this assignment into an equality comparison
if( dp = strpbrk(ans,"\r\n") )
^
==
maker/mkmake.c:1168:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = strpbrk(ans,"\r\n") )
~~~^~~~~~~~~~~~~~~~~~~~~
maker/mkmake.c:1168:10: note: place parentheses around the assignment to silence this warning
if( dp = strpbrk(ans,"\r\n") )
^
( )
maker/mkmake.c:1168:10: note: use '==' to turn this assignment into an equality comparison
if( dp = strpbrk(ans,"\r\n") )
^
==
maker/mkmake.c:1195:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( conf = fopen(CONF,"a") ){
~~~~~^~~~~~~~~~~~~~~~~
maker/mkmake.c:1195:12: note: place parentheses around the assignment to silence this warning
if( conf = fopen(CONF,"a") ){
^
( )
maker/mkmake.c:1195:12: note: use '==' to turn this assignment into an equality comparison
if( conf = fopen(CONF,"a") ){
^
==
maker/mkmake.c:1201:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( okfp = fopen(MAKEFILE_OK,"w") ){
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
maker/mkmake.c:1201:11: note: place parentheses around the assignment to silence this warning
if( okfp = fopen(MAKEFILE_OK,"w") ){
^
( )
maker/mkmake.c:1201:11: note: use '==' to turn this assignment into an equality comparison
if( okfp = fopen(MAKEFILE_OK,"w") ){
^
==
maker/mkmake.c:1357:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( rcode = EXECVPR(nav[0],nav) ){
~~~~~~^~~~~~~~~~~~~~~~~~~~~
maker/mkmake.c:1357:12: note: place parentheses around the assignment to silence this warning
if( rcode = EXECVPR(nav[0],nav) ){
^
( )
maker/mkmake.c:1357:12: note: use '==' to turn this assignment into an equality comparison
if( rcode = EXECVPR(nav[0],nav) ){
^
==
maker/mkmake.c:1405:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = strrchr(src,'/') ){
~~~^~~~~~~~~~~~~~~~~~
maker/mkmake.c:1405:10: note: place parentheses around the assignment to silence this warning
if( dp = strrchr(src,'/') ){
^
( )
maker/mkmake.c:1405:10: note: use '==' to turn this assignment into an equality comparison
if( dp = strrchr(src,'/') ){
^
==
maker/mkmake.c:1449:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while( rcc = fread(buf,1,sizeof(buf),ifp) )
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
maker/mkmake.c:1449:14: note: place parentheses around the assignment to silence this warning
while( rcc = fread(buf,1,sizeof(buf),ifp) )
^
( )
maker/mkmake.c:1449:14: note: use '==' to turn this assignment into an equality comparison
while( rcc = fread(buf,1,sizeof(buf),ifp) )
^
==
maker/mkmake.c:1474:11: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( ln1 && ln1 <= lnc
~~~~^~~~~~~~~~~~~
maker/mkmake.c:1474:11: note: place parentheses around the '&&' expression to silence this warning
if( ln1 && ln1 <= lnc
^
( )
maker/mkmake.c:1475:11: warning: '&&' within '||' [-Wlogical-op-parentheses]
|| ls1 && strncmp(line,ls1,strlen(ls1)) == 0 )
~~ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
maker/mkmake.c:1475:11: note: place parentheses around the '&&' expression to silence this warning
|| ls1 && strncmp(line,ls1,strlen(ls1)) == 0 )
^
( )
maker/mkmake.c:1539:11: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( ln2 && ln2 <= lnc
~~~~^~~~~~~~~~~~~
maker/mkmake.c:1539:11: note: place parentheses around the '&&' expression to silence this warning
if( ln2 && ln2 <= lnc
^
( )
maker/mkmake.c:1540:11: warning: '&&' within '||' [-Wlogical-op-parentheses]
|| ls2 && strncmp(line,ls2,strlen(ls2)) == 0 ){
~~ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
maker/mkmake.c:1540:11: note: place parentheses around the '&&' expression to silence this warning
|| ls2 && strncmp(line,ls2,strlen(ls2)) == 0 ){
^
( )
maker/mkmake.c:1558:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( ep = wp; ec = *ep; ep++ ){
~~~^~~~~
maker/mkmake.c:1558:19: note: place parentheses around the assignment to silence this warning
for( ep = wp; ec = *ep; ep++ ){
^
( )
maker/mkmake.c:1558:19: note: use '==' to turn this assignment into an equality comparison
for( ep = wp; ec = *ep; ep++ ){
^
==
maker/mkmake.c:1589:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( pe = getenv("PATH") )
~~~^~~~~~~~~~~~~~~~
maker/mkmake.c:1589:9: note: place parentheses around the assignment to silence this warning
if( pe = getenv("PATH") )
^
( )
maker/mkmake.c:1589:9: note: use '==' to turn this assignment into an equality comparison
if( pe = getenv("PATH") )
^
==
maker/mkmake.c:1595:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( np = (char*)strchr(dir+1,':') )
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
maker/mkmake.c:1595:10: note: place parentheses around the assignment to silence this warning
if( np = (char*)strchr(dir+1,':') )
^
( )
maker/mkmake.c:1595:10: note: use '==' to turn this assignment into an equality comparison
if( np = (char*)strchr(dir+1,':') )
^
==
maker/mkmake.c:1599:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( fp = fopen(path,"r") ){
~~~^~~~~~~~~~~~~~~~~
maker/mkmake.c:1599:10: note: place parentheses around the assignment to silence this warning
if( fp = fopen(path,"r") ){
^
( )
maker/mkmake.c:1599:10: note: use '==' to turn this assignment into an equality comparison
if( fp = fopen(path,"r") ){
^
==
maker/mkmake.c:1716:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = (char*)strrchr(file,'.') )
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
maker/mkmake.c:1716:9: note: place parentheses around the assignment to silence this warning
if( dp = (char*)strrchr(file,'.') )
^
( )
maker/mkmake.c:1716:9: note: use '==' to turn this assignment into an equality comparison
if( dp = (char*)strrchr(file,'.') )
^
==
maker/mkmake.c:1742:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( si = 0; src1 = srcv[si]; si++ )
~~~~~^~~~~~~~~~
maker/mkmake.c:1742:20: note: place parentheses around the assignment to silence this warning
for( si = 0; src1 = srcv[si]; si++ )
^
( )
maker/mkmake.c:1742:20: note: use '==' to turn this assignment into an equality comparison
for( si = 0; src1 = srcv[si]; si++ )
^
==
maker/mkmake.c:1769:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( fp = fopen(manifest,"r") ){
~~~^~~~~~~~~~~~~~~~~~~~~
maker/mkmake.c:1769:9: note: place parentheses around the assignment to silence this warning
if( fp = fopen(manifest,"r") ){
^
( )
maker/mkmake.c:1769:9: note: use '==' to turn this assignment into an equality comparison
if( fp = fopen(manifest,"r") ){
^
==
maker/mkmake.c:1797:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( fp = fopen(manifest,"w") ){
~~~^~~~~~~~~~~~~~~~~~~~~
maker/mkmake.c:1797:9: note: place parentheses around the assignment to silence this warning
if( fp = fopen(manifest,"w") ){
^
( )
maker/mkmake.c:1797:9: note: use '==' to turn this assignment into an equality comparison
if( fp = fopen(manifest,"w") ){
^
==
maker/mkmake.c:1850:15: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( CPP != 0 && sym[0] == '_'
~~~~~~~~~^~~~~~~~~~~~~~~~
maker/mkmake.c:1850:15: note: place parentheses around the '&&' expression to silence this warning
if( CPP != 0 && sym[0] == '_'
^
( )
maker/mkmake.c:1922:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( sfp = fopen(substlist,"r") ){
~~~~^~~~~~~~~~~~~~~~~~~~~~
maker/mkmake.c:1922:10: note: place parentheses around the assignment to silence this warning
if( sfp = fopen(substlist,"r") ){
^
( )
maker/mkmake.c:1922:10: note: use '==' to turn this assignment into an equality comparison
if( sfp = fopen(substlist,"r") ){
^
==
maker/mkmake.c:1930:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = strpbrk(buf,"\r\n") )
~~~^~~~~~~~~~~~~~~~~~~~~
maker/mkmake.c:1930:11: note: place parentheses around the assignment to silence this warning
if( dp = strpbrk(buf,"\r\n") )
^
( )
maker/mkmake.c:1930:11: note: use '==' to turn this assignment into an equality comparison
if( dp = strpbrk(buf,"\r\n") )
^
==
maker/mkmake.c:1939:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( sfp = fopen(substlist,"w") ){
~~~~^~~~~~~~~~~~~~~~~~~~~~
maker/mkmake.c:1939:11: note: place parentheses around the assignment to silence this warning
if( sfp = fopen(substlist,"w") ){
^
( )
maker/mkmake.c:1939:11: note: use '==' to turn this assignment into an equality comparison
if( sfp = fopen(substlist,"w") ){
^
==
maker/mkmake.c:2044:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( rcode = (*func)(file,fv,fcp) )
~~~~~~^~~~~~~~~~~~~~~~~~~~~~
maker/mkmake.c:2044:13: note: place parentheses around the assignment to silence this warning
if( rcode = (*func)(file,fv,fcp) )
^
( )
maker/mkmake.c:2044:13: note: use '==' to turn this assignment into an equality comparison
if( rcode = (*func)(file,fv,fcp) )
^
==
maker/mkmake.c:2404:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( fp = fopen(HOSTNAME_FILE,"r") ){
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
maker/mkmake.c:2404:10: note: place parentheses around the assignment to silence this warning
if( fp = fopen(HOSTNAME_FILE,"r") ){
^
( )
maker/mkmake.c:2404:10: note: use '==' to turn this assignment into an equality comparison
if( fp = fopen(HOSTNAME_FILE,"r") ){
^
==
maker/mkmake.c:2412:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( fp = popen(HOSTNAME_COM,"r") ){
~~~^~~~~~~~~~~~~~~~~~~~~~~~~
maker/mkmake.c:2412:10: note: place parentheses around the assignment to silence this warning
if( fp = popen(HOSTNAME_COM,"r") ){
^
( )
maker/mkmake.c:2412:10: note: use '==' to turn this assignment into an equality comparison
if( fp = popen(HOSTNAME_COM,"r") ){
^
==
In file included from maker/mkmake.c:2468:
maker/../rary/cksum.c:60:23: warning: expression result unused [-Wunused-value]
for( li = 0; li < 4; li ){
^~
maker/../rary/cksum.c:107:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( fp = fopen(file,"r") ){
~~~^~~~~~~~~~~~~~~~~
maker/../rary/cksum.c:107:9: note: place parentheses around the assignment to silence this warning
if( fp = fopen(file,"r") ){
^
( )
maker/../rary/cksum.c:107:9: note: use '==' to turn this assignment into an equality comparison
if( fp = fopen(file,"r") ){
^
==
maker/../rary/cksum.c:115:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( sum = fopen(sumfile,"w") ){
~~~~^~~~~~~~~~~~~~~~~~~~
maker/../rary/cksum.c:115:11: note: place parentheses around the assignment to silence this warning
if( sum = fopen(sumfile,"w") ){
^
( )
maker/../rary/cksum.c:115:11: note: use '==' to turn this assignment into an equality comparison
if( sum = fopen(sumfile,"w") ){
^
==
maker/../rary/cksum.c:142:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( ci = 0; ch = line[ci]; ci++ ){
~~~^~~~~~~~~~
maker/../rary/cksum.c:142:20: note: place parentheses around the assignment to silence this warning
for( ci = 0; ch = line[ci]; ci++ ){
^
( )
maker/../rary/cksum.c:142:20: note: use '==' to turn this assignment into an equality comparison
for( ci = 0; ch = line[ci]; ci++ ){
^
==
maker/../rary/cksum.c:207:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( fp = fopen(file,"r") ){
~~~^~~~~~~~~~~~~~~~~
maker/../rary/cksum.c:207:12: note: place parentheses around the assignment to silence this warning
if( fp = fopen(file,"r") ){
^
( )
maker/../rary/cksum.c:207:12: note: use '==' to turn this assignment into an equality comparison
if( fp = fopen(file,"r") ){
^
==
maker/../rary/cksum.c:263:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( fp = fopen(av[ai],"r") ){
~~~^~~~~~~~~~~~~~~~~~~
maker/../rary/cksum.c:263:11: note: place parentheses around the assignment to silence this warning
if( fp = fopen(av[ai],"r") ){
^
( )
maker/../rary/cksum.c:263:11: note: use '==' to turn this assignment into an equality comparison
if( fp = fopen(av[ai],"r") ){
^
==
maker/../rary/cksum.c:265:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = strpbrk(line,"\r\n") )
~~~^~~~~~~~~~~~~~~~~~~~~~
maker/../rary/cksum.c:265:13: note: place parentheses around the assignment to silence this warning
if( dp = strpbrk(line,"\r\n") )
^
( )
maker/../rary/cksum.c:265:13: note: use '==' to turn this assignment into an equality comparison
if( dp = strpbrk(line,"\r\n") )
^
==
42 warnings generated.
rm srcsign.o
rm: cannot remove 'srcsign.o': No such file or directory
make: [Makefile:75: all] Error 1 (ignored)
sh make-init.sh
####### -makeat: /tmp/delegate/src/delegate9.9.13/src @0011ec079acd
make[1]: Entering directory '/tmp/delegate/src/delegate9.9.13/src'
searching DELEGATE_CONF ...
"/tmp/delegate/src/delegate9.9.13/mkmake.exe" +r -lnconf DELEGATE_CONF
#### looking for ../DELEGATE_CONF
#### looking for ../../DELEGATE_CONF
#### looking for ../../../DELEGATE_CONF
#### looking for ../../../../DELEGATE_CONF
#### looking for ../../../../../DELEGATE_CONF
#### looking for ../../../../../../DELEGATE_CONF
created /tmp/delegate/src/delegate9.9.13/src/DELEGATE_CONF
echo "GOT by MKMAKE=/tmp/delegate/src/delegate9.9.13/mkmake.exe" > CONF_IS_GOT
creating Makefile.tst ...
"/tmp/delegate/src/delegate9.9.13/mkmake.exe" -mkmake "make" Makefile.tst "clang" "-Wno-narrowing" "if(WITHCPLUS,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 GDI32.LIB -MT -lpam -lstdc++" NETLIB "" "../../SSL/libcrypto.a ../../SSL/libssl.a -lcrypto -lssl ../../SSL/LIBEAY32.LIB ../../SSL/SSLEAY32.LIB" SSLLIB
av[5] 'if(WITHCPLUS,UNIX,OS2EMX) -x c++ -DQS' ==> '-x c++ -DQS'
---- testing CC capability [clang][-Wno-narrowing][-x c++ -DQS] ...
***
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS _.c
_.c:3:1: error: C++ requires a type specifier for all declarations
main(){ }
^
1 error generated.
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS _.c
---- LD exit(256) clang _.o -lstdc++
***
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS _.c
_.c:2:1: error: C++ requires a type specifier for all declarations
main(){ }
^
1 error generated.
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS _.c
---- LD exit(256) clang _.o -lstdc++
***
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS _.c
_.c:1:16: error: field has incomplete type 'char []'
struct _S{char A[]; char B[1];}S;
^
_.c:2:1: error: C++ requires a type specifier for all declarations
main(){ }
^
2 errors generated.
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS _.c
---- LD exit(256) clang _.o -lstdc++
***
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS _.c
_.c:2:1: error: C++ requires a type specifier for all declarations
main(){ }
^
1 error generated.
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS _.c
---- LD exit(256) clang _.o -lstdc++
mkmake:
cpyfile DELEGATE_CONF[1-0][0-0] > _.QSC.conf
[clang -c -Wno-narrowing -x c++ -DQS] NONC99=3, NONAZ0=6 @0011ec079acd
#### [/tmp/delegate/src/delegate9.9.13/src] creating Makefile.tst
cpyfile Makefile[1-0][0-40ae95] > Makefile.tst
#ifdef UNIX #######################################################
#ifdef UNIX,OS2EMX ################################################
[SET] MKMAKE=/tmp/delegate/src/delegate9.9.13/mkmake.exe
[SET] RANLIB=/usr/bin/ranlib
- checking availability of -lnsl []
cpyfile DELEGATE_CONF[1-0][0-0] > _make
- checking availability of -lsocket [-lnsl]
cpyfile DELEGATE_CONF[1-0][0-0] > _make
*** -mkmake exit(-1)
- checking availability of -ldl [-lnsl]
cpyfile DELEGATE_CONF[1-0][0-0] > _make
- checking availability of -lutil [-lnsl -ldl]
cpyfile DELEGATE_CONF[1-0][0-0] > _make
- checking availability of -lpthread [-lnsl -ldl -lutil]
cpyfile DELEGATE_CONF[1-0][0-0] > _make
- checking availability of -lunalign [-lnsl -ldl -lutil -lpthread]
cpyfile DELEGATE_CONF[1-0][0-0] > _make
*** -mkmake exit(-1)
- checking availability of WS2_32.LIB [-lnsl -ldl -lutil -lpthread]
cpyfile DELEGATE_CONF[1-0][0-0] > _make
*** -mkmake exit(-1)
- checking availability of ADVAPI32.LIB [-lnsl -ldl -lutil -lpthread]
cpyfile DELEGATE_CONF[1-0][0-0] > _make
*** -mkmake exit(-1)
- checking availability of OLE32.LIB [-lnsl -ldl -lutil -lpthread]
cpyfile DELEGATE_CONF[1-0][0-0] > _make
*** -mkmake exit(-1)
- checking availability of SHELL32.LIB [-lnsl -ldl -lutil -lpthread]
cpyfile DELEGATE_CONF[1-0][0-0] > _make
*** -mkmake exit(-1)
- checking availability of UUID.LIB [-lnsl -ldl -lutil -lpthread]
cpyfile DELEGATE_CONF[1-0][0-0] > _make
*** -mkmake exit(-1)
- checking availability of USER32.LIB [-lnsl -ldl -lutil -lpthread]
cpyfile DELEGATE_CONF[1-0][0-0] > _make
*** -mkmake exit(-1)
- checking availability of GDI32.LIB [-lnsl -ldl -lutil -lpthread]
cpyfile DELEGATE_CONF[1-0][0-0] > _make
*** -mkmake exit(-1)
- checking availability of -MT [-lnsl -ldl -lutil -lpthread]
cpyfile DELEGATE_CONF[1-0][0-0] > _make
*** -mkmake exit(-1)
- checking availability of -lpam [-lnsl -ldl -lutil -lpthread]
cpyfile DELEGATE_CONF[1-0][0-0] > _make
- checking availability of -lstdc++ [-lnsl -ldl -lutil -lpthread -lpam]
cpyfile DELEGATE_CONF[1-0][0-0] > _make
[SET] NETLIB=-lnsl -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
- checking availability of -lssl [-lcrypto]
cpyfile DELEGATE_CONF[1-0][0-0] > _make
- checking availability of ../../SSL/LIBEAY32.LIB [-lcrypto -lssl]
cpyfile DELEGATE_CONF[1-0][0-0] > _make
*** -mkmake exit(-1)
- checking availability of ../../SSL/SSLEAY32.LIB [-lcrypto -lssl]
cpyfile DELEGATE_CONF[1-0][0-0] > _make
*** -mkmake exit(-1)
[SET] SSLLIB=-lcrypto -lssl
cpyfile DELEGATE_CONF[1-0][0-0] > Makefile.tst
cpyfile Makefile[0-0][40af38-0] > Makefile.tst
#ifdef UNIX #######################################################
#ifdef UNIX,OS2EMX ################################################
"/tmp/delegate/src/delegate9.9.13/mkmake.exe" -touch Makefile
"/tmp/delegate/src/delegate9.9.13/mkmake.exe" -makeit "make" -f Makefile.tst check_conf SHELL="/bin/sh"
make[2]: Entering directory '/tmp/delegate/src/delegate9.9.13/src'
"/tmp/delegate/src/delegate9.9.13/mkmake.exe" +r -ckconf Makefile.chk Makefile.tst DELEGATE_CONF "ar" "root@localhost" ""
ckconf:
ADMIN = 'root@localhost'
make[2]: Leaving directory '/tmp/delegate/src/delegate9.9.13/src'
"/tmp/delegate/src/delegate9.9.13/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 thmain.c commands.c croncom.c qstest.c delegate.c service.h service.c svconf.c filter.h filter.c master.c spinach.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 htfilter.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 xflash.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
"/tmp/delegate/src/delegate9.9.13/mkmake.exe" -mkmake "make" Makefile.go "clang" "-Wno-narrowing" "if(WITHCPLUS,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 GDI32.LIB -MT -lpam -lstdc++" NETLIB "TELEPORT=../teleport FSX=../fsx RESOLVY=../resolvy RARY=../rary MIMEKIT=../mimekit CFI=../filters MD5=../pds/md5 REGEX=../pds/regex SUBST=../maker" "../../SSL/libcrypto.a ../../SSL/libssl.a -lcrypto -lssl ../../SSL/LIBEAY32.LIB ../../SSL/SSLEAY32.LIB" SSLLIB
av[5] 'if(WITHCPLUS,UNIX,OS2EMX) -x c++ -DQS' ==> '-x c++ -DQS'
---- testing CC capability [clang][-Wno-narrowing][-x c++ -DQS] ...
***
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS _.c
_.c:3:1: error: C++ requires a type specifier for all declarations
main(){ }
^
1 error generated.
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS _.c
---- LD exit(256) clang _.o -lstdc++
***
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS _.c
_.c:2:1: error: C++ requires a type specifier for all declarations
main(){ }
^
1 error generated.
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS _.c
---- LD exit(256) clang _.o -lstdc++
***
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS _.c
_.c:1:16: error: field has incomplete type 'char []'
struct _S{char A[]; char B[1];}S;
^
_.c:2:1: error: C++ requires a type specifier for all declarations
main(){ }
^
2 errors generated.
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS _.c
---- LD exit(256) clang _.o -lstdc++
***
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS _.c
_.c:2:1: error: C++ requires a type specifier for all declarations
main(){ }
^
1 error generated.
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS _.c
---- LD exit(256) clang _.o -lstdc++
mkmake:
cpyfile DELEGATE_CONF[1-0][0-0] > _.QSC.conf
[clang -c -Wno-narrowing -x c++ -DQS] NONC99=3, NONAZ0=6 @0011ec079acd
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 modfmt.c JIS.c codeconv.c pilsner.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 asock.c lsock.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 netsh.c wince.c winmo.c winsspi.c winnat.c winmisc.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 regex.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 REGEX at ../pds/regex
COPYRIGHT INSTALL Makefile README WHATSNEW mkh regex2.h utils.h cclass.h cname.h engine.c regcomp.c regerror.c regexec.c regfree.c regdummy.c
#### won't use [COPYRIGHT]
#### won't use [INSTALL]
#### won't use [README]
#### won't use [WHATSNEW]
#### won't use [mkh]
scanning source of SUBST at ../maker
Makefile mkmake.c avail.c
dummy.c gxx.c p2ll.c p2i.c dlopen.c __uname.c uname.c bcopy.c bzero.c putenv.c unsetenv.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 __ualarm.c ualarm.c _-poll.c _-select.c _-poll1.c _-poll2.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 snprintf.c strcasecmp.c _-strcasestr.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 __system.c _-system.c _-mutex.c mutex.c __pthread_create.c ___lwp_create.c __lwp_create.c _-pthread_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 _-sgTTy.c sgTTy.c setlogin.c _-mkfifo.c mkfifo.c _-fseeko.c fseeko.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 _-sysinfo.c _-sysconf.c _-sysconf2.c netsh_none.c _-regex.c regex.c errno.c
Gates_Win32.c gethostid.c opt_s_vsap.c opt_s_htaccept.c opt_s_sox.c opt_s_stls.c opt_s_caps.c opt_s_pilsner.c opt_s_spinach.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
#### [/tmp/delegate/src/delegate9.9.13/src] creating Makefile.go
cpyfile Makefile[1-0][0-40ae95] > Makefile.go
#ifdef UNIX #######################################################
#ifdef UNIX,OS2EMX ################################################
[SET] MKMAKE=/tmp/delegate/src/delegate9.9.13/mkmake.exe
[SET] RANLIB=/usr/bin/ranlib
- checking availability of -lnsl []
cpyfile DELEGATE_CONF[1-0][0-0] > _make
- checking availability of -lsocket [-lnsl]
cpyfile DELEGATE_CONF[1-0][0-0] > _make
*** -mkmake exit(-1)
- checking availability of -ldl [-lnsl]
cpyfile DELEGATE_CONF[1-0][0-0] > _make
- checking availability of -lutil [-lnsl -ldl]
cpyfile DELEGATE_CONF[1-0][0-0] > _make
- checking availability of -lpthread [-lnsl -ldl -lutil]
cpyfile DELEGATE_CONF[1-0][0-0] > _make
- checking availability of -lunalign [-lnsl -ldl -lutil -lpthread]
cpyfile DELEGATE_CONF[1-0][0-0] > _make
*** -mkmake exit(-1)
- checking availability of WS2_32.LIB [-lnsl -ldl -lutil -lpthread]
cpyfile DELEGATE_CONF[1-0][0-0] > _make
*** -mkmake exit(-1)
- checking availability of ADVAPI32.LIB [-lnsl -ldl -lutil -lpthread]
cpyfile DELEGATE_CONF[1-0][0-0] > _make
*** -mkmake exit(-1)
- checking availability of OLE32.LIB [-lnsl -ldl -lutil -lpthread]
cpyfile DELEGATE_CONF[1-0][0-0] > _make
*** -mkmake exit(-1)
- checking availability of SHELL32.LIB [-lnsl -ldl -lutil -lpthread]
cpyfile DELEGATE_CONF[1-0][0-0] > _make
*** -mkmake exit(-1)
- checking availability of UUID.LIB [-lnsl -ldl -lutil -lpthread]
cpyfile DELEGATE_CONF[1-0][0-0] > _make
*** -mkmake exit(-1)
- checking availability of USER32.LIB [-lnsl -ldl -lutil -lpthread]
cpyfile DELEGATE_CONF[1-0][0-0] > _make
*** -mkmake exit(-1)
- checking availability of GDI32.LIB [-lnsl -ldl -lutil -lpthread]
cpyfile DELEGATE_CONF[1-0][0-0] > _make
*** -mkmake exit(-1)
- checking availability of -MT [-lnsl -ldl -lutil -lpthread]
cpyfile DELEGATE_CONF[1-0][0-0] > _make
*** -mkmake exit(-1)
- checking availability of -lpam [-lnsl -ldl -lutil -lpthread]
cpyfile DELEGATE_CONF[1-0][0-0] > _make
- checking availability of -lstdc++ [-lnsl -ldl -lutil -lpthread -lpam]
cpyfile DELEGATE_CONF[1-0][0-0] > _make
[SET] NETLIB=-lnsl -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
- checking availability of -lssl [-lcrypto]
cpyfile DELEGATE_CONF[1-0][0-0] > _make
- checking availability of ../../SSL/LIBEAY32.LIB [-lcrypto -lssl]
cpyfile DELEGATE_CONF[1-0][0-0] > _make
*** -mkmake exit(-1)
- checking availability of ../../SSL/SSLEAY32.LIB [-lcrypto -lssl]
cpyfile DELEGATE_CONF[1-0][0-0] > _make
*** -mkmake exit(-1)
[SET] SSLLIB=-lcrypto -lssl
cpyfile DELEGATE_CONF[1-0][0-0] > Makefile.go
cpyfile Makefile[0-0][40af38-0] > Makefile.go
#ifdef UNIX #######################################################
#ifdef UNIX,OS2EMX ################################################
make[2]: Entering directory '/tmp/delegate/src/delegate9.9.13/src'
clang -o ../mkcpp ../include/mkcpp.c -L../lib
../include/mkcpp.c:97:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( fp = fopen(file,"r") ){
~~~^~~~~~~~~~~~~~~~~
../include/mkcpp.c:97:9: note: place parentheses around the assignment to silence this warning
if( fp = fopen(file,"r") ){
^
( )
../include/mkcpp.c:97:9: note: use '==' to turn this assignment into an equality comparison
if( fp = fopen(file,"r") ){
^
==
../include/mkcpp.c:190:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( in1 = include_inline(out,line) ){
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
../include/mkcpp.c:190:12: note: place parentheses around the assignment to silence this warning
if( in1 = include_inline(out,line) ){
^
( )
../include/mkcpp.c:190:12: note: use '==' to turn this assignment into an equality comparison
if( in1 = include_inline(out,line) ){
^
==
../include/mkcpp.c:207:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( nlen = strheq(lp,"MStr(") ){
~~~~~^~~~~~~~~~~~~~~~~~~~
../include/mkcpp.c:207:13: note: place parentheses around the assignment to silence this warning
if( nlen = strheq(lp,"MStr(") ){
^
( )
../include/mkcpp.c:207:13: note: use '==' to turn this assignment into an equality comparison
if( nlen = strheq(lp,"MStr(") ){
^
==
../include/mkcpp.c:217:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( nlen = strheq(lp,"sprintf(") ){
~~~~~^~~~~~~~~~~~~~~~~~~~~~~
../include/mkcpp.c:217:13: note: place parentheses around the assignment to silence this warning
if( nlen = strheq(lp,"sprintf(") ){
^
( )
../include/mkcpp.c:217:13: note: use '==' to turn this assignment into an equality comparison
if( nlen = strheq(lp,"sprintf(") ){
^
==
../include/mkcpp.c:222:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( nlen = strheq(lp,"Rsprintf(") ){
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
../include/mkcpp.c:222:13: note: place parentheses around the assignment to silence this warning
if( nlen = strheq(lp,"Rsprintf(") ){
^
( )
../include/mkcpp.c:222:13: note: use '==' to turn this assignment into an equality comparison
if( nlen = strheq(lp,"Rsprintf(") ){
^
==
../include/mkcpp.c:251:17: warning: '/*' within block comment [-Wcomment]
/* making gen/*.h (depending mkcpp) later than mkcpp */
^
6 warnings generated.
../mkcpp ../include/dglib.h ../gen/dglib.h
-- mkcpp set time: 1492117214 -> 1411904544 ../gen/dglib.h
../mkcpp ../include/delegate.h ../gen/delegate.h
-- mkcpp set time: 1492117214 -> 1409100207 ../gen/delegate.h
../mkcpp ../include/htswitch.h ../gen/htswitch.h
-- mkcpp set time: 1492117214 -> 1250403944 ../gen/htswitch.h
../mkcpp ../include/ystrvec.h ../gen/ystrvec.h
-- mkcpp set time: 1492117214 -> 1264936957 ../gen/ystrvec.h
../mkcpp ../include/vaddr.h ../gen/vaddr.h
-- mkcpp set time: 1492117214 -> 1398938735 ../gen/vaddr.h
../mkcpp ../include/http.h ../gen/http.h
-- mkcpp set time: 1492117214 -> 1411902220 ../gen/http.h
../mkcpp ../include/url.h ../gen/url.h
-- mkcpp set time: 1492117214 -> 1407833903 ../gen/url.h
../mkcpp ../include/mime.h ../gen/mime.h
-- mkcpp set time: 1492117214 -> 1258620620 ../gen/mime.h
../mkcpp ../include/htadmin.h ../gen/htadmin.h
-- mkcpp set time: 1492117214 -> 1250403944 ../gen/htadmin.h
"/tmp/delegate/src/delegate9.9.13/mkmake.exe" -makeat ../lib/libteleport.a ../teleport libteleport.a "make" libx MAKE="make" SHELL="/bin/sh" CC="clang" HDRDIR="-I../gen -I../include -Wno-narrowing" RANLIB="/usr/bin/ranlib" LDFLAGS=" -L../lib" LIBDIR="-L../lib" NETLIB="-lnsl -ldl -lutil -lpthread -lpam -lstdc++" AR="ar" TAR="tar" CFLAGS="-Wno-narrowing -x c++ -DQS -DNONC99=3 "
---- testing CC capability [clang][-Wno-narrowing -x c++ -DQS -DNONC99=3 ][] ...
***
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 _.c
_.c:2:1: error: C++ requires a type specifier for all declarations
main(){ }
^
1 error generated.
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 _.c
---- LD exit(256) clang _.o -lstdc++
***
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 _.c
_.c:1:16: error: field has incomplete type 'char []'
struct _S{char A[]; char B[1];}S;
^
_.c:2:1: error: C++ requires a type specifier for all declarations
main(){ }
^
2 errors generated.
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 _.c
---- LD exit(256) clang _.o -lstdc++
***
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 _.c
_.c:2:1: error: C++ requires a type specifier for all declarations
main(){ }
^
1 error generated.
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 _.c
---- LD exit(256) clang _.o -lstdc++
[clang -c -Wno-narrowing -x c++ -DQS -DNONC99=3 ] NONC99=2, NONAZ0=6 @0011ec079acd
####### -makeat: /tmp/delegate/src/delegate9.9.13/teleport @0011ec079acd
make[3]: Entering directory '/tmp/delegate/src/delegate9.9.13/teleport'
"/tmp/delegate/src/delegate9.9.13/mkmake.exe" -cksum README Makefile teleport.h teleportd.c vehicle.c qzcode.c qz.c
"/tmp/delegate/src/delegate9.9.13/mkmake.exe" -mkmake "/usr/bin/make" Makefile.go "clang" "-Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 " "" "-L../lib" "/usr/bin/ranlib" "-lnsl -ldl -lutil -lpthread -lpam -lstdc++" NETLIB
---- testing CC capability [clang][-Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 ][] ...
***
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
_.c:2:1: error: C++ requires a type specifier for all declarations
main(){ }
^
1 error generated.
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
---- LD exit(256) clang _.o -lstdc++
***
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
_.c:1:16: error: field has incomplete type 'char []'
struct _S{char A[]; char B[1];}S;
^
_.c:2:1: error: C++ requires a type specifier for all declarations
main(){ }
^
2 errors generated.
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
---- LD exit(256) clang _.o -lstdc++
***
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
_.c:2:1: error: C++ requires a type specifier for all declarations
main(){ }
^
1 error generated.
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
---- LD exit(256) clang _.o -lstdc++
mkmake:
cpyfile[/tmp/delegate/src/delegate9.9.13/teleport]: cannot read 'DELEGATE_CONF'
[clang -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 ] NONC99=2, NONAZ0=6 @0011ec079acd
#### [/tmp/delegate/src/delegate9.9.13/teleport] creating Makefile.go
cpyfile Makefile[1-0][0-40ae95] > Makefile.go
#ifdef UNIX,OS2EMX ################################################
[SET] MKMAKE=/tmp/delegate/src/delegate9.9.13/mkmake.exe
[SET] RANLIB=/usr/bin/ranlib
- checking availability of -lnsl []
cpyfile[/tmp/delegate/src/delegate9.9.13/teleport]: cannot read 'DELEGATE_CONF'
- checking availability of -ldl [-lnsl]
cpyfile[/tmp/delegate/src/delegate9.9.13/teleport]: cannot read 'DELEGATE_CONF'
- checking availability of -lutil [-lnsl -ldl]
cpyfile[/tmp/delegate/src/delegate9.9.13/teleport]: cannot read 'DELEGATE_CONF'
- checking availability of -lpthread [-lnsl -ldl -lutil]
cpyfile[/tmp/delegate/src/delegate9.9.13/teleport]: cannot read 'DELEGATE_CONF'
- checking availability of -lpam [-lnsl -ldl -lutil -lpthread]
cpyfile[/tmp/delegate/src/delegate9.9.13/teleport]: cannot read 'DELEGATE_CONF'
- checking availability of -lstdc++ [-lnsl -ldl -lutil -lpthread -lpam]
cpyfile[/tmp/delegate/src/delegate9.9.13/teleport]: cannot read 'DELEGATE_CONF'
[SET] NETLIB=-lnsl -ldl -lutil -lpthread -lpam -lstdc++
cpyfile[/tmp/delegate/src/delegate9.9.13/teleport]: cannot read 'DELEGATE_CONF'
cpyfile Makefile[0-0][40af38-0] > Makefile.go
#ifdef UNIX,OS2EMX ################################################
/usr/bin/make -f Makefile.go libteleport.a SHELL="/bin/sh" HDRDIR="-I../gen -I../include -Wno-narrowing"
make[4]: Entering directory '/tmp/delegate/src/delegate9.9.13/teleport'
../mkcpp teleportd.c teleportd._.c
-- mkcpp set time: 1492117214 -> 1252611728 teleportd._.c
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../gen -I../include -Wno-narrowing -c teleportd._.c -o teleportd.o
teleportd._.c:430:37: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( msg[1] == '>' || msg[1] == '<' && msg[2] != '!')
~~ ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
teleportd._.c:430:37: note: place parentheses around the '&&' expression to silence this warning
if( msg[1] == '>' || msg[1] == '<' && msg[2] != '!')
^
( )
teleportd._.c:442:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( pp = msg; ch = *pp; pp++ ){
~~~^~~~~
teleportd._.c:442:22: note: place parentheses around the assignment to silence this warning
for( pp = msg; ch = *pp; pp++ ){
^
( )
teleportd._.c:442:22: note: use '==' to turn this assignment into an equality comparison
for( pp = msg; ch = *pp; pp++ ){
^
==
teleportd._.c:722:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = strrchr(arg,'/') )
~~~^~~~~~~~~~~~~~~~~~
teleportd._.c:722:10: note: place parentheses around the assignment to silence this warning
if( dp = strrchr(arg,'/') )
^
( )
teleportd._.c:722:10: note: use '==' to turn this assignment into an equality comparison
if( dp = strrchr(arg,'/') )
^
==
3 warnings generated.
../mkcpp vehicle.c vehicle._.c
-- mkcpp set time: 1492117215 -> 1264833102 vehicle._.c
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../gen -I../include -Wno-narrowing -c vehicle._.c -o vehicle.o
vehicle._.c:341:3: warning: expression result unused [-Wunused-value]
*path++;
^~~~~~~
vehicle._.c:346:3: warning: expression result unused [-Wunused-value]
*path++;
^~~~~~~
vehicle._.c:377:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( pp = strchr(ap->a_path,'!') )
~~~^~~~~~~~~~~~~~~~~~~~~~~~
vehicle._.c:377:11: note: place parentheses around the assignment to silence this warning
if( pp = strchr(ap->a_path,'!') )
^
( )
vehicle._.c:377:11: note: use '==' to turn this assignment into an equality comparison
if( pp = strchr(ap->a_path,'!') )
^
==
vehicle._.c:565:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( np = strpbrk(msghead,"\r\n") )
~~~^~~~~~~~~~~~~~~~~~~~~~~~~
vehicle._.c:565:9: note: place parentheses around the assignment to silence this warning
if( np = strpbrk(msghead,"\r\n") )
^
( )
vehicle._.c:565:9: note: use '==' to turn this assignment into an equality comparison
if( np = strpbrk(msghead,"\r\n") )
^
==
vehicle._.c:567:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( np = msghead; ch = *np; np++ )
~~~^~~~~
vehicle._.c:567:24: note: place parentheses around the assignment to silence this warning
for( np = msghead; ch = *np; np++ )
^
( )
vehicle._.c:567:24: note: use '==' to turn this assignment into an equality comparison
for( np = msghead; ch = *np; np++ )
^
==
5 warnings generated.
../mkcpp qzcode.c qzcode._.c
-- mkcpp set time: 1492117215 -> 1264833132 qzcode._.c
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../gen -I../include -Wno-narrowing -c qzcode._.c -o qzcode.o
qzcode._.c:128:25: warning: '&&' within '||' [-Wlogical-op-parentheses]
|| (code & QZ_PRINT) && (ch<0x20 || 0x7F<=ch) )
~~ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
qzcode._.c:128:25: note: place parentheses around the '&&' expression to silence this warning
|| (code & QZ_PRINT) && (ch<0x20 || 0x7F<=ch) )
^
( )
qzcode._.c:144:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( cj = 0; ch = QZM[cj]; cj++ )
~~~^~~~~~~~~
qzcode._.c:144:20: note: place parentheses around the assignment to silence this warning
for( cj = 0; ch = QZM[cj]; cj++ )
^
( )
qzcode._.c:144:20: note: use '==' to turn this assignment into an equality comparison
for( cj = 0; ch = QZM[cj]; cj++ )
^
==
qzcode._.c:150:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( cj = 0; ch = QZM[cj]; cj++ )
~~~^~~~~~~~~
qzcode._.c:150:18: note: place parentheses around the assignment to silence this warning
for( cj = 0; ch = QZM[cj]; cj++ )
^
( )
qzcode._.c:150:18: note: use '==' to turn this assignment into an equality comparison
for( cj = 0; ch = QZM[cj]; cj++ )
^
==
qzcode._.c:178:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( ci = 0; ch = QZM[ci]; ci++ )
~~~^~~~~~~~~
qzcode._.c:178:18: note: place parentheses around the assignment to silence this warning
for( ci = 0; ch = QZM[ci]; ci++ )
^
( )
qzcode._.c:178:18: note: use '==' to turn this assignment into an equality comparison
for( ci = 0; ch = QZM[ci]; ci++ )
^
==
4 warnings generated.
rm -f libteleport.a
ar cr libteleport.a teleportd.o vehicle.o qzcode.o
/usr/bin/ranlib libteleport.a
make[4]: Leaving directory '/tmp/delegate/src/delegate9.9.13/teleport'
make[3]: Leaving directory '/tmp/delegate/src/delegate9.9.13/teleport'
**[0] move ../teleport/libteleport.a to ../lib/libteleport.a
"/tmp/delegate/src/delegate9.9.13/mkmake.exe" -makeat ../lib/libresolvy.a ../resolvy libresolvy.a "make" libx MAKE="make" SHELL="/bin/sh" CC="clang" HDRDIR="-I../gen -I../include -Wno-narrowing" RANLIB="/usr/bin/ranlib" LDFLAGS=" -L../lib" LIBDIR="-L../lib" NETLIB="-lnsl -ldl -lutil -lpthread -lpam -lstdc++" AR="ar" TAR="tar" CFLAGS="-Wno-narrowing -x c++ -DQS -DNONC99=3 "
---- testing CC capability [clang][-Wno-narrowing -x c++ -DQS -DNONC99=3 ][] ...
***
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 _.c
_.c:2:1: error: C++ requires a type specifier for all declarations
main(){ }
^
1 error generated.
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 _.c
---- LD exit(256) clang _.o -lstdc++
***
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 _.c
_.c:1:16: error: field has incomplete type 'char []'
struct _S{char A[]; char B[1];}S;
^
_.c:2:1: error: C++ requires a type specifier for all declarations
main(){ }
^
2 errors generated.
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 _.c
---- LD exit(256) clang _.o -lstdc++
***
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 _.c
_.c:2:1: error: C++ requires a type specifier for all declarations
main(){ }
^
1 error generated.
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 _.c
---- LD exit(256) clang _.o -lstdc++
[clang -c -Wno-narrowing -x c++ -DQS -DNONC99=3 ] NONC99=2, NONAZ0=6 @0011ec079acd
####### -makeat: /tmp/delegate/src/delegate9.9.13/resolvy @0011ec079acd
make[3]: Entering directory '/tmp/delegate/src/delegate9.9.13/resolvy'
"/tmp/delegate/src/delegate9.9.13/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
"/tmp/delegate/src/delegate9.9.13/mkmake.exe" -mkmake "/usr/bin/make" Makefile.go "clang" "-Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 " "" "-L../lib" "/usr/bin/ranlib" "-lnsl -ldl -lutil -lpthread -lpam -lstdc++" NETLIB
---- testing CC capability [clang][-Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 ][] ...
***
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
_.c:2:1: error: C++ requires a type specifier for all declarations
main(){ }
^
1 error generated.
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
---- LD exit(256) clang _.o -lstdc++
***
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
_.c:1:16: error: field has incomplete type 'char []'
struct _S{char A[]; char B[1];}S;
^
_.c:2:1: error: C++ requires a type specifier for all declarations
main(){ }
^
2 errors generated.
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
---- LD exit(256) clang _.o -lstdc++
***
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
_.c:2:1: error: C++ requires a type specifier for all declarations
main(){ }
^
1 error generated.
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
---- LD exit(256) clang _.o -lstdc++
mkmake:
cpyfile[/tmp/delegate/src/delegate9.9.13/resolvy]: cannot read 'DELEGATE_CONF'
[clang -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 ] NONC99=2, NONAZ0=6 @0011ec079acd
#### [/tmp/delegate/src/delegate9.9.13/resolvy] creating Makefile.go
cpyfile Makefile[1-0][0-40ae95] > Makefile.go
#ifdef UNIX,OS2EMX ################################################
#ifdef UNIX #######################################################
[SET] MKMAKE=/tmp/delegate/src/delegate9.9.13/mkmake.exe
[SET] RANLIB=/usr/bin/ranlib
- checking availability of -lnsl []
cpyfile[/tmp/delegate/src/delegate9.9.13/resolvy]: cannot read 'DELEGATE_CONF'
- checking availability of -ldl [-lnsl]
cpyfile[/tmp/delegate/src/delegate9.9.13/resolvy]: cannot read 'DELEGATE_CONF'
- checking availability of -lutil [-lnsl -ldl]
cpyfile[/tmp/delegate/src/delegate9.9.13/resolvy]: cannot read 'DELEGATE_CONF'
- checking availability of -lpthread [-lnsl -ldl -lutil]
cpyfile[/tmp/delegate/src/delegate9.9.13/resolvy]: cannot read 'DELEGATE_CONF'
- checking availability of -lpam [-lnsl -ldl -lutil -lpthread]
cpyfile[/tmp/delegate/src/delegate9.9.13/resolvy]: cannot read 'DELEGATE_CONF'
- checking availability of -lstdc++ [-lnsl -ldl -lutil -lpthread -lpam]
cpyfile[/tmp/delegate/src/delegate9.9.13/resolvy]: cannot read 'DELEGATE_CONF'
[SET] NETLIB=-lnsl -ldl -lutil -lpthread -lpam -lstdc++
cpyfile[/tmp/delegate/src/delegate9.9.13/resolvy]: cannot read 'DELEGATE_CONF'
cpyfile Makefile[0-0][40af38-0] > Makefile.go
#ifdef UNIX,OS2EMX ################################################
#ifdef UNIX #######################################################
/usr/bin/make -f Makefile.go libresolvy.a XOBJS="" MKMAKE="/tmp/delegate/src/delegate9.9.13/mkmake.exe" SHELL="/bin/sh" HDRDIR="-I../gen -I../include -Wno-narrowing"
make[4]: Entering directory '/tmp/delegate/src/delegate9.9.13/resolvy'
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
rm -f ystring.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 ../include/ystrvec.h ystrvec.h
ln -s ../include/ysignal.h ysignal.h
ln -s ../include/dgctx.h dgctx.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._.c
-- mkcpp set time: 1492117217 -> 1280703524 dnsnode._.c
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c dnsnode._.c -o dnsnode.o
dnsnode._.c:163:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while( oct = *np ){
~~~~^~~~~
dnsnode._.c:163:14: note: place parentheses around the assignment to silence this warning
while( oct = *np ){
^
( )
dnsnode._.c:163:14: note: use '==' to turn this assignment into an equality comparison
while( oct = *np ){
^
==
dnsnode._.c:271:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( Pp = Np->n_parent )
~~~^~~~~~~~~~~~~~
dnsnode._.c:271:9: note: place parentheses around the assignment to silence this warning
if( Pp = Np->n_parent )
^
( )
dnsnode._.c:271:9: note: use '==' to turn this assignment into an equality comparison
if( Pp = Np->n_parent )
^
==
2 warnings generated.
../mkcpp resolv.c resolv._.c
-- mkcpp set time: 1492117217 -> 1282448561 resolv._.c
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c resolv._.c -o resolv.o
resolv._.c:270:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while( len = *sp++ ){
~~~~^~~~~~~
resolv._.c:270:13: note: place parentheses around the assignment to silence this warning
while( len = *sp++ ){
^
( )
resolv._.c:270:13: note: use '==' to turn this assignment into an equality comparison
while( len = *sp++ ){
^
==
resolv._.c:294:19: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( off < here && here-2 <= off
~~~~~~~~~~~^~~~~~~~~~~~~~~~
resolv._.c:294:19: note: place parentheses around the '&&' expression to silence this warning
if( off < here && here-2 <= off
^
( )
resolv._.c:829:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( na = DNS_getattr(nsnid,typemask(TY_A),0,32,nsav) ){
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
resolv._.c:829:10: note: place parentheses around the assignment to silence this warning
if( na = DNS_getattr(nsnid,typemask(TY_A),0,32,nsav) ){
^
( )
resolv._.c:829:10: note: use '==' to turn this assignment into an equality comparison
if( na = DNS_getattr(nsnid,typemask(TY_A),0,32,nsav) ){
^
==
resolv._.c:964:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( rs = getrs(ns) ){
~~~^~~~~~~~~~~
resolv._.c:964:9: note: place parentheses around the assignment to silence this warning
if( rs = getrs(ns) ){
^
( )
resolv._.c:964:9: note: use '==' to turn this assignment into an equality comparison
if( rs = getrs(ns) ){
^
==
resolv._.c:1030:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( nqd = hp->qdcount ){
~~~~^~~~~~~~~~~~~
resolv._.c:1030:10: note: place parentheses around the assignment to silence this warning
if( nqd = hp->qdcount ){
^
( )
resolv._.c:1030:10: note: use '==' to turn this assignment into an equality comparison
if( nqd = hp->qdcount ){
^
==
resolv._.c:1229:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( nhit = lookupCache(nid,qtype,0,rrc,rrv) )
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
resolv._.c:1229:11: note: place parentheses around the assignment to silence this warning
if( nhit = lookupCache(nid,qtype,0,rrc,rrv) )
^
( )
resolv._.c:1229:11: note: use '==' to turn this assignment into an equality comparison
if( nhit = lookupCache(nid,qtype,0,rrc,rrv) )
^
==
resolv._.c:1312:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( nhit = lookupCache(nid,qtype,0,rrc,rrv) )
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
resolv._.c:1312:12: note: place parentheses around the assignment to silence this warning
if( nhit = lookupCache(nid,qtype,0,rrc,rrv) )
^
( )
resolv._.c:1312:12: note: use '==' to turn this assignment into an equality comparison
if( nhit = lookupCache(nid,qtype,0,rrc,rrv) )
^
==
resolv._.c:1499:32: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( H_AA(M) || H_RD(M) && H_RA(M) ){
~~ ~~~~~~~~^~~~~~~~~~
resolv._.c:1499:32: note: place parentheses around the '&&' expression to silence this warning
if( H_AA(M) || H_RD(M) && H_RA(M) ){
~~~~~~~~^~~~~~~~~~
resolv._.c:1514:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( nhit = lookupCache(nid,qtype,0,rrc,rrv) )
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
resolv._.c:1514:14: note: place parentheses around the assignment to silence this warning
if( nhit = lookupCache(nid,qtype,0,rrc,rrv) )
^
( )
resolv._.c:1514:14: note: use '==' to turn this assignment into an equality comparison
if( nhit = lookupCache(nid,qtype,0,rrc,rrv) )
^
==
resolv._.c:1735:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = strcasestr(name,DNS_DOMAIN) )
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
resolv._.c:1735:9: note: place parentheses around the assignment to silence this warning
if( dp = strcasestr(name,DNS_DOMAIN) )
^
( )
resolv._.c:1735:9: note: use '==' to turn this assignment into an equality comparison
if( dp = strcasestr(name,DNS_DOMAIN) )
^
==
resolv._.c:1959:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( nid = DNS_getbyname(name) )
~~~~^~~~~~~~~~~~~~~~~~~~~
resolv._.c:1959:10: note: place parentheses around the assignment to silence this warning
if( nid = DNS_getbyname(name) )
^
( )
resolv._.c:1959:10: note: use '==' to turn this assignment into an equality comparison
if( nid = DNS_getbyname(name) )
^
==
resolv._.c:1960:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( ac = DNS_getattr(nid,typemask(qtype),0,8,av) )
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
resolv._.c:1960:9: note: place parentheses around the assignment to silence this warning
if( ac = DNS_getattr(nid,typemask(qtype),0,8,av) )
^
( )
resolv._.c:1960:9: note: use '==' to turn this assignment into an equality comparison
if( ac = DNS_getattr(nid,typemask(qtype),0,8,av) )
^
==
resolv._.c:2014:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = strchr(hp,'.') )
~~~^~~~~~~~~~~~~~~~
resolv._.c:2014:12: note: place parentheses around the assignment to silence this warning
if( dp = strchr(hp,'.') )
^
( )
resolv._.c:2014:12: note: use '==' to turn this assignment into an equality comparison
if( dp = strchr(hp,'.') )
^
==
resolv._.c:2067:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( anc = relay_cachedRR(AVStr(rrb),rrpp,name,TY_MX) )
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
resolv._.c:2067:10: note: place parentheses around the assignment to silence this warning
if( anc = relay_cachedRR(AVStr(rrb),rrpp,name,TY_MX) )
^
( )
resolv._.c:2067:10: note: use '==' to turn this assignment into an equality comparison
if( anc = relay_cachedRR(AVStr(rrb),rrpp,name,TY_MX) )
^
==
14 warnings generated.
../mkcpp reshost.c reshost._.c
-- mkcpp set time: 1492117218 -> 1399582068 reshost._.c
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c reshost._.c -o reshost.o
reshost._.c:127:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( ac = 0; ap = ht->h_addr_list[ac]; ac++ ){
~~~^~~~~~~~~~~~~~~~~~~~~
reshost._.c:127:19: note: place parentheses around the assignment to silence this warning
for( ac = 0; ap = ht->h_addr_list[ac]; ac++ ){
^
( )
reshost._.c:127:19: note: use '==' to turn this assignment into an equality comparison
for( ac = 0; ap = ht->h_addr_list[ac]; ac++ ){
^
==
reshost._.c:149:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( ax = 0; ap = ht->h_aliases[ax]; ax++ ){
~~~^~~~~~~~~~~~~~~~~~~
reshost._.c:149:19: note: place parentheses around the assignment to silence this warning
for( ax = 0; ap = ht->h_aliases[ax]; ax++ ){
^
( )
reshost._.c:149:19: note: use '==' to turn this assignment into an equality comparison
for( ax = 0; ap = ht->h_aliases[ax]; ax++ ){
^
==
reshost._.c:224:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( ri = 0; ri = RES_next_res(where,ri,AVStr(res1),AVStr(arg)); ){
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
reshost._.c:224:18: note: place parentheses around the assignment to silence this warning
for( ri = 0; ri = RES_next_res(where,ri,AVStr(res1),AVStr(arg)); ){
^
( )
reshost._.c:224:18: note: use '==' to turn this assignment into an equality comparison
for( ri = 0; ri = RES_next_res(where,ri,AVStr(res1),AVStr(arg)); ){
^
==
reshost._.c:279:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dnsrch = res_DNSRCH() ){
~~~~~~~^~~~~~~~~~~~~~
reshost._.c:279:13: note: place parentheses around the assignment to silence this warning
if( dnsrch = res_DNSRCH() ){
^
( )
reshost._.c:279:13: note: use '==' to turn this assignment into an equality comparison
if( dnsrch = res_DNSRCH() ){
^
==
reshost._.c:280:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( si = 0; dname = dnsrch[si]; si++ ){
~~~~~~^~~~~~~~~~~~
reshost._.c:280:25: note: place parentheses around the assignment to silence this warning
for( si = 0; dname = dnsrch[si]; si++ ){
^
( )
reshost._.c:280:25: note: use '==' to turn this assignment into an equality comparison
for( si = 0; dname = dnsrch[si]; si++ ){
^
==
reshost._.c:288:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dname = res_DEFDNAME() ){
~~~~~~^~~~~~~~~~~~~~~~
reshost._.c:288:12: note: place parentheses around the assignment to silence this warning
if( dname = res_DEFDNAME() ){
^
( )
reshost._.c:288:12: note: use '==' to turn this assignment into an equality comparison
if( dname = res_DEFDNAME() ){
^
==
reshost._.c:384:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( ri = 0; ri = RES_next_res(where,ri,AVStr(res1),AVStr(arg)); ){
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
reshost._.c:384:18: note: place parentheses around the assignment to silence this warning
for( ri = 0; ri = RES_next_res(where,ri,AVStr(res1),AVStr(arg)); ){
^
( )
reshost._.c:384:18: note: use '==' to turn this assignment into an equality comparison
for( ri = 0; ri = RES_next_res(where,ri,AVStr(res1),AVStr(arg)); ){
^
==
reshost._.c:454:2: warning: add explicit braces to avoid dangling else [-Wdangling-else]
else
^
reshost._.c:523:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( ri = 0; ri = RES_next_res(where,ri,AVStr(res1),AVStr(arg)); ){
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
reshost._.c:523:18: note: place parentheses around the assignment to silence this warning
for( ri = 0; ri = RES_next_res(where,ri,AVStr(res1),AVStr(arg)); ){
^
( )
reshost._.c:523:18: note: use '==' to turn this assignment into an equality comparison
for( ri = 0; ri = RES_next_res(where,ri,AVStr(res1),AVStr(arg)); ){
^
==
reshost._.c:589:2: warning: add explicit braces to avoid dangling else [-Wdangling-else]
else
^
reshost._.c:631:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( tp = strchr(name+2,'.') ){
~~~^~~~~~~~~~~~~~~~~~~~
reshost._.c:631:10: note: place parentheses around the assignment to silence this warning
if( tp = strchr(name+2,'.') ){
^
( )
reshost._.c:631:10: note: use '==' to turn this assignment into an equality comparison
if( tp = strchr(name+2,'.') ){
^
==
reshost._.c:761:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( lp = strchr(line,'#') ){
~~~^~~~~~~~~~~~~~~~~~
reshost._.c:761:9: note: place parentheses around the assignment to silence this warning
if( lp = strchr(line,'#') ){
^
( )
reshost._.c:761:9: note: use '==' to turn this assignment into an equality comparison
if( lp = strchr(line,'#') ){
^
==
reshost._.c:766:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( lp = strchr(line,'\n') )
~~~^~~~~~~~~~~~~~~~~~~
reshost._.c:766:9: note: place parentheses around the assignment to silence this warning
if( lp = strchr(line,'\n') )
^
( )
reshost._.c:766:9: note: use '==' to turn this assignment into an equality comparison
if( lp = strchr(line,'\n') )
^
==
reshost._.c:866:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( cp = strpbrk(datap,"#\r\n") ){
~~~^~~~~~~~~~~~~~~~~~~~~~~~
reshost._.c:866:10: note: place parentheses around the assignment to silence this warning
if( cp = strpbrk(datap,"#\r\n") ){
^
( )
reshost._.c:866:10: note: use '==' to turn this assignment into an equality comparison
if( cp = strpbrk(datap,"#\r\n") ){
^
==
reshost._.c:927:46: warning: '&' within '|' [-Wbitwise-op-parentheses]
for( lp = hp->h_buff; leng = (lp[0]<<8|lp[1]&0xFF); lp += leng+3 ){
~~~~~~^~~~~
reshost._.c:927:46: note: place parentheses around the '&' expression to silence this warning
for( lp = hp->h_buff; leng = (lp[0]<<8|lp[1]&0xFF); lp += leng+3 ){
^
( )
reshost._.c:927:29: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( lp = hp->h_buff; leng = (lp[0]<<8|lp[1]&0xFF); lp += leng+3 ){
~~~~~^~~~~~~~~~~~~~~~~~~~~~~
reshost._.c:927:29: note: place parentheses around the assignment to silence this warning
for( lp = hp->h_buff; leng = (lp[0]<<8|lp[1]&0xFF); lp += leng+3 ){
^
( )
reshost._.c:927:29: note: use '==' to turn this assignment into an equality comparison
for( lp = hp->h_buff; leng = (lp[0]<<8|lp[1]&0xFF); lp += leng+3 ){
^
==
reshost._.c:997:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( lp = strchr(lp,'\n') )
~~~^~~~~~~~~~~~~~~~~
reshost._.c:997:10: note: place parentheses around the assignment to silence this warning
if( lp = strchr(lp,'\n') )
^
( )
reshost._.c:997:10: note: use '==' to turn this assignment into an equality comparison
if( lp = strchr(lp,'\n') )
^
==
17 warnings generated.
../mkcpp rescache.c rescache._.c
-- mkcpp set time: 1492117218 -> 1408789860 rescache._.c
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c rescache._.c -o rescache.o
rescache._.c:209:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( cache = hosts_cache(byname,name,"r",AVStr(cpath)) ){
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rescache._.c:209:12: note: place parentheses around the assignment to silence this warning
if( cache = hosts_cache(byname,name,"r",AVStr(cpath)) ){
^
( )
rescache._.c:209:12: note: use '==' to turn this assignment into an equality comparison
if( cache = hosts_cache(byname,name,"r",AVStr(cpath)) ){
^
==
rescache._.c:213:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( ncache = fopen(newpath,"w") ){
~~~~~~~^~~~~~~~~~~~~~~~~~~~
rescache._.c:213:14: note: place parentheses around the assignment to silence this warning
if( ncache = fopen(newpath,"w") ){
^
( )
rescache._.c:213:14: note: use '==' to turn this assignment into an equality comparison
if( ncache = fopen(newpath,"w") ){
^
==
rescache._.c:280:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( ai = 0; a1 = (unsigned char *)rv[ai]; ai++ ){
~~~^~~~~~~~~~~~~~~~~~~~~~~~~
rescache._.c:280:22: note: place parentheses around the assignment to silence this warning
for( ai = 0; a1 = (unsigned char *)rv[ai]; ai++ ){
^
( )
rescache._.c:280:22: note: use '==' to turn this assignment into an equality comparison
for( ai = 0; a1 = (unsigned char *)rv[ai]; ai++ ){
^
==
rescache._.c:299:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( ai = 0; n1 = rv[ai]; ai++ )
~~~^~~~~~~~
rescache._.c:299:19: note: place parentheses around the assignment to silence this warning
for( ai = 0; n1 = rv[ai]; ai++ )
^
( )
rescache._.c:299:19: note: use '==' to turn this assignment into an equality comparison
for( ai = 0; n1 = rv[ai]; ai++ )
^
==
rescache._.c:316:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( ai = 0; n1 = rv[ai]; ai++ ){
~~~^~~~~~~~
rescache._.c:316:18: note: place parentheses around the assignment to silence this warning
for( ai = 0; n1 = rv[ai]; ai++ ){
^
( )
rescache._.c:316:18: note: use '==' to turn this assignment into an equality comparison
for( ai = 0; n1 = rv[ai]; ai++ ){
^
==
5 warnings generated.
../mkcpp hostent.c hostent._.c
-- mkcpp set time: 1492117218 -> 1250403944 hostent._.c
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c hostent._.c -o hostent.o
../mkcpp resconf.c resconf._.c
-- mkcpp set time: 1492117218 -> 1283661799 resconf._.c
/bin/sh ./ccres clang -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing resconf._.c -o resconf.o
clang -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing resconf._.c -o resconf.o
resconf._.c:152:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( pushed = PushedResolvers[tix] ){
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
resconf._.c:152:14: note: place parentheses around the assignment to silence this warning
if( pushed = PushedResolvers[tix] ){
^
( )
resconf._.c:152:14: note: use '==' to turn this assignment into an equality comparison
if( pushed = PushedResolvers[tix] ){
^
==
resconf._.c:220:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( si = 0; dom = _RES.dnsrch[si]; si++ ){
~~~~^~~~~~~~~~~~~~~~~
resconf._.c:220:19: note: place parentheses around the assignment to silence this warning
for( si = 0; dom = _RES.dnsrch[si]; si++ ){
^
( )
resconf._.c:220:19: note: use '==' to turn this assignment into an equality comparison
for( si = 0; dom = _RES.dnsrch[si]; si++ ){
^
==
resconf._.c:305:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( hp = _GethostByname(myname) )
~~~^~~~~~~~~~~~~~~~~~~~~~~~
resconf._.c:305:9: note: place parentheses around the assignment to silence this warning
if( hp = _GethostByname(myname) )
^
( )
resconf._.c:305:9: note: use '==' to turn this assignment into an equality comparison
if( hp = _GethostByname(myname) )
^
==
resconf._.c:394:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( np = strstr(nsb,"..") ){
~~~^~~~~~~~~~~~~~~~~~
resconf._.c:394:10: note: place parentheses around the assignment to silence this warning
if( np = strstr(nsb,"..") ){
^
( )
resconf._.c:394:10: note: use '==' to turn this assignment into an equality comparison
if( np = strstr(nsb,"..") ){
^
==
resconf._.c:453:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( socks = strstr(ns,VIA_SOCKS) ){
~~~~~~^~~~~~~~~~~~~~~~~~~~~~
resconf._.c:453:12: note: place parentheses around the assignment to silence this warning
if( socks = strstr(ns,VIA_SOCKS) ){
^
( )
resconf._.c:453:12: note: use '==' to turn this assignment into an equality comparison
if( socks = strstr(ns,VIA_SOCKS) ){
^
==
resconf._.c:458:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( cp = strpbrk(ns,"# \t") )
~~~^~~~~~~~~~~~~~~~~~~~
resconf._.c:458:10: note: place parentheses around the assignment to silence this warning
if( cp = strpbrk(ns,"# \t") )
^
( )
resconf._.c:458:10: note: use '==' to turn this assignment into an equality comparison
if( cp = strpbrk(ns,"# \t") )
^
==
resconf._.c:478:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( hp = _GethostByname(ns) )
~~~^~~~~~~~~~~~~~~~~~~~
resconf._.c:478:9: note: place parentheses around the assignment to silence this warning
if( hp = _GethostByname(ns) )
^
( )
resconf._.c:478:9: note: use '==' to turn this assignment into an equality comparison
if( hp = _GethostByname(ns) )
^
==
resconf._.c:481:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( hp = _GETHOSTBYNAME(ns) )
~~~^~~~~~~~~~~~~~~~~~~~
resconf._.c:481:9: note: place parentheses around the assignment to silence this warning
if( hp = _GETHOSTBYNAME(ns) )
^
( )
resconf._.c:481:9: note: use '==' to turn this assignment into an equality comparison
if( hp = _GETHOSTBYNAME(ns) )
^
==
resconf._.c:559:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( addr = VSA_ntoa(&sin) ){
~~~~~^~~~~~~~~~~~~~~~
resconf._.c:559:13: note: place parentheses around the assignment to silence this warning
if( addr = VSA_ntoa(&sin) ){
^
( )
resconf._.c:559:13: note: use '==' to turn this assignment into an equality comparison
if( addr = VSA_ntoa(&sin) ){
^
==
resconf._.c:638:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = strpbrk(line,"#;") )
~~~^~~~~~~~~~~~~~~~~~~~
resconf._.c:638:13: note: place parentheses around the assignment to silence this warning
if( dp = strpbrk(line,"#;") )
^
( )
resconf._.c:638:13: note: use '==' to turn this assignment into an equality comparison
if( dp = strpbrk(line,"#;") )
^
==
resconf._.c:694:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( domain = strchr(nameb,'/') )
~~~~~~~^~~~~~~~~~~~~~~~~~~
resconf._.c:694:13: note: place parentheses around the assignment to silence this warning
if( domain = strchr(nameb,'/') )
^
( )
resconf._.c:694:13: note: use '==' to turn this assignment into an equality comparison
if( domain = strchr(nameb,'/') )
^
==
resconf._.c:730:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( sp = RES_VERIFY ){
~~~^~~~~~~~~~~~
resconf._.c:730:9: note: place parentheses around the assignment to silence this warning
if( sp = RES_VERIFY ){
^
( )
resconf._.c:730:9: note: use '==' to turn this assignment into an equality comparison
if( sp = RES_VERIFY ){
^
==
resconf._.c:731:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( ; sc = *sp; sp++ ){
~~~^~~~~
resconf._.c:731:13: note: place parentheses around the assignment to silence this warning
for( ; sc = *sp; sp++ ){
^
( )
resconf._.c:731:13: note: use '==' to turn this assignment into an equality comparison
for( ; sc = *sp; sp++ ){
^
==
resconf._.c:886:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( sn = 0; saddrs[sn] = addrs[sn]; sn++ ){
~~~~~~~~~~~^~~~~~~~~~~
resconf._.c:886:27: note: place parentheses around the assignment to silence this warning
for( sn = 0; saddrs[sn] = addrs[sn]; sn++ ){
^
( )
resconf._.c:886:27: note: use '==' to turn this assignment into an equality comparison
for( sn = 0; saddrs[sn] = addrs[sn]; sn++ ){
^
==
resconf._.c:931:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( sx = 0; cap = addrs[sx]; sx++ ){
~~~~^~~~~~~~~~~
resconf._.c:931:19: note: place parentheses around the assignment to silence this warning
for( sx = 0; cap = addrs[sx]; sx++ ){
^
( )
resconf._.c:931:19: note: use '==' to turn this assignment into an equality comparison
for( sx = 0; cap = addrs[sx]; sx++ ){
^
==
resconf._.c:979:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( env = getenv("RES_DEBUG") )
~~~~^~~~~~~~~~~~~~~~~~~~~
resconf._.c:979:10: note: place parentheses around the assignment to silence this warning
if( env = getenv("RES_DEBUG") )
^
( )
resconf._.c:979:10: note: use '==' to turn this assignment into an equality comparison
if( env = getenv("RES_DEBUG") )
^
==
resconf._.c:991:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( env = getenv("RES_ORDER") )
~~~~^~~~~~~~~~~~~~~~~~~~~
resconf._.c:991:10: note: place parentheses around the assignment to silence this warning
if( env = getenv("RES_ORDER") )
^
( )
resconf._.c:991:10: note: use '==' to turn this assignment into an equality comparison
if( env = getenv("RES_ORDER") )
^
==
resconf._.c:995:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( rx = 0; rx = RES_next_res(Resolvers,rx,AVStr(res1),AVStr(arg)); ){
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
resconf._.c:995:18: note: place parentheses around the assignment to silence this warning
for( rx = 0; rx = RES_next_res(Resolvers,rx,AVStr(res1),AVStr(arg)); ){
^
( )
resconf._.c:995:18: note: use '==' to turn this assignment into an equality comparison
for( rx = 0; rx = RES_next_res(Resolvers,rx,AVStr(res1),AVStr(arg)); ){
^
==
resconf._.c:1000:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( env = getenv("RES_NS") )
~~~~^~~~~~~~~~~~~~~~~~
resconf._.c:1000:10: note: place parentheses around the assignment to silence this warning
if( env = getenv("RES_NS") )
^
( )
resconf._.c:1000:10: note: use '==' to turn this assignment into an equality comparison
if( env = getenv("RES_NS") )
^
==
resconf._.c:1002:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( env = getenv("RES_VRFY") )
~~~~^~~~~~~~~~~~~~~~~~~~
resconf._.c:1002:10: note: place parentheses around the assignment to silence this warning
if( env = getenv("RES_VRFY") )
^
( )
resconf._.c:1002:10: note: use '==' to turn this assignment into an equality comparison
if( env = getenv("RES_VRFY") )
^
==
resconf._.c:1013:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( env = getenv("RES_HOSTS") )
~~~~^~~~~~~~~~~~~~~~~~~~~
resconf._.c:1013:10: note: place parentheses around the assignment to silence this warning
if( env = getenv("RES_HOSTS") )
^
( )
resconf._.c:1013:10: note: use '==' to turn this assignment into an equality comparison
if( env = getenv("RES_HOSTS") )
^
==
resconf._.c:1017:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( hp = getmyhost() )
~~~^~~~~~~~~~~~~
resconf._.c:1017:9: note: place parentheses around the assignment to silence this warning
if( hp = getmyhost() )
^
( )
resconf._.c:1017:9: note: use '==' to turn this assignment into an equality comparison
if( hp = getmyhost() )
^
==
resconf._.c:1022:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( hp = getmyhost() ){
~~~^~~~~~~~~~~~~
resconf._.c:1022:9: note: place parentheses around the assignment to silence this warning
if( hp = getmyhost() ){
^
( )
resconf._.c:1022:9: note: use '==' to turn this assignment into an equality comparison
if( hp = getmyhost() ){
^
==
resconf._.c:1065:52: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( flag == DBG_FORCE || _RES.options & RES_DEBUG && DNS_debug & flag ){
~~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
resconf._.c:1065:52: note: place parentheses around the '&&' expression to silence this warning
if( flag == DBG_FORCE || _RES.options & RES_DEBUG && DNS_debug & flag ){
^
( )
resconf._.c:1132:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( hp = RES_gethost(arg) ){
~~~^~~~~~~~~~~~~~~~~~
resconf._.c:1132:11: note: place parentheses around the assignment to silence this warning
if( hp = RES_gethost(arg) ){
^
( )
resconf._.c:1132:11: note: use '==' to turn this assignment into an equality comparison
if( hp = RES_gethost(arg) ){
^
==
resconf._.c:1160:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( hp = RES_gethost(addrhost) ){
~~~^~~~~~~~~~~~~~~~~~~~~~~
resconf._.c:1160:9: note: place parentheses around the assignment to silence this warning
if( hp = RES_gethost(addrhost) ){
^
( )
resconf._.c:1160:9: note: use '==' to turn this assignment into an equality comparison
if( hp = RES_gethost(addrhost) ){
^
==
resconf._.c:1278:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = strchr(arg+2,'.') )
~~~^~~~~~~~~~~~~~~~~~~
resconf._.c:1278:10: note: place parentheses around the assignment to silence this warning
if( dp = strchr(arg+2,'.') )
^
( )
resconf._.c:1278:10: note: use '==' to turn this assignment into an equality comparison
if( dp = strchr(arg+2,'.') )
^
==
27 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
make[4]: Leaving directory '/tmp/delegate/src/delegate9.9.13/resolvy'
make[3]: Leaving directory '/tmp/delegate/src/delegate9.9.13/resolvy'
**[0] move ../resolvy/libresolvy.a to ../lib/libresolvy.a
"/tmp/delegate/src/delegate9.9.13/mkmake.exe" -makeat ../lib/libmimekit.a ../mimekit libmimekit.a "make" libx MAKE="make" SHELL="/bin/sh" CC="clang" HDRDIR="-I../gen -I../include -Wno-narrowing" RANLIB="/usr/bin/ranlib" LDFLAGS=" -L../lib" LIBDIR="-L../lib" NETLIB="-lnsl -ldl -lutil -lpthread -lpam -lstdc++" AR="ar" TAR="tar" CFLAGS="-Wno-narrowing -x c++ -DQS -DNONC99=3 "
---- testing CC capability [clang][-Wno-narrowing -x c++ -DQS -DNONC99=3 ][] ...
***
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 _.c
_.c:2:1: error: C++ requires a type specifier for all declarations
main(){ }
^
1 error generated.
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 _.c
---- LD exit(256) clang _.o -lstdc++
***
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 _.c
_.c:1:16: error: field has incomplete type 'char []'
struct _S{char A[]; char B[1];}S;
^
_.c:2:1: error: C++ requires a type specifier for all declarations
main(){ }
^
2 errors generated.
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 _.c
---- LD exit(256) clang _.o -lstdc++
***
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 _.c
_.c:2:1: error: C++ requires a type specifier for all declarations
main(){ }
^
1 error generated.
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 _.c
---- LD exit(256) clang _.o -lstdc++
[clang -c -Wno-narrowing -x c++ -DQS -DNONC99=3 ] NONC99=2, NONAZ0=6 @0011ec079acd
####### -makeat: /tmp/delegate/src/delegate9.9.13/mimekit @0011ec079acd
make[3]: Entering directory '/tmp/delegate/src/delegate9.9.13/mimekit'
"/tmp/delegate/src/delegate9.9.13/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
"/tmp/delegate/src/delegate9.9.13/mkmake.exe" -mkmake "/usr/bin/make" Makefile.go "clang" "-Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 " "" "-L../lib" "/usr/bin/ranlib" "-lnsl -ldl -lutil -lpthread -lpam -lstdc++" NETLIB
---- testing CC capability [clang][-Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 ][] ...
***
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
_.c:2:1: error: C++ requires a type specifier for all declarations
main(){ }
^
1 error generated.
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
---- LD exit(256) clang _.o -lstdc++
***
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
_.c:1:16: error: field has incomplete type 'char []'
struct _S{char A[]; char B[1];}S;
^
_.c:2:1: error: C++ requires a type specifier for all declarations
main(){ }
^
2 errors generated.
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
---- LD exit(256) clang _.o -lstdc++
***
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
_.c:2:1: error: C++ requires a type specifier for all declarations
main(){ }
^
1 error generated.
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
---- LD exit(256) clang _.o -lstdc++
mkmake:
cpyfile[/tmp/delegate/src/delegate9.9.13/mimekit]: cannot read 'DELEGATE_CONF'
[clang -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 ] NONC99=2, NONAZ0=6 @0011ec079acd
#### [/tmp/delegate/src/delegate9.9.13/mimekit] creating Makefile.go
cpyfile Makefile[1-0][0-40ae95] > Makefile.go
#ifdef UNIX #######################################################
#ifdef UNIX,OS2EMX ################################################
[SET] MKMAKE=/tmp/delegate/src/delegate9.9.13/mkmake.exe
[SET] RANLIB=/usr/bin/ranlib
- checking availability of -lnsl []
cpyfile[/tmp/delegate/src/delegate9.9.13/mimekit]: cannot read 'DELEGATE_CONF'
- checking availability of -ldl [-lnsl]
cpyfile[/tmp/delegate/src/delegate9.9.13/mimekit]: cannot read 'DELEGATE_CONF'
- checking availability of -lutil [-lnsl -ldl]
cpyfile[/tmp/delegate/src/delegate9.9.13/mimekit]: cannot read 'DELEGATE_CONF'
- checking availability of -lpthread [-lnsl -ldl -lutil]
cpyfile[/tmp/delegate/src/delegate9.9.13/mimekit]: cannot read 'DELEGATE_CONF'
- checking availability of -lpam [-lnsl -ldl -lutil -lpthread]
cpyfile[/tmp/delegate/src/delegate9.9.13/mimekit]: cannot read 'DELEGATE_CONF'
- checking availability of -lstdc++ [-lnsl -ldl -lutil -lpthread -lpam]
cpyfile[/tmp/delegate/src/delegate9.9.13/mimekit]: cannot read 'DELEGATE_CONF'
[SET] NETLIB=-lnsl -ldl -lutil -lpthread -lpam -lstdc++
cpyfile[/tmp/delegate/src/delegate9.9.13/mimekit]: cannot read 'DELEGATE_CONF'
cpyfile Makefile[0-0][40af38-0] > Makefile.go
#ifdef UNIX #######################################################
#ifdef UNIX,OS2EMX ################################################
/usr/bin/make -f Makefile.go libmimekit.a XOBJS="" MKMAKE="/tmp/delegate/src/delegate9.9.13/mkmake.exe" SHELL="/bin/sh" HDRDIR="-I../gen -I../include -Wno-narrowing" RANLIB="/usr/bin/ranlib"
make[4]: Entering directory '/tmp/delegate/src/delegate9.9.13/mimekit'
../mkcpp mimeconv.c mimeconv.cc
-- mkcpp set time: 1492117219 -> 1250403944 mimeconv.cc
rm -f mimeconv.o
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -I. mimeconv.cc -c -DMIMEKIT
../mkcpp mimecodes.c mimecodes.cc
-- mkcpp set time: 1492117219 -> 1258619693 mimecodes.cc
rm -f mimecodes.o
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -I. mimecodes.cc -c -DMIMEKIT
mimecodes.cc:58:33: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( 0x80 <= ix || iscntrl(ix) && !isspace(ix) || ix == EQ )
~~ ~~~~~~~~~~~~^~~~~~~~~~~~~~~
mimecodes.cc:58:33: note: place parentheses around the '&&' expression to silence this warning
if( 0x80 <= ix || iscntrl(ix) && !isspace(ix) || ix == EQ )
^
( )
mimecodes.cc:67:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while( ch = *qpchars++ )
~~~^~~~~~~~~~~~
mimecodes.cc:67:12: note: place parentheses around the assignment to silence this warning
while( ch = *qpchars++ )
^
( )
mimecodes.cc:67:12: note: use '==' to turn this assignment into an equality comparison
while( ch = *qpchars++ )
^
==
mimecodes.cc:280:17: warning: '&&' within '||' [-Wlogical-op-parentheses]
|| ocol == 0 && ich == '.'
~~ ~~~~~~~~~~^~~~~~~~~~~~~
mimecodes.cc:280:17: note: place parentheses around the '&&' expression to silence this warning
|| ocol == 0 && ich == '.'
^
( )
3 warnings generated.
../mkcpp mime.c mime.cc
-- mkcpp set time: 1492117219 -> 1402844469 mime.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -I. mime.cc -c -DMIMEKIT -DMIMECONV="C_DECODE(C_HEAD|C_BODY)|C_ENCODE(C_HEAD|C_BODY)"
mime.cc:132:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( ci = 0; ctype1 = textorso[ci]; ci++ )
~~~~~~~^~~~~~~~~~~~~~
mime.cc:132:22: note: place parentheses around the assignment to silence this warning
for( ci = 0; ctype1 = textorso[ci]; ci++ )
^
( )
mime.cc:132:22: note: use '==' to turn this assignment into an equality comparison
for( ci = 0; ctype1 = textorso[ci]; ci++ )
^
==
mime.cc:354:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = strchr(MIME_transAddrSpec,':') ){
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mime.cc:354:11: note: place parentheses around the assignment to silence this warning
if( dp = strchr(MIME_transAddrSpec,':') ){
^
( )
mime.cc:354:11: note: use '==' to turn this assignment into an equality comparison
if( dp = strchr(MIME_transAddrSpec,':') ){
^
==
mime.cc:456:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( bp = strcasestr(hp,"boundary=") ){
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
mime.cc:456:9: note: place parentheses around the assignment to silence this warning
if( bp = strcasestr(hp,"boundary=") ){
^
( )
mime.cc:456:9: note: use '==' to turn this assignment into an equality comparison
if( bp = strcasestr(hp,"boundary=") ){
^
==
mime.cc:485:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( bi = 0; b1 = boundaries[bi]; bi++ ){
~~~^~~~~~~~~~~~~~~~
mime.cc:485:19: note: place parentheses around the assignment to silence this warning
for( bi = 0; b1 = boundaries[bi]; bi++ ){
^
( )
mime.cc:485:19: note: use '==' to turn this assignment into an equality comparison
for( bi = 0; b1 = boundaries[bi]; bi++ ){
^
==
mime.cc:491:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( tp = strheadstrX(line+2,b1,0) ){
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
mime.cc:491:11: note: place parentheses around the assignment to silence this warning
if( tp = strheadstrX(line+2,b1,0) ){
^
( )
mime.cc:491:11: note: use '==' to turn this assignment into an equality comparison
if( tp = strheadstrX(line+2,b1,0) ){
^
==
mime.cc:510:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( sw = strstr(text,"\033$") )
~~~^~~~~~~~~~~~~~~~~~~~~~
mime.cc:510:9: note: place parentheses around the assignment to silence this warning
if( sw = strstr(text,"\033$") )
^
( )
mime.cc:510:9: note: use '==' to turn this assignment into an equality comparison
if( sw = strstr(text,"\033$") )
^
==
mime.cc:513:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( sw = strstr(text,"\033(") )
~~~^~~~~~~~~~~~~~~~~~~~~~
mime.cc:513:9: note: place parentheses around the assignment to silence this warning
if( sw = strstr(text,"\033(") )
^
( )
mime.cc:513:9: note: use '==' to turn this assignment into an equality comparison
if( sw = strstr(text,"\033(") )
^
==
mime.cc:595:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = strchr(ctype,';') )
~~~^~~~~~~~~~~~~~~~~~~
mime.cc:595:10: note: place parentheses around the assignment to silence this warning
if( dp = strchr(ctype,';') )
^
( )
mime.cc:595:10: note: use '==' to turn this assignment into an equality comparison
if( dp = strchr(ctype,';') )
^
==
mime.cc:631:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( got_EOR = isEOR(hp) ){
~~~~~~~~^~~~~~~~~~~
mime.cc:631:15: note: place parentheses around the assignment to silence this warning
if( got_EOR = isEOR(hp) ){
^
( )
mime.cc:631:15: note: use '==' to turn this assignment into an equality comparison
if( got_EOR = isEOR(hp) ){
^
==
mime.cc:687:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for(hs = buf; hc = *hs; hs++ ){
~~~^~~~~
mime.cc:687:20: note: place parentheses around the assignment to silence this warning
for(hs = buf; hc = *hs; hs++ ){
^
( )
mime.cc:687:20: note: use '==' to turn this assignment into an equality comparison
for(hs = buf; hc = *hs; hs++ ){
^
==
mime.cc:767:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
}else
^
mime.cc:769:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( rcode = pop_boundary(boundaries,line) )
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mime.cc:769:13: note: place parentheses around the assignment to silence this warning
if( rcode = pop_boundary(boundaries,line) )
^
( )
mime.cc:769:13: note: use '==' to turn this assignment into an equality comparison
if( rcode = pop_boundary(boundaries,line) )
^
==
mime.cc:794:34: warning: '/*' within block comment [-Wcomment]
/* only if the part is of text/* ? */
^
mime.cc:875:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( rcode = pop_boundary(boundaries,bp) ){
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mime.cc:875:13: note: place parentheses around the assignment to silence this warning
if( rcode = pop_boundary(boundaries,bp) ){
^
( )
mime.cc:875:13: note: use '==' to turn this assignment into an equality comparison
if( rcode = pop_boundary(boundaries,bp) ){
^
==
mime.cc:902:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( rcode = pop_boundary(boundaries,line) )
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mime.cc:902:13: note: place parentheses around the assignment to silence this warning
if( rcode = pop_boundary(boundaries,line) )
^
( )
mime.cc:902:13: note: use '==' to turn this assignment into an equality comparison
if( rcode = pop_boundary(boundaries,line) )
^
==
mime.cc:941:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( m17n = Mcv->c_m17n ){
~~~~~^~~~~~~~~~~~~
mime.cc:941:12: note: place parentheses around the assignment to silence this warning
if( m17n = Mcv->c_m17n ){
^
( )
mime.cc:941:12: note: use '==' to turn this assignment into an equality comparison
if( m17n = Mcv->c_m17n ){
^
==
mime.cc:959:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( cp = strcasestr(header,"charset=") )
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mime.cc:959:9: note: place parentheses around the assignment to silence this warning
if( cp = strcasestr(header,"charset=") )
^
( )
mime.cc:959:9: note: use '==' to turn this assignment into an equality comparison
if( cp = strcasestr(header,"charset=") )
^
==
mime.cc:1032:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( charset = guess_charset(tmpc) )
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
mime.cc:1032:15: note: place parentheses around the assignment to silence this warning
if( charset = guess_charset(tmpc) )
^
( )
mime.cc:1032:15: note: use '==' to turn this assignment into an equality comparison
if( charset = guess_charset(tmpc) )
^
==
mime.cc:1139:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( beol = strpbrk(tmpa,"\r\n") ){
~~~~~^~~~~~~~~~~~~~~~~~~~~~
mime.cc:1139:11: note: place parentheses around the assignment to silence this warning
if( beol = strpbrk(tmpa,"\r\n") ){
^
( )
mime.cc:1139:11: note: use '==' to turn this assignment into an equality comparison
if( beol = strpbrk(tmpa,"\r\n") ){
^
==
mime.cc:1202:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( len = strlen(tmpa) )
~~~~^~~~~~~~~~~~~~
mime.cc:1202:10: note: place parentheses around the assignment to silence this warning
if( len = strlen(tmpa) )
^
( )
mime.cc:1202:10: note: use '==' to turn this assignment into an equality comparison
if( len = strlen(tmpa) )
^
==
mime.cc:1246:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = strSeekEOH(head) )
~~~^~~~~~~~~~~~~~~~~~
mime.cc:1246:11: note: place parentheses around the assignment to silence this warning
if( dp = strSeekEOH(head) )
^
( )
mime.cc:1246:11: note: use '==' to turn this assignment into an equality comparison
if( dp = strSeekEOH(head) )
^
==
mime.cc:1343:21: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( maybe_NONASCII && do_conv || (do_conv & 0xFFFE) ){
~~~~~~~~~~~~~~~^~~~~~~~~~ ~~
mime.cc:1343:21: note: place parentheses around the '&&' expression to silence this warning
if( maybe_NONASCII && do_conv || (do_conv & 0xFFFE) ){
~~~~~~~~~~~~~~~^~~~~~~~~~
mime.cc:1342:3: warning: add explicit braces to avoid dangling else [-Wdangling-else]
}else
^
mime.cc:1374:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
}else
^
mime.cc:1416:39: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( DECODE(C_BODY_CHAR) && xcharset && is8bitCharset(xcharset)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
mime.cc:1416:39: note: place parentheses around the '&&' expression to silence this warning
if( DECODE(C_BODY_CHAR) && xcharset && is8bitCharset(xcharset)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
mime.cc:1417:27: warning: '&&' within '||' [-Wlogical-op-parentheses]
|| DECODE(C_BODY_CTE ) && strcaseeq(encoding,"quoted-printable")
~~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mime.cc:1417:27: note: place parentheses around the '&&' expression to silence this warning
|| DECODE(C_BODY_CTE ) && strcaseeq(encoding,"quoted-printable")
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mime.cc:1418:28: warning: '&&' within '||' [-Wlogical-op-parentheses]
|| DECODE(C_BODY_CTE ) && strcaseeq(encoding,"base64") ){
~~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mime.cc:1418:28: note: place parentheses around the '&&' expression to silence this warning
|| DECODE(C_BODY_CTE ) && strcaseeq(encoding,"base64") ){
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mime.cc:1500:44: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( EOR_ALSO(filter) || endline[0] != '.' && !MIME2PGP(filter) )
~~ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
mime.cc:1500:44: note: place parentheses around the '&&' expression to silence this warning
if( EOR_ALSO(filter) || endline[0] != '.' && !MIME2PGP(filter) )
~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
mime.cc:1563:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( bp = str; ch = *bp; bp++ ){
~~~^~~~~
mime.cc:1563:20: note: place parentheses around the assignment to silence this warning
for( bp = str; ch = *bp; bp++ ){
^
( )
mime.cc:1563:20: note: use '==' to turn this assignment into an equality comparison
for( bp = str; ch = *bp; bp++ ){
^
==
mime.cc:1718:6: warning: add explicit braces to avoid dangling else [-Wdangling-else]
}else
^
mime.cc:1751:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( sp = str; ch = *sp; sp++ ){
~~~^~~~~
mime.cc:1751:20: note: place parentheses around the assignment to silence this warning
for( sp = str; ch = *sp; sp++ ){
^
( )
mime.cc:1751:20: note: use '==' to turn this assignment into an equality comparison
for( sp = str; ch = *sp; sp++ ){
^
==
mime.cc:1775:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( np = strpbrk(tp,"\t\r\n") ){
~~~^~~~~~~~~~~~~~~~~~~~~~
mime.cc:1775:10: note: place parentheses around the assignment to silence this warning
if( np = strpbrk(tp,"\t\r\n") ){
^
( )
mime.cc:1775:10: note: use '==' to turn this assignment into an equality comparison
if( np = strpbrk(tp,"\t\r\n") ){
^
==
mime.cc:1801:20: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( ts[0] == '=' && ts[1] == '?'
~~~~~~~~~~~~~^~~~~~~~~~~~~~~
mime.cc:1801:20: note: place parentheses around the '&&' expression to silence this warning
if( ts[0] == '=' && ts[1] == '?'
^
( )
mime.cc:1802:20: warning: '&&' within '||' [-Wlogical-op-parentheses]
|| ts[0] == '$' &&(ts[1] == 'B' || ts[1] == '@')
~~ ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mime.cc:1802:20: note: place parentheses around the '&&' expression to silence this warning
|| ts[0] == '$' &&(ts[1] == 'B' || ts[1] == '@')
^
( )
34 warnings generated.
../mkcpp pgp.c pgp.cc
-- mkcpp set time: 1492117219 -> 1264938166 pgp.cc
rm -f pgp.o
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -I. pgp.cc -c -DMIMEKIT
pgp.cc:216:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( EOH = line[0] == '\r' || line[0] == '\n' ){
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pgp.cc:216:11: note: place parentheses around the assignment to silence this warning
if( EOH = line[0] == '\r' || line[0] == '\n' ){
^
( )
pgp.cc:216:11: note: use '==' to turn this assignment into an equality comparison
if( EOH = line[0] == '\r' || line[0] == '\n' ){
^
==
pgp.cc:359:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( np = strpbrk(line,CRLF) )
~~~^~~~~~~~~~~~~~~~~~~~
pgp.cc:359:10: note: place parentheses around the assignment to silence this warning
if( np = strpbrk(line,CRLF) )
^
( )
pgp.cc:359:10: note: use '==' to turn this assignment into an equality comparison
if( np = strpbrk(line,CRLF) )
^
==
2 warnings generated.
../mkcpp rfc822.c rfc822.cc
-- mkcpp set time: 1492117220 -> 1402308705 rfc822.cc
rm -f rfc822.o
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -I. rfc822.cc -c -DMIMEKIT
rfc822.cc:63:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( nsp = strchr(csp,'\n') )
~~~~^~~~~~~~~~~~~~~~~~
rfc822.cc:63:11: note: place parentheses around the assignment to silence this warning
if( nsp = strchr(csp,'\n') )
^
( )
rfc822.cc:63:11: note: use '==' to turn this assignment into an equality comparison
if( nsp = strchr(csp,'\n') )
^
==
rfc822.cc:76:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while( fp = findField(head,field,NULL) ){
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
rfc822.cc:76:12: note: place parentheses around the assignment to silence this warning
while( fp = findField(head,field,NULL) ){
^
( )
rfc822.cc:76:12: note: use '==' to turn this assignment into an equality comparison
while( fp = findField(head,field,NULL) ){
^
==
rfc822.cc:77:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( np = strchr(fp,'\n') )
~~~^~~~~~~~~~~~~~~~~
rfc822.cc:77:10: note: place parentheses around the assignment to silence this warning
if( np = strchr(fp,'\n') )
^
( )
rfc822.cc:77:10: note: use '==' to turn this assignment into an equality comparison
if( np = strchr(fp,'\n') )
^
==
rfc822.cc:125:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( vp = findFieldValue(head,field) ){
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
rfc822.cc:125:9: note: place parentheses around the assignment to silence this warning
if( vp = findFieldValue(head,field) ){
^
( )
rfc822.cc:125:9: note: use '==' to turn this assignment into an equality comparison
if( vp = findFieldValue(head,field) ){
^
==
rfc822.cc:252:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( ep = strpbrk(dp,"\r\n") )
~~~^~~~~~~~~~~~~~~~~~~~
rfc822.cc:252:10: note: place parentheses around the assignment to silence this warning
if( ep = strpbrk(dp,"\r\n") )
^
( )
rfc822.cc:252:10: note: use '==' to turn this assignment into an equality comparison
if( ep = strpbrk(dp,"\r\n") )
^
==
rfc822.cc:277:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while( ch = *sp ){
~~~^~~~~
rfc822.cc:277:12: note: place parentheses around the assignment to silence this warning
while( ch = *sp ){
^
( )
rfc822.cc:277:12: note: use '==' to turn this assignment into an equality comparison
while( ch = *sp ){
^
==
rfc822.cc:281:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( xp = strchr(sp,':') ){
~~~^~~~~~~~~~~~~~~~
rfc822.cc:281:11: note: place parentheses around the assignment to silence this warning
if( xp = strchr(sp,':') ){
^
( )
rfc822.cc:281:11: note: use '==' to turn this assignment into an equality comparison
if( xp = strchr(sp,':') ){
^
==
rfc822.cc:288:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while( ch = *sp ){
~~~^~~~~
rfc822.cc:288:13: note: place parentheses around the assignment to silence this warning
while( ch = *sp ){
^
( )
rfc822.cc:288:13: note: use '==' to turn this assignment into an equality comparison
while( ch = *sp ){
^
==
rfc822.cc:346:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = strpbrk(line,"\r\n\f") )
~~~^~~~~~~~~~~~~~~~~~~~~~~~
rfc822.cc:346:12: note: place parentheses around the assignment to silence this warning
if( dp = strpbrk(line,"\r\n\f") )
^
( )
rfc822.cc:346:12: note: use '==' to turn this assignment into an equality comparison
if( dp = strpbrk(line,"\r\n\f") )
^
==
rfc822.cc:441:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( np = name; nc = *np; np++ )
~~~^~~~~
rfc822.cc:441:21: note: place parentheses around the assignment to silence this warning
for( np = name; nc = *np; np++ )
^
( )
rfc822.cc:441:21: note: use '==' to turn this assignment into an equality comparison
for( np = name; nc = *np; np++ )
^
==
rfc822.cc:459:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while( ch = *sp++ ){
~~~^~~~~~~
rfc822.cc:459:12: note: place parentheses around the assignment to silence this warning
while( ch = *sp++ ){
^
( )
rfc822.cc:459:12: note: use '==' to turn this assignment into an equality comparison
while( ch = *sp++ ){
^
==
rfc822.cc:464:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while( ch = *sp ){
~~~^~~~~
rfc822.cc:464:13: note: place parentheses around the assignment to silence this warning
while( ch = *sp ){
^
( )
rfc822.cc:464:13: note: use '==' to turn this assignment into an equality comparison
while( ch = *sp ){
^
==
rfc822.cc:490:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( hp = head; ch = *hp; hp++ ){
~~~^~~~~
rfc822.cc:490:21: note: place parentheses around the assignment to silence this warning
for( hp = head; ch = *hp; hp++ ){
^
( )
rfc822.cc:490:21: note: use '==' to turn this assignment into an equality comparison
for( hp = head; ch = *hp; hp++ ){
^
==
rfc822.cc:531:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( csp = strcasestr(ctype,"charset=") ){
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rfc822.cc:531:10: note: place parentheses around the assignment to silence this warning
if( csp = strcasestr(ctype,"charset=") ){
^
( )
rfc822.cc:531:10: note: use '==' to turn this assignment into an equality comparison
if( csp = strcasestr(ctype,"charset=") ){
^
==
rfc822.cc:564:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( csp = strcasestr(ctype,"charset=") ){
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rfc822.cc:564:10: note: place parentheses around the assignment to silence this warning
if( csp = strcasestr(ctype,"charset=") ){
^
( )
rfc822.cc:564:10: note: use '==' to turn this assignment into an equality comparison
if( csp = strcasestr(ctype,"charset=") ){
^
==
rfc822.cc:748:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( np = field; nc = *np; np++ ){
~~~^~~~~
rfc822.cc:748:22: note: place parentheses around the assignment to silence this warning
for( np = field; nc = *np; np++ ){
^
( )
rfc822.cc:748:22: note: use '==' to turn this assignment into an equality comparison
for( np = field; nc = *np; np++ ){
^
==
rfc822.cc:824:19: warning: '&&' within '||' [-Wlogical-op-parentheses]
|| *hp == '.' && (hp[1] == '\r' || hp[1] == '\n') )
~~ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rfc822.cc:824:19: note: place parentheses around the '&&' expression to silence this warning
|| *hp == '.' && (hp[1] == '\r' || hp[1] == '\n') )
^
( )
rfc822.cc:841:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( fi2 = nextField(fi1,0) ){
~~~~^~~~~~~~~~~~~~~~~~
rfc822.cc:841:10: note: place parentheses around the assignment to silence this warning
if( fi2 = nextField(fi1,0) ){
^
( )
rfc822.cc:841:10: note: use '==' to turn this assignment into an equality comparison
if( fi2 = nextField(fi1,0) ){
^
==
rfc822.cc:857:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( sp = head; ch = *sp; sp++ ){
~~~^~~~~
rfc822.cc:857:21: note: place parentheses around the assignment to silence this warning
for( sp = head; ch = *sp; sp++ ){
^
( )
rfc822.cc:857:21: note: use '==' to turn this assignment into an equality comparison
for( sp = head; ch = *sp; sp++ ){
^
==
rfc822.cc:895:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( tail = strncmp(afield,"Tail/",5) == 0 )
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rfc822.cc:895:12: note: place parentheses around the assignment to silence this warning
if( tail = strncmp(afield,"Tail/",5) == 0 )
^
( )
rfc822.cc:895:12: note: use '==' to turn this assignment into an equality comparison
if( tail = strncmp(afield,"Tail/",5) == 0 )
^
==
rfc822.cc:906:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
} while( afield = findField(afield+1,field,&avalue) );
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rfc822.cc:906:18: note: place parentheses around the assignment to silence this warning
} while( afield = findField(afield+1,field,&avalue) );
^
( )
rfc822.cc:906:18: note: use '==' to turn this assignment into an equality comparison
} while( afield = findField(afield+1,field,&avalue) );
^
==
rfc822.cc:935:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( sp = src; sc = *sp; sp++ ){
~~~^~~~~
rfc822.cc:935:20: note: place parentheses around the assignment to silence this warning
for( sp = src; sc = *sp; sp++ ){
^
( )
rfc822.cc:935:20: note: use '==' to turn this assignment into an equality comparison
for( sp = src; sc = *sp; sp++ ){
^
==
rfc822.cc:971:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( sp = in; sc = *sp; sp++ ){
~~~^~~~~
rfc822.cc:971:19: note: place parentheses around the assignment to silence this warning
for( sp = in; sc = *sp; sp++ ){
^
( )
rfc822.cc:971:19: note: use '==' to turn this assignment into an equality comparison
for( sp = in; sc = *sp; sp++ ){
^
==
rfc822.cc:1006:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( sp = buff; sc = *sp; sp++ ){
~~~^~~~~
rfc822.cc:1006:21: note: place parentheses around the assignment to silence this warning
for( sp = buff; sc = *sp; sp++ ){
^
( )
rfc822.cc:1006:21: note: use '==' to turn this assignment into an equality comparison
for( sp = buff; sc = *sp; sp++ ){
^
==
rfc822.cc:1011:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( sp += 1; sc = *sp; sp++ ){
~~~^~~~~
rfc822.cc:1011:21: note: place parentheses around the assignment to silence this warning
for( sp += 1; sc = *sp; sp++ ){
^
( )
rfc822.cc:1011:21: note: use '==' to turn this assignment into an equality comparison
for( sp += 1; sc = *sp; sp++ ){
^
==
rfc822.cc:1170:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = strstr(ohost,ogdom) )
~~~^~~~~~~~~~~~~~~~~~~~~
rfc822.cc:1170:10: note: place parentheses around the assignment to silence this warning
if( dp = strstr(ohost,ogdom) )
^
( )
rfc822.cc:1170:10: note: use '==' to turn this assignment into an equality comparison
if( dp = strstr(ohost,ogdom) )
^
==
rfc822.cc:1172:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = strrchr(ohost,'.') ){
~~~^~~~~~~~~~~~~~~~~~~~
rfc822.cc:1172:10: note: place parentheses around the assignment to silence this warning
if( dp = strrchr(ohost,'.') ){
^
( )
rfc822.cc:1172:10: note: use '==' to turn this assignment into an equality comparison
if( dp = strrchr(ohost,'.') ){
^
==
rfc822.cc:1176:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = strchr(ogdom,'.') )
~~~^~~~~~~~~~~~~~~~~~~
rfc822.cc:1176:10: note: place parentheses around the assignment to silence this warning
if( dp = strchr(ogdom,'.') )
^
( )
rfc822.cc:1176:10: note: use '==' to turn this assignment into an equality comparison
if( dp = strchr(ogdom,'.') )
^
==
rfc822.cc:1178:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = strrchr(ogdom,'.') )
~~~^~~~~~~~~~~~~~~~~~~~
rfc822.cc:1178:10: note: place parentheses around the assignment to silence this warning
if( dp = strrchr(ogdom,'.') )
^
( )
rfc822.cc:1178:10: note: use '==' to turn this assignment into an equality comparison
if( dp = strrchr(ogdom,'.') )
^
==
rfc822.cc:1189:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( fp = spec; fc = *fp; fp++ ){
~~~^~~~~
rfc822.cc:1189:21: note: place parentheses around the assignment to silence this warning
for( fp = spec; fc = *fp; fp++ ){
^
( )
rfc822.cc:1189:21: note: use '==' to turn this assignment into an equality comparison
for( fp = spec; fc = *fp; fp++ ){
^
==
rfc822.cc:1338:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = strstr(from,addr) ){
~~~^~~~~~~~~~~~~~~~~~~
rfc822.cc:1338:9: note: place parentheses around the assignment to silence this warning
if( dp = strstr(from,addr) ){
^
( )
rfc822.cc:1338:9: note: use '==' to turn this assignment into an equality comparison
if( dp = strstr(from,addr) ){
^
==
rfc822.cc:1376:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( sp = str; ch1 = *sp; sp++ ){
~~~~^~~~~
rfc822.cc:1376:21: note: place parentheses around the assignment to silence this warning
for( sp = str; ch1 = *sp; sp++ ){
^
( )
rfc822.cc:1376:21: note: use '==' to turn this assignment into an equality comparison
for( sp = str; ch1 = *sp; sp++ ){
^
==
rfc822.cc:1425:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( endp = atp+1; ch = *endp; endp++ ){
~~~^~~~~~~
rfc822.cc:1425:25: note: place parentheses around the assignment to silence this warning
for( endp = atp+1; ch = *endp; endp++ ){
^
( )
rfc822.cc:1425:25: note: use '==' to turn this assignment into an equality comparison
for( endp = atp+1; ch = *endp; endp++ ){
^
==
rfc822.cc:2086:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for(; ch = *sp; sp++ ){
~~~^~~~~
rfc822.cc:2086:11: note: place parentheses around the assignment to silence this warning
for(; ch = *sp; sp++ ){
^
( )
rfc822.cc:2086:11: note: use '==' to turn this assignment into an equality comparison
for(; ch = *sp; sp++ ){
^
==
rfc822.cc:2147:16: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( 0 < ndel && 9 <= ndig || ndig == 10 && ndel == 0 ){
~~~~~~~~~^~~~~~~~~~~~ ~~
rfc822.cc:2147:16: note: place parentheses around the '&&' expression to silence this warning
if( 0 < ndel && 9 <= ndig || ndig == 10 && ndel == 0 ){
^
( )
rfc822.cc:2147:43: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( 0 < ndel && 9 <= ndig || ndig == 10 && ndel == 0 ){
~~ ~~~~~~~~~~~^~~~~~~~~~~~
rfc822.cc:2147:43: note: place parentheses around the '&&' expression to silence this warning
if( 0 < ndel && 9 <= ndig || ndig == 10 && ndel == 0 ){
^
( )
rfc822.cc:2177:28: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( 0 < ndel && 9 <= ndig && ndig < 16
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
rfc822.cc:2177:28: note: place parentheses around the '&&' expression to silence this warning
if( 0 < ndel && 9 <= ndig && ndig < 16
^
( )
rfc822.cc:2178:17: warning: '&&' within '||' [-Wlogical-op-parentheses]
|| ndig == 10 && ndel == 0 ){
~~ ~~~~~~~~~~~^~~~~~~~~~~~
rfc822.cc:2178:17: note: place parentheses around the '&&' expression to silence this warning
|| ndig == 10 && ndel == 0 ){
^
( )
38 warnings generated.
../mkcpp mimehead.c mimehead.cc
-- mkcpp set time: 1492117220 -> 1409135323 mimehead.cc
rm -f mimehead.o
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -I. mimehead.cc -c -DMIMEKIT
mimehead.cc:248:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for(csi = 0; cs = Codes1[csi].mcharset; csi++)
~~~^~~~~~~~~~~~~~~~~~~~~~
mimehead.cc:248:18: note: place parentheses around the assignment to silence this warning
for(csi = 0; cs = Codes1[csi].mcharset; csi++)
^
( )
mimehead.cc:248:18: note: use '==' to turn this assignment into an equality comparison
for(csi = 0; cs = Codes1[csi].mcharset; csi++)
^
==
mimehead.cc:252:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for(csi = 0; cs = Codes2[csi].mcharset; csi++)
~~~^~~~~~~~~~~~~~~~~~~~~~
mimehead.cc:252:18: note: place parentheses around the assignment to silence this warning
for(csi = 0; cs = Codes2[csi].mcharset; csi++)
^
( )
mimehead.cc:252:18: note: use '==' to turn this assignment into an equality comparison
for(csi = 0; cs = Codes2[csi].mcharset; csi++)
^
==
mimehead.cc:492:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( ci = 0; mcharset = csw[ci].mcharset; ci++ ){
~~~~~~~~~^~~~~~~~~~~~~~~~~~
mimehead.cc:492:24: note: place parentheses around the assignment to silence this warning
for( ci = 0; mcharset = csw[ci].mcharset; ci++ ){
^
( )
mimehead.cc:492:24: note: use '==' to turn this assignment into an equality comparison
for( ci = 0; mcharset = csw[ci].mcharset; ci++ ){
^
==
mimehead.cc:617:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( lwsp = io->PENDING_LWSP )
~~~~~^~~~~~~~~~~~~~~~~~
mimehead.cc:617:12: note: place parentheses around the assignment to silence this warning
if( lwsp = io->PENDING_LWSP )
^
( )
mimehead.cc:617:12: note: use '==' to turn this assignment into an equality comparison
if( lwsp = io->PENDING_LWSP )
^
==
mimehead.cc:626:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( lwsp = io->PENDING_LWSP ){
~~~~~^~~~~~~~~~~~~~~~~~
mimehead.cc:626:12: note: place parentheses around the assignment to silence this warning
if( lwsp = io->PENDING_LWSP ){
^
( )
mimehead.cc:626:12: note: use '==' to turn this assignment into an equality comparison
if( lwsp = io->PENDING_LWSP ){
^
==
mimehead.cc:687:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( ci = 0; ch = line[ci]; ci++ )
~~~^~~~~~~~~~
mimehead.cc:687:19: note: place parentheses around the assignment to silence this warning
for( ci = 0; ch = line[ci]; ci++ )
^
( )
mimehead.cc:687:19: note: use '==' to turn this assignment into an equality comparison
for( ci = 0; ch = line[ci]; ci++ )
^
==
mimehead.cc:901:53: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( !IS_PRE_DELIMITER(prech) || io->SPACE_WAS_GEN && !prefold )
~~ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
mimehead.cc:901:53: note: place parentheses around the '&&' expression to silence this warning
if( !IS_PRE_DELIMITER(prech) || io->SPACE_WAS_GEN && !prefold )
^
( )
mimehead.cc:1427:3: warning: add explicit braces to avoid dangling else [-Wdangling-else]
}else
^
mimehead.cc:1638:28: warning: '&&' within '||' [-Wlogical-op-parentheses]
|| strchr(xout,'\n')==0 && strchr(ins,'\n')!=0
~~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
mimehead.cc:1638:28: note: place parentheses around the '&&' expression to silence this warning
|| strchr(xout,'\n')==0 && strchr(ins,'\n')!=0
^
( )
9 warnings generated.
../mkcpp mimeh_ovw.c mimeh_ovw.cc
-- mkcpp set time: 1492117220 -> 1250403944 mimeh_ovw.cc
rm -f mimeh_ovw.o
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -I. mimeh_ovw.cc -c -DMIMEKIT
../mkcpp str_codes.c str_codes.cc
-- mkcpp set time: 1492117220 -> 1258670906 str_codes.cc
rm -f str_codes.o
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -I. str_codes.cc -c -DMIMEKIT
In file included from str_codes.cc:123:
./mimecodes.c:58:33: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( 0x80 <= ix || iscntrl(ix) && !isspace(ix) || ix == EQ )
~~ ~~~~~~~~~~~~^~~~~~~~~~~~~~~
./mimecodes.c:58:33: note: place parentheses around the '&&' expression to silence this warning
if( 0x80 <= ix || iscntrl(ix) && !isspace(ix) || ix == EQ )
^
( )
./mimecodes.c:67:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while( ch = *qpchars++ )
~~~^~~~~~~~~~~~
./mimecodes.c:67:12: note: place parentheses around the assignment to silence this warning
while( ch = *qpchars++ )
^
( )
./mimecodes.c:67:12: note: use '==' to turn this assignment into an equality comparison
while( ch = *qpchars++ )
^
==
./mimecodes.c:280:17: warning: '&&' within '||' [-Wlogical-op-parentheses]
|| ocol == 0 && ich == '.'
~~ ~~~~~~~~~~^~~~~~~~~~~~~
./mimecodes.c:280:17: note: place parentheses around the '&&' expression to silence this warning
|| ocol == 0 && ich == '.'
^
( )
str_codes.cc:140:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( sp = str; ch = *sp; sp++ ){
~~~^~~~~
str_codes.cc:140:20: note: place parentheses around the assignment to silence this warning
for( sp = str; ch = *sp; sp++ ){
^
( )
str_codes.cc:140:20: note: use '==' to turn this assignment into an equality comparison
for( sp = str; ch = *sp; sp++ ){
^
==
str_codes.cc:152:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( fp = fmt; ch = *fp; fp++ ){
~~~^~~~~
str_codes.cc:152:20: note: place parentheses around the assignment to silence this warning
for( fp = fmt; ch = *fp; fp++ ){
^
( )
str_codes.cc:152:20: note: use '==' to turn this assignment into an equality comparison
for( fp = fmt; ch = *fp; fp++ ){
^
==
5 warnings generated.
../mkcpp gendom.c gendom.cc
-- mkcpp set time: 1492117220 -> 1413956957 gendom.cc
rm -f gendom.o
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -I. gendom.cc -c -DMIMEKIT
gendom.cc:354:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( ai = 0; ap = attrs[ai]; ai++ ){
~~~^~~~~~~~~~~
gendom.cc:354:19: note: place parentheses around the assignment to silence this warning
for( ai = 0; ap = attrs[ai]; ai++ ){
^
( )
gendom.cc:354:19: note: use '==' to turn this assignment into an equality comparison
for( ai = 0; ap = attrs[ai]; ai++ ){
^
==
gendom.cc:359:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( ai = 0; ap = rattrs[ai]; ai++ ){
~~~^~~~~~~~~~~~
gendom.cc:359:18: note: place parentheses around the assignment to silence this warning
for( ai = 0; ap = rattrs[ai]; ai++ ){
^
( )
gendom.cc:359:18: note: use '==' to turn this assignment into an equality comparison
for( ai = 0; ap = rattrs[ai]; ai++ ){
^
==
gendom.cc:383:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( hi = 0; dn = domlev[hi].d_name; hi++ ){
~~~^~~~~~~~~~~~~~~~~~~
gendom.cc:383:19: note: place parentheses around the assignment to silence this warning
for( hi = 0; dn = domlev[hi].d_name; hi++ ){
^
( )
gendom.cc:383:19: note: use '==' to turn this assignment into an equality comparison
for( hi = 0; dn = domlev[hi].d_name; hi++ ){
^
==
gendom.cc:388:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( hi = 0; dn = domlev[hi].d_rev; hi++ ){
~~~^~~~~~~~~~~~~~~~~~
gendom.cc:388:18: note: place parentheses around the assignment to silence this warning
for( hi = 0; dn = domlev[hi].d_rev; hi++ ){
^
( )
gendom.cc:388:18: note: use '==' to turn this assignment into an equality comparison
for( hi = 0; dn = domlev[hi].d_rev; hi++ ){
^
==
gendom.cc:403:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( alen = isattr(qn-1) ){
~~~~~^~~~~~~~~~~~~~
gendom.cc:403:14: note: place parentheses around the assignment to silence this warning
if( alen = isattr(qn-1) ){
^
( )
gendom.cc:403:14: note: use '==' to turn this assignment into an equality comparison
if( alen = isattr(qn-1) ){
^
==
gendom.cc:437:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( dp++; dc = *dp; dp++ )
~~~^~~~~
gendom.cc:437:17: note: place parentheses around the assignment to silence this warning
for( dp++; dc = *dp; dp++ )
^
( )
gendom.cc:437:17: note: use '==' to turn this assignment into an equality comparison
for( dp++; dc = *dp; dp++ )
^
==
gendom.cc:462:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dom = strchr(gendom,'@') ){
~~~~^~~~~~~~~~~~~~~~~~~~
gendom.cc:462:10: note: place parentheses around the assignment to silence this warning
if( dom = strchr(gendom,'@') ){
^
( )
gendom.cc:462:10: note: use '==' to turn this assignment into an equality comparison
if( dom = strchr(gendom,'@') ){
^
==
7 warnings generated.
rm -f libmimekit.a
ar cr libmimekit.a mimeconv.o mimecodes.o mime.o pgp.o rfc822.o mimehead.o mimeh_ovw.o str_codes.o gendom.o
/usr/bin/ranlib libmimekit.a
make[4]: Leaving directory '/tmp/delegate/src/delegate9.9.13/mimekit'
make[3]: Leaving directory '/tmp/delegate/src/delegate9.9.13/mimekit'
**[0] move ../mimekit/libmimekit.a to ../lib/libmimekit.a
"/tmp/delegate/src/delegate9.9.13/mkmake.exe" -makeat ../lib/libmd5.a ../pds/md5 libmd5.a "make" libx MAKE="make" SHELL="/bin/sh" CC="clang" HDRDIR="-I../gen -I../include -Wno-narrowing" RANLIB="/usr/bin/ranlib" LDFLAGS=" -L../lib" LIBDIR="-L../lib" NETLIB="-lnsl -ldl -lutil -lpthread -lpam -lstdc++" AR="ar" TAR="tar" CFLAGS="-Wno-narrowing -x c++ -DQS -DNONC99=3 "
---- testing CC capability [clang][-Wno-narrowing -x c++ -DQS -DNONC99=3 ][] ...
***
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 _.c
_.c:2:1: error: C++ requires a type specifier for all declarations
main(){ }
^
1 error generated.
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 _.c
---- LD exit(256) clang _.o -lstdc++
***
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 _.c
_.c:1:16: error: field has incomplete type 'char []'
struct _S{char A[]; char B[1];}S;
^
_.c:2:1: error: C++ requires a type specifier for all declarations
main(){ }
^
2 errors generated.
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 _.c
---- LD exit(256) clang _.o -lstdc++
***
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 _.c
_.c:2:1: error: C++ requires a type specifier for all declarations
main(){ }
^
1 error generated.
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 _.c
---- LD exit(256) clang _.o -lstdc++
[clang -c -Wno-narrowing -x c++ -DQS -DNONC99=3 ] NONC99=2, NONAZ0=6 @0011ec079acd
####### -makeat: /tmp/delegate/src/delegate9.9.13/pds/md5 @0011ec079acd
make[3]: Entering directory '/tmp/delegate/src/delegate9.9.13/pds/md5'
"/tmp/delegate/src/delegate9.9.13/mkmake.exe" -mkmake "/usr/bin/make" Makefile.go "clang" "-Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 " "" "-L../lib" "/usr/bin/ranlib" "-lnsl -ldl -lutil -lpthread -lpam -lstdc++" NETLIB
---- testing CC capability [clang][-Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 ][] ...
***
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
_.c:2:1: error: C++ requires a type specifier for all declarations
main(){ }
^
1 error generated.
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
---- LD exit(256) clang _.o -lstdc++
***
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
_.c:1:16: error: field has incomplete type 'char []'
struct _S{char A[]; char B[1];}S;
^
_.c:2:1: error: C++ requires a type specifier for all declarations
main(){ }
^
2 errors generated.
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
---- LD exit(256) clang _.o -lstdc++
***
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
_.c:2:1: error: C++ requires a type specifier for all declarations
main(){ }
^
1 error generated.
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
---- LD exit(256) clang _.o -lstdc++
mkmake:
cpyfile[/tmp/delegate/src/delegate9.9.13/pds/md5]: cannot read 'DELEGATE_CONF'
[clang -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 ] NONC99=2, NONAZ0=6 @0011ec079acd
#### [/tmp/delegate/src/delegate9.9.13/pds/md5] creating Makefile.go
cpyfile Makefile[1-0][0-40ae95] > Makefile.go
#ifdef UNIX,OS2EMX ################################################
[SET] MKMAKE=/tmp/delegate/src/delegate9.9.13/mkmake.exe
[SET] RANLIB=/usr/bin/ranlib
- checking availability of -lnsl []
cpyfile[/tmp/delegate/src/delegate9.9.13/pds/md5]: cannot read 'DELEGATE_CONF'
- checking availability of -ldl [-lnsl]
cpyfile[/tmp/delegate/src/delegate9.9.13/pds/md5]: cannot read 'DELEGATE_CONF'
- checking availability of -lutil [-lnsl -ldl]
cpyfile[/tmp/delegate/src/delegate9.9.13/pds/md5]: cannot read 'DELEGATE_CONF'
- checking availability of -lpthread [-lnsl -ldl -lutil]
cpyfile[/tmp/delegate/src/delegate9.9.13/pds/md5]: cannot read 'DELEGATE_CONF'
- checking availability of -lpam [-lnsl -ldl -lutil -lpthread]
cpyfile[/tmp/delegate/src/delegate9.9.13/pds/md5]: cannot read 'DELEGATE_CONF'
- checking availability of -lstdc++ [-lnsl -ldl -lutil -lpthread -lpam]
cpyfile[/tmp/delegate/src/delegate9.9.13/pds/md5]: cannot read 'DELEGATE_CONF'
[SET] NETLIB=-lnsl -ldl -lutil -lpthread -lpam -lstdc++
cpyfile[/tmp/delegate/src/delegate9.9.13/pds/md5]: cannot read 'DELEGATE_CONF'
cpyfile Makefile[0-0][40af38-0] > Makefile.go
#ifdef UNIX,OS2EMX ################################################
/usr/bin/make -f Makefile.go CFLAGS="-Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 " libmd5.a SHELL="/bin/sh"
make[4]: Entering directory '/tmp/delegate/src/delegate9.9.13/pds/md5'
../../mkcpp md5c.c md5c.cc
-- mkcpp set time: 1492117220 -> 1096679002 md5c.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -c md5c.cc
../../mkcpp md5cb.c md5cb.cc
-- mkcpp set time: 1492117221 -> 1098398831 md5cb.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -c md5cb.cc
../../mkcpp md5lib.c md5lib.cc
-- mkcpp set time: 1492117221 -> 1399199680 md5lib.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -c md5lib.cc
../../mkcpp md5main.c md5main.cc
-- mkcpp set time: 1492117221 -> 953668454 md5main.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -c -DMD=5 md5main.cc
In file included from md5main.cc:2:
./mddriver.c:158:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (len = fread (buffer, 1, 1024, file))
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./mddriver.c:158:13: note: place parentheses around the assignment to silence this warning
while (len = fread (buffer, 1, 1024, file))
^
( )
./mddriver.c:158:13: note: use '==' to turn this assignment into an equality comparison
while (len = fread (buffer, 1, 1024, file))
^
==
./mddriver.c:175:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (len = fread (buffer, 1, 16, stdin))
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./mddriver.c:175:14: note: place parentheses around the assignment to silence this warning
while (len = fread (buffer, 1, 16, stdin))
^
( )
./mddriver.c:175:14: note: use '==' to turn this assignment into an equality comparison
while (len = fread (buffer, 1, 16, stdin))
^
==
2 warnings generated.
rm -f libmd5.a
ar cr libmd5.a md5c.o md5cb.o md5lib.o md5main.o
/usr/bin/ranlib libmd5.a
make[4]: Leaving directory '/tmp/delegate/src/delegate9.9.13/pds/md5'
make[3]: Leaving directory '/tmp/delegate/src/delegate9.9.13/pds/md5'
**[0] move ../pds/md5/libmd5.a to ../lib/libmd5.a
"/tmp/delegate/src/delegate9.9.13/mkmake.exe" -makeat ../lib/libregex.a ../pds/regex libregex.a "make" libx MAKE="make" SHELL="/bin/sh" CC="clang" HDRDIR="-I../gen -I../include -Wno-narrowing" RANLIB="/usr/bin/ranlib" LDFLAGS=" -L../lib" LIBDIR="-L../lib" NETLIB="-lnsl -ldl -lutil -lpthread -lpam -lstdc++" AR="ar" TAR="tar" CFLAGS="-Wno-narrowing"
---- testing CC capability [clang][-Wno-narrowing][] ...
[clang -c -Wno-narrowing ] NONC99=0, NONAZ0=0 @0011ec079acd
####### -makeat: /tmp/delegate/src/delegate9.9.13/pds/regex @0011ec079acd
make[3]: Entering directory '/tmp/delegate/src/delegate9.9.13/pds/regex'
"/tmp/delegate/src/delegate9.9.13/mkmake.exe" -mkmake "/usr/bin/make" Makefile.go "clang" "-Wno-narrowing -Dm64 " \
"" "-L../lib" "/usr/bin/ranlib" "-lnsl -ldl -lutil -lpthread -lpam -lstdc++" NETLIB
---- testing CC capability [clang][-Wno-narrowing -Dm64 ][] ...
mkmake:
cpyfile[/tmp/delegate/src/delegate9.9.13/pds/regex]: cannot read 'DELEGATE_CONF'
[clang -c -Wno-narrowing -Dm64 ] NONC99=0, NONAZ0=0 @0011ec079acd
#### [/tmp/delegate/src/delegate9.9.13/pds/regex] creating Makefile.go
cpyfile Makefile[1-0][0-40ae95] > Makefile.go
#ifdef UNIX
[SET] MKMAKE=/tmp/delegate/src/delegate9.9.13/mkmake.exe
[SET] RANLIB=/usr/bin/ranlib
- checking availability of -lnsl []
cpyfile[/tmp/delegate/src/delegate9.9.13/pds/regex]: cannot read 'DELEGATE_CONF'
- checking availability of -ldl [-lnsl]
cpyfile[/tmp/delegate/src/delegate9.9.13/pds/regex]: cannot read 'DELEGATE_CONF'
- checking availability of -lutil [-lnsl -ldl]
cpyfile[/tmp/delegate/src/delegate9.9.13/pds/regex]: cannot read 'DELEGATE_CONF'
- checking availability of -lpthread [-lnsl -ldl -lutil]
cpyfile[/tmp/delegate/src/delegate9.9.13/pds/regex]: cannot read 'DELEGATE_CONF'
- checking availability of -lpam [-lnsl -ldl -lutil -lpthread]
cpyfile[/tmp/delegate/src/delegate9.9.13/pds/regex]: cannot read 'DELEGATE_CONF'
- checking availability of -lstdc++ [-lnsl -ldl -lutil -lpthread -lpam]
cpyfile[/tmp/delegate/src/delegate9.9.13/pds/regex]: cannot read 'DELEGATE_CONF'
[SET] NETLIB=-lnsl -ldl -lutil -lpthread -lpam -lstdc++
cpyfile[/tmp/delegate/src/delegate9.9.13/pds/regex]: cannot read 'DELEGATE_CONF'
cpyfile Makefile[0-0][40af38-0] > Makefile.go
#ifdef UNIX
/usr/bin/make -f Makefile.go CFLAGS="-Wno-narrowing -Dm64 " \
SHELL="/bin/sh" all
make[4]: Entering directory '/tmp/delegate/src/delegate9.9.13/pds/regex'
sh ./mkh -i _REGEX_H_ regex2.h regcomp.c regerror.c regexec.c regfree.c >regex.h
clang -Wno-narrowing -Dm64 -c -I. regdummy.c -o regdummy.o
ar cr dummy.a regdummy.o
cp dummy.a libregex.a
sh ./mkh -p regcomp.c > regcomp.ih
clang -Wno-narrowing -Dm64 -c -I. regcomp.c -o regcomp.o
sh ./mkh -p engine.c > engine.ih
clang -Wno-narrowing -Dm64 -c -I. regexec.c -o regexec.o
sh ./mkh -p regerror.c > regerror.ih
clang -Wno-narrowing -Dm64 -c -I. regerror.c -o regerror.o
clang -Wno-narrowing -Dm64 -c -I. regfree.c -o regfree.o
ar cr libregex.a regcomp.o regexec.o regerror.o regfree.o
#### DONE ####
-rw-r--r-- 1 tuscan tuscan 65898 Apr 13 21:00 libregex.a
#### #### ####
make[4]: Leaving directory '/tmp/delegate/src/delegate9.9.13/pds/regex'
make[3]: Leaving directory '/tmp/delegate/src/delegate9.9.13/pds/regex'
**[0] move ../pds/regex/libregex.a to ../lib/libregex.a
cp -p ../pds/regex/libregex.a ../lib
cp: cannot stat '../pds/regex/libregex.a': No such file or directory
make[2]: [Makefile.go:1122: ../lib/libregex.a] Error 1 (ignored)
cp -p ../pds/regex/regex.h ../gen
"/tmp/delegate/src/delegate9.9.13/mkmake.exe" -makeat ../lib/library.a ../rary library.a "make" libx MAKE="make" SHELL="/bin/sh" CC="clang" HDRDIR="-I../gen -I../include -Wno-narrowing" RANLIB="/usr/bin/ranlib" LDFLAGS=" -L../lib" LIBDIR="-L../lib" NETLIB="-lnsl -ldl -lutil -lpthread -lpam -lstdc++" AR="ar" TAR="tar" CFLAGS="-Wno-narrowing -x c++ -DQS -DNONC99=3 "
---- testing CC capability [clang][-Wno-narrowing -x c++ -DQS -DNONC99=3 ][] ...
***
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 _.c
_.c:2:1: error: C++ requires a type specifier for all declarations
main(){ }
^
1 error generated.
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 _.c
---- LD exit(256) clang _.o -lstdc++
***
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 _.c
_.c:1:16: error: field has incomplete type 'char []'
struct _S{char A[]; char B[1];}S;
^
_.c:2:1: error: C++ requires a type specifier for all declarations
main(){ }
^
2 errors generated.
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 _.c
---- LD exit(256) clang _.o -lstdc++
***
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 _.c
_.c:2:1: error: C++ requires a type specifier for all declarations
main(){ }
^
1 error generated.
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 _.c
---- LD exit(256) clang _.o -lstdc++
[clang -c -Wno-narrowing -x c++ -DQS -DNONC99=3 ] NONC99=2, NONAZ0=6 @0011ec079acd
####### -makeat: /tmp/delegate/src/delegate9.9.13/rary @0011ec079acd
make[3]: Entering directory '/tmp/delegate/src/delegate9.9.13/rary'
"/tmp/delegate/src/delegate9.9.13/mkmake.exe" -cksum Makefile SLL.c TLEX.c String.c ystring.c modfmt.c JIS.c codeconv.c pilsner.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 asock.c lsock.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 netsh.c wince.c winmo.c winsspi.c winnat.c winmisc.c unix.c windows.c windows0.c Finish.c
"/tmp/delegate/src/delegate9.9.13/mkmake.exe" -mkmake "/usr/bin/make" Makefile.go "clang" "-Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 " "" "-L../lib" "/usr/bin/ranlib" "-lnsl -ldl -lutil -lpthread -lpam -lstdc++" NETLIB
---- testing CC capability [clang][-Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 ][] ...
***
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
_.c:2:1: error: C++ requires a type specifier for all declarations
main(){ }
^
1 error generated.
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
---- LD exit(256) clang _.o -lstdc++
***
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
_.c:1:16: error: field has incomplete type 'char []'
struct _S{char A[]; char B[1];}S;
^
_.c:2:1: error: C++ requires a type specifier for all declarations
main(){ }
^
2 errors generated.
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
---- LD exit(256) clang _.o -lstdc++
***
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
_.c:2:1: error: C++ requires a type specifier for all declarations
main(){ }
^
1 error generated.
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
---- LD exit(256) clang _.o -lstdc++
mkmake:
cpyfile[/tmp/delegate/src/delegate9.9.13/rary]: cannot read 'DELEGATE_CONF'
[clang -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 ] NONC99=2, NONAZ0=6 @0011ec079acd
#### [/tmp/delegate/src/delegate9.9.13/rary] creating Makefile.go
cpyfile Makefile[1-0][0-40ae95] > Makefile.go
#ifdef UNIX,OS2EMX ################################################
[SET] MKMAKE=/tmp/delegate/src/delegate9.9.13/mkmake.exe
[SET] RANLIB=/usr/bin/ranlib
- checking availability of -lnsl []
cpyfile[/tmp/delegate/src/delegate9.9.13/rary]: cannot read 'DELEGATE_CONF'
- checking availability of -ldl [-lnsl]
cpyfile[/tmp/delegate/src/delegate9.9.13/rary]: cannot read 'DELEGATE_CONF'
- checking availability of -lutil [-lnsl -ldl]
cpyfile[/tmp/delegate/src/delegate9.9.13/rary]: cannot read 'DELEGATE_CONF'
- checking availability of -lpthread [-lnsl -ldl -lutil]
cpyfile[/tmp/delegate/src/delegate9.9.13/rary]: cannot read 'DELEGATE_CONF'
- checking availability of -lpam [-lnsl -ldl -lutil -lpthread]
cpyfile[/tmp/delegate/src/delegate9.9.13/rary]: cannot read 'DELEGATE_CONF'
- checking availability of -lstdc++ [-lnsl -ldl -lutil -lpthread -lpam]
cpyfile[/tmp/delegate/src/delegate9.9.13/rary]: cannot read 'DELEGATE_CONF'
[SET] NETLIB=-lnsl -ldl -lutil -lpthread -lpam -lstdc++
cpyfile[/tmp/delegate/src/delegate9.9.13/rary]: cannot read 'DELEGATE_CONF'
cpyfile Makefile[0-0][40af38-0] > Makefile.go
#ifdef UNIX,OS2EMX ################################################
"/tmp/delegate/src/delegate9.9.13/mkmake.exe" -randtext randtext.c
/usr/bin/make -f Makefile.go CFLAGS="-Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 " library.a SHELL="/bin/sh" HDRDIR="-I../gen -I../include -Wno-narrowing"
make[4]: Entering directory '/tmp/delegate/src/delegate9.9.13/rary'
../mkcpp SLL.c SLL.cc
-- mkcpp set time: 1492117222 -> 1250403944 SLL.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c SLL.cc
SLL.cc:63:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( ch = *src ){
~~~^~~~~~
SLL.cc:63:11: note: place parentheses around the assignment to silence this warning
if( ch = *src ){
^
( )
SLL.cc:63:11: note: use '==' to turn this assignment into an equality comparison
if( ch = *src ){
^
==
1 warning generated.
../mkcpp String.c String.cc
-- mkcpp set time: 1492117222 -> 1399011522 String.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c String.cc
String.cc:40:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( sp = str; ch = *sp; sp++ )
~~~^~~~~
String.cc:40:20: note: place parentheses around the assignment to silence this warning
for( sp = str; ch = *sp; sp++ )
^
( )
String.cc:40:20: note: use '==' to turn this assignment into an equality comparison
for( sp = str; ch = *sp; sp++ )
^
==
String.cc:69:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = Isnumber(ai) ){
~~~^~~~~~~~~~~~~~
String.cc:69:9: note: place parentheses around the assignment to silence this warning
if( dp = Isnumber(ai) ){
^
( )
String.cc:69:9: note: use '==' to turn this assignment into an equality comparison
if( dp = Isnumber(ai) ){
^
==
String.cc:119:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( sp = str; sc = *sp; sp++ )
~~~^~~~~
String.cc:119:20: note: place parentheses around the assignment to silence this warning
for( sp = str; sc = *sp; sp++ )
^
( )
String.cc:119:20: note: use '==' to turn this assignment into an equality comparison
for( sp = str; sc = *sp; sp++ )
^
==
String.cc:128:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( sp = str; sc = *sp; sp++ )
~~~^~~~~
String.cc:128:20: note: place parentheses around the assignment to silence this warning
for( sp = str; sc = *sp; sp++ )
^
( )
String.cc:128:20: note: use '==' to turn this assignment into an equality comparison
for( sp = str; sc = *sp; sp++ )
^
==
String.cc:138:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( sp = src; sc = *sp; sp++ ){
~~~^~~~~
String.cc:138:20: note: place parentheses around the assignment to silence this warning
for( sp = src; sc = *sp; sp++ ){
^
( )
String.cc:138:20: note: use '==' to turn this assignment into an equality comparison
for( sp = src; sc = *sp; sp++ ){
^
==
String.cc:155:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( sp = src; sc = *sp; sp++ ){
~~~^~~~~
String.cc:155:20: note: place parentheses around the assignment to silence this warning
for( sp = src; sc = *sp; sp++ ){
^
( )
String.cc:155:20: note: use '==' to turn this assignment into an equality comparison
for( sp = src; sc = *sp; sp++ ){
^
==
String.cc:204:27: warning: '&&' within '||' [-Wlogical-op-parentheses]
|| (opts & RX_IGNCASE) && chrcaseeq(sc,rc)
~~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
String.cc:204:27: note: place parentheses around the '&&' expression to silence this warning
|| (opts & RX_IGNCASE) && chrcaseeq(sc,rc)
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
String.cc:241:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for(; rch1 = *rp; rp++ ){
~~~~~^~~~~
String.cc:241:15: note: place parentheses around the assignment to silence this warning
for(; rch1 = *rp; rp++ ){
^
( )
String.cc:241:15: note: use '==' to turn this assignment into an equality comparison
for(; rch1 = *rp; rp++ ){
^
==
String.cc:242:16: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( negate && match || !negate && !match ){
~~~~~~~^~~~~~~~ ~~
String.cc:242:16: note: place parentheses around the '&&' expression to silence this warning
if( negate && match || !negate && !match ){
^
( )
String.cc:242:36: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( negate && match || !negate && !match ){
~~ ~~~~~~~~^~~~~~~~~
String.cc:242:36: note: place parentheses around the '&&' expression to silence this warning
if( negate && match || !negate && !match ){
^
( )
String.cc:266:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for(ac = 0; a1 = av[ac]; ac++){
~~~^~~~~~~~
String.cc:266:17: note: place parentheses around the assignment to silence this warning
for(ac = 0; a1 = av[ac]; ac++){
^
( )
String.cc:266:17: note: use '==' to turn this assignment into an equality comparison
for(ac = 0; a1 = av[ac]; ac++){
^
==
String.cc:284:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( sp = str; ch = *sp; sp++ ){
~~~^~~~~
String.cc:284:20: note: place parentheses around the assignment to silence this warning
for( sp = str; ch = *sp; sp++ ){
^
( )
String.cc:284:20: note: use '==' to turn this assignment into an equality comparison
for( sp = str; ch = *sp; sp++ ){
^
==
String.cc:285:27: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( ch==inc[0] || inc[1]&&ch==inc[1] || inc[2]&&ch==inc[2] ){
~~ ~~~~~~^~~~~~~~~~~~
String.cc:285:27: note: place parentheses around the '&&' expression to silence this warning
if( ch==inc[0] || inc[1]&&ch==inc[1] || inc[2]&&ch==inc[2] ){
^
( )
String.cc:285:49: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( ch==inc[0] || inc[1]&&ch==inc[1] || inc[2]&&ch==inc[2] ){
~~ ~~~~~~^~~~~~~~~~~~
String.cc:285:49: note: place parentheses around the '&&' expression to silence this warning
if( ch==inc[0] || inc[1]&&ch==inc[1] || inc[2]&&ch==inc[2] ){
^
( )
String.cc:288:27: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( ch==dec[0] || dec[1]&&ch==dec[1] || dec[2]&&ch==dec[2] ){
~~ ~~~~~~^~~~~~~~~~~~
String.cc:288:27: note: place parentheses around the '&&' expression to silence this warning
if( ch==dec[0] || dec[1]&&ch==dec[1] || dec[2]&&ch==dec[2] ){
^
( )
String.cc:288:49: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( ch==dec[0] || dec[1]&&ch==dec[1] || dec[2]&&ch==dec[2] ){
~~ ~~~~~~^~~~~~~~~~~~
String.cc:288:49: note: place parentheses around the '&&' expression to silence this warning
if( ch==dec[0] || dec[1]&&ch==dec[1] || dec[2]&&ch==dec[2] ){
^
( )
String.cc:306:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( sp = str; ch = *sp; sp++ ){
~~~^~~~~
String.cc:306:20: note: place parentheses around the assignment to silence this warning
for( sp = str; ch = *sp; sp++ ){
^
( )
String.cc:306:20: note: use '==' to turn this assignment into an equality comparison
for( sp = str; ch = *sp; sp++ ){
^
==
String.cc:364:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( ei = 0; e1 = ev[ei]; ei++ ){
~~~^~~~~~~~
String.cc:364:18: note: place parentheses around the assignment to silence this warning
for( ei = 0; e1 = ev[ei]; ei++ ){
^
( )
String.cc:364:18: note: use '==' to turn this assignment into an equality comparison
for( ei = 0; e1 = ev[ei]; ei++ ){
^
==
String.cc:371:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( ei = 0; e1 = ev[ei]; ei++ ){
~~~^~~~~~~~
String.cc:371:18: note: place parentheses around the assignment to silence this warning
for( ei = 0; e1 = ev[ei]; ei++ ){
^
( )
String.cc:371:18: note: use '==' to turn this assignment into an equality comparison
for( ei = 0; e1 = ev[ei]; ei++ ){
^
==
String.cc:445:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for(ai = 0; val = av[ai]; ai++)
~~~~^~~~~~~~
String.cc:445:18: note: place parentheses around the assignment to silence this warning
for(ai = 0; val = av[ai]; ai++)
^
( )
String.cc:445:18: note: use '==' to turn this assignment into an equality comparison
for(ai = 0; val = av[ai]; ai++)
^
==
String.cc:462:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( ai = 0; val = av[ai]; ai++ ){
~~~~^~~~~~~~
String.cc:462:19: note: place parentheses around the assignment to silence this warning
for( ai = 0; val = av[ai]; ai++ ){
^
( )
String.cc:462:19: note: use '==' to turn this assignment into an equality comparison
for( ai = 0; val = av[ai]; ai++ ){
^
==
String.cc:494:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( env = getenv("STRBUFDEBUG") ){
~~~~^~~~~~~~~~~~~~~~~~~~~~~
String.cc:494:11: note: place parentheses around the assignment to silence this warning
if( env = getenv("STRBUFDEBUG") ){
^
( )
String.cc:494:11: note: use '==' to turn this assignment into an equality comparison
if( env = getenv("STRBUFDEBUG") ){
^
==
String.cc:553:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( odd = top % al )
~~~~^~~~~~~~~~
String.cc:553:11: note: place parentheses around the assignment to silence this warning
if( odd = top % al )
^
( )
String.cc:553:11: note: use '==' to turn this assignment into an equality comparison
if( odd = top % al )
^
==
String.cc:575:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( sp = getStrBuffer(1,size,PTRALIGN) ){
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
String.cc:575:9: note: place parentheses around the assignment to silence this warning
if( sp = getStrBuffer(1,size,PTRALIGN) ){
^
( )
String.cc:575:9: note: use '==' to turn this assignment into an equality comparison
if( sp = getStrBuffer(1,size,PTRALIGN) ){
^
==
String.cc:585:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( ep = getStrBuffer(1,len,1) ){
~~~^~~~~~~~~~~~~~~~~~~~~~~
String.cc:585:9: note: place parentheses around the assignment to silence this warning
if( ep = getStrBuffer(1,len,1) ){
^
( )
String.cc:585:9: note: use '==' to turn this assignment into an equality comparison
if( ep = getStrBuffer(1,len,1) ){
^
==
String.cc:596:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( sp = getStrBuffer(1,strlen(str)+1,1) ){
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
String.cc:596:9: note: place parentheses around the assignment to silence this warning
if( sp = getStrBuffer(1,strlen(str)+1,1) ){
^
( )
String.cc:596:9: note: use '==' to turn this assignment into an equality comparison
if( sp = getStrBuffer(1,strlen(str)+1,1) ){
^
==
String.cc:626:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( ds = *dst ){
~~~^~~~~~
String.cc:626:9: note: place parentheses around the assignment to silence this warning
if( ds = *dst ){
^
( )
String.cc:626:9: note: use '==' to turn this assignment into an equality comparison
if( ds = *dst ){
^
==
String.cc:724:31: warning: '&&' within '||' [-Wlogical-op-parentheses]
while( *s1 == *s2 || igncase && chrcaseeq(*s1,*s2) ){
~~ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
String.cc:724:31: note: place parentheses around the '&&' expression to silence this warning
while( *s1 == *s2 || igncase && chrcaseeq(*s1,*s2) ){
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
String.cc:754:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( sp = str; ch = *sp; sp++ ){
~~~^~~~~
String.cc:754:20: note: place parentheses around the assignment to silence this warning
for( sp = str; ch = *sp; sp++ ){
^
( )
String.cc:754:20: note: use '==' to turn this assignment into an equality comparison
for( sp = str; ch = *sp; sp++ ){
^
==
String.cc:765:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for(; ch = *s; s++){
~~~^~~~
String.cc:765:11: note: place parentheses around the assignment to silence this warning
for(; ch = *s; s++){
^
( )
String.cc:765:11: note: use '==' to turn this assignment into an equality comparison
for(; ch = *s; s++){
^
==
String.cc:787:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for(; ch = *s; s++){
~~~^~~~
String.cc:787:11: note: place parentheses around the assignment to silence this warning
for(; ch = *s; s++){
^
( )
String.cc:787:11: note: use '==' to turn this assignment into an equality comparison
for(; ch = *s; s++){
^
==
String.cc:793:28: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( ch=='\n' || ch=='\r' && (s[1]=='\n' || s[1]==0) )
~~ ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
String.cc:793:28: note: place parentheses around the '&&' expression to silence this warning
if( ch=='\n' || ch=='\r' && (s[1]=='\n' || s[1]==0) )
^
( )
String.cc:804:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( sp = src; sc = *sp; sp++ ){
~~~^~~~~
String.cc:804:20: note: place parentheses around the assignment to silence this warning
for( sp = src; sc = *sp; sp++ ){
^
( )
String.cc:804:20: note: use '==' to turn this assignment into an equality comparison
for( sp = src; sc = *sp; sp++ ){
^
==
String.cc:877:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for(; ch = *sp; sp++ )
~~~^~~~~
String.cc:877:12: note: place parentheses around the assignment to silence this warning
for(; ch = *sp; sp++ )
^
( )
String.cc:877:12: note: use '==' to turn this assignment into an equality comparison
for(; ch = *sp; sp++ )
^
==
String.cc:882:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for(; ch = *sp; sp++ ){
~~~^~~~~
String.cc:882:12: note: place parentheses around the assignment to silence this warning
for(; ch = *sp; sp++ ){
^
( )
String.cc:882:12: note: use '==' to turn this assignment into an equality comparison
for(; ch = *sp; sp++ ){
^
==
String.cc:935:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( care_quote = (allocm & STR_QUOTE) ){
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
String.cc:935:17: note: place parentheses around the assignment to silence this warning
if( care_quote = (allocm & STR_QUOTE) ){
^
( )
String.cc:935:17: note: use '==' to turn this assignment into an equality comparison
if( care_quote = (allocm & STR_QUOTE) ){
^
==
String.cc:948:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
}else
^
String.cc:956:28: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( np = (char*)lp; cch = *np; ){
~~~~^~~~~
String.cc:956:28: note: place parentheses around the assignment to silence this warning
for( np = (char*)lp; cch = *np; ){
^
( )
String.cc:956:28: note: use '==' to turn this assignment into an equality comparison
for( np = (char*)lp; cch = *np; ){
^
==
String.cc:1082:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( tp = strchr(list,'}') ){
~~~^~~~~~~~~~~~~~~~~~
String.cc:1082:11: note: place parentheses around the assignment to silence this warning
if( tp = strchr(list,'}') ){
^
( )
String.cc:1082:11: note: use '==' to turn this assignment into an equality comparison
if( tp = strchr(list,'}') ){
^
==
String.cc:1191:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while( dp = strstr(sp,pat) ){
~~~^~~~~~~~~~~~~~~~
String.cc:1191:12: note: place parentheses around the assignment to silence this warning
while( dp = strstr(sp,pat) ){
^
( )
String.cc:1191:12: note: use '==' to turn this assignment into an equality comparison
while( dp = strstr(sp,pat) ){
^
==
String.cc:1281:43: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( ks = (unsigned char*)key; kc = *ks++; ){
~~~^~~~~~~
String.cc:1281:43: note: place parentheses around the assignment to silence this warning
for( ks = (unsigned char*)key; kc = *ks++; ){
^
( )
String.cc:1281:43: note: use '==' to turn this assignment into an equality comparison
for( ks = (unsigned char*)key; kc = *ks++; ){
^
==
String.cc:1325:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( dp = str; ch = *dp; dp++ )
~~~^~~~~
String.cc:1325:20: note: place parentheses around the assignment to silence this warning
for( dp = str; ch = *dp; dp++ )
^
( )
String.cc:1325:20: note: use '==' to turn this assignment into an equality comparison
for( dp = str; ch = *dp; dp++ )
^
==
String.cc:1375:45: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( sp = pat0 = strip_spaces(pattern); sc = *sp; sp++ ){
~~~^~~~~
String.cc:1375:45: note: place parentheses around the assignment to silence this warning
for( sp = pat0 = strip_spaces(pattern); sc = *sp; sp++ ){
^
( )
String.cc:1375:45: note: use '==' to turn this assignment into an equality comparison
for( sp = pat0 = strip_spaces(pattern); sc = *sp; sp++ ){
^
==
String.cc:1471:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( si = 0; sp = sv[si]; si++ ){
~~~^~~~~~~~
String.cc:1471:18: note: place parentheses around the assignment to silence this warning
for( si = 0; sp = sv[si]; si++ ){
^
( )
String.cc:1471:18: note: use '==' to turn this assignment into an equality comparison
for( si = 0; sp = sv[si]; si++ ){
^
==
String.cc:1473:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while( sc = *sp++ )
~~~^~~~~~~
String.cc:1473:13: note: place parentheses around the assignment to silence this warning
while( sc = *sp++ )
^
( )
String.cc:1473:13: note: use '==' to turn this assignment into an equality comparison
while( sc = *sp++ )
^
==
String.cc:1664:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( a1 = av[ai]; ch = *a1; a1++ ){
~~~^~~~~
String.cc:1664:24: note: place parentheses around the assignment to silence this warning
for( a1 = av[ai]; ch = *a1; a1++ ){
^
( )
String.cc:1664:24: note: use '==' to turn this assignment into an equality comparison
for( a1 = av[ai]; ch = *a1; a1++ ){
^
==
String.cc:1685:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( sp = args; ch = *sp; sp++ ){
~~~^~~~~
String.cc:1685:21: note: place parentheses around the assignment to silence this warning
for( sp = args; ch = *sp; sp++ ){
^
( )
String.cc:1685:21: note: use '==' to turn this assignment into an equality comparison
for( sp = args; ch = *sp; sp++ ){
^
==
String.cc:1972:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( sp = src; sc = *sp; sp++ ){
~~~^~~~~
String.cc:1972:20: note: place parentheses around the assignment to silence this warning
for( sp = src; sc = *sp; sp++ ){
^
( )
String.cc:1972:20: note: use '==' to turn this assignment into an equality comparison
for( sp = src; sc = *sp; sp++ ){
^
==
String.cc:1977:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( bp = brk; bc = *bp; bp++ ){
~~~^~~~~
String.cc:1977:21: note: place parentheses around the assignment to silence this warning
for( bp = brk; bc = *bp; bp++ ){
^
( )
String.cc:1977:21: note: use '==' to turn this assignment into an equality comparison
for( bp = brk; bc = *bp; bp++ ){
^
==
String.cc:2112:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( ip = dst; ic = *ip; ){
~~~^~~~~
String.cc:2112:20: note: place parentheses around the assignment to silence this warning
for( ip = dst; ic = *ip; ){
^
( )
String.cc:2112:20: note: use '==' to turn this assignment into an equality comparison
for( ip = dst; ic = *ip; ){
^
==
String.cc:2131:5: warning: add explicit braces to avoid dangling else [-Wdangling-else]
}else{
^
String.cc:2154:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( ip = src; ic = *ip; ){
~~~^~~~~
String.cc:2154:20: note: place parentheses around the assignment to silence this warning
for( ip = src; ic = *ip; ){
^
( )
String.cc:2154:20: note: use '==' to turn this assignment into an equality comparison
for( ip = src; ic = *ip; ){
^
==
String.cc:2199:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( fp = fmt; fc = *fp; fp++ ){
~~~^~~~~
String.cc:2199:20: note: place parentheses around the assignment to silence this warning
for( fp = fmt; fc = *fp; fp++ ){
^
( )
String.cc:2199:20: note: use '==' to turn this assignment into an equality comparison
for( fp = fmt; fc = *fp; fp++ ){
^
==
String.cc:2331:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( fp++; fc = *fp; fp++ ){
~~~^~~~~
String.cc:2331:18: note: place parentheses around the assignment to silence this warning
for( fp++; fc = *fp; fp++ ){
^
( )
String.cc:2331:18: note: use '==' to turn this assignment into an equality comparison
for( fp++; fc = *fp; fp++ ){
^
==
String.cc:2377:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( fp++; ec = *fp; fp++ ){
~~~^~~~~
String.cc:2377:19: note: place parentheses around the assignment to silence this warning
for( fp++; ec = *fp; fp++ ){
^
( )
String.cc:2377:19: note: use '==' to turn this assignment into an equality comparison
for( fp++; ec = *fp; fp++ ){
^
==
String.cc:2428:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( neg = *fp == '^' )
~~~~^~~~~~~~~~~~
String.cc:2428:12: note: place parentheses around the assignment to silence this warning
if( neg = *fp == '^' )
^
( )
String.cc:2428:12: note: use '==' to turn this assignment into an equality comparison
if( neg = *fp == '^' )
^
==
String.cc:2434:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while( sc = *sp ){
~~~^~~~~
String.cc:2434:14: note: place parentheses around the assignment to silence this warning
while( sc = *sp ){
^
( )
String.cc:2434:14: note: use '==' to turn this assignment into an equality comparison
while( sc = *sp ){
^
==
String.cc:2453:13: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( neg && isin || !neg && !isin )
~~~~^~~~~~~ ~~
String.cc:2453:13: note: place parentheses around the '&&' expression to silence this warning
if( neg && isin || !neg && !isin )
^
( )
String.cc:2453:29: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( neg && isin || !neg && !isin )
~~ ~~~~~^~~~~~~~
String.cc:2453:29: note: place parentheses around the '&&' expression to silence this warning
if( neg && isin || !neg && !isin )
^
( )
String.cc:2488:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( bp = getStrBuffer(lev,size,algn) )
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
String.cc:2488:9: note: place parentheses around the assignment to silence this warning
if( bp = getStrBuffer(lev,size,algn) )
^
( )
String.cc:2488:9: note: use '==' to turn this assignment into an equality comparison
if( bp = getStrBuffer(lev,size,algn) )
^
==
String.cc:2572:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while( dp = strrchr(dombuf,dlm) ){
~~~^~~~~~~~~~~~~~~~~~~~~
String.cc:2572:12: note: place parentheses around the assignment to silence this warning
while( dp = strrchr(dombuf,dlm) ){
^
( )
String.cc:2572:12: note: use '==' to turn this assignment into an equality comparison
while( dp = strrchr(dombuf,dlm) ){
^
==
String.cc:2635:42: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( sp = (const unsigned char*)str; ch = *sp; sp++ ){
~~~^~~~~
String.cc:2635:42: note: place parentheses around the assignment to silence this warning
for( sp = (const unsigned char*)str; ch = *sp; sp++ ){
^
( )
String.cc:2635:42: note: use '==' to turn this assignment into an equality comparison
for( sp = (const unsigned char*)str; ch = *sp; sp++ ){
^
==
62 warnings generated.
../mkcpp ystring.c ystring.cc
-- mkcpp set time: 1492117222 -> 1276437468 ystring.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c ystring.cc
ystring.cc:373:21: warning: '&&' within '||' [-Wlogical-op-parentheses]
|| !isWindowsCE() && numthreads()
~~ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
ystring.cc:373:21: note: place parentheses around the '&&' expression to silence this warning
|| !isWindowsCE() && numthreads()
^
( )
ystring.cc:459:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( fp = fmt; fc = *fp; fp++ ){
~~~^~~~~
ystring.cc:459:20: note: place parentheses around the assignment to silence this warning
for( fp = fmt; fc = *fp; fp++ ){
^
( )
ystring.cc:459:20: note: use '==' to turn this assignment into an equality comparison
for( fp = fmt; fc = *fp; fp++ ){
^
==
ystring.cc:643:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( env = getenv("DEBUG_VSTR") ){
~~~~^~~~~~~~~~~~~~~~~~~~~~
ystring.cc:643:10: note: place parentheses around the assignment to silence this warning
if( env = getenv("DEBUG_VSTR") ){
^
( )
ystring.cc:643:10: note: use '==' to turn this assignment into an equality comparison
if( env = getenv("DEBUG_VSTR") ){
^
==
ystring.cc:982:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for(p = s; ch = *p; p++){
~~~^~~~
ystring.cc:982:16: note: place parentheses around the assignment to silence this warning
for(p = s; ch = *p; p++){
^
( )
ystring.cc:982:16: note: use '==' to turn this assignment into an equality comparison
for(p = s; ch = *p; p++){
^
==
ystring.cc:1110:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for(f = fmt; fc = *f; f++){
~~~^~~~
ystring.cc:1110:18: note: place parentheses around the assignment to silence this warning
for(f = fmt; fc = *f; f++){
^
( )
ystring.cc:1110:18: note: use '==' to turn this assignment into an equality comparison
for(f = fmt; fc = *f; f++){
^
==
ystring.cc:1365:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( fp = fmt; fc = *fp; fp++ ){
~~~^~~~~
ystring.cc:1365:20: note: place parentheses around the assignment to silence this warning
for( fp = fmt; fc = *fp; fp++ ){
^
( )
ystring.cc:1365:20: note: use '==' to turn this assignment into an equality comparison
for( fp = fmt; fc = *fp; fp++ ){
^
==
ystring.cc:1369:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while( fc = *++fp ){
~~~^~~~~~~
ystring.cc:1369:14: note: place parentheses around the assignment to silence this warning
while( fc = *++fp ){
^
( )
ystring.cc:1369:14: note: use '==' to turn this assignment into an equality comparison
while( fc = *++fp ){
^
==
7 warnings generated.
../mkcpp modfmt.c modfmt.cc
-- mkcpp set time: 1492117222 -> 1264824053 modfmt.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c modfmt.cc
modfmt.cc:71:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( fp = fmt; fc = *fp; ){
~~~^~~~~
modfmt.cc:71:20: note: place parentheses around the assignment to silence this warning
for( fp = fmt; fc = *fp; ){
^
( )
modfmt.cc:71:20: note: use '==' to turn this assignment into an equality comparison
for( fp = fmt; fc = *fp; ){
^
==
modfmt.cc:77:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( fp++; fc = *fp; fp++ ){
~~~^~~~~
modfmt.cc:77:18: note: place parentheses around the assignment to silence this warning
for( fp++; fc = *fp; fp++ ){
^
( )
modfmt.cc:77:18: note: use '==' to turn this assignment into an equality comparison
for( fp++; fc = *fp; fp++ ){
^
==
2 warnings generated.
../mkcpp TLEX.c TLEX.cc
-- mkcpp set time: 1492117223 -> 1264837521 TLEX.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c TLEX.cc
TLEX.cc:90:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( nfsp = fsp->Nstat->nvec[ch] )
~~~~~^~~~~~~~~~~~~~~~~~~~~~
TLEX.cc:90:12: note: place parentheses around the assignment to silence this warning
if( nfsp = fsp->Nstat->nvec[ch] )
^
( )
TLEX.cc:90:12: note: use '==' to turn this assignment into an equality comparison
if( nfsp = fsp->Nstat->nvec[ch] )
^
==
TLEX.cc:106:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( nfsp = next1(fsp,ch) )
~~~~~^~~~~~~~~~~~~~~
TLEX.cc:106:11: note: place parentheses around the assignment to silence this warning
if( nfsp = next1(fsp,ch) )
^
( )
TLEX.cc:106:11: note: use '==' to turn this assignment into an equality comparison
if( nfsp = next1(fsp,ch) )
^
==
TLEX.cc:109:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( nfsp = fsp->other ){
~~~~~^~~~~~~~~~~~
TLEX.cc:109:11: note: place parentheses around the assignment to silence this warning
if( nfsp = fsp->other ){
^
( )
TLEX.cc:109:11: note: use '==' to turn this assignment into an equality comparison
if( nfsp = fsp->other ){
^
==
TLEX.cc:110:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( xfsp = next1(nfsp,ch) ){
~~~~~^~~~~~~~~~~~~~~~
TLEX.cc:110:12: note: place parentheses around the assignment to silence this warning
if( xfsp = next1(nfsp,ch) ){
^
( )
TLEX.cc:110:12: note: use '==' to turn this assignment into an equality comparison
if( xfsp = next1(nfsp,ch) ){
^
==
TLEX.cc:189:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( fa_root = fsp )
~~~~~~~~^~~~~
TLEX.cc:189:14: note: place parentheses around the assignment to silence this warning
if( fa_root = fsp )
^
( )
TLEX.cc:189:14: note: use '==' to turn this assignment into an equality comparison
if( fa_root = fsp )
^
==
TLEX.cc:295:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( ss = input; cc = *ss; ss++ ){
~~~^~~~~
TLEX.cc:295:22: note: place parentheses around the assignment to silence this warning
for( ss = input; cc = *ss; ss++ ){
^
( )
TLEX.cc:295:22: note: use '==' to turn this assignment into an equality comparison
for( ss = input; cc = *ss; ss++ ){
^
==
TLEX.cc:418:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( tp = (unsigned char*)strchr((char*)sp,'>') ){
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TLEX.cc:418:10: note: place parentheses around the assignment to silence this warning
if( tp = (unsigned char*)strchr((char*)sp,'>') ){
^
( )
TLEX.cc:418:10: note: use '==' to turn this assignment into an equality comparison
if( tp = (unsigned char*)strchr((char*)sp,'>') ){
^
==
TLEX.cc:573:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( sp = rexp; ch = *sp; sp++ ){
~~~^~~~~
TLEX.cc:573:21: note: place parentheses around the assignment to silence this warning
for( sp = rexp; ch = *sp; sp++ ){
^
( )
TLEX.cc:573:21: note: use '==' to turn this assignment into an equality comparison
for( sp = rexp; ch = *sp; sp++ ){
^
==
8 warnings generated.
../mkcpp JIS.c JIS.cc
-- mkcpp set time: 1492117223 -> 1409099988 JIS.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c JIS.cc
JIS.cc:121:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( ci = 1; n1 = charsets[ci].cs_formname; ci++ ){
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
JIS.cc:121:18: note: place parentheses around the assignment to silence this warning
for( ci = 1; n1 = charsets[ci].cs_formname; ci++ ){
^
( )
JIS.cc:121:18: note: use '==' to turn this assignment into an equality comparison
for( ci = 1; n1 = charsets[ci].cs_formname; ci++ ){
^
==
JIS.cc:348:36: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( IS_SJIS_HI1(ch1) || in_sjis && IS_SJIS_HI2(ch1) )
~~ ~~~~~~~~^~~~~~~~~~~~~~~~~~~
JIS.cc:348:36: note: place parentheses around the '&&' expression to silence this warning
if( IS_SJIS_HI1(ch1) || in_sjis && IS_SJIS_HI2(ch1) )
~~~~~~~~^~~~~~~~~~~~~~~~~~~
JIS.cc:362:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while( ch = *s++ ){
~~~^~~~~~
JIS.cc:362:12: note: place parentheses around the assignment to silence this warning
while( ch = *s++ ){
^
( )
JIS.cc:362:12: note: use '==' to turn this assignment into an equality comparison
while( ch = *s++ ){
^
==
JIS.cc:416:25: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( c2 == SJIS_DAKUTEN && (js = SJIS_1B_TO_DAKUTEN[c1])
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
JIS.cc:416:25: note: place parentheses around the '&&' expression to silence this warning
if( c2 == SJIS_DAKUTEN && (js = SJIS_1B_TO_DAKUTEN[c1])
^
( )
JIS.cc:417:25: warning: '&&' within '||' [-Wlogical-op-parentheses]
|| c2 == SJIS_HANDAKU && (js = SJIS_1B_TO_HANDAKU[c1]) ){
~~ ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
JIS.cc:417:25: note: place parentheses around the '&&' expression to silence this warning
|| c2 == SJIS_HANDAKU && (js = SJIS_1B_TO_HANDAKU[c1]) ){
^
( )
JIS.cc:474:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( s = str; ch = *s; s++ ){
~~~^~~~
JIS.cc:474:19: note: place parentheses around the assignment to silence this warning
for( s = str; ch = *s; s++ ){
^
( )
JIS.cc:474:19: note: use '==' to turn this assignment into an equality comparison
for( s = str; ch = *s; s++ ){
^
==
JIS.cc:497:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while( ch1 = *sp++ ){
~~~~^~~~~~~
JIS.cc:497:13: note: place parentheses around the assignment to silence this warning
while( ch1 = *sp++ ){
^
( )
JIS.cc:497:13: note: use '==' to turn this assignment into an equality comparison
while( ch1 = *sp++ ){
^
==
JIS.cc:524:41: warning: '&&' within '||' [-Wlogical-op-parentheses]
|| isHTML && ch1=='<' && sp[0]=='/' && istag(&sp[1])
~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
JIS.cc:524:41: note: place parentheses around the '&&' expression to silence this warning
|| isHTML && ch1=='<' && sp[0]=='/' && istag(&sp[1])
^
( )
JIS.cc:525:41: warning: '&&' within '||' [-Wlogical-op-parentheses]
|| isHTML && ch2=='<' && sp[1]=='/' && istag(&sp[2]) ){
~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
JIS.cc:525:41: note: place parentheses around the '&&' expression to silence this warning
|| isHTML && ch2=='<' && sp[1]=='/' && istag(&sp[2]) ){
^
( )
JIS.cc:536:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( len = isHTMLentity(sp,&ech) )
~~~~^~~~~~~~~~~~~~~~~~~~~~~
JIS.cc:536:12: note: place parentheses around the assignment to silence this warning
if( len = isHTMLentity(sp,&ech) )
^
( )
JIS.cc:536:12: note: use '==' to turn this assignment into an equality comparison
if( len = isHTMLentity(sp,&ech) )
^
==
JIS.cc:546:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( len = isHTMLentity(sp,&ech) )
~~~~^~~~~~~~~~~~~~~~~~~~~~~
JIS.cc:546:12: note: place parentheses around the assignment to silence this warning
if( len = isHTMLentity(sp,&ech) )
^
( )
JIS.cc:546:12: note: use '==' to turn this assignment into an equality comparison
if( len = isHTMLentity(sp,&ech) )
^
==
JIS.cc:567:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( cp = euc; ch1 = *cp & 0xFF; cp++ ){
~~~~^~~~~~~~~~~~
JIS.cc:567:21: note: place parentheses around the assignment to silence this warning
for( cp = euc; ch1 = *cp & 0xFF; cp++ ){
^
( )
JIS.cc:567:21: note: use '==' to turn this assignment into an equality comparison
for( cp = euc; ch1 = *cp & 0xFF; cp++ ){
^
==
JIS.cc:634:24: warning: '&&' within '||' [-Wlogical-op-parentheses]
|| 5 <= ccx->cc_sjis && ccx->cc_euc == 0
~~ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
JIS.cc:634:24: note: place parentheses around the '&&' expression to silence this warning
|| 5 <= ccx->cc_sjis && ccx->cc_euc == 0
^
( )
JIS.cc:635:23: warning: '&&' within '||' [-Wlogical-op-parentheses]
|| 5 <= ccx->cc_euc && ccx->cc_sjis == 0
~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
JIS.cc:635:23: note: place parentheses around the '&&' expression to silence this warning
|| 5 <= ccx->cc_euc && ccx->cc_sjis == 0
^
( )
JIS.cc:646:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( cs = csx2name(ccx->cc_incc1) ){
~~~^~~~~~~~~~~~~~~~~~~~~~~~~
JIS.cc:646:10: note: place parentheses around the assignment to silence this warning
if( cs = csx2name(ccx->cc_incc1) ){
^
( )
JIS.cc:646:10: note: use '==' to turn this assignment into an equality comparison
if( cs = csx2name(ccx->cc_incc1) ){
^
==
JIS.cc:657:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( cs = csx2name(ccx->cc_incc1) ){
~~~^~~~~~~~~~~~~~~~~~~~~~~~~
JIS.cc:657:10: note: place parentheses around the assignment to silence this warning
if( cs = csx2name(ccx->cc_incc1) ){
^
( )
JIS.cc:657:10: note: use '==' to turn this assignment into an equality comparison
if( cs = csx2name(ccx->cc_incc1) ){
^
==
JIS.cc:816:13: warning: & has lower precedence than ==; == will be evaluated first [-Wparentheses]
if( ch2 & 0x80 == 0
^~~~~~~~~~~
JIS.cc:816:13: note: place parentheses around the '==' expression to silence this warning
if( ch2 & 0x80 == 0
^
( )
JIS.cc:816:13: note: place parentheses around the & expression to evaluate it first
if( ch2 & 0x80 == 0
^
( )
JIS.cc:850:18: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( nSJ != nEJ && nSJ != nL8
~~~~~~~~~~~^~~~~~~~~~~~~
JIS.cc:850:18: note: place parentheses around the '&&' expression to silence this warning
if( nSJ != nEJ && nSJ != nL8
^
( )
JIS.cc:851:17: warning: '&&' within '||' [-Wlogical-op-parentheses]
|| nSJ < nL8 && nEJ < nL8
~~ ~~~~~~~~~~^~~~~~~~~~~~
JIS.cc:851:17: note: place parentheses around the '&&' expression to silence this warning
|| nSJ < nL8 && nEJ < nL8
^
( )
JIS.cc:1170:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( cs = csx2name(ccx->cc_incc1) ){
~~~^~~~~~~~~~~~~~~~~~~~~~~~~
JIS.cc:1170:10: note: place parentheses around the assignment to silence this warning
if( cs = csx2name(ccx->cc_incc1) ){
^
( )
JIS.cc:1170:10: note: use '==' to turn this assignment into an equality comparison
if( cs = csx2name(ccx->cc_incc1) ){
^
==
JIS.cc:1189:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( cs = csx2name(ccx->cc_indef) )
~~~^~~~~~~~~~~~~~~~~~~~~~~~~
JIS.cc:1189:10: note: place parentheses around the assignment to silence this warning
if( cs = csx2name(ccx->cc_indef) )
^
( )
JIS.cc:1189:10: note: use '==' to turn this assignment into an equality comparison
if( cs = csx2name(ccx->cc_indef) )
^
==
JIS.cc:1230:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( cx = 1; name = charsets[cx].cs_name; cx++ ){
~~~~~^~~~~~~~~~~~~~~~~~~~~~
JIS.cc:1230:20: note: place parentheses around the assignment to silence this warning
for( cx = 1; name = charsets[cx].cs_name; cx++ ){
^
( )
JIS.cc:1230:20: note: use '==' to turn this assignment into an equality comparison
for( cx = 1; name = charsets[cx].cs_name; cx++ ){
^
==
JIS.cc:1465:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( size = CCXcreate(from,to,&ccxbuf) ){
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
JIS.cc:1465:11: note: place parentheses around the assignment to silence this warning
if( size = CCXcreate(from,to,&ccxbuf) ){
^
( )
JIS.cc:1465:11: note: use '==' to turn this assignment into an equality comparison
if( size = CCXcreate(from,to,&ccxbuf) ){
^
==
JIS.cc:1649:26: warning: '&&' within '||' [-Wlogical-op-parentheses]
|| ccx->cc_linecc == 0 && (flag & IS_WORDS)
~~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
JIS.cc:1649:26: note: place parentheses around the '&&' expression to silence this warning
|| ccx->cc_linecc == 0 && (flag & IS_WORDS)
^
( )
JIS.cc:1723:23: warning: '&&' within '||' [-Wlogical-op-parentheses]
|| IS_EUC_HI(ch2) && ch3 == EOB
~~ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~
JIS.cc:1723:23: note: place parentheses around the '&&' expression to silence this warning
|| IS_EUC_HI(ch2) && ch3 == EOB
~~~~~~~~~~~~~~~^~~~~~~~~~~~~
JIS.cc:1739:19: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( ch1 == 0xA3 && (ch2 < 0xB0 || 0xBA <= ch2 & ch2 <= 0xBF)
~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
JIS.cc:1739:19: note: place parentheses around the '&&' expression to silence this warning
if( ch1 == 0xA3 && (ch2 < 0xB0 || 0xBA <= ch2 & ch2 <= 0xBF)
^
( )
JIS.cc:1740:19: warning: '&&' within '||' [-Wlogical-op-parentheses]
|| ch1 == 0xCF && (0xD3 < ch2)
~~ ~~~~~~~~~~~~^~~~~~~~~~~~~~~
JIS.cc:1740:19: note: place parentheses around the '&&' expression to silence this warning
|| ch1 == 0xCF && (0xD3 < ch2)
^
( )
JIS.cc:1866:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( ucs = ANSItoUCS(ch1) ){
~~~~^~~~~~~~~~~~~~~~
JIS.cc:1866:12: note: place parentheses around the assignment to silence this warning
if( ucs = ANSItoUCS(ch1) ){
^
( )
JIS.cc:1866:12: note: use '==' to turn this assignment into an equality comparison
if( ucs = ANSItoUCS(ch1) ){
^
==
JIS.cc:1922:27: warning: '&' within '|' [-Wbitwise-op-parentheses]
code = U_JIS0212|0x7F7F&((ch1<<8)|ch2);
~~~~~~~^~~~~~~~~~~~~~~
JIS.cc:1922:27: note: place parentheses around the '&' expression to silence this warning
code = U_JIS0212|0x7F7F&((ch1<<8)|ch2);
^
( )
JIS.cc:1927:27: warning: '&' within '|' [-Wbitwise-op-parentheses]
code = U_JIS0212|0x7F7F&((ch1<<8)|ch2);
~~~~~~~^~~~~~~~~~~~~~~
JIS.cc:1927:27: note: place parentheses around the '&' expression to silence this warning
code = U_JIS0212|0x7F7F&((ch1<<8)|ch2);
^
( )
JIS.cc:2306:7: warning: '&&' within '||' [-Wlogical-op-parentheses]
&& codesw == CC_JIS7KANA
^~~~~~~~~~~~~~~~~~~~~~~~
JIS.cc:2306:7: note: place parentheses around the '&&' expression to silence this warning
&& codesw == CC_JIS7KANA
^~~~~~~~~~~~~~~~~~~~~~~~
JIS.cc:2610:4: warning: '&&' within '||' [-Wlogical-op-parentheses]
&& isNotInNONJP(ccx)
^~~~~~~~~~~~~~~~~~~~
JIS.cc:2610:4: note: place parentheses around the '&&' expression to silence this warning
&& isNotInNONJP(ccx)
^~~~~~~~~~~~~~~~~~~~
JIS.cc:2654:21: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( !ccx->cc_SJIS && !ccx->cc_EUCJP || isUTF8tmp || isUCSch )
~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ~~
JIS.cc:2654:21: note: place parentheses around the '&&' expression to silence this warning
if( !ccx->cc_SJIS && !ccx->cc_EUCJP || isUTF8tmp || isUCSch )
~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
JIS.cc:2656:26: warning: '&&' within '||' [-Wlogical-op-parentheses]
|| (ch1&0xF8) == 0xF0 && canbeUTF8_2(ch2) /* 4bytes */
~~ ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
JIS.cc:2656:26: note: place parentheses around the '&&' expression to silence this warning
|| (ch1&0xF8) == 0xF0 && canbeUTF8_2(ch2) /* 4bytes */
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
JIS.cc:2661:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( fromURL = 0 <= CH3b ){
~~~~~~~~^~~~~~~~~~~
JIS.cc:2661:16: note: place parentheses around the assignment to silence this warning
if( fromURL = 0 <= CH3b ){
^
( )
JIS.cc:2661:16: note: use '==' to turn this assignment into an equality comparison
if( fromURL = 0 <= CH3b ){
^
==
JIS.cc:2674:19: warning: '&&' within '||' [-Wlogical-op-parentheses]
|| ch4 == EOB && (ch2 == '\n' || ch3 == '\n') ){
~~ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
JIS.cc:2674:19: note: place parentheses around the '&&' expression to silence this warning
|| ch4 == EOB && (ch2 == '\n' || ch3 == '\n') ){
^
( )
JIS.cc:2719:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
else
^
JIS.cc:2739:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( cx = JIS_dakuten(c1,c2,ucs1) ){
~~~^~~~~~~~~~~~~~~~~~~~~~~~~
JIS.cc:2739:19: note: place parentheses around the assignment to silence this warning
if( cx = JIS_dakuten(c1,c2,ucs1) ){
^
( )
JIS.cc:2739:19: note: use '==' to turn this assignment into an equality comparison
if( cx = JIS_dakuten(c1,c2,ucs1) ){
^
==
JIS.cc:2751:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( op[0] = isUTF8_HANKAKU(ch1,ch2,ch3) ){
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
JIS.cc:2751:18: note: place parentheses around the assignment to silence this warning
if( op[0] = isUTF8_HANKAKU(ch1,ch2,ch3) ){
^
( )
JIS.cc:2751:18: note: use '==' to turn this assignment into an equality comparison
if( op[0] = isUTF8_HANKAKU(ch1,ch2,ch3) ){
^
==
JIS.cc:2875:5: warning: '&&' within '||' [-Wlogical-op-parentheses]
&& IS_EUC_CH(ch1,ch2,CH3)
^~~~~~~~~~~~~~~~~~~~~~~~~
JIS.cc:2875:5: note: place parentheses around the '&&' expression to silence this warning
&& IS_EUC_CH(ch1,ch2,CH3)
^~~~~~~~~~~~~~~~~~~~~~~~~
JIS.cc:2877:5: warning: '&&' within '||' [-Wlogical-op-parentheses]
&& EUCgtSJIS(ccx,cinb,pix-1,pin,pilen)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
JIS.cc:2877:5: note: place parentheses around the '&&' expression to silence this warning
&& EUCgtSJIS(ccx,cinb,pix-1,pin,pilen)
^
JIS.cc:2907:29: warning: '&&' within '||' [-Wlogical-op-parentheses]
|| maybein(CC_EUCJP) && !maybein(CC_SJIS))
~~ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
JIS.cc:2907:29: note: place parentheses around the '&&' expression to silence this warning
|| maybein(CC_EUCJP) && !maybein(CC_SJIS))
~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
JIS.cc:2884:5: warning: add explicit braces to avoid dangling else [-Wdangling-else]
}else
^
JIS.cc:2880:5: warning: add explicit braces to avoid dangling else [-Wdangling-else]
}else
^
JIS.cc:2967:5: warning: add explicit braces to avoid dangling else [-Wdangling-else]
}else
^
JIS.cc:3033:5: warning: add explicit braces to avoid dangling else [-Wdangling-else]
}else
^
JIS.cc:3148:23: warning: '&&' within '||' [-Wlogical-op-parentheses]
&& ( IS_EUC_HI(ch2) && CH3 == EOB
~~~~~~~~~~~~~~~^~~~~~~~~~~~~
JIS.cc:3148:23: note: place parentheses around the '&&' expression to silence this warning
&& ( IS_EUC_HI(ch2) && CH3 == EOB
~~~~~~~~~~~~~~~^~~~~~~~~~~~~
JIS.cc:3150:5: warning: '&&' within '||' [-Wlogical-op-parentheses]
&& guessCode(ccx,cinb,pix-1,pin,pilen)==CC_EUCJP)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
JIS.cc:3150:5: note: place parentheses around the '&&' expression to silence this warning
&& guessCode(ccx,cinb,pix-1,pin,pilen)==CC_EUCJP)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
JIS.cc:3148:2: warning: '&&' within '||' [-Wlogical-op-parentheses]
&& ( IS_EUC_HI(ch2) && CH3 == EOB
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
JIS.cc:3148:2: note: place parentheses around the '&&' expression to silence this warning
&& ( IS_EUC_HI(ch2) && CH3 == EOB
^
JIS.cc:3159:26: warning: '&&' within '||' [-Wlogical-op-parentheses]
&& ( IS_EUC_HI(ch2) && CH3 == EOB
~~~~~~~~~~~~~~~^~~~~~~~~~~~~
JIS.cc:3159:26: note: place parentheses around the '&&' expression to silence this warning
&& ( IS_EUC_HI(ch2) && CH3 == EOB
~~~~~~~~~~~~~~~^~~~~~~~~~~~~
JIS.cc:3161:8: warning: '&&' within '||' [-Wlogical-op-parentheses]
&& guessCode(ccx,cinb,pix-1,pin,pilen)==CC_EUCJP)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
JIS.cc:3161:8: note: place parentheses around the '&&' expression to silence this warning
&& guessCode(ccx,cinb,pix-1,pin,pilen)==CC_EUCJP)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
JIS.cc:3159:5: warning: '&&' within '||' [-Wlogical-op-parentheses]
&& ( IS_EUC_HI(ch2) && CH3 == EOB
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
JIS.cc:3159:5: note: place parentheses around the '&&' expression to silence this warning
&& ( IS_EUC_HI(ch2) && CH3 == EOB
^
JIS.cc:3156:5: warning: add explicit braces to avoid dangling else [-Wdangling-else]
}else
^
JIS.cc:3206:40: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( !ccx->cc_UTF8 && !ccx->cc_EUCJP && !ccx->cc_EURO8
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
JIS.cc:3206:40: note: place parentheses around the '&&' expression to silence this warning
if( !ccx->cc_UTF8 && !ccx->cc_EUCJP && !ccx->cc_EURO8
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
JIS.cc:3227:5: warning: add explicit braces to avoid dangling else [-Wdangling-else]
}else
^
JIS.cc:3299:5: warning: add explicit braces to avoid dangling else [-Wdangling-else]
}else
^
JIS.cc:2855:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
}else
^
JIS.cc:3419:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( sp = str; ch = *sp++; ){
~~~^~~~~~~
JIS.cc:3419:20: note: place parentheses around the assignment to silence this warning
for( sp = str; ch = *sp++; ){
^
( )
JIS.cc:3419:20: note: use '==' to turn this assignment into an equality comparison
for( sp = str; ch = *sp++; ){
^
==
JIS.cc:3421:24: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( *sp == TO_2BCODE && (sp[1]=='@' || sp[1]=='B')
~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
JIS.cc:3421:24: note: place parentheses around the '&&' expression to silence this warning
if( *sp == TO_2BCODE && (sp[1]=='@' || sp[1]=='B')
^
( )
JIS.cc:3422:24: warning: '&&' within '||' [-Wlogical-op-parentheses]
|| *sp == TO_1BCODE && (sp[1]=='J' || sp[1]=='B')
~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
JIS.cc:3422:24: note: place parentheses around the '&&' expression to silence this warning
|| *sp == TO_1BCODE && (sp[1]=='J' || sp[1]=='B')
^
( )
JIS.cc:3631:8: warning: comparison of 0 <= unsigned expression is always true [-Wtautological-compare]
if( 0 <= ucs && ucs <= 0xFFFF )
~ ^ ~~~
JIS.cc:3870:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( len = UTF8toSJISX(ccx,op,ox,ucs) ){
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
JIS.cc:3870:14: note: place parentheses around the assignment to silence this warning
if( len = UTF8toSJISX(ccx,op,ox,ucs) ){
^
( )
JIS.cc:3870:14: note: use '==' to turn this assignment into an equality comparison
if( len = UTF8toSJISX(ccx,op,ox,ucs) ){
^
==
JIS.cc:3899:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( len = UTF8toSJISX(ccx,op,ox,ucs) ){
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
JIS.cc:3899:14: note: place parentheses around the assignment to silence this warning
if( len = UTF8toSJISX(ccx,op,ox,ucs) ){
^
( )
JIS.cc:3899:14: note: use '==' to turn this assignment into an equality comparison
if( len = UTF8toSJISX(ccx,op,ox,ucs) ){
^
==
JIS.cc:3915:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( len = UTF8toSJISX(ccx,op,ox,ucs) ){
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
JIS.cc:3915:14: note: place parentheses around the assignment to silence this warning
if( len = UTF8toSJISX(ccx,op,ox,ucs) ){
^
( )
JIS.cc:3915:14: note: use '==' to turn this assignment into an equality comparison
if( len = UTF8toSJISX(ccx,op,ox,ucs) ){
^
==
JIS.cc:4069:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( mfp = fopen(file,"w") ){
~~~~^~~~~~~~~~~~~~~~~
JIS.cc:4069:10: note: place parentheses around the assignment to silence this warning
if( mfp = fopen(file,"w") ){
^
( )
JIS.cc:4069:10: note: use '==' to turn this assignment into an equality comparison
if( mfp = fopen(file,"w") ){
^
==
JIS.cc:4072:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( uch = L2Umap[lch] ){
~~~~^~~~~~~~~~~~~
JIS.cc:4072:11: note: place parentheses around the assignment to silence this warning
if( uch = L2Umap[lch] ){
^
( )
JIS.cc:4072:11: note: use '==' to turn this assignment into an equality comparison
if( uch = L2Umap[lch] ){
^
==
JIS.cc:4090:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( mfp = fopen_LIBPATH(file,"r",AVStr(xpath)) ){
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
JIS.cc:4090:10: note: place parentheses around the assignment to silence this warning
if( mfp = fopen_LIBPATH(file,"r",AVStr(xpath)) ){
^
( )
JIS.cc:4090:10: note: use '==' to turn this assignment into an equality comparison
if( mfp = fopen_LIBPATH(file,"r",AVStr(xpath)) ){
^
==
JIS.cc:4144:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( desc = strstr(line,"Column #") ){
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
JIS.cc:4144:12: note: place parentheses around the assignment to silence this warning
if( desc = strstr(line,"Column #") ){
^
( )
JIS.cc:4144:12: note: use '==' to turn this assignment into an equality comparison
if( desc = strstr(line,"Column #") ){
^
==
JIS.cc:4232:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( fp = fopen_LIBPATH(xfile,"r",AVStr(xpath)) ){
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
JIS.cc:4232:9: note: place parentheses around the assignment to silence this warning
if( fp = fopen_LIBPATH(xfile,"r",AVStr(xpath)) ){
^
( )
JIS.cc:4232:9: note: use '==' to turn this assignment into an equality comparison
if( fp = fopen_LIBPATH(xfile,"r",AVStr(xpath)) ){
^
==
JIS.cc:4253:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( map = getenv("MAPUNICODE") )
~~~~^~~~~~~~~~~~~~~~~~~~~~
JIS.cc:4253:10: note: place parentheses around the assignment to silence this warning
if( map = getenv("MAPUNICODE") )
^
( )
JIS.cc:4253:10: note: use '==' to turn this assignment into an equality comparison
if( map = getenv("MAPUNICODE") )
^
==
JIS.cc:4317:13: warning: '&' within '|' [-Wbitwise-op-parentheses]
0xC0|0x1F&(uc4>>6),
~~~~~^~~~~~~~~
JIS.cc:4317:13: note: place parentheses around the '&' expression to silence this warning
0xC0|0x1F&(uc4>>6),
^
( )
JIS.cc:4318:13: warning: '&' within '|' [-Wbitwise-op-parentheses]
0x80|0x3F&(uc4)
~~~~~^~~~~~
JIS.cc:4318:13: note: place parentheses around the '&' expression to silence this warning
0x80|0x3F&(uc4)
^
( )
JIS.cc:4324:13: warning: '&' within '|' [-Wbitwise-op-parentheses]
0xE0|0x0F&(uc4>>12),
~~~~~^~~~~~~~~~
JIS.cc:4324:13: note: place parentheses around the '&' expression to silence this warning
0xE0|0x0F&(uc4>>12),
^
( )
JIS.cc:4325:13: warning: '&' within '|' [-Wbitwise-op-parentheses]
0x80|0x3F&(uc4>>6),
~~~~~^~~~~~~~~
JIS.cc:4325:13: note: place parentheses around the '&' expression to silence this warning
0x80|0x3F&(uc4>>6),
^
( )
JIS.cc:4326:13: warning: '&' within '|' [-Wbitwise-op-parentheses]
0x80|0x3F&(uc4)
~~~~~^~~~~~
JIS.cc:4326:13: note: place parentheses around the '&' expression to silence this warning
0x80|0x3F&(uc4)
^
( )
75 warnings generated.
../mkcpp codeconv.c codeconv.cc
-- mkcpp set time: 1492117223 -> 1250403944 codeconv.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c codeconv.cc
../mkcpp pilsner.c pilsner.cc
-- mkcpp set time: 1492117223 -> 1414752137 pilsner.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c pilsner.cc
../mkcpp str_stdio.c str_stdio.cc
-- mkcpp set time: 1492117223 -> 1264938141 str_stdio.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c str_stdio.cc
str_stdio.cc:225:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( fp = fmt; fc = *fp; fp++ ){
~~~^~~~~
str_stdio.cc:225:20: note: place parentheses around the assignment to silence this warning
for( fp = fmt; fc = *fp; fp++ ){
^
( )
str_stdio.cc:225:20: note: use '==' to turn this assignment into an equality comparison
for( fp = fmt; fc = *fp; fp++ ){
^
==
str_stdio.cc:252:28: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( fp = (Uchar*)fmt; fc = *fp; fp++ ){
~~~^~~~~
str_stdio.cc:252:28: note: place parentheses around the assignment to silence this warning
for( fp = (Uchar*)fmt; fc = *fp; fp++ ){
^
( )
str_stdio.cc:252:28: note: use '==' to turn this assignment into an equality comparison
for( fp = (Uchar*)fmt; fc = *fp; fp++ ){
^
==
str_stdio.cc:274:18: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( '0' <= fc && fc <= '9' || fc == '.' ){
~~~~~~~~~~^~~~~~~~~~~~ ~~
str_stdio.cc:274:18: note: place parentheses around the '&&' expression to silence this warning
if( '0' <= fc && fc <= '9' || fc == '.' ){
^
( )
3 warnings generated.
../mkcpp ccx.c ccx.cc
-- mkcpp set time: 1492117223 -> 1252611547 ccx.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c ccx.cc
../mkcpp html.c html.cc
-- mkcpp set time: 1492117223 -> 1264838915 html.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c html.cc
html.cc:162:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( sp = sym; sc = *sp; sp++ )
~~~^~~~~
html.cc:162:20: note: place parentheses around the assignment to silence this warning
for( sp = sym; sc = *sp; sp++ )
^
( )
html.cc:162:20: note: use '==' to turn this assignment into an equality comparison
for( sp = sym; sc = *sp; sp++ )
^
==
html.cc:167:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( ai = 0; sym1 = tab[ai]._sym; ai++ ){
~~~~~^~~~~~~~~~~~~~
html.cc:167:20: note: place parentheses around the assignment to silence this warning
for( ai = 0; sym1 = tab[ai]._sym; ai++ ){
^
( )
html.cc:167:20: note: use '==' to turn this assignment into an equality comparison
for( ai = 0; sym1 = tab[ai]._sym; ai++ ){
^
==
html.cc:206:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( ai = 0; sym1 = tab[ai]._sym; ai++ )
~~~~~^~~~~~~~~~~~~~
html.cc:206:20: note: place parentheses around the assignment to silence this warning
for( ai = 0; sym1 = tab[ai]._sym; ai++ )
^
( )
html.cc:206:20: note: use '==' to turn this assignment into an equality comparison
for( ai = 0; sym1 = tab[ai]._sym; ai++ )
^
==
html.cc:217:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( ai = 0; id1 = tab[ai]._id; ai++ )
~~~~^~~~~~~~~~~~~
html.cc:217:19: note: place parentheses around the assignment to silence this warning
for( ai = 0; id1 = tab[ai]._id; ai++ )
^
( )
html.cc:217:19: note: use '==' to turn this assignment into an equality comparison
for( ai = 0; id1 = tab[ai]._id; ai++ )
^
==
html.cc:228:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( sym = id2sym0(tab,id) )
~~~~^~~~~~~~~~~~~~~~~
html.cc:228:10: note: place parentheses around the assignment to silence this warning
if( sym = id2sym0(tab,id) )
^
( )
html.cc:228:10: note: use '==' to turn this assignment into an equality comparison
if( sym = id2sym0(tab,id) )
^
==
html.cc:256:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( ai = 0; ap = tab[ai]._sym; ai++ ){
~~~^~~~~~~~~~~~~~
html.cc:256:18: note: place parentheses around the assignment to silence this warning
for( ai = 0; ap = tab[ai]._sym; ai++ ){
^
( )
html.cc:256:18: note: use '==' to turn this assignment into an equality comparison
for( ai = 0; ap = tab[ai]._sym; ai++ ){
^
==
html.cc:976:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( si = 2; sym = elemsym[si]._sym; si++ ){
~~~~^~~~~~~~~~~~~~~~~~
html.cc:976:19: note: place parentheses around the assignment to silence this warning
for( si = 2; sym = elemsym[si]._sym; si++ ){
^
( )
html.cc:976:19: note: use '==' to turn this assignment into an equality comparison
for( si = 2; sym = elemsym[si]._sym; si++ ){
^
==
html.cc:983:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( si = 2; sym = attrsym[si]._sym; si++ ){
~~~~^~~~~~~~~~~~~~~~~~
html.cc:983:19: note: place parentheses around the assignment to silence this warning
for( si = 2; sym = attrsym[si]._sym; si++ ){
^
( )
html.cc:983:19: note: use '==' to turn this assignment into an equality comparison
for( si = 2; sym = attrsym[si]._sym; si++ ){
^
==
html.cc:1052:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( ei = 0; es = entities[ei].ee; ei++ ){
~~~^~~~~~~~~~~~~~~~~
html.cc:1052:18: note: place parentheses around the assignment to silence this warning
for( ei = 0; es = entities[ei].ee; ei++ ){
^
( )
html.cc:1052:18: note: use '==' to turn this assignment into an equality comparison
for( ei = 0; es = entities[ei].ee; ei++ ){
^
==
html.cc:1053:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( ej = 0; ec = es[off+ej]; ej++ ){
~~~^~~~~~~~~~~~
html.cc:1053:19: note: place parentheses around the assignment to silence this warning
for( ej = 0; ec = es[off+ej]; ej++ ){
^
( )
html.cc:1053:19: note: use '==' to turn this assignment into an equality comparison
for( ej = 0; ec = es[off+ej]; ej++ ){
^
==
html.cc:1102:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( ei = 0; ee = entities[ei].ee; ei++ ){
~~~^~~~~~~~~~~~~~~~~
html.cc:1102:20: note: place parentheses around the assignment to silence this warning
for( ei = 0; ee = entities[ei].ee; ei++ ){
^
( )
html.cc:1102:20: note: use '==' to turn this assignment into an equality comparison
for( ei = 0; ee = entities[ei].ee; ei++ ){
^
==
html.cc:1153:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( ei = 0; de = entities[ei].de; ei++ ){
~~~^~~~~~~~~~~~~~~~~
html.cc:1153:19: note: place parentheses around the assignment to silence this warning
for( ei = 0; de = entities[ei].de; ei++ ){
^
( )
html.cc:1153:19: note: use '==' to turn this assignment into an equality comparison
for( ei = 0; de = entities[ei].de; ei++ ){
^
==
html.cc:1158:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( sp = src; sc = *sp; sp++ ){
~~~^~~~~
html.cc:1158:20: note: place parentheses around the assignment to silence this warning
for( sp = src; sc = *sp; sp++ ){
^
( )
html.cc:1158:20: note: use '==' to turn this assignment into an equality comparison
for( sp = src; sc = *sp; sp++ ){
^
==
html.cc:1244:28: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( sp = (char*)src; sch = *sp; ){
~~~~^~~~~
html.cc:1244:28: note: place parentheses around the assignment to silence this warning
for( sp = (char*)src; sch = *sp; ){
^
( )
html.cc:1244:28: note: use '==' to turn this assignment into an equality comparison
for( sp = (char*)src; sch = *sp; ){
^
==
html.cc:1257:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( bi = 0; bch = brks[bi]; bi++ )
~~~~^~~~~~~~~~
html.cc:1257:21: note: place parentheses around the assignment to silence this warning
for( bi = 0; bch = brks[bi]; bi++ )
^
( )
html.cc:1257:21: note: use '==' to turn this assignment into an equality comparison
for( bi = 0; bch = brks[bi]; bi++ )
^
==
html.cc:1522:6: warning: add explicit braces to avoid dangling else [-Wdangling-else]
}else{
^
16 warnings generated.
../mkcpp urlesc.c urlesc.cc
-- mkcpp set time: 1492117223 -> 1258754832 urlesc.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c urlesc.cc
urlesc.cc:34:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( ep = strchr(str,'%') ){
~~~^~~~~~~~~~~~~~~~~
urlesc.cc:34:9: note: place parentheses around the assignment to silence this warning
if( ep = strchr(str,'%') ){
^
( )
urlesc.cc:34:9: note: use '==' to turn this assignment into an equality comparison
if( ep = strchr(str,'%') ){
^
==
urlesc.cc:62:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( sp = url; ch = *sp; sp++ ){
~~~^~~~~
urlesc.cc:62:20: note: place parentheses around the assignment to silence this warning
for( sp = url; ch = *sp; sp++ ){
^
( )
urlesc.cc:62:20: note: use '==' to turn this assignment into an equality comparison
for( sp = url; ch = *sp; sp++ ){
^
==
urlesc.cc:106:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( cp = dst; ch = *cp; cp++ )
~~~^~~~~
urlesc.cc:106:20: note: place parentheses around the assignment to silence this warning
for( cp = dst; ch = *cp; cp++ )
^
( )
urlesc.cc:106:20: note: use '==' to turn this assignment into an equality comparison
for( cp = dst; ch = *cp; cp++ )
^
==
urlesc.cc:156:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( sp = src; ch = *sp; sp++ ){
~~~^~~~~
urlesc.cc:156:20: note: place parentheses around the assignment to silence this warning
for( sp = src; ch = *sp; sp++ ){
^
( )
urlesc.cc:156:20: note: use '==' to turn this assignment into an equality comparison
for( sp = src; ch = *sp; sp++ ){
^
==
urlesc.cc:173:15: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( !nodflt && ((ch & 0x80) || iscntrl(ch) || ch == '%')
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
urlesc.cc:173:15: note: place parentheses around the '&&' expression to silence this warning
if( !nodflt && ((ch & 0x80) || iscntrl(ch) || ch == '%')
^
( )
urlesc.cc:174:14: warning: '&&' within '||' [-Wlogical-op-parentheses]
|| escctl && iscntrl(ch)
~~ ~~~~~~~^~~~~~~~~~~~~~
urlesc.cc:174:14: note: place parentheses around the '&&' expression to silence this warning
|| escctl && iscntrl(ch)
^
( )
urlesc.cc:175:14: warning: '&&' within '||' [-Wlogical-op-parentheses]
|| escbin && (ch & 0x80)
~~ ~~~~~~~^~~~~~~~~~~~~~
urlesc.cc:175:14: note: place parentheses around the '&&' expression to silence this warning
|| escbin && (ch & 0x80)
^
( )
urlesc.cc:176:14: warning: '&&' within '||' [-Wlogical-op-parentheses]
|| escspc && isspace(ch)
~~ ~~~~~~~^~~~~~~~~~~~~~
urlesc.cc:176:14: note: place parentheses around the '&&' expression to silence this warning
|| escspc && isspace(ch)
^
( )
urlesc.cc:177:30: warning: '&&' within '||' [-Wlogical-op-parentheses]
|| (in2byte == 0||escurl) && strchr(escs,ch) != 0
~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
urlesc.cc:177:30: note: place parentheses around the '&&' expression to silence this warning
|| (in2byte == 0||escurl) && strchr(escs,ch) != 0
^
( )
urlesc.cc:283:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( plen = 0; pch = pat[plen]; plen++ ){
~~~~^~~~~~~~~~~
urlesc.cc:283:21: note: place parentheses around the assignment to silence this warning
for( plen = 0; pch = pat[plen]; plen++ ){
^
( )
urlesc.cc:283:21: note: use '==' to turn this assignment into an equality comparison
for( plen = 0; pch = pat[plen]; plen++ ){
^
==
urlesc.cc:362:42: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( sp = (const unsigned char*)src; ch = *sp; sp++ ){
~~~^~~~~
urlesc.cc:362:42: note: place parentheses around the assignment to silence this warning
for( sp = (const unsigned char*)src; ch = *sp; sp++ ){
^
( )
urlesc.cc:362:42: note: use '==' to turn this assignment into an equality comparison
for( sp = (const unsigned char*)src; ch = *sp; sp++ ){
^
==
urlesc.cc:417:42: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( sp = (const unsigned char*)src; ch = *sp; sp++ ){
~~~^~~~~
urlesc.cc:417:42: note: place parentheses around the assignment to silence this warning
for( sp = (const unsigned char*)src; ch = *sp; sp++ ){
^
( )
urlesc.cc:417:42: note: use '==' to turn this assignment into an equality comparison
for( sp = (const unsigned char*)src; ch = *sp; sp++ ){
^
==
urlesc.cc:465:42: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( sp = (const unsigned char*)src; ch = *sp; sp++ ){
~~~^~~~~
urlesc.cc:465:42: note: place parentheses around the assignment to silence this warning
for( sp = (const unsigned char*)src; ch = *sp; sp++ ){
^
( )
urlesc.cc:465:42: note: use '==' to turn this assignment into an equality comparison
for( sp = (const unsigned char*)src; ch = *sp; sp++ ){
^
==
urlesc.cc:485:42: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( sp = (const unsigned char*)src; ch = *sp; sp++ ){
~~~^~~~~
urlesc.cc:485:42: note: place parentheses around the assignment to silence this warning
for( sp = (const unsigned char*)src; ch = *sp; sp++ ){
^
( )
urlesc.cc:485:42: note: use '==' to turn this assignment into an equality comparison
for( sp = (const unsigned char*)src; ch = *sp; sp++ ){
^
==
14 warnings generated.
../mkcpp Strftime.c Strftime.cc
-- mkcpp set time: 1492117224 -> 1408282068 Strftime.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c Strftime.cc
Strftime.cc:318:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( i = 0; mo = Month[i]; i++ )
~~~^~~~~~~~~~
Strftime.cc:318:17: note: place parentheses around the assignment to silence this warning
for( i = 0; mo = Month[i]; i++ )
^
( )
Strftime.cc:318:17: note: use '==' to turn this assignment into an equality comparison
for( i = 0; mo = Month[i]; i++ )
^
==
Strftime.cc:327:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( i = 0; mo = Month[i]; i++ )
~~~^~~~~~~~~~
Strftime.cc:327:17: note: place parentheses around the assignment to silence this warning
for( i = 0; mo = Month[i]; i++ )
^
( )
Strftime.cc:327:17: note: use '==' to turn this assignment into an equality comparison
for( i = 0; mo = Month[i]; i++ )
^
==
Strftime.cc:338:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( i = 0; wd = Wdays[i]; i++ )
~~~^~~~~~~~~~
Strftime.cc:338:17: note: place parentheses around the assignment to silence this warning
for( i = 0; wd = Wdays[i]; i++ )
^
( )
Strftime.cc:338:17: note: use '==' to turn this assignment into an equality comparison
for( i = 0; wd = Wdays[i]; i++ )
^
==
Strftime.cc:342:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( i = 0; wd = Wdays[i]; i++ )
~~~^~~~~~~~~~
Strftime.cc:342:17: note: place parentheses around the assignment to silence this warning
for( i = 0; wd = Wdays[i]; i++ )
^
( )
Strftime.cc:342:17: note: use '==' to turn this assignment into an equality comparison
for( i = 0; wd = Wdays[i]; i++ )
^
==
Strftime.cc:345:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( i = 0; wd = WDays[i]; i++ )
~~~^~~~~~~~~~
Strftime.cc:345:17: note: place parentheses around the assignment to silence this warning
for( i = 0; wd = WDays[i]; i++ )
^
( )
Strftime.cc:345:17: note: use '==' to turn this assignment into an equality comparison
for( i = 0; wd = WDays[i]; i++ )
^
==
Strftime.cc:597:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( fp = fmt; ch = *fp; fp++ ){
~~~^~~~~
Strftime.cc:597:20: note: place parentheses around the assignment to silence this warning
for( fp = fmt; ch = *fp; fp++ ){
^
( )
Strftime.cc:597:20: note: use '==' to turn this assignment into an equality comparison
for( fp = fmt; ch = *fp; fp++ ){
^
==
Strftime.cc:752:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( fp = fmt; ch = *fp; fp++ ){
~~~^~~~~
Strftime.cc:752:20: note: place parentheses around the assignment to silence this warning
for( fp = fmt; ch = *fp; fp++ ){
^
( )
Strftime.cc:752:20: note: use '==' to turn this assignment into an equality comparison
for( fp = fmt; ch = *fp; fp++ ){
^
==
7 warnings generated.
../mkcpp Timeofday.c Timeofday.cc
-- mkcpp set time: 1492117224 -> 1283650447 Timeofday.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c Timeofday.cc
../mkcpp strid.c strid.cc
-- mkcpp set time: 1492117224 -> 1250403944 strid.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c strid.cc
../mkcpp hash.c hash.cc
-- mkcpp set time: 1492117224 -> 1253526336 hash.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c hash.cc
hash.cc:112:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( ks = key; kc = *ks++; )
~~~^~~~~~~
hash.cc:112:20: note: place parentheses around the assignment to silence this warning
for( ks = key; kc = *ks++; )
^
( )
hash.cc:112:20: note: use '==' to turn this assignment into an equality comparison
for( ks = key; kc = *ks++; )
^
==
1 warning generated.
../mkcpp bsort.c bsort.cc
-- mkcpp set time: 1492117224 -> 1250403944 bsort.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c bsort.cc
../mkcpp codec.c codec.cc
-- mkcpp set time: 1492117224 -> 1250403944 codec.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c codec.cc
codec.cc:96:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( ep = encs+1; ec1 = *ep; ep += 2 ){
~~~~^~~~~
codec.cc:96:25: note: place parentheses around the assignment to silence this warning
for( ep = encs+1; ec1 = *ep; ep += 2 ){
^
( )
codec.cc:96:25: note: use '==' to turn this assignment into an equality comparison
for( ep = encs+1; ec1 = *ep; ep += 2 ){
^
==
codec.cc:108:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = strpbrk(srcs,"\r\n") ){
~~~^~~~~~~~~~~~~~~~~~~~~~
codec.cc:108:11: note: place parentheses around the assignment to silence this warning
if( dp = strpbrk(srcs,"\r\n") ){
^
( )
codec.cc:108:11: note: use '==' to turn this assignment into an equality comparison
if( dp = strpbrk(srcs,"\r\n") ){
^
==
2 warnings generated.
../mkcpp uu.c uu.cc
-- mkcpp set time: 1492117224 -> 1250403944 uu.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c uu.cc
../mkcpp pstitle.c pstitle.cc
-- mkcpp set time: 1492117224 -> 1264933172 pstitle.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c pstitle.cc
../mkcpp signal.c signal.cc
-- mkcpp set time: 1492117224 -> 1264840009 signal.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c signal.cc
../mkcpp IsSolaris.c IsSolaris.cc
-- mkcpp set time: 1492117224 -> 1250403944 IsSolaris.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c IsSolaris.cc
../mkcpp sched.c sched.cc
-- mkcpp set time: 1492117225 -> 1264837771 sched.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c sched.cc
sched.cc:340:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( action = strpbrk(cronspecb,": \t") ){
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
sched.cc:340:13: note: place parentheses around the assignment to silence this warning
if( action = strpbrk(cronspecb,": \t") ){
^
( )
sched.cc:340:13: note: use '==' to turn this assignment into an equality comparison
if( action = strpbrk(cronspecb,": \t") ){
^
==
sched.cc:472:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( d = v1[i] - v2[i] )
~~^~~~~~~~~~~~~~~
sched.cc:472:9: note: place parentheses around the assignment to silence this warning
if( d = v1[i] - v2[i] )
^
( )
sched.cc:472:9: note: use '==' to turn this assignment into an equality comparison
if( d = v1[i] - v2[i] )
^
==
sched.cc:520:39: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( cwday < twday || cwday == twday && 0 < vcmp(ot,bt,HOUR) )
~~ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
sched.cc:520:39: note: place parentheses around the '&&' expression to silence this warning
if( cwday < twday || cwday == twday && 0 < vcmp(ot,bt,HOUR) )
^
( )
sched.cc:618:25: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( now < prev || prev && cep->c_relative )
~~ ~~~~~^~~~~~~~~~~~~~~~~~
sched.cc:618:25: note: place parentheses around the '&&' expression to silence this warning
if( now < prev || prev && cep->c_relative )
^
( )
4 warnings generated.
../mkcpp readycc.c readycc.cc
-- mkcpp set time: 1492117225 -> 1250403944 readycc.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c readycc.cc
../mkcpp fpoll.c fpoll.cc
-- mkcpp set time: 1492117225 -> 1264769084 fpoll.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c fpoll.cc
../mkcpp fpolls.c fpolls.cc
-- mkcpp set time: 1492117225 -> 1264769096 fpolls.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c fpolls.cc
../mkcpp frelay.c frelay.cc
-- mkcpp set time: 1492117225 -> 1252611602 frelay.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c frelay.cc
../mkcpp timer.c timer.cc
-- mkcpp set time: 1492117225 -> 1273998439 timer.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c timer.cc
timer.cc:120:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( oa = alarm(intvl) )
~~~^~~~~~~~~~~~~~
timer.cc:120:9: note: place parentheses around the assignment to silence this warning
if( oa = alarm(intvl) )
^
( )
timer.cc:120:9: note: use '==' to turn this assignment into an equality comparison
if( oa = alarm(intvl) )
^
==
timer.cc:141:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( oa = tp->time ){
~~~^~~~~~~~~~
timer.cc:141:9: note: place parentheses around the assignment to silence this warning
if( oa = tp->time ){
^
( )
timer.cc:141:9: note: use '==' to turn this assignment into an equality comparison
if( oa = tp->time ){
^
==
timer.cc:204:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( sec = msec / 1000 )
~~~~^~~~~~~~~~~~~
timer.cc:204:10: note: place parentheses around the assignment to silence this warning
if( sec = msec / 1000 )
^
( )
timer.cc:204:10: note: use '==' to turn this assignment into an equality comparison
if( sec = msec / 1000 )
^
==
timer.cc:207:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( usec = (msec % 1000)*1000 )
~~~~~^~~~~~~~~~~~~~~~~~~~
timer.cc:207:11: note: place parentheses around the assignment to silence this warning
if( usec = (msec % 1000)*1000 )
^
( )
timer.cc:207:11: note: use '==' to turn this assignment into an equality comparison
if( usec = (msec % 1000)*1000 )
^
==
4 warnings generated.
../mkcpp tar.c tar.cc
-- mkcpp set time: 1492117225 -> 1264837647 tar.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c tar.cc
tar.cc:166:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( fi = 0; file1 = files[fi]; fi++ ){
~~~~~~^~~~~~~~~~~
tar.cc:166:21: note: place parentheses around the assignment to silence this warning
for( fi = 0; file1 = files[fi]; fi++ ){
^
( )
tar.cc:166:21: note: use '==' to turn this assignment into an equality comparison
for( fi = 0; file1 = files[fi]; fi++ ){
^
==
tar.cc:290:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( fi = 0; file1 = files[fi]; fi++ ){
~~~~~~^~~~~~~~~~~
tar.cc:290:21: note: place parentheses around the assignment to silence this warning
for( fi = 0; file1 = files[fi]; fi++ ){
^
( )
tar.cc:290:21: note: use '==' to turn this assignment into an equality comparison
for( fi = 0; file1 = files[fi]; fi++ ){
^
==
tar.cc:524:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( tfp = fopen(arg,"r+") )
~~~~^~~~~~~~~~~~~~~~~
tar.cc:524:15: note: place parentheses around the assignment to silence this warning
if( tfp = fopen(arg,"r+") )
^
( )
tar.cc:524:15: note: use '==' to turn this assignment into an equality comparison
if( tfp = fopen(arg,"r+") )
^
==
3 warnings generated.
../mkcpp sed.c sed.cc
-- mkcpp set time: 1492117225 -> 1250403944 sed.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c sed.cc
sed.cc:79:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for(; sc = *sp; sp++ ){
~~~^~~~~
sed.cc:79:11: note: place parentheses around the assignment to silence this warning
for(; sc = *sp; sp++ ){
^
( )
sed.cc:79:11: note: use '==' to turn this assignment into an equality comparison
for(; sc = *sp; sp++ ){
^
==
sed.cc:95:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( sp = (char*)str; sc = *sp; sp++ ){
~~~^~~~~
sed.cc:95:27: note: place parentheses around the assignment to silence this warning
for( sp = (char*)str; sc = *sp; sp++ ){
^
( )
sed.cc:95:27: note: use '==' to turn this assignment into an equality comparison
for( sp = (char*)str; sc = *sp; sp++ ){
^
==
sed.cc:148:29: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( fp = sc->c_outpat; fc = *fp; fp++ ){
~~~^~~~~
sed.cc:148:29: note: place parentheses around the assignment to silence this warning
for( fp = sc->c_outpat; fc = *fp; fp++ ){
^
( )
sed.cc:148:29: note: use '==' to turn this assignment into an equality comparison
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]
if( next = frex_matchX(sc->c_matchrex,iline,&start) )
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sed.cc:172:13: note: place parentheses around the assignment to silence this warning
if( next = frex_matchX(sc->c_matchrex,iline,&start) )
^
( )
sed.cc:172:13: note: use '==' to turn this assignment into an equality comparison
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]
while( next = frex_matchX(sc->c_srcrex,ip,&start) ){
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sed.cc:191:16: note: place parentheses around the assignment to silence this warning
while( next = frex_matchX(sc->c_srcrex,ip,&start) ){
^
( )
sed.cc:191:16: note: use '==' to turn this assignment into an equality comparison
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]
if( crp = strpbrk(iline,"\r\n") ){
~~~~^~~~~~~~~~~~~~~~~~~~~~~
sed.cc:226:11: note: place parentheses around the assignment to silence this warning
if( crp = strpbrk(iline,"\r\n") ){
^
( )
sed.cc:226:11: note: use '==' to turn this assignment into an equality comparison
if( crp = strpbrk(iline,"\r\n") ){
^
==
6 warnings generated.
../mkcpp nbio.c nbio.cc
-- mkcpp set time: 1492117225 -> 1410312792 nbio.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c nbio.cc
nbio.cc:354:48: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( nready == 9 || 0 < nready && rdv[0] == 0 && 0 < rdv[1] ){
~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
nbio.cc:354:48: note: place parentheses around the '&&' expression to silence this warning
if( nready == 9 || 0 < nready && rdv[0] == 0 && 0 < rdv[1] ){
^
( )
nbio.cc:670:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( nready = PollIn(in,1) )
~~~~~~~^~~~~~~~~~~~~~
nbio.cc:670:14: note: place parentheses around the assignment to silence this warning
if( nready = PollIn(in,1) )
^
( )
nbio.cc:670:14: note: use '==' to turn this assignment into an equality comparison
if( nready = PollIn(in,1) )
^
==
nbio.cc:1060:43: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse]
double Lastin[32],Now,Timeout,Idlest,Time();
^~
nbio.cc:1060:43: note: replace parentheses with an initializer to declare a variable
double Lastin[32],Now,Timeout,Idlest,Time();
^~
= 0.0
nbio.cc:1178:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( cb = RELAY_idle_cb ){
~~~^~~~~~~~~~~~~~~
nbio.cc:1178:10: note: place parentheses around the assignment to silence this warning
if( cb = RELAY_idle_cb ){
^
( )
nbio.cc:1178:10: note: use '==' to turn this assignment into an equality comparison
if( cb = RELAY_idle_cb ){
^
==
nbio.cc:1192:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( cb = RELAY_idle_cb ){
~~~^~~~~~~~~~~~~~~
nbio.cc:1192:11: note: place parentheses around the assignment to silence this warning
if( cb = RELAY_idle_cb ){
^
( )
nbio.cc:1192:11: note: use '==' to turn this assignment into an equality comparison
if( cb = RELAY_idle_cb ){
^
==
nbio.cc:1254:22: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( nready == 0 && errno == 0 || gotOOB(-1) ){
~~~~~~~~~~~~^~~~~~~~~~~~~ ~~
nbio.cc:1254:22: note: place parentheses around the '&&' expression to silence this warning
if( nready == 0 && errno == 0 || gotOOB(-1) ){
^
( )
nbio.cc:1905:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( rdy1 = exceptionReady(sock) ){
~~~~~^~~~~~~~~~~~~~~~~~~~~~
nbio.cc:1905:13: note: place parentheses around the assignment to silence this warning
if( rdy1 = exceptionReady(sock) ){
^
( )
nbio.cc:1905:13: note: use '==' to turn this assignment into an equality comparison
if( rdy1 = exceptionReady(sock) ){
^
==
nbio.cc:1936:29: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( rdy1 == 0 || 0 < rdy1 && Peek1(sock) )
~~ ~~~~~~~~~^~~~~~~~~~~~~~
nbio.cc:1936:29: note: place parentheses around the '&&' expression to silence this warning
if( rdy1 == 0 || 0 < rdy1 && Peek1(sock) )
^
( )
8 warnings generated.
../mkcpp vsaddr.c vsaddr.cc
-- mkcpp set time: 1492117226 -> 1283590592 vsaddr.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c vsaddr.cc
vsaddr.cc:55:2: warning: add explicit braces to avoid dangling else [-Wdangling-else]
else
^
vsaddr.cc:165:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( root = VSA_afunixroot ){
~~~~~^~~~~~~~~~~~~~~~
vsaddr.cc:165:11: note: place parentheses around the assignment to silence this warning
if( root = VSA_afunixroot ){
^
( )
vsaddr.cc:165:11: note: use '==' to turn this assignment into an equality comparison
if( root = VSA_afunixroot ){
^
==
vsaddr.cc:206:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( sp = path; ch = *sp; sp++ ){
~~~^~~~~
vsaddr.cc:206:21: note: place parentheses around the assignment to silence this warning
for( sp = path; ch = *sp; sp++ ){
^
( )
vsaddr.cc:206:21: note: use '==' to turn this assignment into an equality comparison
for( sp = path; ch = *sp; sp++ ){
^
==
vsaddr.cc:353:3: warning: add explicit braces to avoid dangling else [-Wdangling-else]
}else{
^
vsaddr.cc:413:3: warning: add explicit braces to avoid dangling else [-Wdangling-else]
else ok = inet_ntop(AF_INET6,&((SIN6*)sap)->sin6_addr,hbuf,sizeof(hbuf)) != 0;
^
vsaddr.cc:462:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( addr = VSA_ntoa(&vsa) ){
~~~~~^~~~~~~~~~~~~~~~
vsaddr.cc:462:12: note: place parentheses around the assignment to silence this warning
if( addr = VSA_ntoa(&vsa) ){
^
( )
vsaddr.cc:462:12: note: use '==' to turn this assignment into an equality comparison
if( addr = VSA_ntoa(&vsa) ){
^
==
vsaddr.cc:558:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( ap = strtailstr(dst,".ipv6") ){
~~~^~~~~~~~~~~~~~~~~~~~~~~~~
vsaddr.cc:558:9: note: place parentheses around the assignment to silence this warning
if( ap = strtailstr(dst,".ipv6") ){
^
( )
vsaddr.cc:558:9: note: use '==' to turn this assignment into an equality comparison
if( ap = strtailstr(dst,".ipv6") ){
^
==
vsaddr.cc:614:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( np = name; nc = *np; np++ ){
~~~^~~~~
vsaddr.cc:614:21: note: place parentheses around the assignment to silence this warning
for( np = name; nc = *np; np++ ){
^
( )
vsaddr.cc:614:21: note: use '==' to turn this assignment into an equality comparison
for( np = name; nc = *np; np++ ){
^
==
vsaddr.cc:636:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( ap = addr; ac = *ap; ap++ ){
~~~^~~~~
vsaddr.cc:636:21: note: place parentheses around the assignment to silence this warning
for( ap = addr; ac = *ap; ap++ ){
^
( )
vsaddr.cc:636:21: note: use '==' to turn this assignment into an equality comparison
for( ap = addr; ac = *ap; ap++ ){
^
==
vsaddr.cc:663:14: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( nd == 0 && nc == 0 || 0 < nd && nd != 3 || 0 < nc && nc < 2 ){
~~~~~~~~^~~~~~~~~~ ~~
vsaddr.cc:663:14: note: place parentheses around the '&&' expression to silence this warning
if( nd == 0 && nc == 0 || 0 < nd && nd != 3 || 0 < nc && nc < 2 ){
^
( )
vsaddr.cc:663:35: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( nd == 0 && nc == 0 || 0 < nd && nd != 3 || 0 < nc && nc < 2 ){
~~ ~~~~~~~^~~~~~~~~~
vsaddr.cc:663:35: note: place parentheses around the '&&' expression to silence this warning
if( nd == 0 && nc == 0 || 0 < nd && nd != 3 || 0 < nc && nc < 2 ){
^
( )
vsaddr.cc:663:56: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( nd == 0 && nc == 0 || 0 < nd && nd != 3 || 0 < nc && nc < 2 ){
~~ ~~~~~~~^~~~~~~~~
vsaddr.cc:663:56: note: place parentheses around the '&&' expression to silence this warning
if( nd == 0 && nc == 0 || 0 < nd && nd != 3 || 0 < nc && nc < 2 ){
^
( )
vsaddr.cc:796:21: warning: '&&' within '||' [-Wlogical-op-parentheses]
|| addr[1] == ':' &&(addr[2] == '\\' || addr[2] == '/')
~~ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vsaddr.cc:796:21: note: place parentheses around the '&&' expression to silence this warning
|| addr[1] == ':' &&(addr[2] == '\\' || addr[2] == '/')
^
( )
vsaddr.cc:902:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( pp = strchr(addr,':') ){
~~~^~~~~~~~~~~~~~~~~~
vsaddr.cc:902:10: note: place parentheses around the assignment to silence this warning
if( pp = strchr(addr,':') ){
^
( )
vsaddr.cc:902:10: note: use '==' to turn this assignment into an equality comparison
if( pp = strchr(addr,':') ){
^
==
vsaddr.cc:911:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( addr = VSA_ntoa(sa) ){
~~~~~^~~~~~~~~~~~~~
vsaddr.cc:911:11: note: place parentheses around the assignment to silence this warning
if( addr = VSA_ntoa(sa) ){
^
( )
vsaddr.cc:911:11: note: use '==' to turn this assignment into an equality comparison
if( addr = VSA_ntoa(sa) ){
^
==
15 warnings generated.
../mkcpp pelcgb.c pelcgb.cc
-- mkcpp set time: 1492117226 -> 1250403944 pelcgb.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c pelcgb.cc
pelcgb.cc:253:11: warning: unsequenced modification and access to 'ox' [-Wunsequenced]
out[ox++] = (out[oi++] + ox) + crc;
^ ~~
pelcgb.cc:539:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( env = getenv("CCRYMAP") ) map = atoi(env);
~~~~^~~~~~~~~~~~~~~~~~~
pelcgb.cc:539:10: note: place parentheses around the assignment to silence this warning
if( env = getenv("CCRYMAP") ) map = atoi(env);
^
( )
pelcgb.cc:539:10: note: use '==' to turn this assignment into an equality comparison
if( env = getenv("CCRYMAP") ) map = atoi(env);
^
==
pelcgb.cc:540:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( env = getenv("CCRYLEN") ) bklen = atoi(env);
~~~~^~~~~~~~~~~~~~~~~~~
pelcgb.cc:540:10: note: place parentheses around the assignment to silence this warning
if( env = getenv("CCRYLEN") ) bklen = atoi(env);
^
( )
pelcgb.cc:540:10: note: use '==' to turn this assignment into an equality comparison
if( env = getenv("CCRYLEN") ) bklen = atoi(env);
^
==
pelcgb.cc:541:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( env = getenv("CCRYDEBUG") ) debug = atoi(env);
~~~~^~~~~~~~~~~~~~~~~~~~~
pelcgb.cc:541:10: note: place parentheses around the assignment to silence this warning
if( env = getenv("CCRYDEBUG") ) debug = atoi(env);
^
( )
pelcgb.cc:541:10: note: use '==' to turn this assignment into an equality comparison
if( env = getenv("CCRYDEBUG") ) debug = atoi(env);
^
==
pelcgb.cc:609:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( s = str; ch = *s; s++ ){
~~~^~~~
pelcgb.cc:609:19: note: place parentheses around the assignment to silence this warning
for( s = str; ch = *s; s++ ){
^
( )
pelcgb.cc:609:19: note: use '==' to turn this assignment into an equality comparison
for( s = str; ch = *s; s++ ){
^
==
5 warnings generated.
../mkcpp credhy.c credhy.cc
-- mkcpp set time: 1492117226 -> 1300439508 credhy.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c credhy.cc
credhy.cc:539:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( fp = fopen(CREDHY_CACHE,"r") ){
~~~^~~~~~~~~~~~~~~~~~~~~~~~~
credhy.cc:539:9: note: place parentheses around the assignment to silence this warning
if( fp = fopen(CREDHY_CACHE,"r") ){
^
( )
credhy.cc:539:9: note: use '==' to turn this assignment into an equality comparison
if( fp = fopen(CREDHY_CACHE,"r") ){
^
==
credhy.cc:732:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( on1 |= N[i] ){
~~~~^~~~~~~
credhy.cc:732:11: note: place parentheses around the assignment to silence this warning
if( on1 |= N[i] ){
^
( )
credhy.cc:732:11: note: use '!=' to turn this compound assignment into an inequality comparison
if( on1 |= N[i] ){
^~
!=
credhy.cc:789:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( on |= M[i] ){
~~~^~~~~~~
credhy.cc:789:10: note: place parentheses around the assignment to silence this warning
if( on |= M[i] ){
^
( )
credhy.cc:789:10: note: use '!=' to turn this compound assignment into an inequality comparison
if( on |= M[i] ){
^~
!=
credhy.cc:1134:38: warning: '&' within '|' [-Wbitwise-op-parentheses]
crc0 = (crc0 << 1) | (crc1 >> 31) & 1;
~ ~~~~~~~~~~~~~^~~
credhy.cc:1134:38: note: place parentheses around the '&' expression to silence this warning
crc0 = (crc0 << 1) | (crc1 >> 31) & 1;
^
( )
credhy.cc:1839:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( strenc = (strchr(opts,CTYPEB) != 0) ){
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
credhy.cc:1839:13: note: place parentheses around the assignment to silence this warning
if( strenc = (strchr(opts,CTYPEB) != 0) ){
^
( )
credhy.cc:1839:13: note: use '==' to turn this assignment into an equality comparison
if( strenc = (strchr(opts,CTYPEB) != 0) ){
^
==
credhy.cc:1842:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( b64enc = (strchr(opts,CTYPE64) != 0) ){
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
credhy.cc:1842:13: note: place parentheses around the assignment to silence this warning
if( b64enc = (strchr(opts,CTYPE64) != 0) ){
^
( )
credhy.cc:1842:13: note: use '==' to turn this assignment into an equality comparison
if( b64enc = (strchr(opts,CTYPE64) != 0) ){
^
==
credhy.cc:1845:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( msprea = (strchr(opts,COPTSTS) != 0) ){
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
credhy.cc:1845:13: note: place parentheses around the assignment to silence this warning
if( msprea = (strchr(opts,COPTSTS) != 0) ){
^
( )
credhy.cc:1845:13: note: use '==' to turn this assignment into an equality comparison
if( msprea = (strchr(opts,COPTSTS) != 0) ){
^
==
credhy.cc:2043:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( sp = src; schr = *sp; sp++ ){
~~~~~^~~~~
credhy.cc:2043:22: note: place parentheses around the assignment to silence this warning
for( sp = src; schr = *sp; sp++ ){
^
( )
credhy.cc:2043:22: note: use '==' to turn this assignment into an equality comparison
for( sp = src; schr = *sp; sp++ ){
^
==
8 warnings generated.
../mkcpp cksum.c cksum.cc
-- mkcpp set time: 1492117226 -> 1402279035 cksum.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c cksum.cc
cksum.cc:60:23: warning: expression result unused [-Wunused-value]
for( li = 0; li < 4; li ){
^~
cksum.cc:107:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( fp = fopen(file,"r") ){
~~~^~~~~~~~~~~~~~~~~
cksum.cc:107:9: note: place parentheses around the assignment to silence this warning
if( fp = fopen(file,"r") ){
^
( )
cksum.cc:107:9: note: use '==' to turn this assignment into an equality comparison
if( fp = fopen(file,"r") ){
^
==
cksum.cc:115:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( sum = fopen(sumfile,"w") ){
~~~~^~~~~~~~~~~~~~~~~~~~
cksum.cc:115:11: note: place parentheses around the assignment to silence this warning
if( sum = fopen(sumfile,"w") ){
^
( )
cksum.cc:115:11: note: use '==' to turn this assignment into an equality comparison
if( sum = fopen(sumfile,"w") ){
^
==
cksum.cc:142:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( ci = 0; ch = line[ci]; ci++ ){
~~~^~~~~~~~~~
cksum.cc:142:20: note: place parentheses around the assignment to silence this warning
for( ci = 0; ch = line[ci]; ci++ ){
^
( )
cksum.cc:142:20: note: use '==' to turn this assignment into an equality comparison
for( ci = 0; ch = line[ci]; ci++ ){
^
==
cksum.cc:207:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( fp = fopen(file,"r") ){
~~~^~~~~~~~~~~~~~~~~
cksum.cc:207:12: note: place parentheses around the assignment to silence this warning
if( fp = fopen(file,"r") ){
^
( )
cksum.cc:207:12: note: use '==' to turn this assignment into an equality comparison
if( fp = fopen(file,"r") ){
^
==
cksum.cc:263:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( fp = fopen(av[ai],"r") ){
~~~^~~~~~~~~~~~~~~~~~~
cksum.cc:263:11: note: place parentheses around the assignment to silence this warning
if( fp = fopen(av[ai],"r") ){
^
( )
cksum.cc:263:11: note: use '==' to turn this assignment into an equality comparison
if( fp = fopen(av[ai],"r") ){
^
==
cksum.cc:265:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = strpbrk(line,"\r\n") )
~~~^~~~~~~~~~~~~~~~~~~~~~
cksum.cc:265:13: note: place parentheses around the assignment to silence this warning
if( dp = strpbrk(line,"\r\n") )
^
( )
cksum.cc:265:13: note: use '==' to turn this assignment into an equality comparison
if( dp = strpbrk(line,"\r\n") )
^
==
7 warnings generated.
../mkcpp asock.c asock.cc
-- mkcpp set time: 1492117226 -> 1263848973 asock.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c asock.cc
../mkcpp lsock.c lsock.cc
-- mkcpp set time: 1492117226 -> 1264742499 lsock.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c lsock.cc
../mkcpp setutimes.c setutimes.cc
-- mkcpp set time: 1492117226 -> 1260867796 setutimes.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c setutimes.cc
setutimes.cc:152:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( fp = fopen(path,"a") ){
~~~^~~~~~~~~~~~~~~~~
setutimes.cc:152:9: note: place parentheses around the assignment to silence this warning
if( fp = fopen(path,"a") ){
^
( )
setutimes.cc:152:9: note: use '==' to turn this assignment into an equality comparison
if( fp = fopen(path,"a") ){
^
==
1 warning generated.
../mkcpp file.c file.cc
-- mkcpp set time: 1492117226 -> 1277079765 file.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c file.cc
file.cc:283:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( fp = fopen(path,"w") ){
~~~^~~~~~~~~~~~~~~~~
file.cc:283:11: note: place parentheses around the assignment to silence this warning
if( fp = fopen(path,"w") ){
^
( )
file.cc:283:11: note: use '==' to turn this assignment into an equality comparison
if( fp = fopen(path,"w") ){
^
==
file.cc:840:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( sp = buff; sc = *sp; sp++ ){
~~~^~~~~
file.cc:840:21: note: place parentheses around the assignment to silence this warning
for( sp = buff; sc = *sp; sp++ ){
^
( )
file.cc:840:21: note: use '==' to turn this assignment into an equality comparison
for( sp = buff; sc = *sp; sp++ ){
^
==
file.cc:946:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( size = *sizep ){
~~~~~^~~~~~~~
file.cc:946:11: note: place parentheses around the assignment to silence this warning
if( size = *sizep ){
^
( )
file.cc:946:11: note: use '==' to turn this assignment into an equality comparison
if( size = *sizep ){
^
==
file.cc:969:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = strpbrk(str,"\r\n") )
~~~^~~~~~~~~~~~~~~~~~~~~
file.cc:969:10: note: place parentheses around the assignment to silence this warning
if( dp = strpbrk(str,"\r\n") )
^
( )
file.cc:969:10: note: use '==' to turn this assignment into an equality comparison
if( dp = strpbrk(str,"\r\n") )
^
==
file.cc:1131:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( li = 0; dir1 = pathv[li]; li++ ){
~~~~~^~~~~~~~~~~
file.cc:1131:20: note: place parentheses around the assignment to silence this warning
for( li = 0; dir1 = pathv[li]; li++ ){
^
( )
file.cc:1131:20: note: use '==' to turn this assignment into an equality comparison
for( li = 0; dir1 = pathv[li]; li++ ){
^
==
file.cc:1208:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( fp = fopen(file,mode) )
~~~^~~~~~~~~~~~~~~~~~
file.cc:1208:10: note: place parentheses around the assignment to silence this warning
if( fp = fopen(file,mode) )
^
( )
file.cc:1208:10: note: use '==' to turn this assignment into an equality comparison
if( fp = fopen(file,mode) )
^
==
file.cc:1212:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( libpath = getenv("LIBPATH") )
~~~~~~~~^~~~~~~~~~~~~~~~~~~
file.cc:1212:14: note: place parentheses around the assignment to silence this warning
if( libpath = getenv("LIBPATH") )
^
( )
file.cc:1212:14: note: use '==' to turn this assignment into an equality comparison
if( libpath = getenv("LIBPATH") )
^
==
file.cc:1238:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( fp = fopen_LIBPATH(file,"r",AVStr(xfile)) ){
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
file.cc:1238:9: note: place parentheses around the assignment to silence this warning
if( fp = fopen_LIBPATH(file,"r",AVStr(xfile)) ){
^
( )
file.cc:1238:9: note: use '==' to turn this assignment into an equality comparison
if( fp = fopen_LIBPATH(file,"r",AVStr(xfile)) ){
^
==
file.cc:1312:41: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( isalpha(path[0]) && path[1]==':' && 3 < strlen(path)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
file.cc:1312:41: note: place parentheses around the '&&' expression to silence this warning
if( isalpha(path[0]) && path[1]==':' && 3 < strlen(path)
^
( )
file.cc:1313:40: warning: '&&' within '||' [-Wlogical-op-parentheses]
|| (path[0]=='/' || path[0]=='\\') && 2 < strlen(path)
~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
file.cc:1313:40: note: place parentheses around the '&&' expression to silence this warning
|| (path[0]=='/' || path[0]=='\\') && 2 < strlen(path)
^
( )
file.cc:1480:3: warning: add explicit braces to avoid dangling else [-Wdangling-else]
}else
^
file.cc:1618:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( len = isFullpath(go) ){
~~~~^~~~~~~~~~~~~~~~
file.cc:1618:10: note: place parentheses around the assignment to silence this warning
if( len = isFullpath(go) ){
^
( )
file.cc:1618:10: note: use '==' to turn this assignment into an equality comparison
if( len = isFullpath(go) ){
^
==
file.cc:1648:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( cp = FindRDirSep(cwd) ){
~~~^~~~~~~~~~~~~~~~~~
file.cc:1648:12: note: place parentheses around the assignment to silence this warning
if( cp = FindRDirSep(cwd) ){
^
( )
file.cc:1648:12: note: use '==' to turn this assignment into an equality comparison
if( cp = FindRDirSep(cwd) ){
^
==
file.cc:1656:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( cp = FindDirSep(go) )
~~~^~~~~~~~~~~~~~~~
file.cc:1656:11: note: place parentheses around the assignment to silence this warning
if( cp = FindDirSep(go) )
^
( )
file.cc:1656:11: note: use '==' to turn this assignment into an equality comparison
if( cp = FindDirSep(go) )
^
==
14 warnings generated.
../mkcpp fstat.c fstat.cc
-- mkcpp set time: 1492117226 -> 1400042620 fstat.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c fstat.cc
fstat.cc:574:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( vp = strrpbrk(vdir,"/\\") ){
~~~^~~~~~~~~~~~~~~~~~~~~~
fstat.cc:574:9: note: place parentheses around the assignment to silence this warning
if( vp = strrpbrk(vdir,"/\\") ){
^
( )
fstat.cc:574:9: note: use '==' to turn this assignment into an equality comparison
if( vp = strrpbrk(vdir,"/\\") ){
^
==
fstat.cc:668:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( ep = strrchr(name,'.') )
~~~^~~~~~~~~~~~~~~~~~~
fstat.cc:668:10: note: place parentheses around the assignment to silence this warning
if( ep = strrchr(name,'.') )
^
( )
fstat.cc:668:10: note: use '==' to turn this assignment into an equality comparison
if( ep = strrchr(name,'.') )
^
==
fstat.cc:683:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( f1 = strpbrk(fact1,"\r\n") )
~~~^~~~~~~~~~~~~~~~~~~~~~~
fstat.cc:683:10: note: place parentheses around the assignment to silence this warning
if( f1 = strpbrk(fact1,"\r\n") )
^
( )
fstat.cc:683:10: note: use '==' to turn this assignment into an equality comparison
if( f1 = strpbrk(fact1,"\r\n") )
^
==
fstat.cc:692:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( xp = strrpbrk(xpath,"/\\") ){
~~~^~~~~~~~~~~~~~~~~~~~~~~
fstat.cc:692:11: note: place parentheses around the assignment to silence this warning
if( xp = strrpbrk(xpath,"/\\") ){
^
( )
fstat.cc:692:11: note: use '==' to turn this assignment into an equality comparison
if( xp = strrpbrk(xpath,"/\\") ){
^
==
fstat.cc:781:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( sp = fmt; sc = *sp; sp++ ){
~~~^~~~~
fstat.cc:781:20: note: place parentheses around the assignment to silence this warning
for( sp = fmt; sc = *sp; sp++ ){
^
( )
fstat.cc:781:20: note: use '==' to turn this assignment into an equality comparison
for( sp = fmt; sc = *sp; sp++ ){
^
==
fstat.cc:893:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( fp = fopen(path,"r") ){
~~~^~~~~~~~~~~~~~~~~
fstat.cc:893:12: note: place parentheses around the assignment to silence this warning
if( fp = fopen(path,"r") ){
^
( )
fstat.cc:893:12: note: use '==' to turn this assignment into an equality comparison
if( fp = fopen(path,"r") ){
^
==
fstat.cc:956:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( diff = e2->s_ikey - e1->s_ikey )
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
fstat.cc:956:11: note: place parentheses around the assignment to silence this warning
if( diff = e2->s_ikey - e1->s_ikey )
^
( )
fstat.cc:956:11: note: use '==' to turn this assignment into an equality comparison
if( diff = e2->s_ikey - e1->s_ikey )
^
==
fstat.cc:1056:20: warning: expression result unused [-Wunused-value]
while( op[1] ) *op++; /* skip remaining */
^~~~~
fstat.cc:1061:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = strrchr(vbase,'/') )
~~~^~~~~~~~~~~~~~~~~~~~
fstat.cc:1061:13: note: place parentheses around the assignment to silence this warning
if( dp = strrchr(vbase,'/') )
^
( )
fstat.cc:1061:13: note: use '==' to turn this assignment into an equality comparison
if( dp = strrchr(vbase,'/') )
^
==
fstat.cc:1071:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = strrchr(dirpath,'/') ){
~~~^~~~~~~~~~~~~~~~~~~~~~
fstat.cc:1071:10: note: place parentheses around the assignment to silence this warning
if( dp = strrchr(dirpath,'/') ){
^
( )
fstat.cc:1071:10: note: use '==' to turn this assignment into an equality comparison
if( dp = strrchr(dirpath,'/') ){
^
==
fstat.cc:1111:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = strstr(fmt,"%D") )
~~~^~~~~~~~~~~~~~~~~~
fstat.cc:1111:10: note: place parentheses around the assignment to silence this warning
if( dp = strstr(fmt,"%D") )
^
( )
fstat.cc:1111:10: note: use '==' to turn this assignment into an equality comparison
if( dp = strstr(fmt,"%D") )
^
==
fstat.cc:1177:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( tail = strpbrk(ls,"\r\n") ){
~~~~~^~~~~~~~~~~~~~~~~~~~
fstat.cc:1177:11: note: place parentheses around the assignment to silence this warning
if( tail = strpbrk(ls,"\r\n") ){
^
( )
fstat.cc:1177:11: note: use '==' to turn this assignment into an equality comparison
if( tail = strpbrk(ls,"\r\n") ){
^
==
fstat.cc:1187:24: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( 4 <= ac || 1 < ac && streq(av[1],"-ll") ){
~~ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~
fstat.cc:1187:24: note: place parentheses around the '&&' expression to silence this warning
if( 4 <= ac || 1 < ac && streq(av[1],"-ll") ){
^
( )
13 warnings generated.
../mkcpp pam.c pam.cc
-- mkcpp set time: 1492117239 -> 1258592341 pam.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c pam.cc
clang -o ../filters/mkstab ../filters/mkstab.c -L../lib
../filters/mkstab.c:76:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( sp = strstr(line,"/*BEGIN_STAB") ){
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../filters/mkstab.c:76:10: note: place parentheses around the assignment to silence this warning
if( sp = strstr(line,"/*BEGIN_STAB") ){
^
( )
../filters/mkstab.c:76:10: note: use '==' to turn this assignment into an equality comparison
if( sp = strstr(line,"/*BEGIN_STAB") ){
^
==
../filters/mkstab.c:102:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( sp = line; ch = *sp; sp++ ){
~~~^~~~~
../filters/mkstab.c:102:22: note: place parentheses around the assignment to silence this warning
for( sp = line; ch = *sp; sp++ ){
^
( )
../filters/mkstab.c:102:22: note: use '==' to turn this assignment into an equality comparison
for( sp = line; ch = *sp; sp++ ){
^
==
../filters/mkstab.c:106:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while( ch = *sp ){
~~~^~~~~
../filters/mkstab.c:106:13: note: place parentheses around the assignment to silence this warning
while( ch = *sp ){
^
( )
../filters/mkstab.c:106:13: note: use '==' to turn this assignment into an equality comparison
while( ch = *sp ){
^
==
../filters/mkstab.c:156:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( op = strstr(line,"/*OPT(") ){
~~~^~~~~~~~~~~~~~~~~~~~~~~
../filters/mkstab.c:156:10: note: place parentheses around the assignment to silence this warning
if( op = strstr(line,"/*OPT(") ){
^
( )
../filters/mkstab.c:156:10: note: use '==' to turn this assignment into an equality comparison
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: 1492117242 -> 1492117242 libpam_dl.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c libpam_dl.cc
../mkcpp passwd.c passwd.cc
-- mkcpp set time: 1492117242 -> 1265007243 passwd.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c passwd.cc
passwd.cc:87:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( passwd = GETpwuid(uid) )
~~~~~~~^~~~~~~~~~~~~~~
passwd.cc:87:13: note: place parentheses around the assignment to silence this warning
if( passwd = GETpwuid(uid) )
^
( )
passwd.cc:87:13: note: use '==' to turn this assignment into an equality comparison
if( passwd = GETpwuid(uid) )
^
==
passwd.cc:126:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( passwd = GETpwuid(uid) )
~~~~~~~^~~~~~~~~~~~~~~
passwd.cc:126:13: note: place parentheses around the assignment to silence this warning
if( passwd = GETpwuid(uid) )
^
( )
passwd.cc:126:13: note: use '==' to turn this assignment into an equality comparison
if( passwd = GETpwuid(uid) )
^
==
passwd.cc:133:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( passwd = GETpwuid(uid) ){
~~~~~~~^~~~~~~~~~~~~~~
passwd.cc:133:13: note: place parentheses around the assignment to silence this warning
if( passwd = GETpwuid(uid) ){
^
( )
passwd.cc:133:13: note: use '==' to turn this assignment into an equality comparison
if( passwd = GETpwuid(uid) ){
^
==
passwd.cc:142:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( group = GETgrgid(gid) )
~~~~~~^~~~~~~~~~~~~~~
passwd.cc:142:12: note: place parentheses around the assignment to silence this warning
if( group = GETgrgid(gid) )
^
( )
passwd.cc:142:12: note: use '==' to turn this assignment into an equality comparison
if( group = GETgrgid(gid) )
^
==
passwd.cc:168:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( passwd = GETpwnam(user) )
~~~~~~~^~~~~~~~~~~~~~~~
passwd.cc:168:13: note: place parentheses around the assignment to silence this warning
if( passwd = GETpwnam(user) )
^
( )
passwd.cc:168:13: note: use '==' to turn this assignment into an equality comparison
if( passwd = GETpwnam(user) )
^
==
passwd.cc:175:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( group = GETgrnam(gname) )
~~~~~~^~~~~~~~~~~~~~~~~
passwd.cc:175:12: note: place parentheses around the assignment to silence this warning
if( group = GETgrnam(gname) )
^
( )
passwd.cc:175:12: note: use '==' to turn this assignment into an equality comparison
if( group = GETgrnam(gname) )
^
==
passwd.cc:217:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = strchr(user_group,'/') ){
~~~^~~~~~~~~~~~~~~~~~~~~~~~
passwd.cc:217:9: note: place parentheses around the assignment to silence this warning
if( dp = strchr(user_group,'/') ){
^
( )
passwd.cc:217:9: note: use '==' to turn this assignment into an equality comparison
if( dp = strchr(user_group,'/') ){
^
==
passwd.cc:218:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( len = dp - user_group ){
~~~~^~~~~~~~~~~~~~~~~
passwd.cc:218:11: note: place parentheses around the assignment to silence this warning
if( len = dp - user_group ){
^
( )
passwd.cc:218:11: note: use '==' to turn this assignment into an equality comparison
if( len = dp - user_group ){
^
==
passwd.cc:231:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( pw = GETpwuid(uid) )
~~~^~~~~~~~~~~~~~~
passwd.cc:231:10: note: place parentheses around the assignment to silence this warning
if( pw = GETpwuid(uid) )
^
( )
passwd.cc:231:10: note: use '==' to turn this assignment into an equality comparison
if( pw = GETpwuid(uid) )
^
==
passwd.cc:234:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( pw = GETpwnam(user) ){
~~~^~~~~~~~~~~~~~~~
passwd.cc:234:9: note: place parentheses around the assignment to silence this warning
if( pw = GETpwnam(user) ){
^
( )
passwd.cc:234:9: note: use '==' to turn this assignment into an equality comparison
if( pw = GETpwnam(user) ){
^
==
passwd.cc:242:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( gr = GETgrnam(group) )
~~~^~~~~~~~~~~~~~~~~
passwd.cc:242:9: note: place parentheses around the assignment to silence this warning
if( gr = GETgrnam(group) )
^
( )
passwd.cc:242:9: note: use '==' to turn this assignment into an equality comparison
if( gr = GETgrnam(group) )
^
==
passwd.cc:294:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( vp = strchr(vp,':') ){
~~~^~~~~~~~~~~~~~~~
passwd.cc:294:9: note: place parentheses around the assignment to silence this warning
if( vp = strchr(vp,':') ){
^
( )
passwd.cc:294:9: note: use '==' to turn this assignment into an equality comparison
if( vp = strchr(vp,':') ){
^
==
passwd.cc:297:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( vp = strchr(vp,':') ){
~~~^~~~~~~~~~~~~~~~
passwd.cc:297:9: note: place parentheses around the assignment to silence this warning
if( vp = strchr(vp,':') ){
^
( )
passwd.cc:297:9: note: use '==' to turn this assignment into an equality comparison
if( vp = strchr(vp,':') ){
^
==
passwd.cc:300:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( vp = strchr(vp,':') ){
~~~^~~~~~~~~~~~~~~~
passwd.cc:300:9: note: place parentheses around the assignment to silence this warning
if( vp = strchr(vp,':') ){
^
( )
passwd.cc:300:9: note: use '==' to turn this assignment into an equality comparison
if( vp = strchr(vp,':') ){
^
==
passwd.cc:303:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( vp = strchr(vp,':') ){
~~~^~~~~~~~~~~~~~~~
passwd.cc:303:9: note: place parentheses around the assignment to silence this warning
if( vp = strchr(vp,':') ){
^
( )
passwd.cc:303:9: note: use '==' to turn this assignment into an equality comparison
if( vp = strchr(vp,':') ){
^
==
passwd.cc:306:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( vp = strchr(vp,':') ){
~~~^~~~~~~~~~~~~~~~
passwd.cc:306:9: note: place parentheses around the assignment to silence this warning
if( vp = strchr(vp,':') ){
^
( )
passwd.cc:306:9: note: use '==' to turn this assignment into an equality comparison
if( vp = strchr(vp,':') ){
^
==
passwd.cc:309:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( vp = strchr(vp,':') ){
~~~^~~~~~~~~~~~~~~~
passwd.cc:309:9: note: place parentheses around the assignment to silence this warning
if( vp = strchr(vp,':') ){
^
( )
passwd.cc:309:9: note: use '==' to turn this assignment into an equality comparison
if( vp = strchr(vp,':') ){
^
==
passwd.cc:319:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( pw = getpwuid(uid) )
~~~^~~~~~~~~~~~~~~
passwd.cc:319:9: note: place parentheses around the assignment to silence this warning
if( pw = getpwuid(uid) )
^
( )
passwd.cc:319:9: note: use '==' to turn this assignment into an equality comparison
if( pw = getpwuid(uid) )
^
==
In file included from passwd.cc:341:
./pam.c:461:36: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( port != 0 || !ok && euid != 0 && INHERENT_fork() ){
~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./pam.c:461:36: note: place parentheses around the '&&' expression to silence this warning
if( port != 0 || !ok && euid != 0 && INHERENT_fork() ){
^
( )
19 warnings generated.
../mkcpp syslog.c syslog.cc
-- mkcpp set time: 1492117242 -> 1275003850 syslog.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c syslog.cc
../mkcpp lock.c lock.cc
-- mkcpp set time: 1492117242 -> 1264767923 lock.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c lock.cc
../mkcpp dglibs.c dglibs.cc
-- mkcpp set time: 1492117242 -> 1276216052 dglibs.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c dglibs.cc
dglibs.cc:32:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( val = getv(MAIN_argv,name) )
~~~~^~~~~~~~~~~~~~~~~~~~~~
dglibs.cc:32:11: note: place parentheses around the assignment to silence this warning
if( val = getv(MAIN_argv,name) )
^
( )
dglibs.cc:32:11: note: use '==' to turn this assignment into an equality comparison
if( val = getv(MAIN_argv,name) )
^
==
1 warning generated.
../mkcpp forkspawn.c forkspawn.cc
-- mkcpp set time: 1492117242 -> 1268455252 forkspawn.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c forkspawn.cc
forkspawn.cc:480:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( env = getenv("PATH") )
~~~~^~~~~~~~~~~~~~~~
forkspawn.cc:480:10: note: place parentheses around the assignment to silence this warning
if( env = getenv("PATH") )
^
( )
forkspawn.cc:480:10: note: use '==' to turn this assignment into an equality comparison
if( env = getenv("PATH") )
^
==
1 warning generated.
../mkcpp Thread.c Thread.cc
-- mkcpp set time: 1492117242 -> 1278220257 Thread.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c Thread.cc
Thread.cc:320:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( tid = tp->t_id ){
~~~~^~~~~~~~~~
Thread.cc:320:11: note: place parentheses around the assignment to silence this warning
if( tid = tp->t_id ){
^
( )
Thread.cc:320:11: note: use '==' to turn this assignment into an equality comparison
if( tid = tp->t_id ){
^
==
Thread.cc:344:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( tid = tp->t_id ){
~~~~^~~~~~~~~~
Thread.cc:344:11: note: place parentheses around the assignment to silence this warning
if( tid = tp->t_id ){
^
( )
Thread.cc:344:11: note: use '==' to turn this assignment into an equality comparison
if( tid = tp->t_id ){
^
==
Thread.cc:438:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( gid = getthreadgid(tid) ){
~~~~^~~~~~~~~~~~~~~~~~~
Thread.cc:438:10: note: place parentheses around the assignment to silence this warning
if( gid = getthreadgid(tid) ){
^
( )
Thread.cc:438:10: note: use '==' to turn this assignment into an equality comparison
if( gid = getthreadgid(tid) ){
^
==
Thread.cc:786:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( tid = threads[ix].t_id ){
~~~~^~~~~~~~~~~~~~~~~~
Thread.cc:786:11: note: place parentheses around the assignment to silence this warning
if( tid = threads[ix].t_id ){
^
( )
Thread.cc:786:11: note: use '==' to turn this assignment into an equality comparison
if( tid = threads[ix].t_id ){
^
==
Thread.cc:803:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( tid = threads[ix].t_id ){
~~~~^~~~~~~~~~~~~~~~~~
Thread.cc:803:11: note: place parentheses around the assignment to silence this warning
if( tid = threads[ix].t_id ){
^
( )
Thread.cc:803:11: note: use '==' to turn this assignment into an equality comparison
if( tid = threads[ix].t_id ){
^
==
Thread.cc:916:9: warning: 'sigblock' is deprecated [-Wdeprecated-declarations]
return sigblock(mask);
^
/usr/include/signal.h:187:12: note: 'sigblock' has been explicitly marked deprecated here
extern int sigblock (int __mask) __THROW __attribute_deprecated__;
^
Thread.cc:919:9: warning: 'sigsetmask' is deprecated [-Wdeprecated-declarations]
return sigsetmask(mask);
^
/usr/include/signal.h:190:12: note: 'sigsetmask' has been explicitly marked deprecated here
extern int sigsetmask (int __mask) __THROW __attribute_deprecated__;
^
Thread.cc:937:10: warning: 'sigsetmask' is deprecated [-Wdeprecated-declarations]
nmask = sigsetmask(mask);
^
/usr/include/signal.h:190:12: note: 'sigsetmask' has been explicitly marked deprecated here
extern int sigsetmask (int __mask) __THROW __attribute_deprecated__;
^
Thread.cc:954:10: warning: 'sigblock' is deprecated [-Wdeprecated-declarations]
nmask = sigblock(mask);
^
/usr/include/signal.h:187:12: note: 'sigblock' has been explicitly marked deprecated here
extern int sigblock (int __mask) __THROW __attribute_deprecated__;
^
9 warnings generated.
../mkcpp randstack.c randstack.cc
-- mkcpp set time: 1492117242 -> 1250403944 randstack.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c randstack.cc
randstack.cc:286:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( ei = 0; es = environ[ei]; ei++ );
~~~^~~~~~~~~~~~~
randstack.cc:286:18: note: place parentheses around the assignment to silence this warning
for( ei = 0; es = environ[ei]; ei++ );
^
( )
randstack.cc:286:18: note: use '==' to turn this assignment into an equality comparison
for( ei = 0; es = environ[ei]; ei++ );
^
==
randstack.cc:289:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( ei = 0; es = environ[ei]; ei++ ){
~~~^~~~~~~~~~~~~
randstack.cc:289:18: note: place parentheses around the assignment to silence this warning
for( ei = 0; es = environ[ei]; ei++ ){
^
( )
randstack.cc:289:18: note: use '==' to turn this assignment into an equality comparison
for( ei = 0; es = environ[ei]; ei++ ){
^
==
2 warnings generated.
../mkcpp rawcopy.c rawcopy.cc
-- mkcpp set time: 1492117242 -> 1250403944 rawcopy.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c rawcopy.cc
../mkcpp hostaddr.c hostaddr.cc
-- mkcpp set time: 1492117242 -> 1250403944 hostaddr.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c hostaddr.cc
../mkcpp socks5.c socks5.cc
-- mkcpp set time: 1492117242 -> 1282453717 socks5.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c socks5.cc
socks5.cc:667:32: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( rcc < 2 || rauth != qauth && rauth != AUTH_M_NONE ){
~~ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
socks5.cc:667:32: note: place parentheses around the '&&' expression to silence this warning
if( rcc < 2 || rauth != qauth && rauth != AUTH_M_NONE ){
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
socks5.cc:993:31: warning: '&&' within '||' [-Wlogical-op-parentheses]
|| pi == 0 && rbuf[0] == 0 && rbuf[1] == 0
~~ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
socks5.cc:993:31: note: place parentheses around the '&&' expression to silence this warning
|| pi == 0 && rbuf[0] == 0 && rbuf[1] == 0
^
( )
socks5.cc:995:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( clport = VSA_port(&clnt) )
~~~~~~~^~~~~~~~~~~~~~~~~
socks5.cc:995:15: note: place parentheses around the assignment to silence this warning
if( clport = VSA_port(&clnt) )
^
( )
socks5.cc:995:15: note: use '==' to turn this assignment into an equality comparison
if( clport = VSA_port(&clnt) )
^
==
socks5.cc:1018:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( viaSocks = selectSockServ(ctx,&PK,&viaSocksb) ){
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
socks5.cc:1018:17: note: place parentheses around the assignment to silence this warning
if( viaSocks = selectSockServ(ctx,&PK,&viaSocksb) ){
^
( )
socks5.cc:1018:17: note: use '==' to turn this assignment into an equality comparison
if( viaSocks = selectSockServ(ctx,&PK,&viaSocksb) ){
^
==
socks5.cc:1127:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( bp = strrchr(bhost,':') ){
~~~^~~~~~~~~~~~~~~~~~~~
socks5.cc:1127:9: note: place parentheses around the assignment to silence this warning
if( bp = strrchr(bhost,':') ){
^
( )
socks5.cc:1127:9: note: use '==' to turn this assignment into an equality comparison
if( bp = strrchr(bhost,':') ){
^
==
socks5.cc:1166:17: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse]
int idlethreads();
^~
socks5.cc:1166:17: note: replace parentheses with an initializer to declare a variable
int idlethreads();
^~
= 0
socks5.cc:1191:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( lp = strtailstr(local,ACCONN) ){
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
socks5.cc:1191:9: note: place parentheses around the assignment to silence this warning
if( lp = strtailstr(local,ACCONN) ){
^
( )
socks5.cc:1191:9: note: use '==' to turn this assignment into an equality comparison
if( lp = strtailstr(local,ACCONN) ){
^
==
socks5.cc:1279:12: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
if( ulen < 0 || sizeof(user) <= ulen ) rcc = -1; else
~~~~ ^ ~
socks5.cc:1291:12: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
if( plen < 0 || sizeof(pass) <= plen ) rcc = -1; else
~~~~ ^ ~
socks5.cc:1455:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( viasocks = GetViaSocks(ctx,host,port) ){
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
socks5.cc:1455:16: note: place parentheses around the assignment to silence this warning
if( viasocks = GetViaSocks(ctx,host,port) ){
^
( )
socks5.cc:1455:16: note: use '==' to turn this assignment into an equality comparison
if( viasocks = GetViaSocks(ctx,host,port) ){
^
==
socks5.cc:1463:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( sifset = CTX_VSA_SRCIFfor(ctx,"socks-udp-tocl",&sif) ){
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
socks5.cc:1463:14: note: place parentheses around the assignment to silence this warning
if( sifset = CTX_VSA_SRCIFfor(ctx,"socks-udp-tocl",&sif) ){
^
( )
socks5.cc:1463:14: note: use '==' to turn this assignment into an equality comparison
if( sifset = CTX_VSA_SRCIFfor(ctx,"socks-udp-tocl",&sif) ){
^
==
11 warnings generated.
../mkcpp cfilib.c cfilib.cc
-- mkcpp set time: 1492117242 -> 1250403944 cfilib.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c cfilib.cc
cfilib.cc:43:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( env = getenv(name) )
~~~~^~~~~~~~~~~~~~
cfilib.cc:43:10: note: place parentheses around the assignment to silence this warning
if( env = getenv(name) )
^
( )
cfilib.cc:43:10: note: use '==' to turn this assignment into an equality comparison
if( env = getenv(name) )
^
==
cfilib.cc:82:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( env = getenv("CFI_SHARED_LOCK") ){
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
cfilib.cc:82:11: note: place parentheses around the assignment to silence this warning
if( env = getenv("CFI_SHARED_LOCK") ){
^
( )
cfilib.cc:82:11: note: use '==' to turn this assignment into an equality comparison
if( env = getenv("CFI_SHARED_LOCK") ){
^
==
cfilib.cc:83:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( fp = fopen(env,"r+") ){
~~~^~~~~~~~~~~~~~~~~
cfilib.cc:83:11: note: place parentheses around the assignment to silence this warning
if( fp = fopen(env,"r+") ){
^
( )
cfilib.cc:83:11: note: use '==' to turn this assignment into an equality comparison
if( fp = fopen(env,"r+") ){
^
==
cfilib.cc:128:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( env = getenv("CFI_FILTER_ID") ){
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
cfilib.cc:128:10: note: place parentheses around the assignment to silence this warning
if( env = getenv("CFI_FILTER_ID") ){
^
( )
cfilib.cc:128:10: note: use '==' to turn this assignment into an equality comparison
if( env = getenv("CFI_FILTER_ID") ){
^
==
cfilib.cc:135:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( env = getenv("CFI_SHARED_FD") ){
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
cfilib.cc:135:10: note: place parentheses around the assignment to silence this warning
if( env = getenv("CFI_SHARED_FD") ){
^
( )
cfilib.cc:135:10: note: use '==' to turn this assignment into an equality comparison
if( env = getenv("CFI_SHARED_FD") ){
^
==
5 warnings generated.
../mkcpp netsh.c netsh.cc
-- mkcpp set time: 1492117242 -> 1414752137 netsh.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c netsh.cc
netsh.cc:288:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( env = getenv("LINES") ){
~~~~^~~~~~~~~~~~~~~~~
netsh.cc:288:10: note: place parentheses around the assignment to silence this warning
if( env = getenv("LINES") ){
^
( )
netsh.cc:288:10: note: use '==' to turn this assignment into an equality comparison
if( env = getenv("LINES") ){
^
==
netsh.cc:291:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( env = getenv("COLUMNS") ){
~~~~^~~~~~~~~~~~~~~~~~~
netsh.cc:291:10: note: place parentheses around the assignment to silence this warning
if( env = getenv("COLUMNS") ){
^
( )
netsh.cc:291:10: note: use '==' to turn this assignment into an equality comparison
if( env = getenv("COLUMNS") ){
^
==
netsh.cc:409:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( fp = fopen(dstdesc,"a") ){
~~~^~~~~~~~~~~~~~~~~~~~
netsh.cc:409:10: note: place parentheses around the assignment to silence this warning
if( fp = fopen(dstdesc,"a") ){
^
( )
netsh.cc:409:10: note: use '==' to turn this assignment into an equality comparison
if( fp = fopen(dstdesc,"a") ){
^
==
netsh.cc:737:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( rdy = PollIns(0,2,fdv,rdv) ){
~~~~^~~~~~~~~~~~~~~~~~~~~~
netsh.cc:737:12: note: place parentheses around the assignment to silence this warning
if( rdy = PollIns(0,2,fdv,rdv) ){
^
( )
netsh.cc:737:12: note: use '==' to turn this assignment into an equality comparison
if( rdy = PollIns(0,2,fdv,rdv) ){
^
==
netsh.cc:830:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( rdy = PollIns(0,2,fdv,rdv) ){
~~~~^~~~~~~~~~~~~~~~~~~~~~
netsh.cc:830:12: note: place parentheses around the assignment to silence this warning
if( rdy = PollIns(0,2,fdv,rdv) ){
^
( )
netsh.cc:830:12: note: use '==' to turn this assignment into an equality comparison
if( rdy = PollIns(0,2,fdv,rdv) ){
^
==
netsh.cc:1402:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( fp = fopen("C:/DeleGate/dgpty.log","a") ){
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
netsh.cc:1402:10: note: place parentheses around the assignment to silence this warning
if( fp = fopen("C:/DeleGate/dgpty.log","a") ){
^
( )
netsh.cc:1402:10: note: use '==' to turn this assignment into an equality comparison
if( fp = fopen("C:/DeleGate/dgpty.log","a") ){
^
==
6 warnings generated.
../mkcpp wince.c wince.cc
-- mkcpp set time: 1492117243 -> 1414752137 wince.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c wince.cc
wince.cc:292:18: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
int WCE_DEBUGS = flDBG(DBG_ERR);
^~~~~~~~~~~~~~
wince.cc:274:27: note: expanded from macro 'flDBG'
#define flDBG(f) (1 << (f)-'A')
~~ ~~~^~~~
wince.cc:292:18: note: place parentheses around the '-' expression to silence this warning
int WCE_DEBUGS = flDBG(DBG_ERR);
^~~~~~~~~~~~~~
wince.cc:274:27: note: expanded from macro 'flDBG'
#define flDBG(f) (1 << (f)-'A')
~~~^~~~
wince.cc:293:26: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
int WCE_sDEBUG(){ return inDBG(DBG_SOCK); }
^~~~~~~~~~~~~~~
wince.cc:275:32: note: expanded from macro 'inDBG'
#define inDBG(f) (WCE_DEBUGS & flDBG(f))
^~~~~~~~
wince.cc:274:27: note: expanded from macro 'flDBG'
#define flDBG(f) (1 << (f)-'A')
~~ ~~~^~~~
wince.cc:293:26: note: place parentheses around the '-' expression to silence this warning
int WCE_sDEBUG(){ return inDBG(DBG_SOCK); }
^~~~~~~~~~~~~~~
wince.cc:275:32: note: expanded from macro 'inDBG'
#define inDBG(f) (WCE_DEBUGS & flDBG(f))
^~~~~~~~
wince.cc:274:27: note: expanded from macro 'flDBG'
#define flDBG(f) (1 << (f)-'A')
~~~^~~~
2 warnings generated.
../mkcpp winmo.c winmo.cc
-- mkcpp set time: 1492117243 -> 1414752137 winmo.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c winmo.cc
../mkcpp winsspi.c winsspi.cc
-- mkcpp set time: 1492117243 -> 1414752137 winsspi.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c winsspi.cc
../mkcpp winnat.c winnat.cc
-- mkcpp set time: 1492117243 -> 1414752137 winnat.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c winnat.cc
../mkcpp winmisc.c winmisc.cc
-- mkcpp set time: 1492117243 -> 1403841860 winmisc.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c winmisc.cc
../mkcpp unix.c unix.cc
-- mkcpp set time: 1492117243 -> 1408963012 unix.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c unix.cc
unix.cc:390:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( name = ttyname(fd) ){
~~~~~^~~~~~~~~~~~~
unix.cc:390:12: note: place parentheses around the assignment to silence this warning
if( name = ttyname(fd) ){
^
( )
unix.cc:390:12: note: use '==' to turn this assignment into an equality comparison
if( name = ttyname(fd) ){
^
==
In file included from unix.cc:734:
./windows0.c:100:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( path = tmpfiles[ti] ){
~~~~~^~~~~~~~~~~~~~
./windows0.c:100:15: note: place parentheses around the assignment to silence this warning
if( path = tmpfiles[ti] ){
^
( )
./windows0.c:100:15: note: use '==' to turn this assignment into an equality comparison
if( path = tmpfiles[ti] ){
^
==
./windows0.c:128:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( opath = tmpfiles[fd] ){
~~~~~~^~~~~~~~~~~~~~
./windows0.c:128:12: note: place parentheses around the assignment to silence this warning
if( opath = tmpfiles[fd] ){
^
( )
./windows0.c:128:12: note: use '==' to turn this assignment into an equality comparison
if( opath = tmpfiles[fd] ){
^
==
./windows0.c:144:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( fp = fopen(path,"w+") ){
~~~^~~~~~~~~~~~~~~~~~
./windows0.c:144:9: note: place parentheses around the assignment to silence this warning
if( fp = fopen(path,"w+") ){
^
( )
./windows0.c:144:9: note: use '==' to turn this assignment into an equality comparison
if( fp = fopen(path,"w+") ){
^
==
./windows0.c:160:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( fp = fopen(path,FOPEN_RWB) )
~~~^~~~~~~~~~~~~~~~~~~~~~~
./windows0.c:160:10: note: place parentheses around the assignment to silence this warning
if( fp = fopen(path,FOPEN_RWB) )
^
( )
./windows0.c:160:10: note: use '==' to turn this assignment into an equality comparison
if( fp = fopen(path,FOPEN_RWB) )
^
==
./windows0.c:166:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( fp = fdopen(fd,FOPEN_RWB) ){
~~~^~~~~~~~~~~~~~~~~~~~~~
./windows0.c:166:11: note: place parentheses around the assignment to silence this warning
if( fp = fdopen(fd,FOPEN_RWB) ){
^
( )
./windows0.c:166:11: note: use '==' to turn this assignment into an equality comparison
if( fp = fdopen(fd,FOPEN_RWB) ){
^
==
6 warnings generated.
../mkcpp windows.c windows.cc
-- mkcpp set time: 1492117244 -> 1414752137 windows.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c windows.cc
../mkcpp Finish.c Finish.cc
-- mkcpp set time: 1492117244 -> 1250403944 Finish.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -Wno-narrowing -c Finish.cc
rm -f library.a
ar cr library.a SLL.o String.o ystring.o modfmt.o TLEX.o JIS.o codeconv.o pilsner.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 asock.o lsock.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 netsh.o wince.o winmo.o winsspi.o winnat.o winmisc.o unix.o windows.o Finish.o
/usr/bin/ranlib library.a
make[4]: Leaving directory '/tmp/delegate/src/delegate9.9.13/rary'
make[3]: Leaving directory '/tmp/delegate/src/delegate9.9.13/rary'
**[0] move ../rary/library.a to ../lib/library.a
"/tmp/delegate/src/delegate9.9.13/mkmake.exe" -makeat ../lib/libgates.a ../gates libgates.a "make" libx MAKE="make" SHELL="/bin/sh" CC="clang" HDRDIR="-I../gen -I../include -Wno-narrowing" RANLIB="/usr/bin/ranlib" LDFLAGS=" -L../lib" LIBDIR="-L../lib" NETLIB="-lnsl -ldl -lutil -lpthread -lpam -lstdc++" AR="ar" TAR="tar" CFLAGS="-Wno-narrowing -x c++ -DQS -DNONC99=3 "
---- testing CC capability [clang][-Wno-narrowing -x c++ -DQS -DNONC99=3 ][] ...
***
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 _.c
_.c:2:1: error: C++ requires a type specifier for all declarations
main(){ }
^
1 error generated.
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 _.c
---- LD exit(256) clang _.o -lstdc++
***
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 _.c
_.c:1:16: error: field has incomplete type 'char []'
struct _S{char A[]; char B[1];}S;
^
_.c:2:1: error: C++ requires a type specifier for all declarations
main(){ }
^
2 errors generated.
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 _.c
---- LD exit(256) clang _.o -lstdc++
***
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 _.c
_.c:2:1: error: C++ requires a type specifier for all declarations
main(){ }
^
1 error generated.
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 _.c
---- LD exit(256) clang _.o -lstdc++
[clang -c -Wno-narrowing -x c++ -DQS -DNONC99=3 ] NONC99=2, NONAZ0=6 @0011ec079acd
####### -makeat: /tmp/delegate/src/delegate9.9.13/gates @0011ec079acd
make[3]: Entering directory '/tmp/delegate/src/delegate9.9.13/gates'
"/tmp/delegate/src/delegate9.9.13/mkmake.exe" -cksum
"/tmp/delegate/src/delegate9.9.13/mkmake.exe" -mkmake "/usr/bin/make" Makefile.go "clang" "-Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 " "" "-L../lib" "/usr/bin/ranlib" "-lnsl -ldl -lutil -lpthread -lpam -lstdc++" NETLIB
---- testing CC capability [clang][-Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 ][] ...
***
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
_.c:2:1: error: C++ requires a type specifier for all declarations
main(){ }
^
1 error generated.
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
---- LD exit(256) clang _.o -lstdc++
***
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
_.c:1:16: error: field has incomplete type 'char []'
struct _S{char A[]; char B[1];}S;
^
_.c:2:1: error: C++ requires a type specifier for all declarations
main(){ }
^
2 errors generated.
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
---- LD exit(256) clang _.o -lstdc++
***
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
_.c:2:1: error: C++ requires a type specifier for all declarations
main(){ }
^
1 error generated.
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
---- LD exit(256) clang _.o -lstdc++
mkmake:
cpyfile[/tmp/delegate/src/delegate9.9.13/gates]: cannot read 'DELEGATE_CONF'
[clang -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 ] NONC99=2, NONAZ0=6 @0011ec079acd
#### [/tmp/delegate/src/delegate9.9.13/gates] creating Makefile.go
cpyfile Makefile[1-0][0-40ae95] > Makefile.go
#ifdef UNIX,OS2EMX ################################################
[SET] MKMAKE=/tmp/delegate/src/delegate9.9.13/mkmake.exe
[SET] RANLIB=/usr/bin/ranlib
- checking availability of -lnsl []
cpyfile[/tmp/delegate/src/delegate9.9.13/gates]: cannot read 'DELEGATE_CONF'
- checking availability of -ldl [-lnsl]
cpyfile[/tmp/delegate/src/delegate9.9.13/gates]: cannot read 'DELEGATE_CONF'
- checking availability of -lutil [-lnsl -ldl]
cpyfile[/tmp/delegate/src/delegate9.9.13/gates]: cannot read 'DELEGATE_CONF'
- checking availability of -lpthread [-lnsl -ldl -lutil]
cpyfile[/tmp/delegate/src/delegate9.9.13/gates]: cannot read 'DELEGATE_CONF'
- checking availability of -lpam [-lnsl -ldl -lutil -lpthread]
cpyfile[/tmp/delegate/src/delegate9.9.13/gates]: cannot read 'DELEGATE_CONF'
- checking availability of -lstdc++ [-lnsl -ldl -lutil -lpthread -lpam]
cpyfile[/tmp/delegate/src/delegate9.9.13/gates]: cannot read 'DELEGATE_CONF'
[SET] NETLIB=-lnsl -ldl -lutil -lpthread -lpam -lstdc++
cpyfile[/tmp/delegate/src/delegate9.9.13/gates]: cannot read 'DELEGATE_CONF'
cpyfile Makefile[0-0][40af38-0] > Makefile.go
#ifdef UNIX,OS2EMX ################################################
/usr/bin/make -f Makefile.go CFLAGS="-Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 " libgates.a SHELL="/bin/sh" HDRDIR="-I../gen -I../include -Wno-narrowing"
make[4]: Entering directory '/tmp/delegate/src/delegate9.9.13/gates'
clang -o ./b2x.exe b2x.c -L../lib
../mkcpp Gates_Win32.c Gates_Win32.cc
-- mkcpp set time: 1492117246 -> 1414752137 Gates_Win32.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -fno-exceptions -I../gen -I../gen -I../include -Wno-narrowing -I../include -I../src -c Gates_Win32.cc
ar cr libgates.a Gates_Win32.o
/usr/bin/ranlib libgates.a
make[4]: Leaving directory '/tmp/delegate/src/delegate9.9.13/gates'
make[3]: Leaving directory '/tmp/delegate/src/delegate9.9.13/gates'
**[0] move ../gates/libgates.a to ../lib/libgates.a
"/tmp/delegate/src/delegate9.9.13/mkmake.exe" -makeat ../lib/libcfi.a ../filters libcfi.a "make" libx MAKE="make" SHELL="/bin/sh" CC="clang" HDRDIR="-I../gen -I../include -Wno-narrowing" RANLIB="/usr/bin/ranlib" LDFLAGS=" -L../lib" LIBDIR="-L../lib" NETLIB="-lnsl -ldl -lutil -lpthread -lpam -lstdc++" AR="ar" TAR="tar" CFLAGS="-Wno-narrowing -x c++ -DQS -DNONC99=3 " SSLLIB="-lcrypto -lssl"
---- testing CC capability [clang][-Wno-narrowing -x c++ -DQS -DNONC99=3 ][] ...
***
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 _.c
_.c:2:1: error: C++ requires a type specifier for all declarations
main(){ }
^
1 error generated.
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 _.c
---- LD exit(256) clang _.o -lstdc++
***
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 _.c
_.c:1:16: error: field has incomplete type 'char []'
struct _S{char A[]; char B[1];}S;
^
_.c:2:1: error: C++ requires a type specifier for all declarations
main(){ }
^
2 errors generated.
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 _.c
---- LD exit(256) clang _.o -lstdc++
***
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 _.c
_.c:2:1: error: C++ requires a type specifier for all declarations
main(){ }
^
1 error generated.
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 _.c
---- LD exit(256) clang _.o -lstdc++
[clang -c -Wno-narrowing -x c++ -DQS -DNONC99=3 ] NONC99=2, NONAZ0=6 @0011ec079acd
####### -makeat: /tmp/delegate/src/delegate9.9.13/filters @0011ec079acd
make[3]: Entering directory '/tmp/delegate/src/delegate9.9.13/filters'
"/tmp/delegate/src/delegate9.9.13/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 regex.c m17nccx.c backup.c swft.c pdft.c dglogs.c dping.c ciicgi.c htwrap.c netzip.c
"/tmp/delegate/src/delegate9.9.13/mkmake.exe" -mkmake "/usr/bin/make" Makefile.go "clang" "-Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 " "" "-L../lib" "/usr/bin/ranlib" "-lnsl -ldl -lutil -lpthread -lpam -lstdc++" NETLIB "" "../../SSL/libssl.a ../../SSL/libcrypto.a -lcrypto -lssl -lcrypt -lkssl -lcrypto -lssl" @LIBSSL
---- testing CC capability [clang][-Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 ][] ...
***
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
_.c:2:1: error: C++ requires a type specifier for all declarations
main(){ }
^
1 error generated.
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
---- LD exit(256) clang _.o -lstdc++
***
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
_.c:1:16: error: field has incomplete type 'char []'
struct _S{char A[]; char B[1];}S;
^
_.c:2:1: error: C++ requires a type specifier for all declarations
main(){ }
^
2 errors generated.
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
---- LD exit(256) clang _.o -lstdc++
***
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
_.c:2:1: error: C++ requires a type specifier for all declarations
main(){ }
^
1 error generated.
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
---- LD exit(256) clang _.o -lstdc++
mkmake:
cpyfile[/tmp/delegate/src/delegate9.9.13/filters]: cannot read 'DELEGATE_CONF'
[clang -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 ] NONC99=2, NONAZ0=6 @0011ec079acd
#### [/tmp/delegate/src/delegate9.9.13/filters] creating Makefile.go
cpyfile Makefile[1-0][0-40ae95] > Makefile.go
#ifdef UNIX,OS2EMX ################################################
[SET] MKMAKE=/tmp/delegate/src/delegate9.9.13/mkmake.exe
[SET] RANLIB=/usr/bin/ranlib
- checking availability of -lnsl []
cpyfile[/tmp/delegate/src/delegate9.9.13/filters]: cannot read 'DELEGATE_CONF'
- checking availability of -ldl [-lnsl]
cpyfile[/tmp/delegate/src/delegate9.9.13/filters]: cannot read 'DELEGATE_CONF'
- checking availability of -lutil [-lnsl -ldl]
cpyfile[/tmp/delegate/src/delegate9.9.13/filters]: cannot read 'DELEGATE_CONF'
- checking availability of -lpthread [-lnsl -ldl -lutil]
cpyfile[/tmp/delegate/src/delegate9.9.13/filters]: cannot read 'DELEGATE_CONF'
- checking availability of -lpam [-lnsl -ldl -lutil -lpthread]
cpyfile[/tmp/delegate/src/delegate9.9.13/filters]: cannot read 'DELEGATE_CONF'
- checking availability of -lstdc++ [-lnsl -ldl -lutil -lpthread -lpam]
cpyfile[/tmp/delegate/src/delegate9.9.13/filters]: cannot read 'DELEGATE_CONF'
[SET] NETLIB=-lnsl -ldl -lutil -lpthread -lpam -lstdc++
- checking availability of ../../SSL/libssl.a []
cpyfile[/tmp/delegate/src/delegate9.9.13/filters]: cannot read 'DELEGATE_CONF'
*** -mkmake exit(-1)
- checking availability of ../../SSL/libcrypto.a []
cpyfile[/tmp/delegate/src/delegate9.9.13/filters]: cannot read 'DELEGATE_CONF'
*** -mkmake exit(-1)
- checking availability of -lcrypto []
cpyfile[/tmp/delegate/src/delegate9.9.13/filters]: cannot read 'DELEGATE_CONF'
- checking availability of -lssl [-lcrypto]
cpyfile[/tmp/delegate/src/delegate9.9.13/filters]: cannot read 'DELEGATE_CONF'
- checking availability of -lcrypt [-lcrypto -lssl]
cpyfile[/tmp/delegate/src/delegate9.9.13/filters]: cannot read 'DELEGATE_CONF'
- checking availability of -lkssl [-lcrypto -lssl -lcrypt]
cpyfile[/tmp/delegate/src/delegate9.9.13/filters]: cannot read 'DELEGATE_CONF'
*** -mkmake exit(-1)
- checking availability of -lcrypto [-lcrypto -lssl -lcrypt]
cpyfile[/tmp/delegate/src/delegate9.9.13/filters]: cannot read 'DELEGATE_CONF'
- checking availability of -lssl [-lcrypto -lssl -lcrypt -lcrypto]
cpyfile[/tmp/delegate/src/delegate9.9.13/filters]: cannot read 'DELEGATE_CONF'
[SET] LIBSSL=-lcrypto -lssl -lcrypt -lcrypto -lssl
cpyfile[/tmp/delegate/src/delegate9.9.13/filters]: cannot read 'DELEGATE_CONF'
cpyfile Makefile[0-0][40af38-0] > Makefile.go
#ifdef UNIX,OS2EMX ################################################
/usr/bin/make -f Makefile.go libcfi.a SHELL="/bin/sh" HDRDIR="-I../gen -I../include -Wno-narrowing"
make[4]: Entering directory '/tmp/delegate/src/delegate9.9.13/filters'
../mkcpp dl.c dl.cc
-- mkcpp set time: 1492117248 -> 1404404007 dl.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c dl.cc
dl.cc:124:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( p1 = strrchr(pat1,'*') )
~~~^~~~~~~~~~~~~~~~~~~
dl.cc:124:10: note: place parentheses around the assignment to silence this warning
if( p1 = strrchr(pat1,'*') )
^
( )
dl.cc:124:10: note: use '==' to turn this assignment into an equality comparison
if( p1 = strrchr(pat1,'*') )
^
==
dl.cc:154:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( ldpath = getenv(LDPATHENV) ){
~~~~~~~^~~~~~~~~~~~~~~~~~~
dl.cc:154:13: note: place parentheses around the assignment to silence this warning
if( ldpath = getenv(LDPATHENV) ){
^
( )
dl.cc:154:13: note: use '==' to turn this assignment into an equality comparison
if( ldpath = getenv(LDPATHENV) ){
^
==
dl.cc:228:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( i = 0; pat1 = libpat[i]; i++ ){
~~~~~^~~~~~~~~~~
dl.cc:228:20: note: place parentheses around the assignment to silence this warning
for( i = 0; pat1 = libpat[i]; i++ ){
^
( )
dl.cc:228:20: note: use '==' to turn this assignment into an equality comparison
for( i = 0; pat1 = libpat[i]; i++ ){
^
==
dl.cc:242:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( pat1 = getenv(dlpathe) ){
~~~~~^~~~~~~~~~~~~~~~~
dl.cc:242:11: note: place parentheses around the assignment to silence this warning
if( pat1 = getenv(dlpathe) ){
^
( )
dl.cc:242:11: note: use '==' to turn this assignment into an equality comparison
if( pat1 = getenv(dlpathe) ){
^
==
dl.cc:258:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( i = 0; pat1 = libpat[i]; i++ ){
~~~~~^~~~~~~~~~~
dl.cc:258:19: note: place parentheses around the assignment to silence this warning
for( i = 0; pat1 = libpat[i]; i++ ){
^
( )
dl.cc:258:19: note: use '==' to turn this assignment into an equality comparison
for( i = 0; pat1 = libpat[i]; i++ ){
^
==
dl.cc:287:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( handle = dlopen(xpath,RTLD_NOW) ){
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
dl.cc:287:15: note: place parentheses around the assignment to silence this warning
if( handle = dlopen(xpath,RTLD_NOW) ){
^
( )
dl.cc:287:15: note: use '==' to turn this assignment into an equality comparison
if( handle = dlopen(xpath,RTLD_NOW) ){
^
==
dl.cc:303:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( err = dlerror() ){
~~~~^~~~~~~~~~~
dl.cc:303:12: note: place parentheses around the assignment to silence this warning
if( err = dlerror() ){
^
( )
dl.cc:303:12: note: use '==' to turn this assignment into an equality comparison
if( err = dlerror() ){
^
==
dl.cc:325:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( i = 0; name= dl[i].name; i++ ){
~~~~^~~~~~~~~~~~
dl.cc:325:18: note: place parentheses around the assignment to silence this warning
for( i = 0; name= dl[i].name; i++ ){
^
( )
dl.cc:325:18: note: use '==' to turn this assignment into an equality comparison
for( i = 0; name= dl[i].name; i++ ){
^
==
8 warnings generated.
../mkcpp cfi.c cfi.cc
-- mkcpp set time: 1492117248 -> 1402308712 cfi.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../gen -I../include -Wno-narrowing -c cfi.cc
cfi.cc:255:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( np = name; ch = *np; np++ ){
~~~^~~~~
cfi.cc:255:21: note: place parentheses around the assignment to silence this warning
for( np = name; ch = *np; np++ ){
^
( )
cfi.cc:255:21: note: use '==' to turn this assignment into an equality comparison
for( np = name; ch = *np; np++ ){
^
==
cfi.cc:269:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( sp = spec; sc = *sp; ){
~~~^~~~~
cfi.cc:269:21: note: place parentheses around the assignment to silence this warning
for( sp = spec; sc = *sp; ){
^
( )
cfi.cc:269:21: note: use '==' to turn this assignment into an equality comparison
for( sp = spec; sc = *sp; ){
^
==
cfi.cc:361:20: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( *np == '.' && (np[1]=='\r' || np[1] == '\n')
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cfi.cc:361:20: note: place parentheses around the '&&' expression to silence this warning
if( *np == '.' && (np[1]=='\r' || np[1] == '\n')
^
( )
cfi.cc:362:34: warning: '&&' within '||' [-Wlogical-op-parentheses]
|| *np == '-' && np[1]=='-' && (np[2]=='\r'||np[2]=='\n')
~~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cfi.cc:362:34: note: place parentheses around the '&&' expression to silence this warning
|| *np == '-' && np[1]=='-' && (np[2]=='\r'||np[2]=='\n')
^
( )
cfi.cc:446:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( vp = getFieldValue(spec,field,value,size) )
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cfi.cc:446:9: note: place parentheses around the assignment to silence this warning
if( vp = getFieldValue(spec,field,value,size) )
^
( )
cfi.cc:446:9: note: use '==' to turn this assignment into an equality comparison
if( vp = getFieldValue(spec,field,value,size) )
^
==
cfi.cc:450:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( vp = getFieldValue(spec,field,value,size) )
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cfi.cc:450:9: note: place parentheses around the assignment to silence this warning
if( vp = getFieldValue(spec,field,value,size) )
^
( )
cfi.cc:450:9: note: use '==' to turn this assignment into an equality comparison
if( vp = getFieldValue(spec,field,value,size) )
^
==
cfi.cc:466:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( sp = fvalue; sc = *sp; sp++ ){
~~~^~~~~
cfi.cc:466:23: note: place parentheses around the assignment to silence this warning
for( sp = fvalue; sc = *sp; sp++ ){
^
( )
cfi.cc:466:23: note: use '==' to turn this assignment into an equality comparison
for( sp = fvalue; sc = *sp; sp++ ){
^
==
cfi.cc:667:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( crlf = strpbrk(statline,"\r\n") )
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
cfi.cc:667:14: note: place parentheses around the assignment to silence this warning
if( crlf = strpbrk(statline,"\r\n") )
^
( )
cfi.cc:667:14: note: use '==' to turn this assignment into an equality comparison
if( crlf = strpbrk(statline,"\r\n") )
^
==
8 warnings generated.
../mkcpp cafe.c cafe.cc
-- mkcpp set time: 1492117248 -> 1264837825 cafe.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c cafe.cc
cafe.cc:158:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( dp = dir; dc = *dp; dp++ ){
~~~^~~~~
cafe.cc:158:21: note: place parentheses around the assignment to silence this warning
for( dp = dir; dc = *dp; dp++ ){
^
( )
cafe.cc:158:21: note: use '==' to turn this assignment into an equality comparison
for( dp = dir; dc = *dp; dp++ ){
^
==
cafe.cc:189:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = strrchr(xpath,'/') )
~~~^~~~~~~~~~~~~~~~~~~~
cafe.cc:189:10: note: place parentheses around the assignment to silence this warning
if( dp = strrchr(xpath,'/') )
^
( )
cafe.cc:189:10: note: use '==' to turn this assignment into an equality comparison
if( dp = strrchr(xpath,'/') )
^
==
cafe.cc:294:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( ix = 0; dev1 = ICs[ix].ic_dev; ix++ ){
~~~~~^~~~~~~~~~~~~~~~
cafe.cc:294:20: note: place parentheses around the assignment to silence this warning
for( ix = 0; dev1 = ICs[ix].ic_dev; ix++ ){
^
( )
cafe.cc:294:20: note: use '==' to turn this assignment into an equality comparison
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]
if( diff = (*i1)->i_atime - (*i2)->i_atime )
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cafe.cc:420:11: note: place parentheses around the assignment to silence this warning
if( diff = (*i1)->i_atime - (*i2)->i_atime )
^
( )
cafe.cc:420:11: note: use '==' to turn this assignment into an equality comparison
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]
if( diff = (*i2)->i_blks - (*i1)->i_blks )
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cafe.cc:422:11: note: place parentheses around the assignment to silence this warning
if( diff = (*i2)->i_blks - (*i1)->i_blks )
^
( )
cafe.cc:422:11: note: use '==' to turn this assignment into an equality comparison
if( diff = (*i2)->i_blks - (*i1)->i_blks )
^
==
cafe.cc:568:38: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( file[1] == 0 || file[1] == '.' && file[2] == 0 )
~~ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
cafe.cc:568:38: note: place parentheses around the '&&' expression to silence this warning
if( file[1] == 0 || file[1] == '.' && file[2] == 0 )
^
( )
cafe.cc:612:3: warning: add explicit braces to avoid dangling else [-Wdangling-else]
else match = 0;
^
cafe.cc:629:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( np = strrpbrk(file,"/") ){
~~~^~~~~~~~~~~~~~~~~~~~
cafe.cc:629:10: note: place parentheses around the assignment to silence this warning
if( np = strrpbrk(file,"/") ){
^
( )
cafe.cc:629:10: note: use '==' to turn this assignment into an equality comparison
if( np = strrpbrk(file,"/") ){
^
==
cafe.cc:658:12: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( match && (F_PRINT || F_LSFORM)
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
cafe.cc:658:12: note: place parentheses around the '&&' expression to silence this warning
if( match && (F_PRINT || F_LSFORM)
^
( )
cafe.cc:659:16: warning: '&&' within '||' [-Wlogical-op-parentheses]
|| da->d_top && !F_REMOVE
~~ ~~~~~~~~~~^~~~~~~~~~~~
cafe.cc:659:16: note: place parentheses around the '&&' expression to silence this warning
|| da->d_top && !F_REMOVE
^
( )
cafe.cc:660:12: warning: '&&' within '||' [-Wlogical-op-parentheses]
|| isdir && F_DIR
~~ ~~~~~~^~~~~~~~
cafe.cc:660:12: note: place parentheses around the '&&' expression to silence this warning
|| isdir && F_DIR
^
( )
11 warnings generated.
../mkcpp backup.c backup.cc
-- mkcpp set time: 1492117248 -> 1250403944 backup.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c backup.cc
backup.cc:99:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( sfp = fopen(src,"r") ){
~~~~^~~~~~~~~~~~~~~~
backup.cc:99:11: note: place parentheses around the assignment to silence this warning
if( sfp = fopen(src,"r") ){
^
( )
backup.cc:99:11: note: use '==' to turn this assignment into an equality comparison
if( sfp = fopen(src,"r") ){
^
==
backup.cc:134:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( sp = strpbrk(src1,"\r\n") )
~~~^~~~~~~~~~~~~~~~~~~~~~
backup.cc:134:10: note: place parentheses around the assignment to silence this warning
if( sp = strpbrk(src1,"\r\n") )
^
( )
backup.cc:134:10: note: use '==' to turn this assignment into an equality comparison
if( sp = strpbrk(src1,"\r\n") )
^
==
2 warnings generated.
../mkcpp dping.c dping.cc
-- mkcpp set time: 1492117248 -> 1252611850 dping.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c dping.cc
dping.cc:28:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( oi = 0; oc = outstr[oi]; oi++ ){
~~~^~~~~~~~~~~~
dping.cc:28:18: note: place parentheses around the assignment to silence this warning
for( oi = 0; oc = outstr[oi]; oi++ ){
^
( )
dping.cc:28:18: note: use '==' to turn this assignment into an equality comparison
for( oi = 0; oc = outstr[oi]; oi++ ){
^
==
1 warning generated.
../mkcpp swft.c swft.cc
-- mkcpp set time: 1492117249 -> 1275003927 swft.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c swft.cc
swft.cc:109:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( rp = swf->s_path_base ){
~~~^~~~~~~~~~~~~~~~~~
swft.cc:109:10: note: place parentheses around the assignment to silence this warning
if( rp = swf->s_path_base ){
^
( )
swft.cc:109:10: note: use '==' to turn this assignment into an equality comparison
if( rp = swf->s_path_base ){
^
==
1 warning generated.
../mkcpp pdft.c pdft.cc
-- mkcpp set time: 1492117249 -> 1264838187 pdft.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c pdft.cc
pdft.cc:361:28: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( inText && (ch < 0x20&&!isspace(ch) || 0x7F <= ch) ){
~~~~~~~~~^~~~~~~~~~~~~~ ~~
pdft.cc:361:28: note: place parentheses around the '&&' expression to silence this warning
if( inText && (ch < 0x20&&!isspace(ch) || 0x7F <= ch) ){
^
( )
pdft.cc:507:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( sp = str; ch = *sp; sp++ ){
~~~^~~~~
pdft.cc:507:20: note: place parentheses around the assignment to silence this warning
for( sp = str; ch = *sp; sp++ ){
^
( )
pdft.cc:507:20: note: use '==' to turn this assignment into an equality comparison
for( sp = str; ch = *sp; sp++ ){
^
==
pdft.cc:603:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( sp = str; ch = *sp; sp++ )
~~~^~~~~
pdft.cc:603:20: note: place parentheses around the assignment to silence this warning
for( sp = str; ch = *sp; sp++ )
^
( )
pdft.cc:603:20: note: use '==' to turn this assignment into an equality comparison
for( sp = str; ch = *sp; sp++ )
^
==
pdft.cc:792:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( sp = strstr(line,"/P ") ){
~~~^~~~~~~~~~~~~~~~~~~~
pdft.cc:792:10: note: place parentheses around the assignment to silence this warning
if( sp = strstr(line,"/P ") ){
^
( )
pdft.cc:792:10: note: use '==' to turn this assignment into an equality comparison
if( sp = strstr(line,"/P ") ){
^
==
pdft.cc:794:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( sp = strstr(line,"/ID[<") ){
~~~^~~~~~~~~~~~~~~~~~~~~~
pdft.cc:794:10: note: place parentheses around the assignment to silence this warning
if( sp = strstr(line,"/ID[<") ){
^
( )
pdft.cc:794:10: note: use '==' to turn this assignment into an equality comparison
if( sp = strstr(line,"/ID[<") ){
^
==
pdft.cc:814:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( sp = strstr(pdf->p_objsrc,"/O") ){
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
pdft.cc:814:9: note: place parentheses around the assignment to silence this warning
if( sp = strstr(pdf->p_objsrc,"/O") ){
^
( )
pdft.cc:814:9: note: use '==' to turn this assignment into an equality comparison
if( sp = strstr(pdf->p_objsrc,"/O") ){
^
==
pdft.cc:821:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( sp = strstr(pdf->p_objsrc,"/U") ){
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
pdft.cc:821:9: note: place parentheses around the assignment to silence this warning
if( sp = strstr(pdf->p_objsrc,"/U") ){
^
( )
pdft.cc:821:9: note: use '==' to turn this assignment into an equality comparison
if( sp = strstr(pdf->p_objsrc,"/U") ){
^
==
pdft.cc:827:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( sp = strstr(pdf->p_objsrc,"/V") ){
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
pdft.cc:827:9: note: place parentheses around the assignment to silence this warning
if( sp = strstr(pdf->p_objsrc,"/V") ){
^
( )
pdft.cc:827:9: note: use '==' to turn this assignment into an equality comparison
if( sp = strstr(pdf->p_objsrc,"/V") ){
^
==
pdft.cc:830:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( sp = strstr(pdf->p_objsrc,"/R") ){
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
pdft.cc:830:9: note: place parentheses around the assignment to silence this warning
if( sp = strstr(pdf->p_objsrc,"/R") ){
^
( )
pdft.cc:830:9: note: use '==' to turn this assignment into an equality comparison
if( sp = strstr(pdf->p_objsrc,"/R") ){
^
==
pdft.cc:833:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( sp = strstr(pdf->p_objsrc,"/P") ){
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
pdft.cc:833:9: note: place parentheses around the assignment to silence this warning
if( sp = strstr(pdf->p_objsrc,"/P") ){
^
( )
pdft.cc:833:9: note: use '==' to turn this assignment into an equality comparison
if( sp = strstr(pdf->p_objsrc,"/P") ){
^
==
pdft.cc:836:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( sp = strstr(pdf->p_objsrc,"/Length") ){
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pdft.cc:836:9: note: place parentheses around the assignment to silence this warning
if( sp = strstr(pdf->p_objsrc,"/Length") ){
^
( )
pdft.cc:836:9: note: use '==' to turn this assignment into an equality comparison
if( sp = strstr(pdf->p_objsrc,"/Length") ){
^
==
pdft.cc:1042:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( sp = strstr(token,"/FlateDecode") ){
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pdft.cc:1042:10: note: place parentheses around the assignment to silence this warning
if( sp = strstr(token,"/FlateDecode") ){
^
( )
pdft.cc:1042:10: note: use '==' to turn this assignment into an equality comparison
if( sp = strstr(token,"/FlateDecode") ){
^
==
pdft.cc:1088:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( sp = strstr(token,"stream") ){
~~~^~~~~~~~~~~~~~~~~~~~~~~~
pdft.cc:1088:10: note: place parentheses around the assignment to silence this warning
if( sp = strstr(token,"stream") ){
^
( )
pdft.cc:1088:10: note: use '==' to turn this assignment into an equality comparison
if( sp = strstr(token,"stream") ){
^
==
13 warnings generated.
./mkstab < sslway.c > sslway_dl.c
../mkcpp sslway_dl.c sslway_dl.cc
-- mkcpp set time: 1492117250 -> 1492117250 sslway_dl.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c sslway_dl.cc
sslway_dl.cc:680:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( op = strstr(val,"wait") ){
~~~^~~~~~~~~~~~~~~~~~~~
sslway_dl.cc:680:10: note: place parentheses around the assignment to silence this warning
if( op = strstr(val,"wait") ){
^
( )
sslway_dl.cc:680:10: note: use '==' to turn this assignment into an equality comparison
if( op = strstr(val,"wait") ){
^
==
sslway_dl.cc:851:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( env = getenv("CFI_IDENT") ){
~~~~^~~~~~~~~~~~~~~~~~~~~
sslway_dl.cc:851:10: note: place parentheses around the assignment to silence this warning
if( env = getenv("CFI_IDENT") ){
^
( )
sslway_dl.cc:851:10: note: use '==' to turn this assignment into an equality comparison
if( env = getenv("CFI_IDENT") ){
^
==
sslway_dl.cc:854:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( fp = fdopen(dup(fd),"w") ){
~~~^~~~~~~~~~~~~~~~~~~~~
sslway_dl.cc:854:11: note: place parentheses around the assignment to silence this warning
if( fp = fdopen(dup(fd),"w") ){
^
( )
sslway_dl.cc:854:11: note: use '==' to turn this assignment into an equality comparison
if( fp = fdopen(dup(fd),"w") ){
^
==
sslway_dl.cc:873:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( peer = SSL_get_peer_certificate(ssl) ){
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sslway_dl.cc:873:11: note: place parentheses around the assignment to silence this warning
if( peer = SSL_get_peer_certificate(ssl) ){
^
( )
sslway_dl.cc:873:11: note: use '==' to turn this assignment into an equality comparison
if( peer = SSL_get_peer_certificate(ssl) ){
^
==
sslway_dl.cc:883:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = (char*)strcasestr(sb,"/emailAddress=") )
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sslway_dl.cc:883:10: note: place parentheses around the assignment to silence this warning
if( dp = (char*)strcasestr(sb,"/emailAddress=") )
^
( )
sslway_dl.cc:883:10: note: use '==' to turn this assignment into an equality comparison
if( dp = (char*)strcasestr(sb,"/emailAddress=") )
^
==
sslway_dl.cc:886:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = (char*)strcasestr(sb,"/email=") )
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sslway_dl.cc:886:10: note: place parentheses around the assignment to silence this warning
if( dp = (char*)strcasestr(sb,"/email=") )
^
( )
sslway_dl.cc:886:10: note: use '==' to turn this assignment into an equality comparison
if( dp = (char*)strcasestr(sb,"/email=") )
^
==
sslway_dl.cc:913:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while( code = ERR_get_error() ){
~~~~~^~~~~~~~~~~~~~~~~
sslway_dl.cc:913:15: note: place parentheses around the assignment to silence this warning
while( code = ERR_get_error() ){
^
( )
sslway_dl.cc:913:15: note: use '==' to turn this assignment into an equality comparison
while( code = ERR_get_error() ){
^
==
sslway_dl.cc:934:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( sc = SSL_get_current_cipher(ssl) ){
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sslway_dl.cc:934:9: note: place parentheses around the assignment to silence this warning
if( sc = SSL_get_current_cipher(ssl) ){
^
( )
sslway_dl.cc:934:9: note: use '==' to turn this assignment into an equality comparison
if( sc = SSL_get_current_cipher(ssl) ){
^
==
sslway_dl.cc:935:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( descp = SSL_CIPHER_description(sc,desc,sizeof(desc)) ){
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sslway_dl.cc:935:13: note: place parentheses around the assignment to silence this warning
if( descp = SSL_CIPHER_description(sc,desc,sizeof(desc)) ){
^
( )
sslway_dl.cc:935:13: note: use '==' to turn this assignment into an equality comparison
if( descp = SSL_CIPHER_description(sc,desc,sizeof(desc)) ){
^
==
sslway_dl.cc:1018:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = strtailstr(xpath,".pem") ){
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
sslway_dl.cc:1018:10: note: place parentheses around the assignment to silence this warning
if( dp = strtailstr(xpath,".pem") ){
^
( )
sslway_dl.cc:1018:10: note: use '==' to turn this assignment into an equality comparison
if( dp = strtailstr(xpath,".pem") ){
^
==
sslway_dl.cc:1184:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( sslver = serv ? cl_sslver : sv_sslver ){
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sslway_dl.cc:1184:13: note: place parentheses around the assignment to silence this warning
if( sslver = serv ? cl_sslver : sv_sslver ){
^
( )
sslway_dl.cc:1184:13: note: use '==' to turn this assignment into an equality comparison
if( sslver = serv ? cl_sslver : sv_sslver ){
^
==
sslway_dl.cc:1219:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( sslnover = serv ? cl_sslnover : sv_sslnover ){
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sslway_dl.cc:1219:15: note: place parentheses around the assignment to silence this warning
if( sslnover = serv ? cl_sslnover : sv_sslnover ){
^
( )
sslway_dl.cc:1219:15: note: use '==' to turn this assignment into an equality comparison
if( sslnover = serv ? cl_sslnover : sv_sslnover ){
^
==
sslway_dl.cc:1237:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = strrpbrk(passfile,"/\\") )
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
sslway_dl.cc:1237:10: note: place parentheses around the assignment to silence this warning
if( dp = strrpbrk(passfile,"/\\") )
^
( )
sslway_dl.cc:1237:10: note: use '==' to turn this assignment into an equality comparison
if( dp = strrpbrk(passfile,"/\\") )
^
==
sslway_dl.cc:1256:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = strpbrk(line,"\r\n") )
~~~^~~~~~~~~~~~~~~~~~~~~~
sslway_dl.cc:1256:9: note: place parentheses around the assignment to silence this warning
if( dp = strpbrk(line,"\r\n") )
^
( )
sslway_dl.cc:1256:9: note: use '==' to turn this assignment into an equality comparison
if( dp = strpbrk(line,"\r\n") )
^
==
sslway_dl.cc:1290:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( env = getenv("REMOTE_ADDR") ){
~~~~^~~~~~~~~~~~~~~~~~~~~~~
sslway_dl.cc:1290:10: note: place parentheses around the assignment to silence this warning
if( env = getenv("REMOTE_ADDR") ){
^
( )
sslway_dl.cc:1290:10: note: use '==' to turn this assignment into an equality comparison
if( env = getenv("REMOTE_ADDR") ){
^
==
sslway_dl.cc:1293:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( env = getenv("SERVER_ADDR") ){
~~~~^~~~~~~~~~~~~~~~~~~~~~~
sslway_dl.cc:1293:10: note: place parentheses around the assignment to silence this warning
if( env = getenv("SERVER_ADDR") ){
^
( )
sslway_dl.cc:1293:10: note: use '==' to turn this assignment into an equality comparison
if( env = getenv("SERVER_ADDR") ){
^
==
sslway_dl.cc:1333:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( cert = SSL_get_certificate(ssl) ){
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
sslway_dl.cc:1333:11: note: place parentheses around the assignment to silence this warning
if( cert = SSL_get_certificate(ssl) ){
^
( )
sslway_dl.cc:1333:11: note: use '==' to turn this assignment into an equality comparison
if( cert = SSL_get_certificate(ssl) ){
^
==
sslway_dl.cc:1405:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = strchr(fid,'\n') )
~~~^~~~~~~~~~~~~~~~~~
sslway_dl.cc:1405:9: note: place parentheses around the assignment to silence this warning
if( dp = strchr(fid,'\n') )
^
( )
sslway_dl.cc:1405:9: note: use '==' to turn this assignment into an equality comparison
if( dp = strchr(fid,'\n') )
^
==
sslway_dl.cc:1636:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( lkfp = CFI_LockFp() ){
~~~~~^~~~~~~~~~~~~~
sslway_dl.cc:1636:11: note: place parentheses around the assignment to silence this warning
if( lkfp = CFI_LockFp() ){
^
( )
sslway_dl.cc:1636:11: note: use '==' to turn this assignment into an equality comparison
if( lkfp = CFI_LockFp() ){
^
==
sslway_dl.cc:1811:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( lkfp = CFI_LockFp() ){
~~~~~^~~~~~~~~~~~~~
sslway_dl.cc:1811:11: note: place parentheses around the assignment to silence this warning
if( lkfp = CFI_LockFp() ){
^
( )
sslway_dl.cc:1811:11: note: use '==' to turn this assignment into an equality comparison
if( lkfp = CFI_LockFp() ){
^
==
sslway_dl.cc:1814:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( fp = CFI_fopenShared("r+") ){
~~~^~~~~~~~~~~~~~~~~~~~~~~
sslway_dl.cc:1814:10: note: place parentheses around the assignment to silence this warning
if( fp = CFI_fopenShared("r+") ){
^
( )
sslway_dl.cc:1814:10: note: use '==' to turn this assignment into an equality comparison
if( fp = CFI_fopenShared("r+") ){
^
==
sslway_dl.cc:1865:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( yp = strrchr(ykeyfile,'.') ){
~~~^~~~~~~~~~~~~~~~~~~~~~~
sslway_dl.cc:1865:10: note: place parentheses around the assignment to silence this warning
if( yp = strrchr(ykeyfile,'.') ){
^
( )
sslway_dl.cc:1865:10: note: use '==' to turn this assignment into an equality comparison
if( yp = strrchr(ykeyfile,'.') ){
^
==
sslway_dl.cc:1872:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = strrchr(keyfile,'.') ){
~~~^~~~~~~~~~~~~~~~~~~~~~
sslway_dl.cc:1872:9: note: place parentheses around the assignment to silence this warning
if( dp = strrchr(keyfile,'.') ){
^
( )
sslway_dl.cc:1872:9: note: use '==' to turn this assignment into an equality comparison
if( dp = strrchr(keyfile,'.') ){
^
==
sslway_dl.cc:2128:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( Bp = BIO_new_file(path,"r") ){
~~~^~~~~~~~~~~~~~~~~~~~~~~~
sslway_dl.cc:2128:10: note: place parentheses around the assignment to silence this warning
if( Bp = BIO_new_file(path,"r") ){
^
( )
sslway_dl.cc:2128:10: note: use '==' to turn this assignment into an equality comparison
if( Bp = BIO_new_file(path,"r") ){
^
==
sslway_dl.cc:2129:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dh = PEM_read_bio_DHparams(Bp,NULL,NULL,NULL) ){
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sslway_dl.cc:2129:11: note: place parentheses around the assignment to silence this warning
if( dh = PEM_read_bio_DHparams(Bp,NULL,NULL,NULL) ){
^
( )
sslway_dl.cc:2129:11: note: use '==' to turn this assignment into an equality comparison
if( dh = PEM_read_bio_DHparams(Bp,NULL,NULL,NULL) ){
^
==
sslway_dl.cc:2300:13: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( do_acc && 0 <= sv || do_con && 0 <= cl )
~~~~~~~^~~~~~~~~~ ~~
sslway_dl.cc:2300:13: note: place parentheses around the '&&' expression to silence this warning
if( do_acc && 0 <= sv || do_con && 0 <= cl )
^
( )
sslway_dl.cc:2300:34: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( do_acc && 0 <= sv || do_con && 0 <= cl )
~~ ~~~~~~~^~~~~~~~~~
sslway_dl.cc:2300:34: note: place parentheses around the '&&' expression to silence this warning
if( do_acc && 0 <= sv || do_con && 0 <= cl )
^
( )
sslway_dl.cc:2562:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = strpbrk(buf,"\r\n") )
~~~^~~~~~~~~~~~~~~~~~~~~
sslway_dl.cc:2562:10: note: place parentheses around the assignment to silence this warning
if( dp = strpbrk(buf,"\r\n") )
^
( )
sslway_dl.cc:2562:10: note: use '==' to turn this assignment into an equality comparison
if( dp = strpbrk(buf,"\r\n") )
^
==
sslway_dl.cc:2681:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = strpbrk(buf,"\r\n") )
~~~^~~~~~~~~~~~~~~~~~~~~
sslway_dl.cc:2681:10: note: place parentheses around the assignment to silence this warning
if( dp = strpbrk(buf,"\r\n") )
^
( )
sslway_dl.cc:2681:10: note: use '==' to turn this assignment into an equality comparison
if( dp = strpbrk(buf,"\r\n") )
^
==
sslway_dl.cc:3060:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( env = getenv("CFI_FILTER_ID") )
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
sslway_dl.cc:3060:10: note: place parentheses around the assignment to silence this warning
if( env = getenv("CFI_FILTER_ID") )
^
( )
sslway_dl.cc:3060:10: note: use '==' to turn this assignment into an equality comparison
if( env = getenv("CFI_FILTER_ID") )
^
==
sslway_dl.cc:3069:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( env = getenv("CFI_TYPE") ){
~~~~^~~~~~~~~~~~~~~~~~~~
sslway_dl.cc:3069:10: note: place parentheses around the assignment to silence this warning
if( env = getenv("CFI_TYPE") ){
^
( )
sslway_dl.cc:3069:10: note: use '==' to turn this assignment into an equality comparison
if( env = getenv("CFI_TYPE") ){
^
==
sslway_dl.cc:3079:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( env = getenv("CFI_STAT") ){
~~~~^~~~~~~~~~~~~~~~~~~~
sslway_dl.cc:3079:10: note: place parentheses around the assignment to silence this warning
if( env = getenv("CFI_STAT") ){
^
( )
sslway_dl.cc:3079:10: note: use '==' to turn this assignment into an equality comparison
if( env = getenv("CFI_STAT") ){
^
==
sslway_dl.cc:3086:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( env = getenv("CFI_SYNC") ){
~~~~^~~~~~~~~~~~~~~~~~~~
sslway_dl.cc:3086:10: note: place parentheses around the assignment to silence this warning
if( env = getenv("CFI_SYNC") ){
^
( )
sslway_dl.cc:3086:10: note: use '==' to turn this assignment into an equality comparison
if( env = getenv("CFI_SYNC") ){
^
==
sslway_dl.cc:3093:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( env = GetEnv("SSL_KEY_PASSWD") )
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
sslway_dl.cc:3093:10: note: place parentheses around the assignment to silence this warning
if( env = GetEnv("SSL_KEY_PASSWD") )
^
( )
sslway_dl.cc:3093:10: note: use '==' to turn this assignment into an equality comparison
if( env = GetEnv("SSL_KEY_PASSWD") )
^
==
sslway_dl.cc:3095:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( env = GetEnv("SSL_CLIENT_KEY_PASSWD") )
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sslway_dl.cc:3095:10: note: place parentheses around the assignment to silence this warning
if( env = GetEnv("SSL_CLIENT_KEY_PASSWD") )
^
( )
sslway_dl.cc:3095:10: note: use '==' to turn this assignment into an equality comparison
if( env = GetEnv("SSL_CLIENT_KEY_PASSWD") )
^
==
sslway_dl.cc:3097:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( env = GetEnv("SSL_SERVER_KEY_PASSWD") )
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sslway_dl.cc:3097:10: note: place parentheses around the assignment to silence this warning
if( env = GetEnv("SSL_SERVER_KEY_PASSWD") )
^
( )
sslway_dl.cc:3097:10: note: use '==' to turn this assignment into an equality comparison
if( env = GetEnv("SSL_SERVER_KEY_PASSWD") )
^
==
sslway_dl.cc:3114:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( env = GetEnv("SSL_CIPHER") ) cipher_list = env;
~~~~^~~~~~~~~~~~~~~~~~~~~~
sslway_dl.cc:3114:10: note: place parentheses around the assignment to silence this warning
if( env = GetEnv("SSL_CIPHER") ) cipher_list = env;
^
( )
sslway_dl.cc:3114:10: note: use '==' to turn this assignment into an equality comparison
if( env = GetEnv("SSL_CIPHER") ) cipher_list = env;
^
==
sslway_dl.cc:3116:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( env = GetEnv("SSL_CERT_FILE") )
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
sslway_dl.cc:3116:10: note: place parentheses around the assignment to silence this warning
if( env = GetEnv("SSL_CERT_FILE") )
^
( )
sslway_dl.cc:3116:10: note: use '==' to turn this assignment into an equality comparison
if( env = GetEnv("SSL_CERT_FILE") )
^
==
sslway_dl.cc:3119:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( env = GetEnv("SSL_SERVER_KEY_FILE" ) ) sv_key = env;
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sslway_dl.cc:3119:10: note: place parentheses around the assignment to silence this warning
if( env = GetEnv("SSL_SERVER_KEY_FILE" ) ) sv_key = env;
^
( )
sslway_dl.cc:3119:10: note: use '==' to turn this assignment into an equality comparison
if( env = GetEnv("SSL_SERVER_KEY_FILE" ) ) sv_key = env;
^
==
sslway_dl.cc:3120:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( env = GetEnv("SSL_SERVER_CERT_FILE") ) sv_cert = env;
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sslway_dl.cc:3120:10: note: place parentheses around the assignment to silence this warning
if( env = GetEnv("SSL_SERVER_CERT_FILE") ) sv_cert = env;
^
( )
sslway_dl.cc:3120:10: note: use '==' to turn this assignment into an equality comparison
if( env = GetEnv("SSL_SERVER_CERT_FILE") ) sv_cert = env;
^
==
sslway_dl.cc:3122:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( env = GetEnv("SSL_CLIENT_KEY_FILE" ) ) cl_key = env;
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sslway_dl.cc:3122:10: note: place parentheses around the assignment to silence this warning
if( env = GetEnv("SSL_CLIENT_KEY_FILE" ) ) cl_key = env;
^
( )
sslway_dl.cc:3122:10: note: use '==' to turn this assignment into an equality comparison
if( env = GetEnv("SSL_CLIENT_KEY_FILE" ) ) cl_key = env;
^
==
sslway_dl.cc:3123:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( env = GetEnv("SSL_CLIENT_CERT_FILE") ) cl_cert = env;
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sslway_dl.cc:3123:10: note: place parentheses around the assignment to silence this warning
if( env = GetEnv("SSL_CLIENT_CERT_FILE") ) cl_cert = env;
^
( )
sslway_dl.cc:3123:10: note: use '==' to turn this assignment into an equality comparison
if( env = GetEnv("SSL_CLIENT_CERT_FILE") ) cl_cert = env;
^
==
sslway_dl.cc:3299:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( do_acc = do_accSSL ){
~~~~~~~^~~~~~~~~~~
sslway_dl.cc:3299:13: note: place parentheses around the assignment to silence this warning
if( do_acc = do_accSSL ){
^
( )
sslway_dl.cc:3299:13: note: use '==' to turn this assignment into an equality comparison
if( do_acc = do_accSSL ){
^
==
sslway_dl.cc:3303:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( do_con = do_conSSL ){
~~~~~~~^~~~~~~~~~~
sslway_dl.cc:3303:13: note: place parentheses around the assignment to silence this warning
if( do_con = do_conSSL ){
^
( )
sslway_dl.cc:3303:13: note: use '==' to turn this assignment into an equality comparison
if( do_con = do_conSSL ){
^
==
sslway_dl.cc:3343:16: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( do_conSSL && do_conSTLS || do_accSSL && do_accSTLS ){
~~~~~~~~~~^~~~~~~~~~~~~ ~~
sslway_dl.cc:3343:16: note: place parentheses around the '&&' expression to silence this warning
if( do_conSSL && do_conSTLS || do_accSSL && do_accSTLS ){
~~~~~~~~~~^~~~~~~~~~~~~
sslway_dl.cc:3343:43: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( do_conSSL && do_conSTLS || do_accSSL && do_accSTLS ){
~~ ~~~~~~~~~~^~~~~~~~~~~~~
sslway_dl.cc:3343:43: note: place parentheses around the '&&' expression to silence this warning
if( do_conSSL && do_conSTLS || do_accSSL && do_accSTLS ){
~~~~~~~~~~^~~~~~~~~~~~~
sslway_dl.cc:3642:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( ok = sslway_dl0() ){
~~~^~~~~~~~~~~~~~
sslway_dl.cc:3642:9: note: place parentheses around the assignment to silence this warning
if( ok = sslway_dl0() ){
^
( )
sslway_dl.cc:3642:9: note: use '==' to turn this assignment into an equality comparison
if( ok = sslway_dl0() ){
^
==
47 warnings generated.
./mkstab < gzip.c > gzip_dl.c
../mkcpp gzip_dl.c gzip_dl.cc
-- mkcpp set time: 1492117251 -> 1492117251 gzip_dl.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c gzip_dl.cc
gzip_dl.cc:253:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( sock = SocketOf(fd) ){
~~~~~^~~~~~~~~~~~~~
gzip_dl.cc:253:11: note: place parentheses around the assignment to silence this warning
if( sock = SocketOf(fd) ){
^
( )
gzip_dl.cc:253:11: note: use '==' to turn this assignment into an equality comparison
if( sock = SocketOf(fd) ){
^
==
gzip_dl.cc:451:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( _gzfuncs = (GZFUNCS)mydlsym("gzfuncs") ){
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gzip_dl.cc:451:16: note: place parentheses around the assignment to silence this warning
if( _gzfuncs = (GZFUNCS)mydlsym("gzfuncs") ){
^
( )
gzip_dl.cc:451:16: note: use '==' to turn this assignment into an equality comparison
if( _gzfuncs = (GZFUNCS)mydlsym("gzfuncs") ){
^
==
gzip_dl.cc:754:16: warning: '&&' within '||' [-Wlogical-op-parentheses]
|| 4 < gi && 5 < Time()-Prevf
~~ ~~~~~~~^~~~~~~~~~~~~~~~~~~
gzip_dl.cc:754:16: note: place parentheses around the '&&' expression to silence this warning
|| 4 < gi && 5 < Time()-Prevf
^
( )
gzip_dl.cc:961:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( ready = inputReady(fd,&rd) ){
~~~~~~^~~~~~~~~~~~~~~~~~~~
gzip_dl.cc:961:14: note: place parentheses around the assignment to silence this warning
if( ready = inputReady(fd,&rd) ){
^
( )
gzip_dl.cc:961:14: note: use '==' to turn this assignment into an equality comparison
if( ready = inputReady(fd,&rd) ){
^
==
gzip_dl.cc:965:5: warning: add explicit braces to avoid dangling else [-Wdangling-else]
}else{
^
5 warnings generated.
./mkstab < regex.c > regex_dl.c
../mkcpp regex_dl.c regex_dl.cc
-- mkcpp set time: 1492117251 -> 1492117251 regex_dl.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c regex_dl.cc
./mkstab < m17nccx.c > m17nccx_dl.c
../mkcpp m17nccx_dl.c m17nccx_dl.cc
-- mkcpp set time: 1492117251 -> 1492117251 m17nccx_dl.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c m17nccx_dl.cc
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 regex_dl.o m17nccx_dl.o
/usr/bin/ranlib libcfi.a
make[4]: Leaving directory '/tmp/delegate/src/delegate9.9.13/filters'
make[3]: Leaving directory '/tmp/delegate/src/delegate9.9.13/filters'
**[0] move ../filters/libcfi.a to ../lib/libcfi.a
"/tmp/delegate/src/delegate9.9.13/mkmake.exe" -makeat ../lib/libfsx.a ../fsx libfsx.a "make" libx MAKE="make" SHELL="/bin/sh" CC="clang" HDRDIR="-I../gen -I../include -Wno-narrowing" RANLIB="/usr/bin/ranlib" LDFLAGS=" -L../lib" LIBDIR="-L../lib" NETLIB="-lnsl -ldl -lutil -lpthread -lpam -lstdc++" AR="ar" TAR="tar" CFLAGS="-Wno-narrowing -x c++ -DQS -DNONC99=3 "
---- testing CC capability [clang][-Wno-narrowing -x c++ -DQS -DNONC99=3 ][] ...
***
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 _.c
_.c:2:1: error: C++ requires a type specifier for all declarations
main(){ }
^
1 error generated.
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 _.c
---- LD exit(256) clang _.o -lstdc++
***
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 _.c
_.c:1:16: error: field has incomplete type 'char []'
struct _S{char A[]; char B[1];}S;
^
_.c:2:1: error: C++ requires a type specifier for all declarations
main(){ }
^
2 errors generated.
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 _.c
---- LD exit(256) clang _.o -lstdc++
***
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 _.c
_.c:2:1: error: C++ requires a type specifier for all declarations
main(){ }
^
1 error generated.
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 _.c
---- LD exit(256) clang _.o -lstdc++
[clang -c -Wno-narrowing -x c++ -DQS -DNONC99=3 ] NONC99=2, NONAZ0=6 @0011ec079acd
####### -makeat: /tmp/delegate/src/delegate9.9.13/fsx @0011ec079acd
make[3]: Entering directory '/tmp/delegate/src/delegate9.9.13/fsx'
"/tmp/delegate/src/delegate9.9.13/mkmake.exe" -cksum Makefile any2fdif.c
"/tmp/delegate/src/delegate9.9.13/mkmake.exe" -mkmake "/usr/bin/make" Makefile.go "clang" "-Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 " "" "-L../lib" "/usr/bin/ranlib" "-lnsl -ldl -lutil -lpthread -lpam -lstdc++" NETLIB
---- testing CC capability [clang][-Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 ][] ...
***
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
_.c:2:1: error: C++ requires a type specifier for all declarations
main(){ }
^
1 error generated.
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
---- LD exit(256) clang _.o -lstdc++
***
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
_.c:1:16: error: field has incomplete type 'char []'
struct _S{char A[]; char B[1];}S;
^
_.c:2:1: error: C++ requires a type specifier for all declarations
main(){ }
^
2 errors generated.
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
---- LD exit(256) clang _.o -lstdc++
***
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
_.c:2:1: error: C++ requires a type specifier for all declarations
main(){ }
^
1 error generated.
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
---- LD exit(256) clang _.o -lstdc++
mkmake:
cpyfile[/tmp/delegate/src/delegate9.9.13/fsx]: cannot read 'DELEGATE_CONF'
[clang -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 ] NONC99=2, NONAZ0=6 @0011ec079acd
#### [/tmp/delegate/src/delegate9.9.13/fsx] creating Makefile.go
cpyfile Makefile[1-0][0-40ae95] > Makefile.go
#ifdef UNIX,OS2EMX ################################################
[SET] MKMAKE=/tmp/delegate/src/delegate9.9.13/mkmake.exe
[SET] RANLIB=/usr/bin/ranlib
- checking availability of -lnsl []
cpyfile[/tmp/delegate/src/delegate9.9.13/fsx]: cannot read 'DELEGATE_CONF'
- checking availability of -ldl [-lnsl]
cpyfile[/tmp/delegate/src/delegate9.9.13/fsx]: cannot read 'DELEGATE_CONF'
- checking availability of -lutil [-lnsl -ldl]
cpyfile[/tmp/delegate/src/delegate9.9.13/fsx]: cannot read 'DELEGATE_CONF'
- checking availability of -lpthread [-lnsl -ldl -lutil]
cpyfile[/tmp/delegate/src/delegate9.9.13/fsx]: cannot read 'DELEGATE_CONF'
- checking availability of -lpam [-lnsl -ldl -lutil -lpthread]
cpyfile[/tmp/delegate/src/delegate9.9.13/fsx]: cannot read 'DELEGATE_CONF'
- checking availability of -lstdc++ [-lnsl -ldl -lutil -lpthread -lpam]
cpyfile[/tmp/delegate/src/delegate9.9.13/fsx]: cannot read 'DELEGATE_CONF'
[SET] NETLIB=-lnsl -ldl -lutil -lpthread -lpam -lstdc++
cpyfile[/tmp/delegate/src/delegate9.9.13/fsx]: cannot read 'DELEGATE_CONF'
cpyfile Makefile[0-0][40af38-0] > Makefile.go
#ifdef UNIX,OS2EMX ################################################
/usr/bin/make -f Makefile.go CFLAGS="-Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 " libfsx.a SHELL="/bin/sh" HDRDIR="-I../gen -I../include -Wno-narrowing"
make[4]: Entering directory '/tmp/delegate/src/delegate9.9.13/fsx'
../mkcpp any2fdif.c any2fdif.cc
-- mkcpp set time: 1492117253 -> 1413283809 any2fdif.cc
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../gen -I../include -Wno-narrowing -I../include -c any2fdif.cc
any2fdif.cc:345:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( xi = 0; cext = types[xi].ext; xi++ ){
~~~~~^~~~~~~~~~~~~~~
any2fdif.cc:345:20: note: place parentheses around the assignment to silence this warning
for( xi = 0; cext = types[xi].ext; xi++ ){
^
( )
any2fdif.cc:345:20: note: use '==' to turn this assignment into an equality comparison
for( xi = 0; cext = types[xi].ext; xi++ ){
^
==
any2fdif.cc:374:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( xi = 0; cext = types[xi].ext; xi++ ){
~~~~~^~~~~~~~~~~~~~~
any2fdif.cc:374:20: note: place parentheses around the assignment to silence this warning
for( xi = 0; cext = types[xi].ext; xi++ ){
^
( )
any2fdif.cc:374:20: note: use '==' to turn this assignment into an equality comparison
for( xi = 0; cext = types[xi].ext; xi++ ){
^
==
any2fdif.cc:392:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( cp = strtailstr(url,"/@") ){
~~~^~~~~~~~~~~~~~~~~~~~~~
any2fdif.cc:392:9: note: place parentheses around the assignment to silence this warning
if( cp = strtailstr(url,"/@") ){
^
( )
any2fdif.cc:392:9: note: use '==' to turn this assignment into an equality comparison
if( cp = strtailstr(url,"/@") ){
^
==
any2fdif.cc:396:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( cp = strtailstr(url,"/=") ){
~~~^~~~~~~~~~~~~~~~~~~~~~
any2fdif.cc:396:9: note: place parentheses around the assignment to silence this warning
if( cp = strtailstr(url,"/=") ){
^
( )
any2fdif.cc:396:9: note: use '==' to turn this assignment into an equality comparison
if( cp = strtailstr(url,"/=") ){
^
==
any2fdif.cc:400:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( qp = strchr(url,'?') )
~~~^~~~~~~~~~~~~~~~~
any2fdif.cc:400:9: note: place parentheses around the assignment to silence this warning
if( qp = strchr(url,'?') )
^
( )
any2fdif.cc:400:9: note: use '==' to turn this assignment into an equality comparison
if( qp = strchr(url,'?') )
^
==
any2fdif.cc:407:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = strrchr(url,'/') ){
~~~^~~~~~~~~~~~~~~~~~
any2fdif.cc:407:9: note: place parentheses around the assignment to silence this warning
if( dp = strrchr(url,'/') ){
^
( )
any2fdif.cc:407:9: note: use '==' to turn this assignment into an equality comparison
if( dp = strrchr(url,'/') ){
^
==
any2fdif.cc:408:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = strrchr(dp+1,'.') )
~~~^~~~~~~~~~~~~~~~~~~
any2fdif.cc:408:10: note: place parentheses around the assignment to silence this warning
if( dp = strrchr(dp+1,'.') )
^
( )
any2fdif.cc:408:10: note: use '==' to turn this assignment into an equality comparison
if( dp = strrchr(dp+1,'.') )
^
==
any2fdif.cc:417:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( xi = 0; cext = types[xi].ext; xi++ ){
~~~~~^~~~~~~~~~~~~~~
any2fdif.cc:417:20: note: place parentheses around the assignment to silence this warning
for( xi = 0; cext = types[xi].ext; xi++ ){
^
( )
any2fdif.cc:417:20: note: use '==' to turn this assignment into an equality comparison
for( xi = 0; cext = types[xi].ext; xi++ ){
^
==
any2fdif.cc:542:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( xi = 0; cext = types[xi].ext; xi++ ){
~~~~~^~~~~~~~~~~~~~~
any2fdif.cc:542:20: note: place parentheses around the assignment to silence this warning
for( xi = 0; cext = types[xi].ext; xi++ ){
^
( )
any2fdif.cc:542:20: note: use '==' to turn this assignment into an equality comparison
for( xi = 0; cext = types[xi].ext; xi++ ){
^
==
any2fdif.cc:548:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( xi = 0; cext = types[xi].ext; xi++ ){
~~~~~^~~~~~~~~~~~~~~
any2fdif.cc:548:20: note: place parentheses around the assignment to silence this warning
for( xi = 0; cext = types[xi].ext; xi++ ){
^
( )
any2fdif.cc:548:20: note: use '==' to turn this assignment into an equality comparison
for( xi = 0; cext = types[xi].ext; xi++ ){
^
==
any2fdif.cc:549:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( cnt = types[xi].cnt ){
~~~~^~~~~~~~~~~~~~~
any2fdif.cc:549:11: note: place parentheses around the assignment to silence this warning
if( cnt = types[xi].cnt ){
^
( )
any2fdif.cc:549:11: note: use '==' to turn this assignment into an equality comparison
if( cnt = types[xi].cnt ){
^
==
any2fdif.cc:833:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( ref = Urls[i].u_referer ){
~~~~^~~~~~~~~~~~~~~~~~~
any2fdif.cc:833:12: note: place parentheses around the assignment to silence this warning
if( ref = Urls[i].u_referer ){
^
( )
any2fdif.cc:833:12: note: use '==' to turn this assignment into an equality comparison
if( ref = Urls[i].u_referer ){
^
==
any2fdif.cc:854:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = strrchr(login,':') ){
~~~^~~~~~~~~~~~~~~~~~~~
any2fdif.cc:854:9: note: place parentheses around the assignment to silence this warning
if( dp = strrchr(login,':') ){
^
( )
any2fdif.cc:854:9: note: use '==' to turn this assignment into an equality comparison
if( dp = strrchr(login,':') ){
^
==
any2fdif.cc:858:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = strchr(upath,'#') )
~~~^~~~~~~~~~~~~~~~~~~
any2fdif.cc:858:9: note: place parentheses around the assignment to silence this warning
if( dp = strchr(upath,'#') )
^
( )
any2fdif.cc:858:9: note: use '==' to turn this assignment into an equality comparison
if( dp = strchr(upath,'#') )
^
==
any2fdif.cc:932:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( up = strrchr(upath,'/') )
~~~^~~~~~~~~~~~~~~~~~~~
any2fdif.cc:932:9: note: place parentheses around the assignment to silence this warning
if( up = strrchr(upath,'/') )
^
( )
any2fdif.cc:932:9: note: use '==' to turn this assignment into an equality comparison
if( up = strrchr(upath,'/') )
^
==
any2fdif.cc:954:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = strstr(basedir,"//") ){
~~~^~~~~~~~~~~~~~~~~~~~~~
any2fdif.cc:954:9: note: place parentheses around the assignment to silence this warning
if( dp = strstr(basedir,"//") ){
^
( )
any2fdif.cc:954:9: note: use '==' to turn this assignment into an equality comparison
if( dp = strstr(basedir,"//") ){
^
==
any2fdif.cc:957:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( tp = strpbrk(dp,"?") )
~~~^~~~~~~~~~~~~~~~~
any2fdif.cc:957:10: note: place parentheses around the assignment to silence this warning
if( tp = strpbrk(dp,"?") )
^
( )
any2fdif.cc:957:10: note: use '==' to turn this assignment into an equality comparison
if( tp = strpbrk(dp,"?") )
^
==
any2fdif.cc:959:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( tp = strchr(dp,'/') )
~~~^~~~~~~~~~~~~~~~
any2fdif.cc:959:10: note: place parentheses around the assignment to silence this warning
if( tp = strchr(dp,'/') )
^
( )
any2fdif.cc:959:10: note: use '==' to turn this assignment into an equality comparison
if( tp = strchr(dp,'/') )
^
==
any2fdif.cc:962:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( tp = strrchr(dp,'/') )
~~~^~~~~~~~~~~~~~~~~
any2fdif.cc:962:10: note: place parentheses around the assignment to silence this warning
if( tp = strrchr(dp,'/') )
^
( )
any2fdif.cc:962:10: note: use '==' to turn this assignment into an equality comparison
if( tp = strrchr(dp,'/') )
^
==
any2fdif.cc:986:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( lp = strpbrk(line,"\r\n") )
~~~^~~~~~~~~~~~~~~~~~~~~~
any2fdif.cc:986:10: note: place parentheses around the assignment to silence this warning
if( lp = strpbrk(line,"\r\n") )
^
( )
any2fdif.cc:986:10: note: use '==' to turn this assignment into an equality comparison
if( lp = strpbrk(line,"\r\n") )
^
==
any2fdif.cc:1121:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = strchr(url,'#') )
~~~^~~~~~~~~~~~~~~~~
any2fdif.cc:1121:11: note: place parentheses around the assignment to silence this warning
if( dp = strchr(url,'#') )
^
( )
any2fdif.cc:1121:11: note: use '==' to turn this assignment into an equality comparison
if( dp = strchr(url,'#') )
^
==
any2fdif.cc:1279:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = strpbrk(url,"\r\n") )
~~~^~~~~~~~~~~~~~~~~~~~~
any2fdif.cc:1279:12: note: place parentheses around the assignment to silence this warning
if( dp = strpbrk(url,"\r\n") )
^
( )
any2fdif.cc:1279:12: note: use '==' to turn this assignment into an equality comparison
if( dp = strpbrk(url,"\r\n") )
^
==
any2fdif.cc:1297:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = strpbrk(url,"\r\n") )
~~~^~~~~~~~~~~~~~~~~~~~~
any2fdif.cc:1297:10: note: place parentheses around the assignment to silence this warning
if( dp = strpbrk(url,"\r\n") )
^
( )
any2fdif.cc:1297:10: note: use '==' to turn this assignment into an equality comparison
if( dp = strpbrk(url,"\r\n") )
^
==
any2fdif.cc:1481:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( env = getenv("FSXHOME") ){
~~~~^~~~~~~~~~~~~~~~~~~
any2fdif.cc:1481:12: note: place parentheses around the assignment to silence this warning
if( env = getenv("FSXHOME") ){
^
( )
any2fdif.cc:1481:12: note: use '==' to turn this assignment into an equality comparison
if( env = getenv("FSXHOME") ){
^
==
any2fdif.cc:1500:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = strrchr(outdir,'/') ){
~~~^~~~~~~~~~~~~~~~~~~~~
any2fdif.cc:1500:11: note: place parentheses around the assignment to silence this warning
if( dp = strrchr(outdir,'/') ){
^
( )
any2fdif.cc:1500:11: note: use '==' to turn this assignment into an equality comparison
if( dp = strrchr(outdir,'/') ){
^
==
any2fdif.cc:1666:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( ocode = get_CHARCODE(0) ){
~~~~~~^~~~~~~~~~~~~~~~~
any2fdif.cc:1666:12: note: place parentheses around the assignment to silence this warning
if( ocode = get_CHARCODE(0) ){
^
( )
any2fdif.cc:1666:12: note: use '==' to turn this assignment into an equality comparison
if( ocode = get_CHARCODE(0) ){
^
==
any2fdif.cc:1692:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = strrchr(execpath,'/') ){
~~~^~~~~~~~~~~~~~~~~~~~~~~
any2fdif.cc:1692:10: note: place parentheses around the assignment to silence this warning
if( dp = strrchr(execpath,'/') ){
^
( )
any2fdif.cc:1692:10: note: use '==' to turn this assignment into an equality comparison
if( dp = strrchr(execpath,'/') ){
^
==
any2fdif.cc:1698:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = strrchr(rx,'/') )
~~~^~~~~~~~~~~~~~~~~
any2fdif.cc:1698:11: note: place parentheses around the assignment to silence this warning
if( dp = strrchr(rx,'/') )
^
( )
any2fdif.cc:1698:11: note: use '==' to turn this assignment into an equality comparison
if( dp = strrchr(rx,'/') )
^
==
any2fdif.cc:1759:28: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse]
struct sed_env *sed_new();
^~
any2fdif.cc:1759:28: note: replace parentheses with an initializer to declare a variable
struct sed_env *sed_new();
^~
= NULL
any2fdif.cc:2012:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( sp = src; ch = *sp; sp++ ){
~~~^~~~~
any2fdif.cc:2012:20: note: place parentheses around the assignment to silence this warning
for( sp = src; ch = *sp; sp++ ){
^
( )
any2fdif.cc:2012:20: note: use '==' to turn this assignment into an equality comparison
for( sp = src; ch = *sp; sp++ ){
^
==
any2fdif.cc:2111:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( lp = line; ch = *lp; lp++ ){
~~~^~~~~
any2fdif.cc:2111:21: note: place parentheses around the assignment to silence this warning
for( lp = line; ch = *lp; lp++ ){
^
( )
any2fdif.cc:2111:21: note: use '==' to turn this assignment into an equality comparison
for( lp = line; ch = *lp; lp++ ){
^
==
any2fdif.cc:2135:35: warning: '&&' within '||' [-Wlogical-op-parentheses]
|| strncasecmp(line,"On ",3)==0 && (
~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
any2fdif.cc:2135:35: note: place parentheses around the '&&' expression to silence this warning
|| strncasecmp(line,"On ",3)==0 && (
^
any2fdif.cc:2148:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = strchr(line,':') )
~~~^~~~~~~~~~~~~~~~~~
any2fdif.cc:2148:10: note: place parentheses around the assignment to silence this warning
if( dp = strchr(line,':') )
^
( )
any2fdif.cc:2148:10: note: use '==' to turn this assignment into an equality comparison
if( dp = strchr(line,':') )
^
==
any2fdif.cc:2149:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = strchr(dp+1,'(') )
~~~^~~~~~~~~~~~~~~~~~
any2fdif.cc:2149:10: note: place parentheses around the assignment to silence this warning
if( dp = strchr(dp+1,'(') )
^
( )
any2fdif.cc:2149:10: note: use '==' to turn this assignment into an equality comparison
if( dp = strchr(dp+1,'(') )
^
==
any2fdif.cc:2150:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = strchr(dp+1,')') )
~~~^~~~~~~~~~~~~~~~~~
any2fdif.cc:2150:10: note: place parentheses around the assignment to silence this warning
if( dp = strchr(dp+1,')') )
^
( )
any2fdif.cc:2150:10: note: use '==' to turn this assignment into an equality comparison
if( dp = strchr(dp+1,')') )
^
==
any2fdif.cc:2159:21: warning: '&&' within '||' [-Wlogical-op-parentheses]
|| line[0] == '#' && itype == T_MAIL /* v9.9.12 new-140926b */
~~ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
any2fdif.cc:2159:21: note: place parentheses around the '&&' expression to silence this warning
|| line[0] == '#' && itype == T_MAIL /* v9.9.12 new-140926b */
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
any2fdif.cc:2163:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( dp = line; ch = *dp; dp++ ){
~~~^~~~~
any2fdif.cc:2163:21: note: place parentheses around the assignment to silence this warning
for( dp = line; ch = *dp; dp++ ){
^
( )
any2fdif.cc:2163:21: note: use '==' to turn this assignment into an equality comparison
for( dp = line; ch = *dp; dp++ ){
^
==
any2fdif.cc:2195:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( ip = inb; ch = *ip; ip++ ){
~~~^~~~~
any2fdif.cc:2195:21: note: place parentheses around the assignment to silence this warning
for( ip = inb; ch = *ip; ip++ ){
^
( )
any2fdif.cc:2195:21: note: use '==' to turn this assignment into an equality comparison
for( ip = inb; ch = *ip; ip++ ){
^
==
any2fdif.cc:2199:5: warning: add explicit braces to avoid dangling else [-Wdangling-else]
}else
^
any2fdif.cc:2221:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( ip = inb; ch = *ip; ip++ ){
~~~^~~~~
any2fdif.cc:2221:22: note: place parentheses around the assignment to silence this warning
for( ip = inb; ch = *ip; ip++ ){
^
( )
any2fdif.cc:2221:22: note: use '==' to turn this assignment into an equality comparison
for( ip = inb; ch = *ip; ip++ ){
^
==
any2fdif.cc:2241:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( issp = isspace(ch) )
~~~~~^~~~~~~~~~~~~
any2fdif.cc:2241:14: note: place parentheses around the assignment to silence this warning
if( issp = isspace(ch) )
^
( )
any2fdif.cc:2241:14: note: use '==' to turn this assignment into an equality comparison
if( issp = isspace(ch) )
^
==
any2fdif.cc:2405:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( nb = 0; rcc = fread(inb,1,sizeof(inb)-1,in); nb++ ){
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
any2fdif.cc:2405:19: note: place parentheses around the assignment to silence this warning
for( nb = 0; rcc = fread(inb,1,sizeof(inb)-1,in); nb++ ){
^
( )
any2fdif.cc:2405:19: note: use '==' to turn this assignment into an equality comparison
for( nb = 0; rcc = fread(inb,1,sizeof(inb)-1,in); nb++ ){
^
==
any2fdif.cc:2474:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = strrpbrk(path,"/\\") )
~~~^~~~~~~~~~~~~~~~~~~~~~
any2fdif.cc:2474:9: note: place parentheses around the assignment to silence this warning
if( dp = strrpbrk(path,"/\\") )
^
( )
any2fdif.cc:2474:9: note: use '==' to turn this assignment into an equality comparison
if( dp = strrpbrk(path,"/\\") )
^
==
any2fdif.cc:2516:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = strrpbrk(xpath,"/\\") ){
~~~^~~~~~~~~~~~~~~~~~~~~~~
any2fdif.cc:2516:10: note: place parentheses around the assignment to silence this warning
if( dp = strrpbrk(xpath,"/\\") ){
^
( )
any2fdif.cc:2516:10: note: use '==' to turn this assignment into an equality comparison
if( dp = strrpbrk(xpath,"/\\") ){
^
==
any2fdif.cc:2738:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( sp = strchr(fval,';') )
~~~^~~~~~~~~~~~~~~~~~
any2fdif.cc:2738:12: note: place parentheses around the assignment to silence this warning
if( sp = strchr(fval,';') )
^
( )
any2fdif.cc:2738:12: note: use '==' to turn this assignment into an equality comparison
if( sp = strchr(fval,';') )
^
==
any2fdif.cc:2818:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( ecode = scanText(in,Tmp0,AVStr(charset),apath) )
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
any2fdif.cc:2818:13: note: place parentheses around the assignment to silence this warning
if( ecode = scanText(in,Tmp0,AVStr(charset),apath) )
^
( )
any2fdif.cc:2818:13: note: use '==' to turn this assignment into an equality comparison
if( ecode = scanText(in,Tmp0,AVStr(charset),apath) )
^
==
any2fdif.cc:2829:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( ecode = scanText(Tmp0,Tmp1,AVStr(charset),apath) )
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
any2fdif.cc:2829:14: note: place parentheses around the assignment to silence this warning
if( ecode = scanText(Tmp0,Tmp1,AVStr(charset),apath) )
^
( )
any2fdif.cc:2829:14: note: use '==' to turn this assignment into an equality comparison
if( ecode = scanText(Tmp0,Tmp1,AVStr(charset),apath) )
^
==
any2fdif.cc:2917:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( ap = strchr(Author,'<') ){
~~~^~~~~~~~~~~~~~~~~~~~
any2fdif.cc:2917:11: note: place parentheses around the assignment to silence this warning
if( ap = strchr(Author,'<') ){
^
( )
any2fdif.cc:2917:11: note: use '==' to turn this assignment into an equality comparison
if( ap = strchr(Author,'<') ){
^
==
any2fdif.cc:2946:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( ip = inb; ch = *ip; ip++ ){
~~~^~~~~
any2fdif.cc:2946:21: note: place parentheses around the assignment to silence this warning
for( ip = inb; ch = *ip; ip++ ){
^
( )
any2fdif.cc:2946:21: note: use '==' to turn this assignment into an equality comparison
for( ip = inb; ch = *ip; ip++ ){
^
==
any2fdif.cc:2950:5: warning: add explicit braces to avoid dangling else [-Wdangling-else]
}else
^
any2fdif.cc:2961:39: warning: '&&' within '||' [-Wlogical-op-parentheses]
if( Author[0] == 0 || copymark == 0 && strcasestr(inb,"©") )
~~ ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
any2fdif.cc:2961:39: note: place parentheses around the '&&' expression to silence this warning
if( Author[0] == 0 || copymark == 0 && strcasestr(inb,"©") )
~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
any2fdif.cc:2963:23: warning: '&&' within '||' [-Wlogical-op-parentheses]
|| itype == T_HTML && strcasestr(inb,"©")
~~ ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
any2fdif.cc:2963:23: note: place parentheses around the '&&' expression to silence this warning
|| itype == T_HTML && strcasestr(inb,"©")
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
any2fdif.cc:3012:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for( ip = inb; ch = *ip; ip++ ){
~~~^~~~~
any2fdif.cc:3012:23: note: place parentheses around the assignment to silence this warning
for( ip = inb; ch = *ip; ip++ ){
^
( )
any2fdif.cc:3012:23: note: use '==' to turn this assignment into an equality comparison
for( ip = inb; ch = *ip; ip++ ){
^
==
any2fdif.cc:3038:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( issp = isspace(ch) )
~~~~~^~~~~~~~~~~~~
any2fdif.cc:3038:15: note: place parentheses around the assignment to silence this warning
if( issp = isspace(ch) )
^
( )
any2fdif.cc:3038:15: note: use '==' to turn this assignment into an equality comparison
if( issp = isspace(ch) )
^
==
any2fdif.cc:3075:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( ap = strcasestr(Address,"mail") ){
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
any2fdif.cc:3075:10: note: place parentheses around the assignment to silence this warning
if( ap = strcasestr(Address,"mail") ){
^
( )
any2fdif.cc:3075:10: note: use '==' to turn this assignment into an equality comparison
if( ap = strcasestr(Address,"mail") ){
^
==
any2fdif.cc:3083:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( ap = strcasestr(Address," by ") ){
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
any2fdif.cc:3083:10: note: place parentheses around the assignment to silence this warning
if( ap = strcasestr(Address," by ") ){
^
( )
any2fdif.cc:3083:10: note: use '==' to turn this assignment into an equality comparison
if( ap = strcasestr(Address," by ") ){
^
==
any2fdif.cc:3325:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if( dp = strstr(xline,"
#
~~~^~~~~~~~~~~~~~~~~~~~~~~
#
any2fdif.cc:3325:11: note: place parentheses around the assignment to silence this warning
#
if( dp = strstr(xline,"
#
^
#
( )
#
any2fdif.cc:3325:11: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strstr(xline,"
#
^
#
==
#
any2fdif.cc:3327:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( ep = strchr(dp,'>') ){
#
~~~^~~~~~~~~~~~~~~~
#
any2fdif.cc:3327:12: note: place parentheses around the assignment to silence this warning
#
if( ep = strchr(dp,'>') ){
#
^
#
( )
#
any2fdif.cc:3327:12: note: use '==' to turn this assignment into an equality comparison
#
if( ep = strchr(dp,'>') ){
#
^
#
==
#
any2fdif.cc:3450:18: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( inScript && strcasecmp(tagn,"SCRIPT") == 0
#
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
any2fdif.cc:3450:18: note: place parentheses around the '&&' expression to silence this warning
#
if( inScript && strcasecmp(tagn,"SCRIPT") == 0
#
^
#
( )
#
any2fdif.cc:3451:18: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| inStyle && strcasecmp(tagn,"STYLE") == 0
#
~~ ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
any2fdif.cc:3451:18: note: place parentheses around the '&&' expression to silence this warning
#
|| inStyle && strcasecmp(tagn,"STYLE") == 0
#
^
#
( )
#
any2fdif.cc:3493:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( xp = strstr(authcand,"--") )
#
~~~^~~~~~~~~~~~~~~~~~~~~~~
#
any2fdif.cc:3493:12: note: place parentheses around the assignment to silence this warning
#
if( xp = strstr(authcand,"--") )
#
^
#
( )
#
any2fdif.cc:3493:12: note: use '==' to turn this assignment into an equality comparison
#
if( xp = strstr(authcand,"--") )
#
^
#
==
#
any2fdif.cc:3512:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( end = (ch == '/') ){
#
~~~~^~~~~~~~~~~~~
#
any2fdif.cc:3512:11: note: place parentheses around the assignment to silence this warning
#
if( end = (ch == '/') ){
#
^
#
( )
#
any2fdif.cc:3512:11: note: use '==' to turn this assignment into an equality comparison
#
if( end = (ch == '/') ){
#
^
#
==
#
any2fdif.cc:3581:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( adp = strchr(Author,'?') )
#
~~~~^~~~~~~~~~~~~~~~~~~~
#
any2fdif.cc:3581:13: note: place parentheses around the assignment to silence this warning
#
if( adp = strchr(Author,'?') )
#
^
#
( )
#
any2fdif.cc:3581:13: note: use '==' to turn this assignment into an equality comparison
#
if( adp = strchr(Author,'?') )
#
^
#
==
#
any2fdif.cc:3629:27: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( strcaseeq(tagn,"A") && scanHREF(dp,AVStr(con),sizeof(con))==0
#
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
any2fdif.cc:3629:27: note: place parentheses around the '&&' expression to silence this warning
#
if( strcaseeq(tagn,"A") && scanHREF(dp,AVStr(con),sizeof(con))==0
#
^
#
( )
#
any2fdif.cc:3631:30: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| strcaseeq(tagn,"FORM") && scanACTION(dp,AVStr(con),sizeof(con))==0
#
~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
any2fdif.cc:3631:30: note: place parentheses around the '&&' expression to silence this warning
#
|| strcaseeq(tagn,"FORM") && scanACTION(dp,AVStr(con),sizeof(con))==0
#
^
#
( )
#
any2fdif.cc:3632:29: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| strcaseeq(tagn,"IMG") && scanSRC(dp,AVStr(con),sizeof(con))==0
#
~~ ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
any2fdif.cc:3632:29: note: place parentheses around the '&&' expression to silence this warning
#
|| strcaseeq(tagn,"IMG") && scanSRC(dp,AVStr(con),sizeof(con))==0
#
^
#
( )
#
any2fdif.cc:3633:31: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| strcaseeq(tagn,"FRAME") && scanSRC(dp,AVStr(con),sizeof(con))==0
#
~~ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
any2fdif.cc:3633:31: note: place parentheses around the '&&' expression to silence this warning
#
|| strcaseeq(tagn,"FRAME") && scanSRC(dp,AVStr(con),sizeof(con))==0
#
^
#
( )
#
any2fdif.cc:3661:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
else{
#
^
#
any2fdif.cc:3669:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( qp = strchr(con,'?') )
#
~~~^~~~~~~~~~~~~~~~~
#
any2fdif.cc:3669:12: note: place parentheses around the assignment to silence this warning
#
if( qp = strchr(con,'?') )
#
^
#
( )
#
any2fdif.cc:3669:12: note: use '==' to turn this assignment into an equality comparison
#
if( qp = strchr(con,'?') )
#
^
#
==
#
any2fdif.cc:4044:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( tp = strstr(s,p) )
#
~~~^~~~~~~~~~~~~
#
any2fdif.cc:4044:9: note: place parentheses around the assignment to silence this warning
#
if( tp = strstr(s,p) )
#
^
#
( )
#
any2fdif.cc:4044:9: note: use '==' to turn this assignment into an equality comparison
#
if( tp = strstr(s,p) )
#
^
#
==
#
any2fdif.cc:4094:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strcasestr(fval,"charset=") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
any2fdif.cc:4094:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strcasestr(fval,"charset=") ){
#
^
#
( )
#
any2fdif.cc:4094:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strcasestr(fval,"charset=") ){
#
^
#
==
#
any2fdif.cc:4119:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( cp = author; ch = *cp; cp++ ){
#
~~~^~~~~
#
any2fdif.cc:4119:23: note: place parentheses around the assignment to silence this warning
#
for( cp = author; ch = *cp; cp++ ){
#
^
#
( )
#
any2fdif.cc:4119:23: note: use '==' to turn this assignment into an equality comparison
#
for( cp = author; ch = *cp; cp++ ){
#
^
#
==
#
any2fdif.cc:4131:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( cp = strcasestr(author,"All Right") )
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
any2fdif.cc:4131:9: note: place parentheses around the assignment to silence this warning
#
if( cp = strcasestr(author,"All Right") )
#
^
#
( )
#
any2fdif.cc:4131:9: note: use '==' to turn this assignment into an equality comparison
#
if( cp = strcasestr(author,"All Right") )
#
^
#
==
#
any2fdif.cc:4145:18: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| *cp == '.' && cp[1] == ' '
#
~~ ~~~~~~~~~~~^~~~~~~~~~~~~~~
#
any2fdif.cc:4145:18: note: place parentheses around the '&&' expression to silence this warning
#
|| *cp == '.' && cp[1] == ' '
#
^
#
( )
#
any2fdif.cc:4146:18: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| *cp == ' ' && cp[1] == ' '
#
~~ ~~~~~~~~~~~^~~~~~~~~~~~~~~
#
any2fdif.cc:4146:18: note: place parentheses around the '&&' expression to silence this warning
#
|| *cp == ' ' && cp[1] == ' '
#
^
#
( )
#
any2fdif.cc:4147:18: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| *cp == '-' && cp[1] == ' '
#
~~ ~~~~~~~~~~~^~~~~~~~~~~~~~~
#
any2fdif.cc:4147:18: note: place parentheses around the '&&' expression to silence this warning
#
|| *cp == '-' && cp[1] == ' '
#
^
#
( )
#
any2fdif.cc:4196:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( cp = strstr(copyr,"©") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~
#
any2fdif.cc:4196:9: note: place parentheses around the assignment to silence this warning
#
if( cp = strstr(copyr,"©") ){
#
^
#
( )
#
any2fdif.cc:4196:9: note: use '==' to turn this assignment into an equality comparison
#
if( cp = strstr(copyr,"©") ){
#
^
#
==
#
any2fdif.cc:4210:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( cp = strcasestr(copyr,"Copyright") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
any2fdif.cc:4210:9: note: place parentheses around the assignment to silence this warning
#
if( cp = strcasestr(copyr,"Copyright") ){
#
^
#
( )
#
any2fdif.cc:4210:9: note: use '==' to turn this assignment into an equality comparison
#
if( cp = strcasestr(copyr,"Copyright") ){
#
^
#
==
#
any2fdif.cc:4237:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( np = strcasestr(cp,"Copyright") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
any2fdif.cc:4237:11: note: place parentheses around the assignment to silence this warning
#
if( np = strcasestr(cp,"Copyright") ){
#
^
#
( )
#
any2fdif.cc:4237:11: note: use '==' to turn this assignment into an equality comparison
#
if( np = strcasestr(cp,"Copyright") ){
#
^
#
==
#
any2fdif.cc:4256:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( cp = strcasestr(copyr,"All Rights") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
any2fdif.cc:4256:9: note: place parentheses around the assignment to silence this warning
#
if( cp = strcasestr(copyr,"All Rights") ){
#
^
#
( )
#
any2fdif.cc:4256:9: note: use '==' to turn this assignment into an equality comparison
#
if( cp = strcasestr(copyr,"All Rights") ){
#
^
#
==
#
any2fdif.cc:4259:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( cp = strcasestr(cp,"Reserved by") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
any2fdif.cc:4259:10: note: place parentheses around the assignment to silence this warning
#
if( cp = strcasestr(cp,"Reserved by") ){
#
^
#
( )
#
any2fdif.cc:4259:10: note: use '==' to turn this assignment into an equality comparison
#
if( cp = strcasestr(cp,"Reserved by") ){
#
^
#
==
#
any2fdif.cc:4325:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( cleng = isMultiBytesChar(sp) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~
#
any2fdif.cc:4325:13: note: place parentheses around the assignment to silence this warning
#
if( cleng = isMultiBytesChar(sp) ){
#
^
#
( )
#
any2fdif.cc:4325:13: note: use '==' to turn this assignment into an equality comparison
#
if( cleng = isMultiBytesChar(sp) ){
#
^
#
==
#
any2fdif.cc:4371:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( xfp = fopen_PATH(vpath,file,mode,AVStr(fullpath)/*,size*/) ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
any2fdif.cc:4371:10: note: place parentheses around the assignment to silence this warning
#
if( xfp = fopen_PATH(vpath,file,mode,AVStr(fullpath)/*,size*/) ){
#
^
#
( )
#
any2fdif.cc:4371:10: note: use '==' to turn this assignment into an equality comparison
#
if( xfp = fopen_PATH(vpath,file,mode,AVStr(fullpath)/*,size*/) ){
#
^
#
==
#
any2fdif.cc:4390:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( env = getenv("PATH") ){
#
~~~~^~~~~~~~~~~~~~~~
#
any2fdif.cc:4390:10: note: place parentheses around the assignment to silence this warning
#
if( env = getenv("PATH") ){
#
^
#
( )
#
any2fdif.cc:4390:10: note: use '==' to turn this assignment into an equality comparison
#
if( env = getenv("PATH") ){
#
^
#
==
#
any2fdif.cc:4406:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strrchr(rpath,'/') ){
#
~~~^~~~~~~~~~~~~~~~~~~~
#
any2fdif.cc:4406:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strrchr(rpath,'/') ){
#
^
#
( )
#
any2fdif.cc:4406:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strrchr(rpath,'/') ){
#
^
#
==
#
any2fdif.cc:4427:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( ufrom = (strncmp(head,"From ",5) == 0) ){ /* Unix mailbox format */
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
any2fdif.cc:4427:12: note: place parentheses around the assignment to silence this warning
#
if( ufrom = (strncmp(head,"From ",5) == 0) ){ /* Unix mailbox format */
#
^
#
( )
#
any2fdif.cc:4427:12: note: use '==' to turn this assignment into an equality comparison
#
if( ufrom = (strncmp(head,"From ",5) == 0) ){ /* Unix mailbox format */
#
^
#
==
#
any2fdif.cc:4467:30: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( isalnum(ch) || 0
#
~~ ~~~~~~~^~~~~~~~~~
#
any2fdif.cc:4467:30: note: place parentheses around the '&&' expression to silence this warning
#
if( isalnum(ch) || 0
#
^
#
( )
#
any2fdif.cc:4564:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( s = (char*)str; ch = *s; s++ ){
#
~~~^~~~
#
any2fdif.cc:4564:26: note: place parentheses around the assignment to silence this warning
#
for( s = (char*)str; ch = *s; s++ ){
#
^
#
( )
#
any2fdif.cc:4564:26: note: use '==' to turn this assignment into an equality comparison
#
for( s = (char*)str; ch = *s; s++ ){
#
^
#
==
#
88 warnings generated.
#
rm -f libfsx.a
#
ar cr libfsx.a any2fdif.o
#
/usr/bin/ranlib libfsx.a
#
make[4]: Leaving directory '/tmp/delegate/src/delegate9.9.13/fsx'
#
make[3]: Leaving directory '/tmp/delegate/src/delegate9.9.13/fsx'
#
**[0] move ../fsx/libfsx.a to ../lib/libfsx.a
#
cp -p htaccept.c opt_s_htaccept.c
#
../mkcpp htaccept.c ../gen/htaccept.h -sign
#
-- mkcpp set time: 1492117254 -> 1492117255 ../gen/htaccept.h
#
../mkcpp opt_s_htaccept.c opt_s_htaccept._.c
#
-- mkcpp set time: 1492117254 -> 1414752137 opt_s_htaccept._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c opt_s_htaccept._.c -o opt_s_htaccept.o -DOPT_S
#
opt_s_htaccept._.c:66:55: warning: '/*' within block comment [-Wcomment]
#
ACCEPT http://host:port/path -->> MOUNT="/path/* http://client/*"
#
^
#
opt_s_htaccept._.c:66:71: warning: '/*' within block comment [-Wcomment]
#
ACCEPT http://host:port/path -->> MOUNT="/path/* http://client/*"
#
^
#
2 warnings generated.
#
cp -p sox.c opt_s_sox.c
#
../mkcpp sox.c ../gen/sox.h -sign
#
-- mkcpp set time: 1492117254 -> 1492117255 ../gen/sox.h
#
../mkcpp opt_s_sox.c opt_s_sox._.c
#
-- mkcpp set time: 1492117254 -> 1414752137 opt_s_sox._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c opt_s_sox._.c -o opt_s_sox.o -DOPT_S
#
cp -p stls.c opt_s_stls.c
#
../mkcpp stls.c ../gen/stls.h -sign
#
-- mkcpp set time: 1492117254 -> 1492117255 ../gen/stls.h
#
../mkcpp opt_s_stls.c opt_s_stls._.c
#
-- mkcpp set time: 1492117254 -> 1414752137 opt_s_stls._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c opt_s_stls._.c -o opt_s_stls.o -DOPT_S
#
cp -p vsap.c opt_s_vsap.c
#
../mkcpp vsap.c ../gen/vsap.h -sign
#
-- mkcpp set time: 1492117254 -> 1492117255 ../gen/vsap.h
#
../mkcpp opt_s_vsap.c opt_s_vsap._.c
#
-- mkcpp set time: 1492117254 -> 1414752137 opt_s_vsap._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c opt_s_vsap._.c -o opt_s_vsap.o -DOPT_S
#
opt_s_vsap._.c:114:22: warning: '/*' within block comment [-Wcomment]
#
... MOUNT="/path/* http://realserver/"
#
^
#
1 warning generated.
#
cp -p caps.c opt_s_caps.c
#
../mkcpp caps.c ../gen/caps.h -sign
#
-- mkcpp set time: 1492117254 -> 1492117255 ../gen/caps.h
#
../mkcpp opt_s_caps.c opt_s_caps._.c
#
-- mkcpp set time: 1492117254 -> 1414752137 opt_s_caps._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c opt_s_caps._.c -o opt_s_caps.o -DOPT_S
#
rm -f ../lib/libopt_s.a
#
ar cr ../lib/libopt_s.a opt_s_htaccept.o opt_s_sox.o opt_s_stls.o opt_s_vsap.o opt_s_caps.o
#
/usr/bin/ranlib ../lib/libopt_s.a
#
"/tmp/delegate/src/delegate9.9.13/mkmake.exe" -makeat ../lib/libsubst.a ../maker libsubst.a "make" libx MAKE="make" SHELL="/bin/sh" CC="clang" HDRDIR="-I../gen -I../include -Wno-narrowing" RANLIB="/usr/bin/ranlib" LDFLAGS=" -L../lib" LIBDIR="-L../lib" NETLIB="-lnsl -ldl -lutil -lpthread -lpam -lstdc++" AR="ar" TAR="tar" CFLAGS="-Wno-narrowing -x c++ -DQS -DNONC99=3 " \
#
LDFLAGS=" -L../lib" \
#
LDLIBS="../lib/libresolvy.a ../lib/libteleport.a ../lib/libmd5.a ../lib/libcfi.a ../lib/library.a ../lib/libgates.a ../lib/libmimekit.a ../lib/libfsx.a -lnsl -ldl -lutil -lpthread -lpam -lstdc++ ../lib/library.a ../lib/libgates.a -lc"
#
---- testing CC capability [clang][-Wno-narrowing -x c++ -DQS -DNONC99=3 ][] ...
#
***
#
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 _.c
#
_.c:2:1: error: C++ requires a type specifier for all declarations
#
main(){ }
#
^
#
1 error generated.
#
#
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 _.c
#
---- LD exit(256) clang _.o -lstdc++
#
#
***
#
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 _.c
#
_.c:1:16: error: field has incomplete type 'char []'
#
struct _S{char A[]; char B[1];}S;
#
^
#
_.c:2:1: error: C++ requires a type specifier for all declarations
#
main(){ }
#
^
#
2 errors generated.
#
#
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 _.c
#
---- LD exit(256) clang _.o -lstdc++
#
#
***
#
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 _.c
#
_.c:2:1: error: C++ requires a type specifier for all declarations
#
main(){ }
#
^
#
1 error generated.
#
#
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 _.c
#
---- LD exit(256) clang _.o -lstdc++
#
#
[clang -c -Wno-narrowing -x c++ -DQS -DNONC99=3 ] NONC99=2, NONAZ0=6 @0011ec079acd
#
#
####### -makeat: /tmp/delegate/src/delegate9.9.13/maker @0011ec079acd
#
make[3]: Entering directory '/tmp/delegate/src/delegate9.9.13/maker'
#
"/tmp/delegate/src/delegate9.9.13/mkmake.exe" -cksum Makefile mkmake.c avail.c dummy.c gxx.c p2ll.c p2i.c dlopen.c __uname.c uname.c bcopy.c bzero.c putenv.c unsetenv.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 __ualarm.c ualarm.c _-poll.c _-select.c _-poll1.c _-poll2.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 snprintf.c strcasecmp.c _-strcasestr.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 __system.c _-system.c _-mutex.c mutex.c __pthread_create.c ___lwp_create.c __lwp_create.c _-pthread_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 _-sgTTy.c sgTTy.c setlogin.c _-mkfifo.c mkfifo.c _-fseeko.c fseeko.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 _-sysinfo.c _-sysconf.c _-sysconf2.c netsh_none.c _-regex.c regex.c errno.c Gates_Win32.c gethostid.c opt_s_vsap.c opt_s_htaccept.c opt_s_sox.c opt_s_stls.c opt_s_caps.c opt_s_pilsner.c opt_s_spinach.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
#
"/tmp/delegate/src/delegate9.9.13/mkmake.exe" -unlink libsubst.a.list
#
*** exit(-1): -unlink at /tmp/delegate/src/delegate9.9.13/maker
#
[0] /tmp/delegate/src/delegate9.9.13/mkmake.exe
#
[1] libsubst.a.list
#
#
make[3]: [Makefile:230: Makefile.go] Error 255 (ignored)
#
"/tmp/delegate/src/delegate9.9.13/mkmake.exe" -unlink libsubstx.a.list
#
*** exit(-1): -unlink at /tmp/delegate/src/delegate9.9.13/maker
#
[0] /tmp/delegate/src/delegate9.9.13/mkmake.exe
#
[1] libsubstx.a.list
#
#
make[3]: [Makefile:231: Makefile.go] Error 255 (ignored)
#
"/tmp/delegate/src/delegate9.9.13/mkmake.exe" -mkmake "/usr/bin/make" Makefile.go "clang" "-Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 " "" "-L../lib" "/usr/bin/ranlib" "-lnsl -ldl -lutil -lpthread -lpam -lstdc++" NETLIB
#
---- testing CC capability [clang][-Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 ][] ...
#
***
#
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
#
_.c:2:1: error: C++ requires a type specifier for all declarations
#
main(){ }
#
^
#
1 error generated.
#
#
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
#
---- LD exit(256) clang _.o -lstdc++
#
#
***
#
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
#
_.c:1:16: error: field has incomplete type 'char []'
#
struct _S{char A[]; char B[1];}S;
#
^
#
_.c:2:1: error: C++ requires a type specifier for all declarations
#
main(){ }
#
^
#
2 errors generated.
#
#
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
#
---- LD exit(256) clang _.o -lstdc++
#
#
***
#
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
#
_.c:2:1: error: C++ requires a type specifier for all declarations
#
main(){ }
#
^
#
1 error generated.
#
#
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
#
---- LD exit(256) clang _.o -lstdc++
#
#
mkmake:
#
cpyfile[/tmp/delegate/src/delegate9.9.13/maker]: cannot read 'DELEGATE_CONF'
#
[clang -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 ] NONC99=2, NONAZ0=6 @0011ec079acd
#
#### [/tmp/delegate/src/delegate9.9.13/maker] creating Makefile.go
#
cpyfile Makefile[1-0][0-40ae95] > Makefile.go
#
#ifdef UNIX,OS2EMX ################################################
#
[SET] MKMAKE=/tmp/delegate/src/delegate9.9.13/mkmake.exe
#
[SET] RANLIB=/usr/bin/ranlib
#
- checking availability of -lnsl []
#
cpyfile[/tmp/delegate/src/delegate9.9.13/maker]: cannot read 'DELEGATE_CONF'
#
- checking availability of -ldl [-lnsl]
#
cpyfile[/tmp/delegate/src/delegate9.9.13/maker]: cannot read 'DELEGATE_CONF'
#
- checking availability of -lutil [-lnsl -ldl]
#
cpyfile[/tmp/delegate/src/delegate9.9.13/maker]: cannot read 'DELEGATE_CONF'
#
- checking availability of -lpthread [-lnsl -ldl -lutil]
#
cpyfile[/tmp/delegate/src/delegate9.9.13/maker]: cannot read 'DELEGATE_CONF'
#
- checking availability of -lpam [-lnsl -ldl -lutil -lpthread]
#
cpyfile[/tmp/delegate/src/delegate9.9.13/maker]: cannot read 'DELEGATE_CONF'
#
- checking availability of -lstdc++ [-lnsl -ldl -lutil -lpthread -lpam]
#
cpyfile[/tmp/delegate/src/delegate9.9.13/maker]: cannot read 'DELEGATE_CONF'
#
[SET] NETLIB=-lnsl -ldl -lutil -lpthread -lpam -lstdc++
#
cpyfile[/tmp/delegate/src/delegate9.9.13/maker]: cannot read 'DELEGATE_CONF'
#
cpyfile Makefile[0-0][40af38-0] > Makefile.go
#
#ifdef UNIX,OS2EMX ################################################
#
/usr/bin/make -f Makefile.go libsubst.a MAKEFILE=Makefile.go MKMAKE="/tmp/delegate/src/delegate9.9.13/mkmake.exe" SHELL="/bin/sh" HDRDIR="-I../gen -I../include -Wno-narrowing" LIBDIR="-L../lib" LDFLAGS="-L../lib"
#
make[4]: Entering directory '/tmp/delegate/src/delegate9.9.13/maker'
#
rm -f libtemp.a
#
"/tmp/delegate/src/delegate9.9.13/mkmake.exe" -subst libck "/usr/bin/make" "Makefile.go" "clang" "-Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 " "-I../gen -I../include -Wno-narrowing" "/usr/bin/ranlib" "libsubst.a" "-L../lib" "../lib/libresolvy.a ../lib/libteleport.a ../lib/libmd5.a ../lib/libcfi.a ../lib/library.a ../lib/libgates.a ../lib/libmimekit.a ../lib/libfsx.a -lnsl -ldl -lutil -lpthread -lpam -lstdc++ ../lib/library.a ../lib/libgates.a -lc" "-L../lib" "dummy.c gxx.c p2ll.c p2i.c dlopen.c __uname.c uname.c bcopy.c bzero.c putenv.c unsetenv.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 __ualarm.c ualarm.c _-poll.c _-select.c _-poll1.c _-poll2.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 snprintf.c strcasecmp.c _-strcasestr.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 __system.c _-system.c _-mutex.c mutex.c __pthread_create.c ___lwp_create.c __lwp_create.c _-pthread_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 _-sgTTy.c sgTTy.c setlogin.c _-mkfifo.c mkfifo.c _-fseeko.c fseeko.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 _-sysinfo.c _-sysconf.c _-sysconf2.c netsh_none.c _-regex.c regex.c errno.c Gates_Win32.c gethostid.c opt_s_vsap.c opt_s_htaccept.c opt_s_sox.c opt_s_stls.c opt_s_caps.c opt_s_pilsner.c opt_s_spinach.c"
#
---- testing CC capability [clang][-Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 ][] ...
#
***
#
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
#
_.c:2:1: error: C++ requires a type specifier for all declarations
#
main(){ }
#
^
#
1 error generated.
#
#
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
#
---- LD exit(256) clang _.o -lstdc++
#
#
***
#
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
#
_.c:1:16: error: field has incomplete type 'char []'
#
struct _S{char A[]; char B[1];}S;
#
^
#
_.c:2:1: error: C++ requires a type specifier for all declarations
#
main(){ }
#
^
#
2 errors generated.
#
#
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
#
---- LD exit(256) clang _.o -lstdc++
#
#
***
#
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
#
_.c:2:1: error: C++ requires a type specifier for all declarations
#
main(){ }
#
^
#
1 error generated.
#
#
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
#
---- LD exit(256) clang _.o -lstdc++
#
#
-- checking CC = clang
#
-- checking CC with CFLAGS = clang -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64
#
##ERROR## ***
#
##ERROR## clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
#
##ERROR## _.c:1:1: error: C++ requires a type specifier for all declarations
#
##ERROR## 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/libgates.a ../lib/libmimekit.a ../lib/libfsx.a -lnsl -ldl -lutil -lpthread -lpam -lstdc++ ../lib/library.a ../lib/libgates.a -lc
#
-- checking socket library
#
** CC CFLAGS LIBS and socket library are OK.
#
[clang -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 ] NONC99=2, NONAZ0=6 @0011ec079acd
#
MAKE=/usr/bin/make
#
MAKEFILE=Makefile.go
#
CC=clang
#
CFLAGS=-Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64
#
HDRDIR=-I../gen -I../include -Wno-narrowing
#
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/libgates.a ../lib/libmimekit.a ../lib/libfsx.a -lnsl -ldl -lutil -lpthread -lpam -lstdc++ ../lib/library.a ../lib/libgates.a -lc
#
LDFLAGS=-L../lib
#
Files=dummy.c gxx.c p2ll.c p2i.c dlopen.c __uname.c uname.c bcopy.c bzero.c putenv.c unsetenv.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 __ualarm.c ualarm.c _-poll.c _-select.c _-poll1.c _-poll2.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 snprintf.c strcasecmp.c _-strcasestr.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 __system.c _-system.c _-mutex.c mutex.c __pthread_create.c ___lwp_create.c __lwp_create.c _-pthread_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 _-sgTTy.c sgTTy.c setlogin.c _-mkfifo.c mkfifo.c _-fseeko.c fseeko.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 _-sysinfo.c _-sysconf.c _-sysconf2.c netsh_none.c _-regex.c regex.c errno.c Gates_Win32.c gethostid.c opt_s_vsap.c opt_s_htaccept.c opt_s_sox.c opt_s_stls.c opt_s_caps.c opt_s_pilsner.c opt_s_spinach.c
#
"/tmp/delegate/src/delegate9.9.13/mkmake.exe" -subst libmk "/usr/bin/make" "Makefile.go" "clang" "-Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 " "-I../gen -I../include -Wno-narrowing" "/usr/bin/ranlib" "libsubst.a" "-L../lib" "../lib/libresolvy.a ../lib/libteleport.a ../lib/libmd5.a ../lib/libcfi.a ../lib/library.a ../lib/libgates.a ../lib/libmimekit.a ../lib/libfsx.a -lnsl -ldl -lutil -lpthread -lpam -lstdc++ ../lib/library.a ../lib/libgates.a -lc" "-L../lib" "dummy.c gxx.c p2ll.c p2i.c dlopen.c __uname.c uname.c bcopy.c bzero.c putenv.c unsetenv.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 __ualarm.c ualarm.c _-poll.c _-select.c _-poll1.c _-poll2.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 snprintf.c strcasecmp.c _-strcasestr.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 __system.c _-system.c _-mutex.c mutex.c __pthread_create.c ___lwp_create.c __lwp_create.c _-pthread_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 _-sgTTy.c sgTTy.c setlogin.c _-mkfifo.c mkfifo.c _-fseeko.c fseeko.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 _-sysinfo.c _-sysconf.c _-sysconf2.c netsh_none.c _-regex.c regex.c errno.c Gates_Win32.c gethostid.c opt_s_vsap.c opt_s_htaccept.c opt_s_sox.c opt_s_stls.c opt_s_caps.c opt_s_pilsner.c opt_s_spinach.c" libtemp.a LIBOBJS
#
---- testing CC capability [clang][-Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 ][] ...
#
***
#
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
#
_.c:2:1: error: C++ requires a type specifier for all declarations
#
main(){ }
#
^
#
1 error generated.
#
#
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
#
---- LD exit(256) clang _.o -lstdc++
#
#
***
#
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
#
_.c:1:16: error: field has incomplete type 'char []'
#
struct _S{char A[]; char B[1];}S;
#
^
#
_.c:2:1: error: C++ requires a type specifier for all declarations
#
main(){ }
#
^
#
2 errors generated.
#
#
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
#
---- LD exit(256) clang _.o -lstdc++
#
#
***
#
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
#
_.c:2:1: error: C++ requires a type specifier for all declarations
#
main(){ }
#
^
#
1 error generated.
#
#
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
#
---- LD exit(256) clang _.o -lstdc++
#
#
** mksubst **
#
where: ../src
#
compile: clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 ../lib/libresolvy.a ../lib/libteleport.a ../lib/libmd5.a ../lib/libcfi.a ../lib/library.a ../lib/libgates.a ../lib/libmimekit.a ../lib/libfsx.a -lnsl -ldl -lutil -lpthread -lpam -lstdc++ ../lib/library.a ../lib/libgates.a -lc
#
files: dummy.c gxx.c p2ll.c p2i.c dlopen.c __uname.c uname.c bcopy.c bzero.c putenv.c unsetenv.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 __ualarm.c ualarm.c _-poll.c _-select.c _-poll1.c _-poll2.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 snprintf.c strcasecmp.c _-strcasestr.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 __system.c _-system.c _-mutex.c mutex.c __pthread_create.c ___lwp_create.c __lwp_create.c _-pthread_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 _-sgTTy.c sgTTy.c setlogin.c _-mkfifo.c mkfifo.c _-fseeko.c fseeko.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 _-sysinfo.c _-sysconf.c _-sysconf2.c netsh_none.c _-regex.c regex.c errno.c Gates_Win32.c gethostid.c opt_s_vsap.c opt_s_htaccept.c opt_s_sox.c opt_s_stls.c opt_s_caps.c opt_s_pilsner.c opt_s_spinach.c
#
[clang -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 ] NONC99=2, NONAZ0=6 @0011ec079acd
#
MAKE=/usr/bin/make
#
MAKEFILE=Makefile.go
#
CC=clang
#
CFLAGS=-Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64
#
HDRDIR=-I../gen -I../include -Wno-narrowing
#
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/libgates.a ../lib/libmimekit.a ../lib/libfsx.a -lnsl -ldl -lutil -lpthread -lpam -lstdc++ ../lib/library.a ../lib/libgates.a -lc
#
LDFLAGS=-L../lib
#
Files=dummy.c gxx.c p2ll.c p2i.c dlopen.c __uname.c uname.c bcopy.c bzero.c putenv.c unsetenv.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 __ualarm.c ualarm.c _-poll.c _-select.c _-poll1.c _-poll2.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 snprintf.c strcasecmp.c _-strcasestr.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 __system.c _-system.c _-mutex.c mutex.c __pthread_create.c ___lwp_create.c __lwp_create.c _-pthread_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 _-sgTTy.c sgTTy.c setlogin.c _-mkfifo.c mkfifo.c _-fseeko.c fseeko.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 _-sysinfo.c _-sysconf.c _-sysconf2.c netsh_none.c _-regex.c regex.c errno.c Gates_Win32.c gethostid.c opt_s_vsap.c opt_s_htaccept.c opt_s_sox.c opt_s_stls.c opt_s_caps.c opt_s_pilsner.c opt_s_spinach.c
#
** dummy.c is substituted
#
** gxx.c is substituted
#
** p2ll.c is substituted
#
** p2i.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
#
** 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
#
-- __ualarm may not be in the libraries, but try to get it.
#
** ualarm.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.
#
-- _-poll1 may not be in the libraries, but try to get it.
#
-- _-poll2 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
#
** snprintf.c is substituted
#
** strcasecmp.c is substituted
#
-- _-strcasestr may not be in the libraries, but try to get it.
#
** 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
#
-- __system may not be in the libraries, but try to get it.
#
-- _-system may not be in the libraries, but try to get it.
#
-- _-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_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
#
-- _-sgTTy may not be in the libraries, but try to get it.
#
** sgTTy.c is substituted
#
** setlogin.c is substituted
#
-- _-mkfifo may not be in the libraries, but try to get it.
#
** mkfifo.c is substituted
#
-- _-fseeko may not be in the libraries, but try to get it.
#
** fseeko.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
#
-- _-sysinfo may not be in the libraries, but try to get it.
#
-- _-sysconf may not be in the libraries, but try to get it.
#
-- _-sysconf2 may not be in the libraries, but try to get it.
#
** netsh_none.c is substituted
#
-- _-regex may not be in the libraries, but try to get it.
#
** regex.c is substituted
#
** errno.c is substituted
#
** Gates_Win32.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
#
** opt_s_pilsner.c is substituted
#
** opt_s_spinach.c is substituted
#
#### dumped to '/tmp/delegate/src/delegate9.9.13/maker/libsubst.a.list' (175)
#
#### mksubst errors to /tmp/delegate/src/delegate9.9.13/maker/errors: 1492117294
#
mksub[0] /usr/bin/make
#
mksub[1] MAKE=/usr/bin/make
#
mksub[2] -f
#
mksub[3] Makefile.go
#
mksub[4] CC=clang
#
mksub[5] CFLAGS=-Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64
#
mksub[6] HDRDIR=-I../gen -I../include -Wno-narrowing
#
mksub[7] RANLIB=/usr/bin/ranlib
#
mksub[8] LIBFILE=libsubst.a
#
mksub[9] dummy.o
#
mksub[10] gxx.o
#
mksub[11] p2ll.o
#
mksub[12] p2i.o
#
mksub[13] dlopen.o
#
mksub[14] __uname.o
#
mksub[15] uname.o
#
mksub[16] bcopy.o
#
mksub[17] bzero.o
#
mksub[18] putenv.o
#
mksub[19] unsetenv.o
#
mksub[20] unsetenv_.o
#
mksub[21] __alloca.o
#
mksub[22] old_alloca.o
#
mksub[23] alloca.o
#
mksub[24] __malloc_size.o
#
mksub[25] malloc_size.o
#
mksub[26] killpg.o
#
mksub[27] setsid.o
#
mksub[28] sigmask.o
#
mksub[29] sigsetmask.o
#
mksub[30] setresuid.o
#
mksub[31] seteuid.o
#
mksub[32] setegid.o
#
mksub[33] unaligned.o
#
mksub[34] timegm.o
#
mksub[35] __usleep.o
#
mksub[36] usleep.o
#
mksub[37] __ualarm.o
#
mksub[38] ualarm.o
#
mksub[39] _-poll.o
#
mksub[40] _-select.o
#
mksub[41] _-poll1.o
#
mksub[42] _-poll2.o
#
mksub[43] _-recv.o
#
mksub[44] sendFd1.o
#
mksub[45] sendFd2.o
#
mksub[46] sendFd3.o
#
mksub[47] closesocket.o
#
mksub[48] yp_match.o
#
mksub[49] endhostent.o
#
mksub[50] gethostbyname2.o
#
mksub[51] __gethostbyname2.o
#
mksub[52] socklen_u.o
#
mksub[53] socklen_s.o
#
mksub[54] socketpair.o
#
mksub[55] inet_aton.o
#
mksub[56] _-setferror.o
#
mksub[57] setferror.o
#
mksub[58] strerror.o
#
mksub[59] snprintf.o
#
mksub[60] strcasecmp.o
#
mksub[61] _-strcasestr.o
#
mksub[62] strcasestr.o
#
mksub[63] strrcasestr.o
#
mksub[64] strstr.o
#
mksub[65] strdup.o
#
mksub[66] strncpy.o
#
mksub[67] setbuffer.o
#
mksub[68] setlinebuf.o
#
mksub[69] __syslog.o
#
mksub[70] syslog.o
#
mksub[71] __syscall.o
#
mksub[72] __fork.o
#
mksub[73] fork.o
#
mksub[74] __ptrace.o
#
mksub[75] _-ptrace.o
#
mksub[76] ptrace.o
#
mksub[77] __sigaction.o
#
mksub[78] sigaction.o
#
mksub[79] __futimes.o
#
mksub[80] futimes.o
#
mksub[81] futimes_.o
#
mksub[82] __utimes.o
#
mksub[83] utimes.o
#
mksub[84] fsync.o
#
mksub[85] __fchmod.o
#
mksub[86] fchmod.o
#
mksub[87] __fchown.o
#
mksub[88] fchown.o
#
mksub[89] chown.o
#
mksub[90] __link.o
#
mksub[91] link.o
#
mksub[92] __symlink.o
#
mksub[93] symlink.o
#
mksub[94] readlink.o
#
mksub[95] __lstat.o
#
mksub[96] lstat.o
#
mksub[97] __statvfs.o
#
mksub[98] _-statvfs.o
#
mksub[99] statvfs.o
#
mksub[100] vfork.o
#
mksub[101] wait3.o
#
mksub[102] waitpid.o
#
mksub[103] getmsg.o
#
mksub[104] chroot.o
#
mksub[105] nice.o
#
mksub[106] __getrlimit.o
#
mksub[107] getrlimit.o
#
mksub[108] _-getrusage.o
#
mksub[109] getrusage.o
#
mksub[110] ___spawnvp.o
#
mksub[111] __spawnvp.o
#
mksub[112] _spawnvp.o
#
mksub[113] spawnvp.o
#
mksub[114] spawnvp_.o
#
mksub[115] __system.o
#
mksub[116] _-system.o
#
mksub[117] _-mutex.o
#
mksub[118] mutex.o
#
mksub[119] __pthread_create.o
#
mksub[120] ___lwp_create.o
#
mksub[121] __lwp_create.o
#
mksub[122] _-pthread_create.o
#
mksub[123] __pthread_kill.o
#
mksub[124] pthread_kill.o
#
mksub[125] ___beginthread.o
#
mksub[126] nothread.o
#
mksub[127] __flock.o
#
mksub[128] _-fcntl.o
#
mksub[129] flockfile.o
#
mksub[130] FMODE.o
#
mksub[131] getwd.o
#
mksub[132] getcwd.o
#
mksub[133] __opendir.o
#
mksub[134] __scandir.o
#
mksub[135] pam_start.o
#
mksub[136] __forkpty.o
#
mksub[137] _-forkpty.o
#
mksub[138] forkpty1.o
#
mksub[139] forkpty.o
#
mksub[140] __tcsetattr.o
#
mksub[141] Stty.o
#
mksub[142] __getwinsize.o
#
mksub[143] getwinsize.o
#
mksub[144] _-sgTTy.o
#
mksub[145] sgTTy.o
#
mksub[146] setlogin.o
#
mksub[147] _-mkfifo.o
#
mksub[148] mkfifo.o
#
mksub[149] _-fseeko.o
#
mksub[150] fseeko.o
#
mksub[151] _-fgetpos.o
#
mksub[152] fgetpos.o
#
mksub[153] fpurge.o
#
mksub[154] stdio.o
#
mksub[155] pendingcc1.o
#
mksub[156] pendingcc.o
#
mksub[157] _-fcloseFILE.o
#
mksub[158] _-fcloseFILE2.o
#
mksub[159] fcloseFILE.o
#
mksub[160] __setproctitle.o
#
mksub[161] setproctitle.o
#
mksub[162] __sysctl.o
#
mksub[163] sysctl.o
#
mksub[164] __sysinfo.o
#
mksub[165] __sysconf.o
#
mksub[166] sysinfo.o
#
mksub[167] sysctlbyname.o
#
mksub[168] _-sysinfo.o
#
mksub[169] _-sysconf.o
#
mksub[170] _-sysconf2.o
#
mksub[171] netsh_none.o
#
mksub[172] _-regex.o
#
mksub[173] regex.o
#
mksub[174] errno.o
#
mksub[175] Gates_Win32.o
#
mksub[176] gethostid.o
#
mksub[177] opt_s_make[5]: Entering directory '/tmp/delegate/src/delegate9.9.13/maker'
#
../mkcpp dummy.c dummy.cc
#
-- mkcpp set time: 1492117294 -> 1250403944 dummy.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c dummy.cc
#
../mkcpp gxx.c gxx.cc
#
-- mkcpp set time: 1492117294 -> 1250403944 gxx.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c gxx.cc
#
../mkcpp p2ll.c p2ll.cc
#
-- mkcpp set time: 1492117294 -> 1264762184 p2ll.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c p2ll.cc
#
../mkcpp p2i.c p2i.cc
#
-- mkcpp set time: 1492117294 -> 1250437127 p2i.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c p2i.cc
#
../mkcpp dlopen.c dlopen.cc
#
-- mkcpp set time: 1492117294 -> 1250403944 dlopen.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c dlopen.cc
#
../mkcpp __uname.c __uname.cc
#
-- mkcpp set time: 1492117294 -> 1250403944 __uname.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c __uname.cc
#
../mkcpp uname.c uname.cc
#
-- mkcpp set time: 1492117294 -> 1250403944 uname.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c uname.cc
#
../mkcpp bcopy.c bcopy.cc
#
-- mkcpp set time: 1492117294 -> 1250403944 bcopy.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c bcopy.cc
#
../mkcpp bzero.c bzero.cc
#
-- mkcpp set time: 1492117294 -> 1250403944 bzero.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c bzero.cc
#
../mkcpp putenv.c putenv.cc
#
-- mkcpp set time: 1492117294 -> 1250403944 putenv.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c putenv.cc
#
../mkcpp unsetenv.c unsetenv.cc
#
-- mkcpp set time: 1492117294 -> 1258383662 unsetenv.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c unsetenv.cc
#
../mkcpp unsetenv_.c unsetenv_.cc
#
-- mkcpp set time: 1492117294 -> 1258383683 unsetenv_.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c unsetenv_.cc
#
../mkcpp __alloca.c __alloca.cc
#
-- mkcpp set time: 1492117294 -> 1264832949 __alloca.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c __alloca.cc
#
../mkcpp old_alloca.c old_alloca.cc
#
-- mkcpp set time: 1492117294 -> 1250403944 old_alloca.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c old_alloca.cc
#
../mkcpp alloca.c alloca.cc
#
-- mkcpp set time: 1492117294 -> 1250403944 alloca.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c alloca.cc
#
../mkcpp __malloc_size.c __malloc_size.cc
#
-- mkcpp set time: 1492117294 -> 1250403944 __malloc_size.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c __malloc_size.cc
#
../mkcpp malloc_size.c malloc_size.cc
#
-- mkcpp set time: 1492117294 -> 1250403944 malloc_size.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c malloc_size.cc
#
../mkcpp killpg.c killpg.cc
#
-- mkcpp set time: 1492117294 -> 1250403944 killpg.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c killpg.cc
#
../mkcpp setsid.c setsid.cc
#
-- mkcpp set time: 1492117294 -> 1250403944 setsid.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c setsid.cc
#
../mkcpp sigmask.c sigmask.cc
#
-- mkcpp set time: 1492117294 -> 1250403944 sigmask.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c sigmask.cc
#
../mkcpp sigsetmask.c sigsetmask.cc
#
-- mkcpp set time: 1492117294 -> 1250403944 sigsetmask.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c sigsetmask.cc
#
../mkcpp setresuid.c setresuid.cc
#
-- mkcpp set time: 1492117296 -> 1250403944 setresuid.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c setresuid.cc
#
../mkcpp seteuid.c seteuid.cc
#
-- mkcpp set time: 1492117296 -> 1250403944 seteuid.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c seteuid.cc
#
../mkcpp setegid.c setegid.cc
#
-- mkcpp set time: 1492117296 -> 1250403944 setegid.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c setegid.cc
#
../mkcpp unaligned.c unaligned.cc
#
-- mkcpp set time: 1492117296 -> 1250403944 unaligned.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c unaligned.cc
#
../mkcpp timegm.c timegm.cc
#
-- mkcpp set time: 1492117296 -> 1250403944 timegm.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c timegm.cc
#
../mkcpp __usleep.c __usleep.cc
#
-- mkcpp set time: 1492117296 -> 1250403944 __usleep.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c __usleep.cc
#
../mkcpp usleep.c usleep.cc
#
-- mkcpp set time: 1492117296 -> 1250403944 usleep.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c usleep.cc
#
../mkcpp __ualarm.c __ualarm.cc
#
-- mkcpp set time: 1492117296 -> 1399581242 __ualarm.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c __ualarm.cc
#
../mkcpp ualarm.c ualarm.cc
#
-- mkcpp set time: 1492117296 -> 1399581414 ualarm.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c ualarm.cc
#
../mkcpp _-poll.c _-poll.cc
#
-- mkcpp set time: 1492117296 -> 1285540963 _-poll.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c _-poll.cc
#
../mkcpp _-select.c _-select.cc
#
-- mkcpp set time: 1492117296 -> 1285419288 _-select.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c _-select.cc
#
../mkcpp _-poll1.c _-poll1.cc
#
-- mkcpp set time: 1492117297 -> 1264723126 _-poll1.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c _-poll1.cc
#
../mkcpp _-poll2.c _-poll2.cc
#
-- mkcpp set time: 1492117297 -> 1264723169 _-poll2.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c _-poll2.cc
#
../mkcpp _-recv.c _-recv.cc
#
-- mkcpp set time: 1492117297 -> 1250403944 _-recv.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c _-recv.cc
#
../mkcpp sendFd1.c sendFd1.cc
#
-- mkcpp set time: 1492117297 -> 1250403944 sendFd1.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c sendFd1.cc
#
../mkcpp sendFd2.c sendFd2.cc
#
-- mkcpp set time: 1492117297 -> 1250403944 sendFd2.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c sendFd2.cc
#
../mkcpp sendFd3.c sendFd3.cc
#
-- mkcpp set time: 1492117297 -> 1250403944 sendFd3.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c sendFd3.cc
#
../mkcpp closesocket.c closesocket.cc
#
-- mkcpp set time: 1492117297 -> 1250403944 closesocket.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c closesocket.cc
#
../mkcpp yp_match.c yp_match.cc
#
-- mkcpp set time: 1492117297 -> 1260929635 yp_match.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c yp_match.cc
#
../mkcpp endhostent.c endhostent.cc
#
-- mkcpp set time: 1492117297 -> 1250403944 endhostent.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c endhostent.cc
#
../mkcpp gethostbyname2.c gethostbyname2.cc
#
-- mkcpp set time: 1492117297 -> 1267700225 gethostbyname2.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c gethostbyname2.cc
#
../mkcpp __gethostbyname2.c __gethostbyname2.cc
#
-- mkcpp set time: 1492117297 -> 1267610683 __gethostbyname2.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c __gethostbyname2.cc
#
../mkcpp socklen_u.c socklen_u.cc
#
-- mkcpp set time: 1492117297 -> 1250403944 socklen_u.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c socklen_u.cc
#
../mkcpp socklen_s.c socklen_s.cc
#
-- mkcpp set time: 1492117297 -> 1250403944 socklen_s.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c socklen_s.cc
#
../mkcpp socketpair.c socketpair.cc
#
-- mkcpp set time: 1492117297 -> 1250403944 socketpair.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c socketpair.cc
#
../mkcpp inet_aton.c inet_aton.cc
#
-- mkcpp set time: 1492117297 -> 1250403944 inet_aton.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c inet_aton.cc
#
../mkcpp _-setferror.c _-setferror.cc
#
-- mkcpp set time: 1492117297 -> 1264830859 _-setferror.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c _-setferror.cc
#
../mkcpp setferror.c setferror.cc
#
-- mkcpp set time: 1492117298 -> 1250403944 setferror.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c setferror.cc
#
../mkcpp strerror.c strerror.cc
#
-- mkcpp set time: 1492117298 -> 1250403944 strerror.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c strerror.cc
#
../mkcpp snprintf.c snprintf.cc
#
-- mkcpp set time: 1492117298 -> 1258811773 snprintf.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c snprintf.cc
#
../mkcpp strcasecmp.c strcasecmp.cc
#
-- mkcpp set time: 1492117298 -> 1250403944 strcasecmp.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c strcasecmp.cc
#
../mkcpp _-strcasestr.c _-strcasestr.cc
#
-- mkcpp set time: 1492117298 -> 1260957403 _-strcasestr.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c _-strcasestr.cc
#
../mkcpp strcasestr.c strcasestr.cc
#
-- mkcpp set time: 1492117298 -> 1250403944 strcasestr.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c strcasestr.cc
#
../mkcpp strrcasestr.c strrcasestr.cc
#
-- mkcpp set time: 1492117298 -> 1250403944 strrcasestr.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c strrcasestr.cc
#
../mkcpp strstr.c strstr.cc
#
-- mkcpp set time: 1492117298 -> 1250403944 strstr.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c strstr.cc
#
../mkcpp strdup.c strdup.cc
#
-- mkcpp set time: 1492117298 -> 1250403944 strdup.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c strdup.cc
#
../mkcpp strncpy.c strncpy.cc
#
-- mkcpp set time: 1492117298 -> 1250403944 strncpy.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c strncpy.cc
#
../mkcpp setbuffer.c setbuffer.cc
#
-- mkcpp set time: 1492117298 -> 1250403944 setbuffer.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c setbuffer.cc
#
../mkcpp setlinebuf.c setlinebuf.cc
#
-- mkcpp set time: 1492117298 -> 1250403944 setlinebuf.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c setlinebuf.cc
#
../mkcpp __syslog.c __syslog.cc
#
-- mkcpp set time: 1492117298 -> 1250403944 __syslog.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c __syslog.cc
#
../mkcpp syslog.c syslog.cc
#
-- mkcpp set time: 1492117300 -> 1250403944 syslog.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c syslog.cc
#
../mkcpp __syscall.c __syscall.cc
#
-- mkcpp set time: 1492117300 -> 1250403944 __syscall.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c __syscall.cc
#
../mkcpp __fork.c __fork.cc
#
-- mkcpp set time: 1492117300 -> 1250403944 __fork.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c __fork.cc
#
../mkcpp fork.c fork.cc
#
-- mkcpp set time: 1492117300 -> 1250403944 fork.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c fork.cc
#
../mkcpp __ptrace.c __ptrace.cc
#
-- mkcpp set time: 1492117300 -> 1250403944 __ptrace.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c __ptrace.cc
#
../mkcpp _-ptrace.c _-ptrace.cc
#
-- mkcpp set time: 1492117300 -> 1250403944 _-ptrace.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c _-ptrace.cc
#
../mkcpp ptrace.c ptrace.cc
#
-- mkcpp set time: 1492117300 -> 1250403944 ptrace.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c ptrace.cc
#
../mkcpp __sigaction.c __sigaction.cc
#
-- mkcpp set time: 1492117300 -> 1250403944 __sigaction.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c __sigaction.cc
#
../mkcpp sigaction.c sigaction.cc
#
-- mkcpp set time: 1492117300 -> 1250403944 sigaction.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c sigaction.cc
#
../mkcpp __futimes.c __futimes.cc
#
-- mkcpp set time: 1492117300 -> 1250403944 __futimes.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c __futimes.cc
#
../mkcpp futimes.c futimes.cc
#
-- mkcpp set time: 1492117300 -> 1250403944 futimes.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c futimes.cc
#
../mkcpp futimes_.c futimes_.cc
#
-- mkcpp set time: 1492117300 -> 1250403944 futimes_.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c futimes_.cc
#
../mkcpp __utimes.c __utimes.cc
#
-- mkcpp set time: 1492117300 -> 1250403944 __utimes.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c __utimes.cc
#
../mkcpp utimes.c utimes.cc
#
-- mkcpp set time: 1492117300 -> 1250403944 utimes.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c utimes.cc
#
../mkcpp fsync.c fsync.cc
#
-- mkcpp set time: 1492117301 -> 1250403944 fsync.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c fsync.cc
#
../mkcpp __fchmod.c __fchmod.cc
#
-- mkcpp set time: 1492117301 -> 1250403944 __fchmod.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c __fchmod.cc
#
../mkcpp fchmod.c fchmod.cc
#
-- mkcpp set time: 1492117301 -> 1250403944 fchmod.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c fchmod.cc
#
../mkcpp __fchown.c __fchown.cc
#
-- mkcpp set time: 1492117301 -> 1250403944 __fchown.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c __fchown.cc
#
../mkcpp fchown.c fchown.cc
#
-- mkcpp set time: 1492117301 -> 1250403944 fchown.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c fchown.cc
#
../mkcpp chown.c chown.cc
#
-- mkcpp set time: 1492117301 -> 1250403944 chown.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c chown.cc
#
../mkcpp __link.c __link.cc
#
-- mkcpp set time: 1492117301 -> 1250403944 __link.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c __link.cc
#
../mkcpp link.c link.cc
#
-- mkcpp set time: 1492117301 -> 1250403944 link.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c link.cc
#
../mkcpp __symlink.c __symlink.cc
#
-- mkcpp set time: 1492117301 -> 1250403944 __symlink.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c __symlink.cc
#
../mkcpp symlink.c symlink.cc
#
-- mkcpp set time: 1492117301 -> 1250403944 symlink.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c symlink.cc
#
../mkcpp readlink.c readlink.cc
#
-- mkcpp set time: 1492117301 -> 1250403944 readlink.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c readlink.cc
#
../mkcpp __lstat.c __lstat.cc
#
-- mkcpp set time: 1492117301 -> 1250403944 __lstat.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c __lstat.cc
#
../mkcpp lstat.c lstat.cc
#
-- mkcpp set time: 1492117301 -> 1250403944 lstat.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c lstat.cc
#
../mkcpp __statvfs.c __statvfs.cc
#
-- mkcpp set time: 1492117302 -> 1250403944 __statvfs.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c __statvfs.cc
#
../mkcpp _-statvfs.c _-statvfs.cc
#
-- mkcpp set time: 1492117302 -> 1250403944 _-statvfs.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c _-statvfs.cc
#
../mkcpp statvfs.c statvfs.cc
#
-- mkcpp set time: 1492117302 -> 1250403944 statvfs.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c statvfs.cc
#
../mkcpp vfork.c vfork.cc
#
-- mkcpp set time: 1492117302 -> 1250403944 vfork.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c vfork.cc
#
../mkcpp wait3.c wait3.cc
#
-- mkcpp set time: 1492117302 -> 1250403944 wait3.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c wait3.cc
#
../mkcpp waitpid.c waitpid.cc
#
-- mkcpp set time: 1492117302 -> 1250403944 waitpid.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c waitpid.cc
#
../mkcpp getmsg.c getmsg.cc
#
-- mkcpp set time: 1492117302 -> 1264188944 getmsg.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c getmsg.cc
#
../mkcpp chroot.c chroot.cc
#
-- mkcpp set time: 1492117302 -> 1250403944 chroot.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c chroot.cc
#
../mkcpp nice.c nice.cc
#
-- mkcpp set time: 1492117302 -> 1250403944 nice.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c nice.cc
#
../mkcpp __getrlimit.c __getrlimit.cc
#
-- mkcpp set time: 1492117302 -> 1250403944 __getrlimit.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c __getrlimit.cc
#
../mkcpp getrlimit.c getrlimit.cc
#
-- mkcpp set time: 1492117302 -> 1250403944 getrlimit.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c getrlimit.cc
#
../mkcpp _-getrusage.c _-getrusage.cc
#
-- mkcpp set time: 1492117302 -> 1250403944 _-getrusage.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c _-getrusage.cc
#
../mkcpp getrusage.c getrusage.cc
#
-- mkcpp set time: 1492117302 -> 1250403944 getrusage.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c getrusage.cc
#
../mkcpp ___spawnvp.c ___spawnvp.cc
#
-- mkcpp set time: 1492117302 -> 1250403944 ___spawnvp.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c ___spawnvp.cc
#
../mkcpp __spawnvp.c __spawnvp.cc
#
-- mkcpp set time: 1492117302 -> 1250403944 __spawnvp.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c __spawnvp.cc
#
../mkcpp _spawnvp.c _spawnvp.cc
#
-- mkcpp set time: 1492117302 -> 1250403944 _spawnvp.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c _spawnvp.cc
#
../mkcpp spawnvp.c spawnvp.cc
#
-- mkcpp set time: 1492117302 -> 1250403944 spawnvp.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c spawnvp.cc
#
../mkcpp spawnvp_.c spawnvp_.cc
#
-- mkcpp set time: 1492117302 -> 1250403944 spawnvp_.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c spawnvp_.cc
#
../mkcpp __system.c __system.cc
#
-- mkcpp set time: 1492117302 -> 1399867918 __system.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c __system.cc
#
../mkcpp _-system.c _-system.cc
#
-- mkcpp set time: 1492117302 -> 1399868948 _-system.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c _-system.cc
#
../mkcpp _-mutex.c _-mutex.cc
#
-- mkcpp set time: 1492117302 -> 1264830899 _-mutex.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c _-mutex.cc
#
../mkcpp mutex.c mutex.cc
#
-- mkcpp set time: 1492117302 -> 1260321369 mutex.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c mutex.cc
#
../mkcpp __pthread_create.c __pthread_create.cc
#
-- mkcpp set time: 1492117302 -> 1269170169 __pthread_create.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c __pthread_create.cc
#
../mkcpp ___lwp_create.c ___lwp_create.cc
#
-- mkcpp set time: 1492117302 -> 1261016515 ___lwp_create.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c ___lwp_create.cc
#
../mkcpp __lwp_create.c __lwp_create.cc
#
-- mkcpp set time: 1492117302 -> 1261016522 __lwp_create.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c __lwp_create.cc
#
../mkcpp _-pthread_create.c _-pthread_create.cc
#
-- mkcpp set time: 1492117302 -> 1250403944 _-pthread_create.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c _-pthread_create.cc
#
../mkcpp __pthread_kill.c __pthread_kill.cc
#
-- mkcpp set time: 1492117303 -> 1261023674 __pthread_kill.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c __pthread_kill.cc
#
../mkcpp pthread_kill.c pthread_kill.cc
#
-- mkcpp set time: 1492117303 -> 1250403944 pthread_kill.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c pthread_kill.cc
#
../mkcpp ___beginthread.c ___beginthread.cc
#
-- mkcpp set time: 1492117303 -> 1261016497 ___beginthread.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c ___beginthread.cc
#
../mkcpp nothread.c nothread.cc
#
-- mkcpp set time: 1492117303 -> 1261023598 nothread.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c nothread.cc
#
../mkcpp __flock.c __flock.cc
#
-- mkcpp set time: 1492117303 -> 1250403944 __flock.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c __flock.cc
#
../mkcpp _-fcntl.c _-fcntl.cc
#
-- mkcpp set time: 1492117303 -> 1250403944 _-fcntl.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c _-fcntl.cc
#
../mkcpp flockfile.c flockfile.cc
#
-- mkcpp set time: 1492117303 -> 1250403944 flockfile.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c flockfile.cc
#
../mkcpp FMODE.c FMODE.cc
#
-- mkcpp set time: 1492117303 -> 1250403944 FMODE.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c FMODE.cc
#
../mkcpp getwd.c getwd.cc
#
-- mkcpp set time: 1492117303 -> 1250403944 getwd.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c getwd.cc
#
../mkcpp getcwd.c getcwd.cc
#
-- mkcpp set time: 1492117303 -> 1250403944 getcwd.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c getcwd.cc
#
../mkcpp __opendir.c __opendir.cc
#
-- mkcpp set time: 1492117303 -> 1250403944 __opendir.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c __opendir.cc
#
../mkcpp __scandir.c __scandir.cc
#
-- mkcpp set time: 1492117303 -> 1250403944 __scandir.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c __scandir.cc
#
../mkcpp pam_start.c pam_start.cc
#
-- mkcpp set time: 1492117303 -> 1264821288 pam_start.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c pam_start.cc
#
../mkcpp __forkpty.c __forkpty.cc
#
-- mkcpp set time: 1492117303 -> 1264752941 __forkpty.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c __forkpty.cc
#
../mkcpp _-forkpty.c _-forkpty.cc
#
-- mkcpp set time: 1492117303 -> 1264752900 _-forkpty.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c _-forkpty.cc
#
../mkcpp forkpty1.c forkpty1.cc
#
-- mkcpp set time: 1492117303 -> 1264752703 forkpty1.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c forkpty1.cc
#
../mkcpp forkpty.c forkpty.cc
#
-- mkcpp set time: 1492117303 -> 1264752698 forkpty.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c forkpty.cc
#
../mkcpp __tcsetattr.c __tcsetattr.cc
#
-- mkcpp set time: 1492117303 -> 1250403944 __tcsetattr.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c __tcsetattr.cc
#
../mkcpp Stty.c Stty.cc
#
-- mkcpp set time: 1492117303 -> 1250403944 Stty.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c Stty.cc
#
../mkcpp __getwinsize.c __getwinsize.cc
#
-- mkcpp set time: 1492117303 -> 1250403944 __getwinsize.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c __getwinsize.cc
#
../mkcpp getwinsize.c getwinsize.cc
#
-- mkcpp set time: 1492117303 -> 1250403944 getwinsize.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c getwinsize.cc
#
../mkcpp _-sgTTy.c _-sgTTy.cc
#
-- mkcpp set time: 1492117303 -> 1267252190 _-sgTTy.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c _-sgTTy.cc
#
../mkcpp sgTTy.c sgTTy.cc
#
-- mkcpp set time: 1492117303 -> 1264765100 sgTTy.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c sgTTy.cc
#
../mkcpp setlogin.c setlogin.cc
#
-- mkcpp set time: 1492117304 -> 1267249144 setlogin.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c setlogin.cc
#
../mkcpp _-mkfifo.c _-mkfifo.cc
#
-- mkcpp set time: 1492117304 -> 1250403944 _-mkfifo.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c _-mkfifo.cc
#
../mkcpp mkfifo.c mkfifo.cc
#
-- mkcpp set time: 1492117304 -> 1250403944 mkfifo.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c mkfifo.cc
#
../mkcpp _-fseeko.c _-fseeko.cc
#
-- mkcpp set time: 1492117304 -> 1250403944 _-fseeko.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c _-fseeko.cc
#
../mkcpp fseeko.c fseeko.cc
#
-- mkcpp set time: 1492117304 -> 1250403944 fseeko.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c fseeko.cc
#
../mkcpp _-fgetpos.c _-fgetpos.cc
#
-- mkcpp set time: 1492117304 -> 1250403944 _-fgetpos.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c _-fgetpos.cc
#
../mkcpp fgetpos.c fgetpos.cc
#
-- mkcpp set time: 1492117304 -> 1250403944 fgetpos.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c fgetpos.cc
#
../mkcpp fpurge.c fpurge.cc
#
-- mkcpp set time: 1492117304 -> 1250403944 fpurge.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c fpurge.cc
#
../mkcpp stdio.c stdio.cc
#
-- mkcpp set time: 1492117304 -> 1250403944 stdio.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c stdio.cc
#
../mkcpp pendingcc1.c pendingcc1.cc
#
-- mkcpp set time: 1492117304 -> 1250403944 pendingcc1.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c pendingcc1.cc
#
../mkcpp pendingcc.c pendingcc.cc
#
-- mkcpp set time: 1492117304 -> 1250403944 pendingcc.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c pendingcc.cc
#
../mkcpp _-fcloseFILE.c _-fcloseFILE.cc
#
-- mkcpp set time: 1492117304 -> 1277060405 _-fcloseFILE.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c _-fcloseFILE.cc
#
../mkcpp _-fcloseFILE2.c _-fcloseFILE2.cc
#
-- mkcpp set time: 1492117304 -> 1277037481 _-fcloseFILE2.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c _-fcloseFILE2.cc
#
../mkcpp fcloseFILE.c fcloseFILE.cc
#
-- mkcpp set time: 1492117304 -> 1277037485 fcloseFILE.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c fcloseFILE.cc
#
../mkcpp __setproctitle.c __setproctitle.cc
#
-- mkcpp set time: 1492117304 -> 1250403944 __setproctitle.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c __setproctitle.cc
#
../mkcpp setproctitle.c setproctitle.cc
#
-- mkcpp set time: 1492117304 -> 1250403944 setproctitle.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c setproctitle.cc
#
../mkcpp __sysctl.c __sysctl.cc
#
-- mkcpp set time: 1492117304 -> 1250403944 __sysctl.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c __sysctl.cc
#
../mkcpp sysctl.c sysctl.cc
#
-- mkcpp set time: 1492117322 -> 1250403944 sysctl.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c sysctl.cc
#
../mkcpp __sysinfo.c __sysinfo.cc
#
-- mkcpp set time: 1492117322 -> 1250403944 __sysinfo.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c __sysinfo.cc
#
../mkcpp __sysconf.c __sysconf.cc
#
-- mkcpp set time: 1492117322 -> 1260308041 __sysconf.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c __sysconf.cc
#
../mkcpp sysinfo.c sysinfo.cc
#
-- mkcpp set time: 1492117322 -> 1250403944 sysinfo.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c sysinfo.cc
#
../mkcpp sysctlbyname.c sysctlbyname.cc
#
-- mkcpp set time: 1492117322 -> 1250403944 sysctlbyname.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c sysctlbyname.cc
#
../mkcpp _-sysinfo.c _-sysinfo.cc
#
-- mkcpp set time: 1492117322 -> 1250403944 _-sysinfo.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c _-sysinfo.cc
#
../mkcpp _-sysconf.c _-sysconf.cc
#
-- mkcpp set time: 1492117322 -> 1260315483 _-sysconf.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c _-sysconf.cc
#
../mkcpp _-sysconf2.c _-sysconf2.cc
#
-- mkcpp set time: 1492117322 -> 1260312855 _-sysconf2.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c _-sysconf2.cc
#
../mkcpp netsh_none.c netsh_none.cc
#
-- mkcpp set time: 1492117322 -> 1263150337 netsh_none.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c netsh_none.cc
#
../mkcpp _-regex.c _-regex.cc
#
-- mkcpp set time: 1492117322 -> 1286129969 _-regex.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c _-regex.cc
#
../mkcpp regex.c regex.cc
#
-- mkcpp set time: 1492117322 -> 1286178673 regex.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c regex.cc
#
../mkcpp errno.c errno.cc
#
-- mkcpp set time: 1492117322 -> 1250403944 errno.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c errno.cc
#
../mkcpp Gates_Win32.c Gates_Win32.cc
#
-- mkcpp set time: 1492117322 -> 1414480232 Gates_Win32.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c Gates_Win32.cc
#
../mkcpp gethostid.c gethostid.cc
#
-- mkcpp set time: 1492117322 -> 1250403944 gethostid.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c gethostid.cc
#
../mkcpp opt_s_vsap.c opt_s_vsap.cc
#
-- mkcpp set time: 1492117322 -> 1250403944 opt_s_vsap.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c opt_s_vsap.cc
#
../mkcpp opt_s_htaccept.c opt_s_htaccept.cc
#
-- mkcpp set time: 1492117323 -> 1250403944 opt_s_htaccept.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c opt_s_htaccept.cc
#
../mkcpp opt_s_sox.c opt_s_sox.cc
#
-- mkcpp set time: 1492117323 -> 1250403944 opt_s_sox.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c opt_s_sox.cc
#
../mkcpp opt_s_stls.c opt_s_stls.cc
#
-- mkcpp set time: 1492117323 -> 1250403944 opt_s_stls.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c opt_s_stls.cc
#
../mkcpp opt_s_caps.c opt_s_caps.cc
#
-- mkcpp set time: 1492117323 -> 1250403944 opt_s_caps.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c opt_s_caps.cc
#
../mkcpp opt_s_pilsner.c opt_s_pilsner.cc
#
-- mkcpp set time: 1492117323 -> 1250403944 opt_s_pilsner.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c opt_s_pilsner.cc
#
../mkcpp opt_s_spinach.c opt_s_spinach.cc
#
-- mkcpp set time: 1492117323 -> 1257721910 opt_s_spinach.cc
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -Wno-narrowing -c opt_s_spinach.cc
#
make[5]: Leaving directory '/tmp/delegate/src/delegate9.9.13/maker'
#
vsap.o
#
mksub[178] opt_s_htaccept.o
#
mksub[179] opt_s_sox.o
#
mksub[180] opt_s_stls.o
#
mksub[181] opt_s_caps.o
#
mksub[182] opt_s_pilsner.o
#
mksub[183] opt_s_spinach.o
#
make[5]: Entering directory '/tmp/delegate/src/delegate9.9.13/maker'
#
ar cr libtemp.a dummy.o gxx.o p2ll.o p2i.o dlopen.o __uname.o uname.o bcopy.o bzero.o putenv.o unsetenv.o unsetenv_.o __alloca.o old_alloca.o alloca.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 __ualarm.o ualarm.o _-poll.o _-select.o _-poll2.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 snprintf.o strcasecmp.o _-strcasestr.o strcasestr.o strrcasestr.o strstr.o strdup.o strncpy.o setbuffer.o setlinebuf.o __syslog.o syslog.o __syscall.o __fork.o fork.o __ptrace.o _-ptrace.o ptrace.o __sigaction.o sigaction.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 _-system.o _-mutex.o mutex.o __pthread_create.o ___lwp_create.o __lwp_create.o _-pthread_create.o __pthread_kill.o pthread_kill.o ___beginthread.o nothread.o __flock.o _-fcntl.o flockfile.o FMODE.o getwd.o getcwd.o __opendir.o pam_start.o _-forkpty.o forkpty1.o forkpty.o __tcsetattr.o Stty.o __getwinsize.o getwinsize.o _-sgTTy.o sgTTy.o setlogin.o _-mkfifo.o mkfifo.o _-fseeko.o fseeko.o _-fgetpos.o fpurge.o stdio.o pendingcc.o _-fcloseFILE2.o fcloseFILE.o setproctitle.o sysctl.o __sysinfo.o __sysconf.o sysinfo.o sysctlbyname.o _-sysinfo.o _-sysconf.o _-sysconf2.o netsh_none.o _-regex.o regex.o errno.o Gates_Win32.o gethostid.o opt_s_vsap.o opt_s_htaccept.o opt_s_sox.o opt_s_stls.o opt_s_caps.o opt_s_pilsner.o opt_s_spinach.o
#
/usr/bin/ranlib libtemp.a
#
cp libtemp.a libsubst.a
#
/usr/bin/ranlib libsubst.a
#
make[5]: Leaving directory '/tmp/delegate/src/delegate9.9.13/maker'
#
libmk[0] /usr/bin/make
#
libmk[1] MAKE=/usr/bin/make
#
libmk[2] -f
#
libmk[3] Makefile.go
#
libmk[4] CC=clang
#
libmk[5] CFLAGS=-Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64
#
libmk[6] HDRDIR=-I../gen -I../include -Wno-narrowing
#
libmk[7] RANLIB=/usr/bin/ranlib
#
libmk[8] LIBFILE=libsubst.a
#
libmk[9] LIBOBJS=dummy.o gxx.o p2ll.o p2i.o dlopen.o __uname.o uname.o bcopy.o bzero.o putenv.o unsetenv.o unsetenv_.o __alloca.o old_alloca.o alloca.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 __ualarm.o ualarm.o _-poll.o _-select.o _-poll2.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 snprintf.o strcasecmp.o _-strcasestr.o strcasestr.o strrcasestr.o strstr.o strdup.o strncpy.o setbuffer.o setlinebuf.o __syslog.o syslog.o __syscall.o __fork.o fork.o __ptrace.o _-ptrace.o ptrace.o __sigaction.o sigaction.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 _-system.o _-mutex.o mutex.o __pthread_create.o ___lwp_create.o __lwp_create.o _-pthread_create.o __pthread_kill.o pthread_kill.o ___beginthread.o nothread.o __flock.o _-fcntl.o flockfile.o FMODE.o getwd.o getcwd.o __opendir.o pam_start.o _-forkpty.o forkpty1.o forkpty.o __tcsetattr.o Stty.o __getwinsize.o getwinsize.o _-sgTTy.o sgTTy.o setlogin.o _-mkfifo.o mkfifo.o _-fseeko.o fseeko.o _-fgetpos.o fpurge.o stdio.o pendingcc.o _-fcloseFILE2.o fcloseFILE.o setproctitle.o sysctl.o __sysinfo.o __sysconf.o sysinfo.o sysctlbyname.o _-sysinfo.o _-sysconf.o _-sysconf2.o netsh_none.o _-regex.o regex.o errno.o Gates_Win32.o gethostid.o opt_s_vsap.o opt_s_htaccept.o opt_s_sox.o opt_s_stls.o opt_s_caps.o opt_s_pilsner.o opt_s_spinach.o
#
libmk[10] libtemp.a
#
"/tmp/delegate/src/delegate9.9.13/mkmake.exe" -subst manmk "/usr/bin/make" "Makefile.go" "clang" "-Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 " "-I../gen -I../include -Wno-narrowing" "/usr/bin/ranlib" "libsubst.a" "-L../lib" "../lib/libresolvy.a ../lib/libteleport.a ../lib/libmd5.a ../lib/libcfi.a ../lib/library.a ../lib/libgates.a ../lib/libmimekit.a ../lib/libfsx.a -lnsl -ldl -lutil -lpthread -lpam -lstdc++ ../lib/library.a ../lib/libgates.a -lc" "-L../lib" "dummy.c gxx.c p2ll.c p2i.c dlopen.c __uname.c uname.c bcopy.c bzero.c putenv.c unsetenv.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 __ualarm.c ualarm.c _-poll.c _-select.c _-poll1.c _-poll2.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 snprintf.c strcasecmp.c _-strcasestr.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 __system.c _-system.c _-mutex.c mutex.c __pthread_create.c ___lwp_create.c __lwp_create.c _-pthread_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 _-sgTTy.c sgTTy.c setlogin.c _-mkfifo.c mkfifo.c _-fseeko.c fseeko.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 _-sysinfo.c _-sysconf.c _-sysconf2.c netsh_none.c _-regex.c regex.c errno.c Gates_Win32.c gethostid.c opt_s_vsap.c opt_s_htaccept.c opt_s_sox.c opt_s_stls.c opt_s_caps.c opt_s_pilsner.c opt_s_spinach.c"
#
---- testing CC capability [clang][-Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 ][] ...
#
***
#
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
#
_.c:2:1: error: C++ requires a type specifier for all declarations
#
main(){ }
#
^
#
1 error generated.
#
#
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
#
---- LD exit(256) clang _.o -lstdc++
#
#
***
#
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
#
_.c:1:16: error: field has incomplete type 'char []'
#
struct _S{char A[]; char B[1];}S;
#
^
#
_.c:2:1: error: C++ requires a type specifier for all declarations
#
main(){ }
#
^
#
2 errors generated.
#
#
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
#
---- LD exit(256) clang _.o -lstdc++
#
#
***
#
clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
#
_.c:2:1: error: C++ requires a type specifier for all declarations
#
main(){ }
#
^
#
1 error generated.
#
#
---- CC exit(256) clang -c -o _.o -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 _.c
#
---- LD exit(256) clang _.o -lstdc++
#
#
[clang -c -Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64 ] NONC99=2, NONAZ0=6 @0011ec079acd
#
MAKE=/usr/bin/make
#
MAKEFILE=Makefile.go
#
CC=clang
#
CFLAGS=-Wno-narrowing -x c++ -DQS -DNONC99=3 -Dm64
#
HDRDIR=-I../gen -I../include -Wno-narrowing
#
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/libgates.a ../lib/libmimekit.a ../lib/libfsx.a -lnsl -ldl -lutil -lpthread -lpam -lstdc++ ../lib/library.a ../lib/libgates.a -lc
#
LDFLAGS=-L../lib
#
Files=dummy.c gxx.c p2ll.c p2i.c dlopen.c __uname.c uname.c bcopy.c bzero.c putenv.c unsetenv.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 __ualarm.c ualarm.c _-poll.c _-select.c _-poll1.c _-poll2.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 snprintf.c strcasecmp.c _-strcasestr.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 __system.c _-system.c _-mutex.c mutex.c __pthread_create.c ___lwp_create.c __lwp_create.c _-pthread_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 _-sgTTy.c sgTTy.c setlogin.c _-mkfifo.c mkfifo.c _-fseeko.c fseeko.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 _-sysinfo.c _-sysconf.c _-sysconf2.c netsh_none.c _-regex.c regex.c errno.c Gates_Win32.c gethostid.c opt_s_vsap.c opt_s_htaccept.c opt_s_sox.c opt_s_stls.c opt_s_caps.c opt_s_pilsner.c opt_s_spinach.c
#
make[4]: Leaving directory '/tmp/delegate/src/delegate9.9.13/maker'
#
make[3]: Leaving directory '/tmp/delegate/src/delegate9.9.13/maker'
#
**[0] move ../maker/libsubst.a to ../lib/libsubst.a
#
../mkcpp version.c version._.c
#
-- mkcpp set time: 1492117323 -> 1414677366 version._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c version._.c -o version.o \
#
-DLICENSEE=\"""\"
#
version._.c:203:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( xsign = strrchr(DELEGATE_srcsign(),':') )
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
version._.c:203:12: note: place parentheses around the assignment to silence this warning
#
if( xsign = strrchr(DELEGATE_srcsign(),':') )
#
^
#
( )
#
version._.c:203:12: note: use '==' to turn this assignment into an equality comparison
#
if( xsign = strrchr(DELEGATE_srcsign(),':') )
#
^
#
==
#
version._.c:223:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( fp = vsign; oct = *fp; fp++ ){
#
~~~~^~~~~
#
version._.c:223:23: note: place parentheses around the assignment to silence this warning
#
for( fp = vsign; oct = *fp; fp++ ){
#
^
#
( )
#
version._.c:223:23: note: use '==' to turn this assignment into an equality comparison
#
for( fp = vsign; oct = *fp; fp++ ){
#
^
#
==
#
2 warnings generated.
#
../mkcpp ../srcsign.c ../srcsign._.c
#
-- mkcpp set time: 1492117323 -> 1414752138 ../srcsign._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c ../srcsign._.c -o ../srcsign.o -o ../srcsign.o
#
[/tmp/delegate/src/delegate9.9.13/src]cksum(../srcsign.c)
#
../mkcpp editconf.c editconf._.c
#
-- mkcpp set time: 1492117323 -> 1275177486 editconf._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c editconf._.c -o editconf.o
#
editconf._.c:43:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strpbrk(line,"\r\n") )
#
~~~^~~~~~~~~~~~~~~~~~~~~~
#
editconf._.c:43:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strpbrk(line,"\r\n") )
#
^
#
( )
#
editconf._.c:43:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strpbrk(line,"\r\n") )
#
^
#
==
#
editconf._.c:111:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( env = getEnvADMIN() )
#
~~~~^~~~~~~~~~~~~~~
#
editconf._.c:111:10: note: place parentheses around the assignment to silence this warning
#
if( env = getEnvADMIN() )
#
^
#
( )
#
editconf._.c:111:10: note: use '==' to turn this assignment into an equality comparison
#
if( env = getEnvADMIN() )
#
^
#
==
#
editconf._.c:120:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( admin = getADMIN1() )
#
~~~~~~^~~~~~~~~~~~~
#
editconf._.c:120:12: note: place parentheses around the assignment to silence this warning
#
if( admin = getADMIN1() )
#
^
#
( )
#
editconf._.c:120:12: note: use '==' to turn this assignment into an equality comparison
#
if( admin = getADMIN1() )
#
^
#
==
#
editconf._.c:180:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( admin = getADMIN() )
#
~~~~~~^~~~~~~~~~~~
#
editconf._.c:180:12: note: place parentheses around the assignment to silence this warning
#
if( admin = getADMIN() )
#
^
#
( )
#
editconf._.c:180:12: note: use '==' to turn this assignment into an equality comparison
#
if( admin = getADMIN() )
#
^
#
==
#
editconf._.c:199:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( pass = get_builtin_ADMINPASS() ){
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
#
editconf._.c:199:11: note: place parentheses around the assignment to silence this warning
#
if( pass = get_builtin_ADMINPASS() ){
#
^
#
( )
#
editconf._.c:199:11: note: use '==' to turn this assignment into an equality comparison
#
if( pass = get_builtin_ADMINPASS() ){
#
^
#
==
#
editconf._.c:289:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strpbrk(admin,"\r\n") )
#
~~~^~~~~~~~~~~~~~~~~~~~~~~
#
editconf._.c:289:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strpbrk(admin,"\r\n") )
#
^
#
( )
#
editconf._.c:289:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strpbrk(admin,"\r\n") )
#
^
#
==
#
editconf._.c:411:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp = fopen(test,"w") ){
#
~~~^~~~~~~~~~~~~~~~~
#
editconf._.c:411:10: note: place parentheses around the assignment to silence this warning
#
if( fp = fopen(test,"w") ){
#
^
#
( )
#
editconf._.c:411:10: note: use '==' to turn this assignment into an equality comparison
#
if( fp = fopen(test,"w") ){
#
^
#
==
#
7 warnings generated.
#
../mkcpp admin.c admin._.c
#
-- mkcpp set time: 1492117323 -> 1277029998 admin._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c admin._.c -o admin.o
#
admin._.c:94:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( env = admin_genv[sp] ){
#
~~~~^~~~~~~~~~~~~~~~
#
admin._.c:94:10: note: place parentheses around the assignment to silence this warning
#
if( env = admin_genv[sp] ){
#
^
#
( )
#
admin._.c:94:10: note: use '==' to turn this assignment into an equality comparison
#
if( env = admin_genv[sp] ){
#
^
#
==
#
admin._.c:249:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strrchr(vurl,'*') ) if( dp[1] == 0 ) truncVStr(dp);
#
~~~^~~~~~~~~~~~~~~~~~~
#
admin._.c:249:11: note: place parentheses around the assignment to silence this warning
#
if( dp = strrchr(vurl,'*') ) if( dp[1] == 0 ) truncVStr(dp);
#
^
#
( )
#
admin._.c:249:11: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strrchr(vurl,'*') ) if( dp[1] == 0 ) truncVStr(dp);
#
^
#
==
#
admin._.c:266:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strrchr(rurl,'*') ) if( dp[1] == 0 ) truncVStr(dp);
#
~~~^~~~~~~~~~~~~~~~~~~
#
admin._.c:266:11: note: place parentheses around the assignment to silence this warning
#
if( dp = strrchr(rurl,'*') ) if( dp[1] == 0 ) truncVStr(dp);
#
^
#
( )
#
admin._.c:266:11: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strrchr(rurl,'*') ) if( dp[1] == 0 ) truncVStr(dp);
#
^
#
==
#
admin._.c:375:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( val = getv(Form_argv,"vurl-path") ) strcat(froms,val);
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
admin._.c:375:11: note: place parentheses around the assignment to silence this warning
#
if( val = getv(Form_argv,"vurl-path") ) strcat(froms,val);
#
^
#
( )
#
admin._.c:375:11: note: use '==' to turn this assignment into an equality comparison
#
if( val = getv(Form_argv,"vurl-path") ) strcat(froms,val);
#
^
#
==
#
admin._.c:377:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( val = getv(Form_argv,"vurl-tail") )
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
admin._.c:377:12: note: place parentheses around the assignment to silence this warning
#
if( val = getv(Form_argv,"vurl-tail") )
#
^
#
( )
#
admin._.c:377:12: note: use '==' to turn this assignment into an equality comparison
#
if( val = getv(Form_argv,"vurl-tail") )
#
^
#
==
#
admin._.c:385:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( val = getv(Form_argv,"rurl-proto") ) strcat(tos,val);
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
admin._.c:385:11: note: place parentheses around the assignment to silence this warning
#
if( val = getv(Form_argv,"rurl-proto") ) strcat(tos,val);
#
^
#
( )
#
admin._.c:385:11: note: use '==' to turn this assignment into an equality comparison
#
if( val = getv(Form_argv,"rurl-proto") ) strcat(tos,val);
#
^
#
==
#
admin._.c:386:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( val = getv(Form_argv,"rurl-login") ) strcat(tos,val);
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
admin._.c:386:11: note: place parentheses around the assignment to silence this warning
#
if( val = getv(Form_argv,"rurl-login") ) strcat(tos,val);
#
^
#
( )
#
admin._.c:386:11: note: use '==' to turn this assignment into an equality comparison
#
if( val = getv(Form_argv,"rurl-login") ) strcat(tos,val);
#
^
#
==
#
admin._.c:387:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( val = getv(Form_argv,"rurl-tail") ) strcat(tos,val);
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
admin._.c:387:11: note: place parentheses around the assignment to silence this warning
#
if( val = getv(Form_argv,"rurl-tail") ) strcat(tos,val);
#
^
#
( )
#
admin._.c:387:11: note: use '==' to turn this assignment into an equality comparison
#
if( val = getv(Form_argv,"rurl-tail") ) strcat(tos,val);
#
^
#
==
#
admin._.c:422:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( ai = 0; from1 = Form_argv[ai]; ai++ ){
#
~~~~~~^~~~~~~~~~~~~~~
#
admin._.c:422:23: note: place parentheses around the assignment to silence this warning
#
for( ai = 0; from1 = Form_argv[ai]; ai++ ){
#
^
#
( )
#
admin._.c:422:23: note: use '==' to turn this assignment into an equality comparison
#
for( ai = 0; from1 = Form_argv[ai]; ai++ ){
#
^
#
==
#
admin._.c:539:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strtailstr(path,".pem") )
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~
#
admin._.c:539:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strtailstr(path,".pem") )
#
^
#
( )
#
admin._.c:539:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strtailstr(path,".pem") )
#
^
#
==
#
admin._.c:560:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp = fopen("dgca.cnf","w") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~
#
admin._.c:560:9: note: place parentheses around the assignment to silence this warning
#
if( fp = fopen("dgca.cnf","w") ){
#
^
#
( )
#
admin._.c:560:9: note: use '==' to turn this assignment into an equality comparison
#
if( fp = fopen("dgca.cnf","w") ){
#
^
#
==
#
admin._.c:575:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp = fopen("dgcaidx.txt","w") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
#
admin._.c:575:9: note: place parentheses around the assignment to silence this warning
#
if( fp = fopen("dgcaidx.txt","w") ){
#
^
#
( )
#
admin._.c:575:9: note: use '==' to turn this assignment into an equality comparison
#
if( fp = fopen("dgcaidx.txt","w") ){
#
^
#
==
#
admin._.c:579:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp = fopen("dgcaidx.txt.attr","w") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
admin._.c:579:9: note: place parentheses around the assignment to silence this warning
#
if( fp = fopen("dgcaidx.txt.attr","w") ){
#
^
#
( )
#
admin._.c:579:9: note: use '==' to turn this assignment into an equality comparison
#
if( fp = fopen("dgcaidx.txt.attr","w") ){
#
^
#
==
#
admin._.c:585:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp = fopen("serial","w") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~
#
admin._.c:585:9: note: place parentheses around the assignment to silence this warning
#
if( fp = fopen("serial","w") ){
#
^
#
( )
#
admin._.c:585:9: note: use '==' to turn this assignment into an equality comparison
#
if( fp = fopen("serial","w") ){
#
^
#
==
#
admin._.c:808:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( conf = fopen("dgca.cnf","r") ){
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~~
#
admin._.c:808:11: note: place parentheses around the assignment to silence this warning
#
if( conf = fopen("dgca.cnf","r") ){
#
^
#
( )
#
admin._.c:808:11: note: use '==' to turn this assignment into an equality comparison
#
if( conf = fopen("dgca.cnf","r") ){
#
^
#
==
#
admin._.c:840:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( ai = 0; a1 = Form_argv[ai]; ai++ ){
#
~~~^~~~~~~~~~~~~~~
#
admin._.c:840:19: note: place parentheses around the assignment to silence this warning
#
for( ai = 0; a1 = Form_argv[ai]; ai++ ){
#
^
#
( )
#
admin._.c:840:19: note: use '==' to turn this assignment into an equality comparison
#
for( ai = 0; a1 = Form_argv[ai]; ai++ ){
#
^
#
==
#
admin._.c:953:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(out,'%') ){
#
~~~^~~~~~~~~~~~~~~~~
#
admin._.c:953:15: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(out,'%') ){
#
^
#
( )
#
admin._.c:953:15: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(out,'%') ){
#
^
#
==
#
admin._.c:995:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strcasestr(out,"up ") )
#
~~~^~~~~~~~~~~~~~~~~~~~~~~
#
admin._.c:995:12: note: place parentheses around the assignment to silence this warning
#
if( dp = strcasestr(out,"up ") )
#
^
#
( )
#
admin._.c:995:12: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strcasestr(out,"up ") )
#
^
#
==
#
admin._.c:997:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strcasestr(out,"load ") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~
#
admin._.c:997:12: note: place parentheses around the assignment to silence this warning
#
if( dp = strcasestr(out,"load ") ){
#
^
#
( )
#
admin._.c:997:12: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strcasestr(out,"load ") ){
#
^
#
==
#
admin._.c:998:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(dp,':') )
#
~~~^~~~~~~~~~~~~~~~
#
admin._.c:998:13: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(dp,':') )
#
^
#
( )
#
admin._.c:998:13: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(dp,':') )
#
^
#
==
#
admin._.c:1005:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strrchr(out,':') ){
#
~~~^~~~~~~~~~~~~~~~~~
#
admin._.c:1005:13: note: place parentheses around the assignment to silence this warning
#
if( dp = strrchr(out,':') ){
#
^
#
( )
#
admin._.c:1005:13: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strrchr(out,':') ){
#
^
#
==
#
admin._.c:1061:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( tp = strstr(line,"UID") ){
#
~~~^~~~~~~~~~~~~~~~~~~~
#
admin._.c:1061:13: note: place parentheses around the assignment to silence this warning
#
if( tp = strstr(line,"UID") ){
#
^
#
( )
#
admin._.c:1061:13: note: use '==' to turn this assignment into an equality comparison
#
if( tp = strstr(line,"UID") ){
#
^
#
==
#
admin._.c:1113:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp = fopen_authlog(proto,host,"a") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
admin._.c:1113:9: note: place parentheses around the assignment to silence this warning
#
if( fp = fopen_authlog(proto,host,"a") ){
#
^
#
( )
#
admin._.c:1113:9: note: use '==' to turn this assignment into an equality comparison
#
if( fp = fopen_authlog(proto,host,"a") ){
#
^
#
==
#
admin._.c:1124:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp = fopen_authlog(proto,"ALL","a") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
admin._.c:1124:10: note: place parentheses around the assignment to silence this warning
#
if( fp = fopen_authlog(proto,"ALL","a") ){
#
^
#
( )
#
admin._.c:1124:10: note: use '==' to turn this assignment into an equality comparison
#
if( fp = fopen_authlog(proto,"ALL","a") ){
#
^
#
==
#
admin._.c:1173:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp = fopen_authlog(proto,host,"r") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
admin._.c:1173:9: note: place parentheses around the assignment to silence this warning
#
if( fp = fopen_authlog(proto,host,"r") ){
#
^
#
( )
#
admin._.c:1173:9: note: use '==' to turn this assignment into an equality comparison
#
if( fp = fopen_authlog(proto,host,"r") ){
#
^
#
==
#
admin._.c:1236:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strrchr(upath,'/') ){
#
~~~^~~~~~~~~~~~~~~~~~~~
#
admin._.c:1236:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strrchr(upath,'/') ){
#
^
#
( )
#
admin._.c:1236:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strrchr(upath,'/') ){
#
^
#
==
#
admin._.c:1241:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strrchr(upath,'/') )
#
~~~^~~~~~~~~~~~~~~~~~~~
#
admin._.c:1241:12: note: place parentheses around the assignment to silence this warning
#
if( dp = strrchr(upath,'/') )
#
^
#
( )
#
admin._.c:1241:12: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strrchr(upath,'/') )
#
^
#
==
#
admin._.c:1417:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( sp = fmt; ch = (0xFF & *sp); sp++ ){
#
~~~^~~~~~~~~~~~~~
#
admin._.c:1417:20: note: place parentheses around the assignment to silence this warning
#
for( sp = fmt; ch = (0xFF & *sp); sp++ ){
#
^
#
( )
#
admin._.c:1417:20: note: use '==' to turn this assignment into an equality comparison
#
for( sp = fmt; ch = (0xFF & *sp); sp++ ){
#
^
#
==
#
admin._.c:1636:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( mod = strchr(param,'-') ){
#
~~~~^~~~~~~~~~~~~~~~~~~
#
admin._.c:1636:11: note: place parentheses around the assignment to silence this warning
#
if( mod = strchr(param,'-') ){
#
^
#
( )
#
admin._.c:1636:11: note: use '==' to turn this assignment into an equality comparison
#
if( mod = strchr(param,'-') ){
#
^
#
==
#
admin._.c:1756:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( ctype = filename2ctype(url) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~
#
admin._.c:1756:14: note: place parentheses around the assignment to silence this warning
#
if( ctype = filename2ctype(url) ){
#
^
#
( )
#
admin._.c:1756:14: note: use '==' to turn this assignment into an equality comparison
#
if( ctype = filename2ctype(url) ){
#
^
#
==
#
admin._.c:1844:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strtailstr(mp,pat) )
#
~~~^~~~~~~~~~~~~~~~~~~~
#
admin._.c:1844:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strtailstr(mp,pat) )
#
^
#
( )
#
admin._.c:1844:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strtailstr(mp,pat) )
#
^
#
==
#
admin._.c:1878:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( cfp = fopen(path,"r") ){
#
~~~~^~~~~~~~~~~~~~~~~
#
admin._.c:1878:11: note: place parentheses around the assignment to silence this warning
#
if( cfp = fopen(path,"r") ){
#
^
#
( )
#
admin._.c:1878:11: note: use '==' to turn this assignment into an equality comparison
#
if( cfp = fopen(path,"r") ){
#
^
#
==
#
admin._.c:1893:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( cfp = fopen(path,"r") ){
#
~~~~^~~~~~~~~~~~~~~~~
#
admin._.c:1893:11: note: place parentheses around the assignment to silence this warning
#
if( cfp = fopen(path,"r") ){
#
^
#
( )
#
admin._.c:1893:11: note: use '==' to turn this assignment into an equality comparison
#
if( cfp = fopen(path,"r") ){
#
^
#
==
#
admin._.c:1932:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( cfp = fopen(path,"w") ){
#
~~~~^~~~~~~~~~~~~~~~~
#
admin._.c:1932:12: note: place parentheses around the assignment to silence this warning
#
if( cfp = fopen(path,"w") ){
#
^
#
( )
#
admin._.c:1932:12: note: use '==' to turn this assignment into an equality comparison
#
if( cfp = fopen(path,"w") ){
#
^
#
==
#
admin._.c:1962:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( sfp = fopen(path,"w") ){
#
~~~~^~~~~~~~~~~~~~~~~
#
admin._.c:1962:11: note: place parentheses around the assignment to silence this warning
#
if( sfp = fopen(path,"w") ){
#
^
#
( )
#
admin._.c:1962:11: note: use '==' to turn this assignment into an equality comparison
#
if( sfp = fopen(path,"w") ){
#
^
#
==
#
admin._.c:1982:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( sfp = fopen(path,"r") ){
#
~~~~^~~~~~~~~~~~~~~~~
#
admin._.c:1982:10: note: place parentheses around the assignment to silence this warning
#
if( sfp = fopen(path,"r") ){
#
^
#
( )
#
admin._.c:1982:10: note: use '==' to turn this assignment into an equality comparison
#
if( sfp = fopen(path,"r") ){
#
^
#
==
#
admin._.c:2007:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp = dirfopen(what,AVStr(path),"r+") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
admin._.c:2007:9: note: place parentheses around the assignment to silence this warning
#
if( fp = dirfopen(what,AVStr(path),"r+") ){
#
^
#
( )
#
admin._.c:2007:9: note: use '==' to turn this assignment into an equality comparison
#
if( fp = dirfopen(what,AVStr(path),"r+") ){
#
^
#
==
#
admin._.c:2010:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp = dirfopen(what,AVStr(path),mode) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
admin._.c:2010:9: note: place parentheses around the assignment to silence this warning
#
if( fp = dirfopen(what,AVStr(path),mode) ){
#
^
#
( )
#
admin._.c:2010:9: note: use '==' to turn this assignment into an equality comparison
#
if( fp = dirfopen(what,AVStr(path),mode) ){
#
^
#
==
#
admin._.c:2019:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp = TMPFILE(what) ){
#
~~~^~~~~~~~~~~~~~~
#
admin._.c:2019:10: note: place parentheses around the assignment to silence this warning
#
if( fp = TMPFILE(what) ){
#
^
#
( )
#
admin._.c:2019:10: note: use '==' to turn this assignment into an equality comparison
#
if( fp = TMPFILE(what) ){
#
^
#
==
#
admin._.c:2043:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp = fdopen(dup(LOG_initFd),mode) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
admin._.c:2043:10: note: place parentheses around the assignment to silence this warning
#
if( fp = fdopen(dup(LOG_initFd),mode) ){
#
^
#
( )
#
admin._.c:2043:10: note: use '==' to turn this assignment into an equality comparison
#
if( fp = fdopen(dup(LOG_initFd),mode) ){
#
^
#
==
#
admin._.c:2087:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(cv[ci],'\r') )
#
~~~^~~~~~~~~~~~~~~~~~~~~
#
admin._.c:2087:11: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(cv[ci],'\r') )
#
^
#
( )
#
admin._.c:2087:11: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(cv[ci],'\r') )
#
^
#
==
#
admin._.c:2092:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(cv[ci],',') ) truncVStr(dp);
#
~~~^~~~~~~~~~~~~~~~~~~~
#
admin._.c:2092:12: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(cv[ci],',') ) truncVStr(dp);
#
^
#
( )
#
admin._.c:2092:12: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(cv[ci],',') ) truncVStr(dp);
#
^
#
==
#
admin._.c:2093:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(cv[ci],'/') ) truncVStr(dp);
#
~~~^~~~~~~~~~~~~~~~~~~~
#
admin._.c:2093:12: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(cv[ci],'/') ) truncVStr(dp);
#
^
#
( )
#
admin._.c:2093:12: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(cv[ci],'/') ) truncVStr(dp);
#
^
#
==
#
admin._.c:2296:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(cv[ci],'\r') )
#
~~~^~~~~~~~~~~~~~~~~~~~~
#
admin._.c:2296:12: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(cv[ci],'\r') )
#
^
#
( )
#
admin._.c:2296:12: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(cv[ci],'\r') )
#
^
#
==
#
admin._.c:2299:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dgroot = getv(cv,"DGROOT") ){
#
~~~~~~~^~~~~~~~~~~~~~~~~~~
#
admin._.c:2299:15: note: place parentheses around the assignment to silence this warning
#
if( dgroot = getv(cv,"DGROOT") ){
#
^
#
( )
#
admin._.c:2299:15: note: use '==' to turn this assignment into an equality comparison
#
if( dgroot = getv(cv,"DGROOT") ){
#
^
#
==
#
admin._.c:2302:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = getv(cv,"CHROOT") ){
#
~~~^~~~~~~~~~~~~~~~~~~
#
admin._.c:2302:11: note: place parentheses around the assignment to silence this warning
#
if( dp = getv(cv,"CHROOT") ){
#
^
#
( )
#
admin._.c:2302:11: note: use '==' to turn this assignment into an equality comparison
#
if( dp = getv(cv,"CHROOT") ){
#
^
#
==
#
admin._.c:2309:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( ilfp = fopenInitLog(serv,"r+") ){
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
#
admin._.c:2309:14: note: place parentheses around the assignment to silence this warning
#
if( ilfp = fopenInitLog(serv,"r+") ){
#
^
#
( )
#
admin._.c:2309:14: note: use '==' to turn this assignment into an equality comparison
#
if( ilfp = fopenInitLog(serv,"r+") ){
#
^
#
==
#
admin._.c:2314:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( stfp = fopenSvstats(serv,"r+") ){
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
#
admin._.c:2314:14: note: place parentheses around the assignment to silence this warning
#
if( stfp = fopenSvstats(serv,"r+") ){
#
^
#
( )
#
admin._.c:2314:14: note: use '==' to turn this assignment into an equality comparison
#
if( stfp = fopenSvstats(serv,"r+") ){
#
^
#
==
#
admin._.c:2566:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strtailstr(save,".cnf") )
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~
#
admin._.c:2566:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strtailstr(save,".cnf") )
#
^
#
( )
#
admin._.c:2566:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strtailstr(save,".cnf") )
#
^
#
==
#
admin._.c:2600:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( oconf = getConfigData(Conn,to,"",&odate) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
admin._.c:2600:12: note: place parentheses around the assignment to silence this warning
#
if( oconf = getConfigData(Conn,to,"",&odate) ){
#
^
#
( )
#
admin._.c:2600:12: note: use '==' to turn this assignment into an equality comparison
#
if( oconf = getConfigData(Conn,to,"",&odate) ){
#
^
#
==
#
admin._.c:2635:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp = fopen_lockconf(BVStr(msg),serv,mode,AVStr(path),1) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
admin._.c:2635:9: note: place parentheses around the assignment to silence this warning
#
if( fp = fopen_lockconf(BVStr(msg),serv,mode,AVStr(path),1) ){
#
^
#
( )
#
admin._.c:2635:9: note: use '==' to turn this assignment into an equality comparison
#
if( fp = fopen_lockconf(BVStr(msg),serv,mode,AVStr(path),1) ){
#
^
#
==
#
admin._.c:2700:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strtailstr(orig,".sav") )
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~
#
admin._.c:2700:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strtailstr(orig,".sav") )
#
^
#
( )
#
admin._.c:2700:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strtailstr(orig,".sav") )
#
^
#
==
#
admin._.c:2722:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( ai = 0; a1 = Form_argv[ai]; ai++ ){
#
~~~^~~~~~~~~~~~~~~
#
admin._.c:2722:18: note: place parentheses around the assignment to silence this warning
#
for( ai = 0; a1 = Form_argv[ai]; ai++ ){
#
^
#
( )
#
admin._.c:2722:18: note: use '==' to turn this assignment into an equality comparison
#
for( ai = 0; a1 = Form_argv[ai]; ai++ ){
#
^
#
==
#
admin._.c:2788:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp = fopen_lockconf(BVStr(msg),name,"r+",AVStr(path),1) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
admin._.c:2788:9: note: place parentheses around the assignment to silence this warning
#
if( fp = fopen_lockconf(BVStr(msg),name,"r+",AVStr(path),1) ){
#
^
#
( )
#
admin._.c:2788:9: note: use '==' to turn this assignment into an equality comparison
#
if( fp = fopen_lockconf(BVStr(msg),name,"r+",AVStr(path),1) ){
#
^
#
==
#
admin._.c:2911:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( ln = getv(argv,"ln") ){
#
~~~^~~~~~~~~~~~~~~~~
#
admin._.c:2911:10: note: place parentheses around the assignment to silence this warning
#
if( ln = getv(argv,"ln") ){
#
^
#
( )
#
admin._.c:2911:10: note: use '==' to turn this assignment into an equality comparison
#
if( ln = getv(argv,"ln") ){
#
^
#
==
#
admin._.c:2914:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( com = getv(argv,"com") ){
#
~~~~^~~~~~~~~~~~~~~~~~
#
admin._.c:2914:12: note: place parentheses around the assignment to silence this warning
#
if( com = getv(argv,"com") ){
#
^
#
( )
#
admin._.c:2914:12: note: use '==' to turn this assignment into an equality comparison
#
if( com = getv(argv,"com") ){
#
^
#
==
#
admin._.c:2943:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( name = admin_getv("confname") ){
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
#
admin._.c:2943:15: note: place parentheses around the assignment to silence this warning
#
if( name = admin_getv("confname") ){
#
^
#
( )
#
admin._.c:2943:15: note: use '==' to turn this assignment into an equality comparison
#
if( name = admin_getv("confname") ){
#
^
#
==
#
admin._.c:3335:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( v1 = admin_getv("capsec") ) csc = atoi(v1);
#
~~~^~~~~~~~~~~~~~~~~~~~~~
#
admin._.c:3335:9: note: place parentheses around the assignment to silence this warning
#
if( v1 = admin_getv("capsec") ) csc = atoi(v1);
#
^
#
( )
#
admin._.c:3335:9: note: use '==' to turn this assignment into an equality comparison
#
if( v1 = admin_getv("capsec") ) csc = atoi(v1);
#
^
#
==
#
admin._.c:3336:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( v1 = admin_getv("caplns") ) cln = atoi(v1);
#
~~~^~~~~~~~~~~~~~~~~~~~~~
#
admin._.c:3336:9: note: place parentheses around the assignment to silence this warning
#
if( v1 = admin_getv("caplns") ) cln = atoi(v1);
#
^
#
( )
#
admin._.c:3336:9: note: use '==' to turn this assignment into an equality comparison
#
if( v1 = admin_getv("caplns") ) cln = atoi(v1);
#
^
#
==
#
admin._.c:3344:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( v1 = admin_getv("opt") ){
#
~~~^~~~~~~~~~~~~~~~~~~
#
admin._.c:3344:9: note: place parentheses around the assignment to silence this warning
#
if( v1 = admin_getv("opt") ){
#
^
#
( )
#
admin._.c:3344:9: note: use '==' to turn this assignment into an equality comparison
#
if( v1 = admin_getv("opt") ){
#
^
#
==
#
admin._.c:3513:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( aus = getAdminAuthorizer(Conn,AVStr(tmp),sizeof(tmp),1) ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
admin._.c:3513:10: note: place parentheses around the assignment to silence this warning
#
if( aus = getAdminAuthorizer(Conn,AVStr(tmp),sizeof(tmp),1) ){
#
^
#
( )
#
admin._.c:3513:10: note: use '==' to turn this assignment into an equality comparison
#
if( aus = getAdminAuthorizer(Conn,AVStr(tmp),sizeof(tmp),1) ){
#
^
#
==
#
admin._.c:3535:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strrchr(aus,'@') ){
#
~~~^~~~~~~~~~~~~~~~~~
#
admin._.c:3535:11: note: place parentheses around the assignment to silence this warning
#
if( dp = strrchr(aus,'@') ){
#
^
#
( )
#
admin._.c:3535:11: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strrchr(aus,'@') ){
#
^
#
==
#
admin._.c:3907:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( lfp = get_authlog(Conn,"admin","ALL",size,1) ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
admin._.c:3907:11: note: place parentheses around the assignment to silence this warning
#
if( lfp = get_authlog(Conn,"admin","ALL",size,1) ){
#
^
#
( )
#
admin._.c:3907:11: note: use '==' to turn this assignment into an equality comparison
#
if( lfp = get_authlog(Conn,"admin","ALL",size,1) ){
#
^
#
==
#
admin._.c:3991:7: warning: address of array 'pma2' will always evaluate to 'true' [-Wpointer-bool-conversion]
#
if( pma2 && streq(pma2,"check") ){
#
^~~~ ~~
#
admin._.c:4225:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( np = strpbrk(cp,"\r\n") ){
#
~~~^~~~~~~~~~~~~~~~~~~~
#
admin._.c:4225:10: note: place parentheses around the assignment to silence this warning
#
if( np = strpbrk(cp,"\r\n") ){
#
^
#
( )
#
admin._.c:4225:10: note: use '==' to turn this assignment into an equality comparison
#
if( np = strpbrk(cp,"\r\n") ){
#
^
#
==
#
admin._.c:4310:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( cx = 0; src = mssgmap[cx].m_src; cx++ ){
#
~~~~^~~~~~~~~~~~~~~~~~~
#
admin._.c:4310:20: note: place parentheses around the assignment to silence this warning
#
for( cx = 0; src = mssgmap[cx].m_src; cx++ ){
#
^
#
( )
#
admin._.c:4310:20: note: use '==' to turn this assignment into an equality comparison
#
for( cx = 0; src = mssgmap[cx].m_src; cx++ ){
#
^
#
==
#
admin._.c:4311:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strstr(dsttxt,src) ){
#
~~~^~~~~~~~~~~~~~~~~~~~
#
admin._.c:4311:11: note: place parentheses around the assignment to silence this warning
#
if( dp = strstr(dsttxt,src) ){
#
^
#
( )
#
admin._.c:4311:11: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strstr(dsttxt,src) ){
#
^
#
==
#
admin._.c:4335:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( cx = 0; src = mssgmap[cx].m_src; cx++ ){
#
~~~~^~~~~~~~~~~~~~~~~~~
#
admin._.c:4335:20: note: place parentheses around the assignment to silence this warning
#
for( cx = 0; src = mssgmap[cx].m_src; cx++ ){
#
^
#
( )
#
admin._.c:4335:20: note: use '==' to turn this assignment into an equality comparison
#
for( cx = 0; src = mssgmap[cx].m_src; cx++ ){
#
^
#
==
#
admin._.c:4336:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strstr(fmt,src) )
#
~~~^~~~~~~~~~~~~~~~~
#
admin._.c:4336:11: note: place parentheses around the assignment to silence this warning
#
if( dp = strstr(fmt,src) )
#
^
#
( )
#
admin._.c:4336:11: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strstr(fmt,src) )
#
^
#
==
#
admin._.c:4350:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( cx = 0; src = mssgmap[cx].m_src; cx++ ){
#
~~~~^~~~~~~~~~~~~~~~~~~
#
admin._.c:4350:20: note: place parentheses around the assignment to silence this warning
#
for( cx = 0; src = mssgmap[cx].m_src; cx++ ){
#
^
#
( )
#
admin._.c:4350:20: note: use '==' to turn this assignment into an equality comparison
#
for( cx = 0; src = mssgmap[cx].m_src; cx++ ){
#
^
#
==
#
admin._.c:4351:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strstr(mp,src) ){
#
~~~^~~~~~~~~~~~~~~~
#
admin._.c:4351:11: note: place parentheses around the assignment to silence this warning
#
if( dp = strstr(mp,src) ){
#
^
#
( )
#
admin._.c:4351:11: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strstr(mp,src) ){
#
^
#
==
#
admin._.c:4443:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( qryp = strchr(command,'?') ){
#
~~~~~^~~~~~~~~~~~~~~~~~~~~
#
admin._.c:4443:10: note: place parentheses around the assignment to silence this warning
#
if( qryp = strchr(command,'?') ){
#
^
#
( )
#
admin._.c:4443:10: note: use '==' to turn this assignment into an equality comparison
#
if( qryp = strchr(command,'?') ){
#
^
#
==
#
admin._.c:4449:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( qryp = strchr(xcommand,'?') )
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~
#
admin._.c:4449:11: note: place parentheses around the assignment to silence this warning
#
if( qryp = strchr(xcommand,'?') )
#
^
#
( )
#
admin._.c:4449:11: note: use '==' to turn this assignment into an equality comparison
#
if( qryp = strchr(xcommand,'?') )
#
^
#
==
#
admin._.c:4476:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( act = getv(argv,"action") ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~
#
admin._.c:4476:10: note: place parentheses around the assignment to silence this warning
#
if( act = getv(argv,"action") ){
#
^
#
( )
#
admin._.c:4476:10: note: use '==' to turn this assignment into an equality comparison
#
if( act = getv(argv,"action") ){
#
^
#
==
#
admin._.c:4554:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(who,'{') )
#
~~~^~~~~~~~~~~~~~~~~
#
admin._.c:4554:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(who,'{') )
#
^
#
( )
#
admin._.c:4554:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(who,'{') )
#
^
#
==
#
admin._.c:4747:33: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| hostcmp(svhost,myhost)==0 && svport == myport )
#
~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
#
admin._.c:4747:33: note: place parentheses around the '&&' expression to silence this warning
#
|| hostcmp(svhost,myhost)==0 && svport == myport )
#
^
#
( )
#
admin._.c:4900:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( v1 = admin_getv("ioconf-sock-sndbuf") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
admin._.c:4900:9: note: place parentheses around the assignment to silence this warning
#
if( v1 = admin_getv("ioconf-sock-sndbuf") ){
#
^
#
( )
#
admin._.c:4900:9: note: use '==' to turn this assignment into an equality comparison
#
if( v1 = admin_getv("ioconf-sock-sndbuf") ){
#
^
#
==
#
admin._.c:4902:27: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( vi == 0 || 64 <= vi && vi <= 64*1024 ){
#
~~ ~~~~~~~~~^~~~~~~~~~~~~~~~
#
admin._.c:4902:27: note: place parentheses around the '&&' expression to silence this warning
#
if( vi == 0 || 64 <= vi && vi <= 64*1024 ){
#
^
#
( )
#
admin._.c:4907:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( v1 = admin_getv("ioconf-sock-sndmutex") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
admin._.c:4907:9: note: place parentheses around the assignment to silence this warning
#
if( v1 = admin_getv("ioconf-sock-sndmutex") ){
#
^
#
( )
#
admin._.c:4907:9: note: use '==' to turn this assignment into an equality comparison
#
if( v1 = admin_getv("ioconf-sock-sndmutex") ){
#
^
#
==
#
admin._.c:4912:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( v1 = admin_getv("ioconf-sock-sndnodelay") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
admin._.c:4912:9: note: place parentheses around the assignment to silence this warning
#
if( v1 = admin_getv("ioconf-sock-sndnodelay") ){
#
^
#
( )
#
admin._.c:4912:9: note: use '==' to turn this assignment into an equality comparison
#
if( v1 = admin_getv("ioconf-sock-sndnodelay") ){
#
^
#
==
#
admin._.c:4917:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( v1 = admin_getv("ioconf-sock-sndwait") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
admin._.c:4917:9: note: place parentheses around the assignment to silence this warning
#
if( v1 = admin_getv("ioconf-sock-sndwait") ){
#
^
#
( )
#
admin._.c:4917:9: note: use '==' to turn this assignment into an equality comparison
#
if( v1 = admin_getv("ioconf-sock-sndwait") ){
#
^
#
==
#
81 warnings generated.
#
../mkcpp notify.c notify._.c
#
-- mkcpp set time: 1492117324 -> 1264937963 notify._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c notify._.c -o notify.o
#
notify._.c:316:18: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( 0x40 <= ch && ch < 0x7F || ch == ' ' ){
#
~~~~~~~~~~~^~~~~~~~~~~~ ~~
#
notify._.c:316:18: note: place parentheses around the '&&' expression to silence this warning
#
if( 0x40 <= ch && ch < 0x7F || ch == ' ' ){
#
^
#
( )
#
1 warning generated.
#
../mkcpp shutter.c shutter._.c
#
-- mkcpp set time: 1492117324 -> 1250403944 shutter._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c shutter._.c -o shutter.o
#
shutter._.c:354:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strpbrk(reason,"\r\n") )
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~
#
shutter._.c:354:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strpbrk(reason,"\r\n") )
#
^
#
( )
#
shutter._.c:354:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strpbrk(reason,"\r\n") )
#
^
#
==
#
1 warning generated.
#
../mkcpp abort.c abort._.c
#
-- mkcpp set time: 1492117324 -> 1264934191 abort._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c abort._.c -o abort.o
#
../mkcpp form2conf.c form2conf._.c
#
-- mkcpp set time: 1492117324 -> 1264840721 form2conf._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c form2conf._.c -o form2conf.o
#
form2conf._.c:35:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( sp = src; ch = *sp; sp++ ){
#
~~~^~~~~
#
form2conf._.c:35:20: note: place parentheses around the assignment to silence this warning
#
for( sp = src; ch = *sp; sp++ ){
#
^
#
( )
#
form2conf._.c:35:20: note: use '==' to turn this assignment into an equality comparison
#
for( sp = src; ch = *sp; sp++ ){
#
^
#
==
#
form2conf._.c:184:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( ci = 0; name = conf_params[ci]; ci++ ){
#
~~~~~^~~~~~~~~~~~~~~~~
#
form2conf._.c:184:20: note: place parentheses around the assignment to silence this warning
#
for( ci = 0; name = conf_params[ci]; ci++ ){
#
^
#
( )
#
form2conf._.c:184:20: note: use '==' to turn this assignment into an equality comparison
#
for( ci = 0; name = conf_params[ci]; ci++ ){
#
^
#
==
#
form2conf._.c:216:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( ci = 1; name = conf_params[ci]; ci++ ){
#
~~~~~^~~~~~~~~~~~~~~~~
#
form2conf._.c:216:21: note: place parentheses around the assignment to silence this warning
#
for( ci = 1; name = conf_params[ci]; ci++ ){
#
^
#
( )
#
form2conf._.c:216:21: note: use '==' to turn this assignment into an equality comparison
#
for( ci = 1; name = conf_params[ci]; ci++ ){
#
^
#
==
#
form2conf._.c:727:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strstr(p2,"/admin") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~
#
form2conf._.c:727:15: note: place parentheses around the assignment to silence this warning
#
if( dp = strstr(p2,"/admin") ){
#
^
#
( )
#
form2conf._.c:727:15: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strstr(p2,"/admin") ){
#
^
#
==
#
form2conf._.c:733:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(p1,':') ){
#
~~~^~~~~~~~~~~~~~~~
#
form2conf._.c:733:12: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(p1,':') ){
#
^
#
( )
#
form2conf._.c:733:12: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(p1,':') ){
#
^
#
==
#
form2conf._.c:739:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strstr(p1,"/admin") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~
#
form2conf._.c:739:12: note: place parentheses around the assignment to silence this warning
#
if( dp = strstr(p1,"/admin") ){
#
^
#
( )
#
form2conf._.c:739:12: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strstr(p1,"/admin") ){
#
^
#
==
#
form2conf._.c:918:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( vp = strchr(av1,'=') ){
#
~~~^~~~~~~~~~~~~~~~~
#
form2conf._.c:918:10: note: place parentheses around the assignment to silence this warning
#
if( vp = strchr(av1,'=') ){
#
^
#
( )
#
form2conf._.c:918:10: note: use '==' to turn this assignment into an equality comparison
#
if( vp = strchr(av1,'=') ){
#
^
#
==
#
form2conf._.c:1100:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( data = getConfigData(Conn,name,"",&date) ){
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
form2conf._.c:1100:13: note: place parentheses around the assignment to silence this warning
#
if( data = getConfigData(Conn,name,"",&date) ){
#
^
#
( )
#
form2conf._.c:1100:13: note: use '==' to turn this assignment into an equality comparison
#
if( data = getConfigData(Conn,name,"",&date) ){
#
^
#
==
#
form2conf._.c:1222:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( lfp = fopen_lockconf(VStrNULL,a1,"r+",AVStr(path),0) ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
form2conf._.c:1222:11: note: place parentheses around the assignment to silence this warning
#
if( lfp = fopen_lockconf(VStrNULL,a1,"r+",AVStr(path),0) ){
#
^
#
( )
#
form2conf._.c:1222:11: note: use '==' to turn this assignment into an equality comparison
#
if( lfp = fopen_lockconf(VStrNULL,a1,"r+",AVStr(path),0) ){
#
^
#
==
#
form2conf._.c:1419:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( a1 = admin_getv(pma2) ){
#
~~~^~~~~~~~~~~~~~~~~~
#
form2conf._.c:1419:10: note: place parentheses around the assignment to silence this warning
#
if( a1 = admin_getv(pma2) ){
#
^
#
( )
#
form2conf._.c:1419:10: note: use '==' to turn this assignment into an equality comparison
#
if( a1 = admin_getv(pma2) ){
#
^
#
==
#
10 warnings generated.
#
../mkcpp process.c process._.c
#
-- mkcpp set time: 1492117324 -> 1264841769 process._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c process._.c -o process.o
#
process._.c:260:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( Conn->fi_issock = file_ISSOCK(sock) ){
#
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
#
process._.c:260:22: note: place parentheses around the assignment to silence this warning
#
if( Conn->fi_issock = file_ISSOCK(sock) ){
#
^
#
( )
#
process._.c:260:22: note: use '==' to turn this assignment into an equality comparison
#
if( Conn->fi_issock = file_ISSOCK(sock) ){
#
^
#
==
#
1 warning generated.
#
../mkcpp vaddr.c vaddr._.c
#
-- mkcpp set time: 1492117324 -> 1250403944 vaddr._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c vaddr._.c -o vaddr.o
#
../mkcpp conf.c conf._.c
#
-- mkcpp set time: 1492117324 -> 1414475958 conf._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c conf._.c -o conf.o \
#
-DADMIN=\"root@localhost\" \
#
-DADMINPASS=\"\"
#
conf._.c:245:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( pp = strstr(dir,subst) ){
#
~~~^~~~~~~~~~~~~~~~~~~
#
conf._.c:245:9: note: place parentheses around the assignment to silence this warning
#
if( pp = strstr(dir,subst) ){
#
^
#
( )
#
conf._.c:245:9: note: use '==' to turn this assignment into an equality comparison
#
if( pp = strstr(dir,subst) ){
#
^
#
==
#
conf._.c:250:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(pat,'}') )
#
~~~^~~~~~~~~~~~~~~~~
#
conf._.c:250:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(pat,'}') )
#
^
#
( )
#
conf._.c:250:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(pat,'}') )
#
^
#
==
#
conf._.c:324:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( cl_proxy = isSetProxyOfClient(Conn,AVStr(cl_proto)) ){
#
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
conf._.c:324:16: note: place parentheses around the assignment to silence this warning
#
if( cl_proxy = isSetProxyOfClient(Conn,AVStr(cl_proto)) ){
#
^
#
( )
#
conf._.c:324:16: note: use '==' to turn this assignment into an equality comparison
#
if( cl_proxy = isSetProxyOfClient(Conn,AVStr(cl_proto)) ){
#
^
#
==
#
conf._.c:431:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( sp = ipath; sc = *sp; sp++ ){
#
~~~^~~~~
#
conf._.c:431:22: note: place parentheses around the assignment to silence this warning
#
for( sp = ipath; sc = *sp; sp++ ){
#
^
#
( )
#
conf._.c:431:22: note: use '==' to turn this assignment into an equality comparison
#
for( sp = ipath; sc = *sp; sp++ ){
#
^
#
==
#
conf._.c:441:48: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
while( sp[1]=='/' || sp[1]=='\\' || ipath
#
~~ ~~~~~~~~~^~~~~~~~~~~
#
conf._.c:441:48: note: place parentheses around the '&&' expression to silence this warning
#
while( sp[1]=='/' || sp[1]=='\\' || ipath
#
^
#
( )
#
conf._.c:525:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( isdir = fileIsdir(dir) ){
#
~~~~~~^~~~~~~~~~~~~~~~
#
conf._.c:525:12: note: place parentheses around the assignment to silence this warning
#
if( isdir = fileIsdir(dir) ){
#
^
#
( )
#
conf._.c:525:12: note: use '==' to turn this assignment into an equality comparison
#
if( isdir = fileIsdir(dir) ){
#
^
#
==
#
conf._.c:552:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( isdir = (mkdirRX(dir) == 0) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~
#
conf._.c:552:12: note: place parentheses around the assignment to silence this warning
#
if( isdir = (mkdirRX(dir) == 0) ){
#
^
#
( )
#
conf._.c:552:12: note: use '==' to turn this assignment into an equality comparison
#
if( isdir = (mkdirRX(dir) == 0) ){
#
^
#
==
#
conf._.c:568:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( env = DELEGATE_getEnv(P_DGROOT) )
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
#
conf._.c:568:11: note: place parentheses around the assignment to silence this warning
#
if( env = DELEGATE_getEnv(P_DGROOT) )
#
^
#
( )
#
conf._.c:568:11: note: use '==' to turn this assignment into an equality comparison
#
if( env = DELEGATE_getEnv(P_DGROOT) )
#
^
#
==
#
conf._.c:603:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( umasks = DELEGATE_getEnv(P_UMASK) ){
#
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
#
conf._.c:603:13: note: place parentheses around the assignment to silence this warning
#
if( umasks = DELEGATE_getEnv(P_UMASK) ){
#
^
#
( )
#
conf._.c:603:13: note: use '==' to turn this assignment into an equality comparison
#
if( umasks = DELEGATE_getEnv(P_UMASK) ){
#
^
#
==
#
conf._.c:612:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dgroot = DELEGATE_getEnv(P_DGROOT) ){
#
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
#
conf._.c:612:13: note: place parentheses around the assignment to silence this warning
#
if( dgroot = DELEGATE_getEnv(P_DGROOT) ){
#
^
#
( )
#
conf._.c:612:13: note: use '==' to turn this assignment into an equality comparison
#
if( dgroot = DELEGATE_getEnv(P_DGROOT) ){
#
^
#
==
#
conf._.c:740:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( env = getenv("PATH") ){
#
~~~~^~~~~~~~~~~~~~~~
#
conf._.c:740:10: note: place parentheses around the assignment to silence this warning
#
if( env = getenv("PATH") ){
#
^
#
( )
#
conf._.c:740:10: note: use '==' to turn this assignment into an equality comparison
#
if( env = getenv("PATH") ){
#
^
#
==
#
conf._.c:827:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp = fopen(cpath,"r") ){
#
~~~^~~~~~~~~~~~~~~~~~
#
conf._.c:827:10: note: place parentheses around the assignment to silence this warning
#
if( fp = fopen(cpath,"r") ){
#
^
#
( )
#
conf._.c:827:10: note: use '==' to turn this assignment into an equality comparison
#
if( fp = fopen(cpath,"r") ){
#
^
#
==
#
conf._.c:852:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp = fopen_PATHX(PATHv[li],path,mode,ftype,BVStr(xpath)) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
conf._.c:852:9: note: place parentheses around the assignment to silence this warning
#
if( fp = fopen_PATHX(PATHv[li],path,mode,ftype,BVStr(xpath)) ){
#
^
#
( )
#
conf._.c:852:9: note: use '==' to turn this assignment into an equality comparison
#
if( fp = fopen_PATHX(PATHv[li],path,mode,ftype,BVStr(xpath)) ){
#
^
#
==
#
conf._.c:929:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( val = findFieldValue(info,"MemTotal") )
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
conf._.c:929:11: note: place parentheses around the assignment to silence this warning
#
if( val = findFieldValue(info,"MemTotal") )
#
^
#
( )
#
conf._.c:929:11: note: use '==' to turn this assignment into an equality comparison
#
if( val = findFieldValue(info,"MemTotal") )
#
^
#
==
#
conf._.c:931:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( val = findFieldValue(info,"MemFree") )
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
conf._.c:931:11: note: place parentheses around the assignment to silence this warning
#
if( val = findFieldValue(info,"MemFree") )
#
^
#
( )
#
conf._.c:931:11: note: use '==' to turn this assignment into an equality comparison
#
if( val = findFieldValue(info,"MemFree") )
#
^
#
==
#
conf._.c:933:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( val = findFieldValue(info,"Active") )
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
conf._.c:933:11: note: place parentheses around the assignment to silence this warning
#
if( val = findFieldValue(info,"Active") )
#
^
#
( )
#
conf._.c:933:11: note: use '==' to turn this assignment into an equality comparison
#
if( val = findFieldValue(info,"Active") )
#
^
#
==
#
conf._.c:935:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( val = findFieldValue(info,"Inactive") )
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
conf._.c:935:11: note: place parentheses around the assignment to silence this warning
#
if( val = findFieldValue(info,"Inactive") )
#
^
#
( )
#
conf._.c:935:11: note: use '==' to turn this assignment into an equality comparison
#
if( val = findFieldValue(info,"Inactive") )
#
^
#
==
#
conf._.c:1091:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( usp = UDP_Socketpair(usv) == 0 ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
#
conf._.c:1091:11: note: place parentheses around the assignment to silence this warning
#
if( usp = UDP_Socketpair(usv) == 0 ){
#
^
#
( )
#
conf._.c:1091:11: note: use '==' to turn this assignment into an equality comparison
#
if( usp = UDP_Socketpair(usv) == 0 ){
#
^
#
==
#
conf._.c:1154:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( sp = str; ch = *sp; sp++ ){
#
~~~^~~~~
#
conf._.c:1154:20: note: place parentheses around the assignment to silence this warning
#
for( sp = str; ch = *sp; sp++ ){
#
^
#
( )
#
conf._.c:1154:20: note: use '==' to turn this assignment into an equality comparison
#
for( sp = str; ch = *sp; sp++ ){
#
^
#
==
#
conf._.c:1240:26: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse]
#
int with_gethostbyname2();
#
^~
#
conf._.c:1240:26: note: replace parentheses with an initializer to declare a variable
#
int with_gethostbyname2();
#
^~
#
= 0
#
20 warnings generated.
#
../mkcpp svport.c svport._.c
#
-- mkcpp set time: 1492117324 -> 1402161323 svport._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c svport._.c -o svport.o
#
svport._.c:130:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fix = host[0] == '-' ){
#
~~~~^~~~~~~~~~~~~~~~
#
svport._.c:130:10: note: place parentheses around the assignment to silence this warning
#
if( fix = host[0] == '-' ){
#
^
#
( )
#
svport._.c:130:10: note: use '==' to turn this assignment into an equality comparison
#
if( fix = host[0] == '-' ){
#
^
#
==
#
svport._.c:255:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( mp = strtailstr(portspec,"/rident") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
svport._.c:255:11: note: place parentheses around the assignment to silence this warning
#
if( mp = strtailstr(portspec,"/rident") ){
#
^
#
( )
#
svport._.c:255:11: note: use '==' to turn this assignment into an equality comparison
#
if( mp = strtailstr(portspec,"/rident") ){
#
^
#
==
#
svport._.c:258:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( mp = strtailstr(portspec,"/private") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
svport._.c:258:11: note: place parentheses around the assignment to silence this warning
#
if( mp = strtailstr(portspec,"/private") ){
#
^
#
( )
#
svport._.c:258:11: note: use '==' to turn this assignment into an equality comparison
#
if( mp = strtailstr(portspec,"/private") ){
#
^
#
==
#
svport._.c:261:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( mp = strtailstr(portspec,"/local") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
svport._.c:261:11: note: place parentheses around the assignment to silence this warning
#
if( mp = strtailstr(portspec,"/local") ){
#
^
#
( )
#
svport._.c:261:11: note: use '==' to turn this assignment into an equality comparison
#
if( mp = strtailstr(portspec,"/local") ){
#
^
#
==
#
svport._.c:264:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( mp = strtailstr(portspec,"/remote") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
svport._.c:264:11: note: place parentheses around the assignment to silence this warning
#
if( mp = strtailstr(portspec,"/remote") ){
#
^
#
( )
#
svport._.c:264:11: note: use '==' to turn this assignment into an equality comparison
#
if( mp = strtailstr(portspec,"/remote") ){
#
^
#
==
#
svport._.c:267:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( mp = strtailstr(portspec,"/stls") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
svport._.c:267:11: note: place parentheses around the assignment to silence this warning
#
if( mp = strtailstr(portspec,"/stls") ){
#
^
#
( )
#
svport._.c:267:11: note: use '==' to turn this assignment into an equality comparison
#
if( mp = strtailstr(portspec,"/stls") ){
#
^
#
==
#
svport._.c:270:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( mp = strtailstr(portspec,"/ssl") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
svport._.c:270:11: note: place parentheses around the assignment to silence this warning
#
if( mp = strtailstr(portspec,"/ssl") ){
#
^
#
( )
#
svport._.c:270:11: note: use '==' to turn this assignment into an equality comparison
#
if( mp = strtailstr(portspec,"/ssl") ){
#
^
#
==
#
svport._.c:303:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( stdport = serviceport(mod) ){
#
~~~~~~~~^~~~~~~~~~~~~~~~~~
#
svport._.c:303:15: note: place parentheses around the assignment to silence this warning
#
if( stdport = serviceport(mod) ){
#
^
#
( )
#
svport._.c:303:15: note: use '==' to turn this assignment into an equality comparison
#
if( stdport = serviceport(mod) ){
#
^
#
==
#
svport._.c:993:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( htmux = DELEGATE_getEnv(P_HTMUX) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
#
svport._.c:993:12: note: place parentheses around the assignment to silence this warning
#
if( htmux = DELEGATE_getEnv(P_HTMUX) ){
#
^
#
( )
#
svport._.c:993:12: note: use '==' to turn this assignment into an equality comparison
#
if( htmux = DELEGATE_getEnv(P_HTMUX) ){
#
^
#
==
#
svport._.c:1125:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( delegate = serverHostPort )
#
~~~~~~~~~^~~~~~~~~~~~~~~~
#
svport._.c:1125:15: note: place parentheses around the assignment to silence this warning
#
if( delegate = serverHostPort )
#
^
#
( )
#
svport._.c:1125:15: note: use '==' to turn this assignment into an equality comparison
#
if( delegate = serverHostPort )
#
^
#
==
#
svport._.c:1130:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( addr = gethostaddr(myhost) )
#
~~~~~^~~~~~~~~~~~~~~~~~~~~
#
svport._.c:1130:12: note: place parentheses around the assignment to silence this warning
#
if( addr = gethostaddr(myhost) )
#
^
#
( )
#
svport._.c:1130:12: note: use '==' to turn this assignment into an equality comparison
#
if( addr = gethostaddr(myhost) )
#
^
#
==
#
svport._.c:1225:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( hp = strchr(host,'%') ){
#
~~~^~~~~~~~~~~~~~~~~~
#
svport._.c:1225:9: note: place parentheses around the assignment to silence this warning
#
if( hp = strchr(host,'%') ){
#
^
#
( )
#
svport._.c:1225:9: note: use '==' to turn this assignment into an equality comparison
#
if( hp = strchr(host,'%') ){
#
^
#
==
#
svport._.c:1484:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( ap = a1; ac = *ap; ap++ ){
#
~~~^~~~~
#
svport._.c:1484:19: note: place parentheses around the assignment to silence this warning
#
for( ap = a1; ac = *ap; ap++ ){
#
^
#
( )
#
svport._.c:1484:19: note: use '==' to turn this assignment into an equality comparison
#
for( ap = a1; ac = *ap; ap++ ){
#
^
#
==
#
svport._.c:1510:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(hostport,'/') )
#
~~~^~~~~~~~~~~~~~~~~~~~~~
#
svport._.c:1510:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(hostport,'/') )
#
^
#
( )
#
svport._.c:1510:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(hostport,'/') )
#
^
#
==
#
svport._.c:1512:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(hostport,':') )
#
~~~^~~~~~~~~~~~~~~~~~~~~~
#
svport._.c:1512:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(hostport,':') )
#
^
#
( )
#
svport._.c:1512:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(hostport,':') )
#
^
#
==
#
svport._.c:1718:39: warning: '&' within '|' [-Wbitwise-op-parentheses]
#
clock = (now/(24*60*60))<<10 | 0x3FF & ((now % (24*60*60))/120);
#
~ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
#
svport._.c:1718:39: note: place parentheses around the '&' expression to silence this warning
#
clock = (now/(24*60*60))<<10 | 0x3FF & ((now % (24*60*60))/120);
#
^
#
( )
#
svport._.c:1869:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( iport = 0xFFFF & (SvType(sx) >> 16) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
svport._.c:1869:14: note: place parentheses around the assignment to silence this warning
#
if( iport = 0xFFFF & (SvType(sx) >> 16) ){
#
^
#
( )
#
svport._.c:1869:14: note: use '==' to turn this assignment into an equality comparison
#
if( iport = 0xFFFF & (SvType(sx) >> 16) ){
#
^
#
==
#
17 warnings generated.
#
../mkcpp ddi.c ddi._.c
#
-- mkcpp set time: 1492117324 -> 1411904616 ddi._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c ddi._.c -o ddi.o
#
ddi._.c:52:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( nready = fPollIn(fp,to1) ){
#
~~~~~~~^~~~~~~~~~~~~~~~~
#
ddi._.c:52:14: note: place parentheses around the assignment to silence this warning
#
if( nready = fPollIn(fp,to1) ){
#
^
#
( )
#
ddi._.c:52:14: note: use '==' to turn this assignment into an equality comparison
#
if( nready = fPollIn(fp,to1) ){
#
^
#
==
#
ddi._.c:626:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( rcode = fgets(str,size,fp) )
#
~~~~~~^~~~~~~~~~~~~~~~~~~~
#
ddi._.c:626:12: note: place parentheses around the assignment to silence this warning
#
if( rcode = fgets(str,size,fp) )
#
^
#
( )
#
ddi._.c:626:12: note: use '==' to turn this assignment into an equality comparison
#
if( rcode = fgets(str,size,fp) )
#
^
#
==
#
ddi._.c:879:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( port = getFROM(Conn,AVStr(user),AVStr(host),AVStr(ver)) )
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
ddi._.c:879:11: note: place parentheses around the assignment to silence this warning
#
if( port = getFROM(Conn,AVStr(user),AVStr(host),AVStr(ver)) )
#
^
#
( )
#
ddi._.c:879:11: note: use '==' to turn this assignment into an equality comparison
#
if( port = getFROM(Conn,AVStr(user),AVStr(host),AVStr(ver)) )
#
^
#
==
#
ddi._.c:893:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strrchr(tmp,'!') ){
#
~~~^~~~~~~~~~~~~~~~~~
#
ddi._.c:893:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strrchr(tmp,'!') ){
#
^
#
( )
#
ddi._.c:893:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strrchr(tmp,'!') ){
#
^
#
==
#
ddi._.c:895:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strrchr(tmp,'!') ){
#
~~~^~~~~~~~~~~~~~~~~~
#
ddi._.c:895:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strrchr(tmp,'!') ){
#
^
#
( )
#
ddi._.c:895:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strrchr(tmp,'!') ){
#
^
#
==
#
ddi._.c:1117:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( pp = strrchr(path,'/') ){
#
~~~^~~~~~~~~~~~~~~~~~~
#
ddi._.c:1117:11: note: place parentheses around the assignment to silence this warning
#
if( pp = strrchr(path,'/') ){
#
^
#
( )
#
ddi._.c:1117:11: note: use '==' to turn this assignment into an equality comparison
#
if( pp = strrchr(path,'/') ){
#
^
#
==
#
ddi._.c:1280:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strrchr(tmp,'.') )
#
~~~^~~~~~~~~~~~~~~~~~
#
ddi._.c:1280:11: note: place parentheses around the assignment to silence this warning
#
if( dp = strrchr(tmp,'.') )
#
^
#
( )
#
ddi._.c:1280:11: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strrchr(tmp,'.') )
#
^
#
==
#
ddi._.c:1359:6: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
&& (ClientAuth.i_stype == AUTH_APROXY)
#
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
ddi._.c:1359:6: note: place parentheses around the '&&' expression to silence this warning
#
&& (ClientAuth.i_stype == AUTH_APROXY)
#
^
#
ddi._.c:1373:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strstr(tmp," for ") )
#
~~~^~~~~~~~~~~~~~~~~~~~~
#
ddi._.c:1373:11: note: place parentheses around the assignment to silence this warning
#
if( dp = strstr(tmp," for ") )
#
^
#
( )
#
ddi._.c:1373:11: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strstr(tmp," for ") )
#
^
#
==
#
ddi._.c:1588:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( val = parameq(opt,OPT_AVSERV) )
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
#
ddi._.c:1588:10: note: place parentheses around the assignment to silence this warning
#
if( val = parameq(opt,OPT_AVSERV) )
#
^
#
( )
#
ddi._.c:1588:10: note: use '==' to turn this assignment into an equality comparison
#
if( val = parameq(opt,OPT_AVSERV) )
#
^
#
==
#
ddi._.c:1591:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( val = parameq(opt,OPT_NVSERV) ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
#
ddi._.c:1591:10: note: place parentheses around the assignment to silence this warning
#
if( val = parameq(opt,OPT_NVSERV) ){
#
^
#
( )
#
ddi._.c:1591:10: note: use '==' to turn this assignment into an equality comparison
#
if( val = parameq(opt,OPT_NVSERV) ){
#
^
#
==
#
ddi._.c:1806:3: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
}else
#
^
#
ddi._.c:1964:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( tid = ServerFilter.f_tid ){
#
~~~~^~~~~~~~~~~~~~~~~~~~
#
ddi._.c:1964:10: note: place parentheses around the assignment to silence this warning
#
if( tid = ServerFilter.f_tid ){
#
^
#
( )
#
ddi._.c:1964:10: note: use '==' to turn this assignment into an equality comparison
#
if( tid = ServerFilter.f_tid ){
#
^
#
==
#
ddi._.c:2191:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( tid = curServ.p_filter[0].f_tid ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
#
ddi._.c:2191:12: note: place parentheses around the assignment to silence this warning
#
if( tid = curServ.p_filter[0].f_tid ){
#
^
#
( )
#
ddi._.c:2191:12: note: use '==' to turn this assignment into an equality comparison
#
if( tid = curServ.p_filter[0].f_tid ){
#
^
#
==
#
ddi._.c:2225:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp = Efiles[ei].e_fp ){
#
~~~^~~~~~~~~~~~~~~~~
#
ddi._.c:2225:10: note: place parentheses around the assignment to silence this warning
#
if( fp = Efiles[ei].e_fp ){
#
^
#
( )
#
ddi._.c:2225:10: note: use '==' to turn this assignment into an equality comparison
#
if( fp = Efiles[ei].e_fp ){
#
^
#
==
#
ddi._.c:2402:2: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
else rcode = XXfcloseFILE(FL_BAR,fp2);
#
^
#
16 warnings generated.
#
../mkcpp textconv.c textconv._.c
#
-- mkcpp set time: 1492117325 -> 1252882639 textconv._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c textconv._.c -o textconv.o
#
textconv._.c:115:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(ccb,'/') ){
#
~~~^~~~~~~~~~~~~~~~~
#
textconv._.c:115:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(ccb,'/') ){
#
^
#
( )
#
textconv._.c:115:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(ccb,'/') ){
#
^
#
==
#
textconv._.c:120:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(ccb,'.') ){
#
~~~^~~~~~~~~~~~~~~~~
#
textconv._.c:120:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(ccb,'.') ){
#
^
#
( )
#
textconv._.c:120:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(ccb,'.') ){
#
^
#
==
#
textconv._.c:276:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(spec,'.') ){
#
~~~^~~~~~~~~~~~~~~~~~
#
textconv._.c:276:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(spec,'.') ){
#
^
#
( )
#
textconv._.c:276:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(spec,'.') ){
#
^
#
==
#
textconv._.c:513:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( tocl = CTX_cur_codeconvCL(Conn,AVStr(cvenv)) ){
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
textconv._.c:513:11: note: place parentheses around the assignment to silence this warning
#
if( tocl = CTX_cur_codeconvCL(Conn,AVStr(cvenv)) ){
#
^
#
( )
#
textconv._.c:513:11: note: use '==' to turn this assignment into an equality comparison
#
if( tocl = CTX_cur_codeconvCL(Conn,AVStr(cvenv)) ){
#
^
#
==
#
textconv._.c:608:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( in = ins[inx] )
#
~~~^~~~~~~~~~
#
textconv._.c:608:9: note: place parentheses around the assignment to silence this warning
#
if( in = ins[inx] )
#
^
#
( )
#
textconv._.c:608:9: note: use '==' to turn this assignment into an equality comparison
#
if( in = ins[inx] )
#
^
#
==
#
textconv._.c:631:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( in = ins[inx] ){
#
~~~^~~~~~~~~~
#
textconv._.c:631:11: note: place parentheses around the assignment to silence this warning
#
if( in = ins[inx] ){
#
^
#
( )
#
textconv._.c:631:11: note: use '==' to turn this assignment into an equality comparison
#
if( in = ins[inx] ){
#
^
#
==
#
6 warnings generated.
#
../mkcpp script.c script._.c
#
-- mkcpp set time: 1492117325 -> 1414079727 script._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c script._.c -o script.o
#
script._.c:106:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( sp = line; ch = *sp; sp++ )
#
~~~^~~~~
#
script._.c:106:21: note: place parentheses around the assignment to silence this warning
#
for( sp = line; ch = *sp; sp++ )
#
^
#
( )
#
script._.c:106:21: note: use '==' to turn this assignment into an equality comparison
#
for( sp = line; ch = *sp; sp++ )
#
^
#
==
#
script._.c:110:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
while( ch = *sp ){
#
~~~^~~~~
#
script._.c:110:12: note: place parentheses around the assignment to silence this warning
#
while( ch = *sp ){
#
^
#
( )
#
script._.c:110:12: note: use '==' to turn this assignment into an equality comparison
#
while( ch = *sp ){
#
^
#
==
#
script._.c:136:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp = popen(command,"r") ){
#
~~~^~~~~~~~~~~~~~~~~~~~
#
script._.c:136:11: note: place parentheses around the assignment to silence this warning
#
if( fp = popen(command,"r") ){
#
^
#
( )
#
script._.c:136:11: note: use '==' to turn this assignment into an equality comparison
#
if( fp = popen(command,"r") ){
#
^
#
==
#
script._.c:139:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strpbrk(command,"\r\n") )
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~
#
script._.c:139:12: note: place parentheses around the assignment to silence this warning
#
if( dp = strpbrk(command,"\r\n") )
#
^
#
( )
#
script._.c:139:12: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strpbrk(command,"\r\n") )
#
^
#
==
#
script._.c:228:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strpbrk(valueb,"\r\n") )
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~
#
script._.c:228:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strpbrk(valueb,"\r\n") )
#
^
#
( )
#
script._.c:228:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strpbrk(valueb,"\r\n") )
#
^
#
==
#
script._.c:419:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( psfp = scripts[ii].sf_sfp ){
#
~~~~~^~~~~~~~~~~~~~~~~~~~
#
script._.c:419:12: note: place parentheses around the assignment to silence this warning
#
if( psfp = scripts[ii].sf_sfp ){
#
^
#
( )
#
script._.c:419:12: note: use '==' to turn this assignment into an equality comparison
#
if( psfp = scripts[ii].sf_sfp ){
#
^
#
==
#
script._.c:552:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( pi = 0; path1 = pathv[pi]; pi++ ){
#
~~~~~~^~~~~~~~~~~
#
script._.c:552:21: note: place parentheses around the assignment to silence this warning
#
for( pi = 0; path1 = pathv[pi]; pi++ ){
#
^
#
( )
#
script._.c:552:21: note: use '==' to turn this assignment into an equality comparison
#
for( pi = 0; path1 = pathv[pi]; pi++ ){
#
^
#
==
#
script._.c:686:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( lp = loadListFile(url) ){
#
~~~^~~~~~~~~~~~~~~~~~~
#
script._.c:686:12: note: place parentheses around the assignment to silence this warning
#
if( lp = loadListFile(url) ){
#
^
#
( )
#
script._.c:686:12: note: use '==' to turn this assignment into an equality comparison
#
if( lp = loadListFile(url) ){
#
^
#
==
#
script._.c:827:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( cp = strstr(com,INC_SYM) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~
#
script._.c:827:11: note: place parentheses around the assignment to silence this warning
#
if( cp = strstr(com,INC_SYM) ){
#
^
#
( )
#
script._.c:827:11: note: use '==' to turn this assignment into an equality comparison
#
if( cp = strstr(com,INC_SYM) ){
#
^
#
==
#
9 warnings generated.
#
../mkcpp param.c param._.c
#
-- mkcpp set time: 1492117325 -> 1286035705 param._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c param._.c -o param.o
#
param._.c:437:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( fi = 1; name = params[fi].p_name; fi++ )
#
~~~~~^~~~~~~~~~~~~~~~~~~
#
param._.c:437:20: note: place parentheses around the assignment to silence this warning
#
for( fi = 1; name = params[fi].p_name; fi++ )
#
^
#
( )
#
param._.c:437:20: note: use '==' to turn this assignment into an equality comparison
#
for( fi = 1; name = params[fi].p_name; fi++ )
#
^
#
==
#
param._.c:446:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( pp = strheadstrX(param,PFX_LOCK,0) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
param._.c:446:9: note: place parentheses around the assignment to silence this warning
#
if( pp = strheadstrX(param,PFX_LOCK,0) ){
#
^
#
( )
#
param._.c:446:9: note: use '==' to turn this assignment into an equality comparison
#
if( pp = strheadstrX(param,PFX_LOCK,0) ){
#
^
#
==
#
param._.c:466:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strheadstrX(param,name1,0) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
param._.c:466:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strheadstrX(param,name1,0) ){
#
^
#
( )
#
param._.c:466:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strheadstrX(param,name1,0) ){
#
^
#
==
#
param._.c:467:31: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( *dp == '=' || *dp == 0 && nameonly ){
#
~~ ~~~~~~~~~^~~~~~~~~~~
#
param._.c:467:31: note: place parentheses around the '&&' expression to silence this warning
#
if( *dp == '=' || *dp == 0 && nameonly ){
#
^
#
( )
#
param._.c:476:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( pi = paramX(param,nameonly) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~
#
param._.c:476:9: note: place parentheses around the assignment to silence this warning
#
if( pi = paramX(param,nameonly) ){
#
^
#
( )
#
param._.c:476:9: note: use '==' to turn this assignment into an equality comparison
#
if( pi = paramX(param,nameonly) ){
#
^
#
==
#
param._.c:492:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( p1 = paramp(param,1) ){
#
~~~^~~~~~~~~~~~~~~~~
#
param._.c:492:10: note: place parentheses around the assignment to silence this warning
#
if( p1 = paramp(param,1) ){
#
^
#
( )
#
param._.c:492:10: note: use '==' to turn this assignment into an equality comparison
#
if( p1 = paramp(param,1) ){
#
^
#
==
#
param._.c:501:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( p1 = paramp(param,1) ){
#
~~~^~~~~~~~~~~~~~~~~
#
param._.c:501:9: note: place parentheses around the assignment to silence this warning
#
if( p1 = paramp(param,1) ){
#
^
#
( )
#
param._.c:501:9: note: use '==' to turn this assignment into an equality comparison
#
if( p1 = paramp(param,1) ){
#
^
#
==
#
param._.c:531:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( pp = paramp(param,dolock) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~
#
param._.c:531:9: note: place parentheses around the assignment to silence this warning
#
if( pp = paramp(param,dolock) ){
#
^
#
( )
#
param._.c:531:9: note: use '==' to turn this assignment into an equality comparison
#
if( pp = paramp(param,dolock) ){
#
^
#
==
#
param._.c:561:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( pp = paramp(param,dolock) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~
#
param._.c:561:9: note: place parentheses around the assignment to silence this warning
#
if( pp = paramp(param,dolock) ){
#
^
#
( )
#
param._.c:561:9: note: use '==' to turn this assignment into an equality comparison
#
if( pp = paramp(param,dolock) ){
#
^
#
==
#
param._.c:578:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( pi = 0; name = params[pi].p_name; pi++ ){
#
~~~~~^~~~~~~~~~~~~~~~~~~
#
param._.c:578:20: note: place parentheses around the assignment to silence this warning
#
for( pi = 0; name = params[pi].p_name; pi++ ){
#
^
#
( )
#
param._.c:578:20: note: use '==' to turn this assignment into an equality comparison
#
for( pi = 0; name = params[pi].p_name; pi++ ){
#
^
#
==
#
param._.c:605:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(param,'=') ){
#
~~~^~~~~~~~~~~~~~~~~~~
#
param._.c:605:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(param,'=') ){
#
^
#
( )
#
param._.c:605:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(param,'=') ){
#
^
#
==
#
param._.c:610:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( pi = 0; pn = params[pi].p_name; pi++ ){
#
~~~^~~~~~~~~~~~~~~~~~~
#
param._.c:610:18: note: place parentheses around the assignment to silence this warning
#
for( pi = 0; pn = params[pi].p_name; pi++ ){
#
^
#
( )
#
param._.c:610:18: note: use '==' to turn this assignment into an equality comparison
#
for( pi = 0; pn = params[pi].p_name; pi++ ){
#
^
#
==
#
param._.c:614:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( pm = params[pi].p_mssg )
#
~~~^~~~~~~~~~~~~~~~~~~
#
param._.c:614:11: note: place parentheses around the assignment to silence this warning
#
if( pm = params[pi].p_mssg )
#
^
#
( )
#
param._.c:614:11: note: use '==' to turn this assignment into an equality comparison
#
if( pm = params[pi].p_mssg )
#
^
#
==
#
param._.c:687:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( sai = 0; name = sav[sai]; sai++ ){
#
~~~~~^~~~~~~~~~
#
param._.c:687:25: note: place parentheses around the assignment to silence this warning
#
for( sai = 0; name = sav[sai]; sai++ ){
#
^
#
( )
#
param._.c:687:25: note: use '==' to turn this assignment into an equality comparison
#
for( sai = 0; name = sav[sai]; sai++ ){
#
^
#
==
#
param._.c:696:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( sai = 0; name = sav[sai]; sai++ ){
#
~~~~~^~~~~~~~~~
#
param._.c:696:25: note: place parentheses around the assignment to silence this warning
#
for( sai = 0; name = sav[sai]; sai++ ){
#
^
#
( )
#
param._.c:696:25: note: use '==' to turn this assignment into an equality comparison
#
for( sai = 0; name = sav[sai]; sai++ ){
#
^
#
==
#
param._.c:714:23: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| !for_filters && params[pi].p_mpass
#
~~ ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
#
param._.c:714:23: note: place parentheses around the '&&' expression to silence this warning
#
|| !for_filters && params[pi].p_mpass
#
^
#
( )
#
param._.c:715:23: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| for_filters && params[pi].p_fpass ){
#
~~ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
#
param._.c:715:23: note: place parentheses around the '&&' expression to silence this warning
#
|| for_filters && params[pi].p_fpass ){
#
^
#
( )
#
param._.c:716:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dav[dai] = paramAbsPath(sav[sai]) ){
#
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
#
param._.c:716:17: note: place parentheses around the assignment to silence this warning
#
if( dav[dai] = paramAbsPath(sav[sai]) ){
#
^
#
( )
#
param._.c:716:17: note: use '==' to turn this assignment into an equality comparison
#
if( dav[dai] = paramAbsPath(sav[sai]) ){
#
^
#
==
#
18 warnings generated.
#
../mkcpp env.c env._.c
#
-- mkcpp set time: 1492117325 -> 1414074958 env._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c env._.c -o env.o
#
env._.c:106:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( value = getv(gen_environ,name) )
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
#
env._.c:106:12: note: place parentheses around the assignment to silence this warning
#
if( value = getv(gen_environ,name) )
#
^
#
( )
#
env._.c:106:12: note: use '==' to turn this assignment into an equality comparison
#
if( value = getv(gen_environ,name) )
#
^
#
==
#
env._.c:110:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( value = getv(extovw_argv,name) )
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
#
env._.c:110:12: note: place parentheses around the assignment to silence this warning
#
if( value = getv(extovw_argv,name) )
#
^
#
( )
#
env._.c:110:12: note: use '==' to turn this assignment into an equality comparison
#
if( value = getv(extovw_argv,name) )
#
^
#
==
#
env._.c:114:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( value = getv(main_argv,name) )
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~
#
env._.c:114:12: note: place parentheses around the assignment to silence this warning
#
if( value = getv(main_argv,name) )
#
^
#
( )
#
env._.c:114:12: note: use '==' to turn this assignment into an equality comparison
#
if( value = getv(main_argv,name) )
#
^
#
==
#
env._.c:118:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( value = getv(ext_argv,name) )
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~
#
env._.c:118:12: note: place parentheses around the assignment to silence this warning
#
if( value = getv(ext_argv,name) )
#
^
#
( )
#
env._.c:118:12: note: use '==' to turn this assignment into an equality comparison
#
if( value = getv(ext_argv,name) )
#
^
#
==
#
env._.c:123:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( value = getenv(xname) )
#
~~~~~~^~~~~~~~~~~~~~~
#
env._.c:123:12: note: place parentheses around the assignment to silence this warning
#
if( value = getenv(xname) )
#
^
#
( )
#
env._.c:123:12: note: use '==' to turn this assignment into an equality comparison
#
if( value = getenv(xname) )
#
^
#
==
#
env._.c:127:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( value = getenv(name) )
#
~~~~~~^~~~~~~~~~~~~~
#
env._.c:127:12: note: place parentheses around the assignment to silence this warning
#
if( value = getenv(name) )
#
^
#
( )
#
env._.c:127:12: note: use '==' to turn this assignment into an equality comparison
#
if( value = getenv(name) )
#
^
#
==
#
env._.c:133:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( value = getEnvBin(name) )
#
~~~~~~^~~~~~~~~~~~~~~~~
#
env._.c:133:12: note: place parentheses around the assignment to silence this warning
#
if( value = getEnvBin(name) )
#
^
#
( )
#
env._.c:133:12: note: use '==' to turn this assignment into an equality comparison
#
if( value = getEnvBin(name) )
#
^
#
==
#
env._.c:140:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( env = getEnvBin(name) )
#
~~~~^~~~~~~~~~~~~~~~~
#
env._.c:140:10: note: place parentheses around the assignment to silence this warning
#
if( env = getEnvBin(name) )
#
^
#
( )
#
env._.c:140:10: note: use '==' to turn this assignment into an equality comparison
#
if( env = getEnvBin(name) )
#
^
#
==
#
env._.c:365:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( pv = parameq(arg1,"MYAUTH") ){ arg1 = "MYAUTH="; }
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~
#
env._.c:365:10: note: place parentheses around the assignment to silence this warning
#
if( pv = parameq(arg1,"MYAUTH") ){ arg1 = "MYAUTH="; }
#
^
#
( )
#
env._.c:365:10: note: use '==' to turn this assignment into an equality comparison
#
if( pv = parameq(arg1,"MYAUTH") ){ arg1 = "MYAUTH="; }
#
^
#
==
#
env._.c:366:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( pv = parameq(arg1,"PASSWD") ){ arg1 = "PASSWD="; }
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~
#
env._.c:366:10: note: place parentheses around the assignment to silence this warning
#
if( pv = parameq(arg1,"PASSWD") ){ arg1 = "PASSWD="; }
#
^
#
( )
#
env._.c:366:10: note: use '==' to turn this assignment into an equality comparison
#
if( pv = parameq(arg1,"PASSWD") ){ arg1 = "PASSWD="; }
#
^
#
==
#
env._.c:367:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( pv = parameq(arg1,"CRYPT" ) ){ arg1 = "CRYPT="; }
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~
#
env._.c:367:10: note: place parentheses around the assignment to silence this warning
#
if( pv = parameq(arg1,"CRYPT" ) ){ arg1 = "CRYPT="; }
#
^
#
( )
#
env._.c:367:10: note: use '==' to turn this assignment into an equality comparison
#
if( pv = parameq(arg1,"CRYPT" ) ){ arg1 = "CRYPT="; }
#
^
#
==
#
env._.c:397:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( ai = 0; env = environ[ai]; ai++ )
#
~~~~^~~~~~~~~~~~~
#
env._.c:397:19: note: place parentheses around the assignment to silence this warning
#
for( ai = 0; env = environ[ai]; ai++ )
#
^
#
( )
#
env._.c:397:19: note: use '==' to turn this assignment into an equality comparison
#
for( ai = 0; env = environ[ai]; ai++ )
#
^
#
==
#
env._.c:399:44: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
if( !showidx ) CFput0(fp,"env %s\n",env) else
#
^
#
env._.c:408:54: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
if( !showidx ) CFput0(fp,"arg %s\n",main_argv[ai]) else
#
^
#
env._.c:413:56: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
if( !showidx ) CFput0(fp,"gen %s\n",gen_environ[ai]) else
#
^
#
env._.c:806:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( func = Me->m_func )
#
~~~~~^~~~~~~~~~~~
#
env._.c:806:12: note: place parentheses around the assignment to silence this warning
#
if( func = Me->m_func )
#
^
#
( )
#
env._.c:806:12: note: use '==' to turn this assignment into an equality comparison
#
if( func = Me->m_func )
#
^
#
==
#
env._.c:833:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( arg = strstr(arg,")") )
#
~~~~^~~~~~~~~~~~~~~~~
#
env._.c:833:11: note: place parentheses around the assignment to silence this warning
#
if( arg = strstr(arg,")") )
#
^
#
( )
#
env._.c:833:11: note: use '==' to turn this assignment into an equality comparison
#
if( arg = strstr(arg,")") )
#
^
#
==
#
env._.c:885:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(arg,'=') ){
#
~~~^~~~~~~~~~~~~~~~~
#
env._.c:885:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(arg,'=') ){
#
^
#
( )
#
env._.c:885:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(arg,'=') ){
#
^
#
==
#
env._.c:976:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( ei = 0; e1 = ov[ei]; ei++ )
#
~~~^~~~~~~~
#
env._.c:976:18: note: place parentheses around the assignment to silence this warning
#
for( ei = 0; e1 = ov[ei]; ei++ )
#
^
#
( )
#
env._.c:976:18: note: use '==' to turn this assignment into an equality comparison
#
for( ei = 0; e1 = ov[ei]; ei++ )
#
^
#
==
#
env._.c:1016:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( ei = 0; e1 = ev[ei]; ei++ ){
#
~~~^~~~~~~~
#
env._.c:1016:18: note: place parentheses around the assignment to silence this warning
#
for( ei = 0; e1 = ev[ei]; ei++ ){
#
^
#
( )
#
env._.c:1016:18: note: use '==' to turn this assignment into an equality comparison
#
for( ei = 0; e1 = ev[ei]; ei++ ){
#
^
#
==
#
env._.c:1471:34: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
#
LOG_bugs |= (1 << atoi(&arg[2])-1);
#
~~ ~~~~~~~~~~~~~^~
#
env._.c:1471:34: note: place parentheses around the '-' expression to silence this warning
#
LOG_bugs |= (1 << atoi(&arg[2])-1);
#
^
#
( )
#
env._.c:1653:27: warning: '&' within '|' [-Wbitwise-op-parentheses]
#
LOG_type1 = LOG_type1 & ~L_LEVEL | lev;
#
~~~~~~~~~~^~~~~~~~~~ ~
#
env._.c:1653:27: note: place parentheses around the '&' expression to silence this warning
#
LOG_type1 = LOG_type1 & ~L_LEVEL | lev;
#
~~~~~~~~~~^~~~~~~~~~
#
env._.c:1792:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( pp = pat; pc = *pp; pp++ ){
#
~~~^~~~~
#
env._.c:1792:20: note: place parentheses around the assignment to silence this warning
#
for( pp = pat; pc = *pp; pp++ ){
#
^
#
( )
#
env._.c:1792:20: note: use '==' to turn this assignment into an equality comparison
#
for( pp = pat; pc = *pp; pp++ ){
#
^
#
==
#
env._.c:1940:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( vp = parameq(line,"SERVER") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~
#
env._.c:1940:9: note: place parentheses around the assignment to silence this warning
#
if( vp = parameq(line,"SERVER") ){
#
^
#
( )
#
env._.c:1940:9: note: use '==' to turn this assignment into an equality comparison
#
if( vp = parameq(line,"SERVER") ){
#
^
#
==
#
env._.c:2066:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( cfp = fopen(DC->dc_file,"r") ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~
#
env._.c:2066:10: note: place parentheses around the assignment to silence this warning
#
if( cfp = fopen(DC->dc_file,"r") ){
#
^
#
( )
#
env._.c:2066:10: note: use '==' to turn this assignment into an equality comparison
#
if( cfp = fopen(DC->dc_file,"r") ){
#
^
#
==
#
25 warnings generated.
#
../mkcpp thmain.c thmain._.c
#
-- mkcpp set time: 1492117325 -> 1284890657 thmain._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c thmain._.c -o thmain.o
#
thmain._.c:450:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( err = thread_wait(tid,1000) ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~
#
thmain._.c:450:11: note: place parentheses around the assignment to silence this warning
#
if( err = thread_wait(tid,1000) ){
#
^
#
( )
#
thmain._.c:450:11: note: use '==' to turn this assignment into an equality comparison
#
if( err = thread_wait(tid,1000) ){
#
^
#
==
#
thmain._.c:464:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( err = thread_wait(tids[ti],30*1000) ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
thmain._.c:464:11: note: place parentheses around the assignment to silence this warning
#
if( err = thread_wait(tids[ti],30*1000) ){
#
^
#
( )
#
thmain._.c:464:11: note: use '==' to turn this assignment into an equality comparison
#
if( err = thread_wait(tids[ti],30*1000) ){
#
^
#
==
#
2 warnings generated.
#
../mkcpp syslog.c syslog._.c
#
-- mkcpp set time: 1492117325 -> 1264933348 syslog._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c syslog._.c -o syslog.o
#
syslog._.c:58:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( fi = 0; fn = Severity[fi]; fi++ ){
#
~~~^~~~~~~~~~~~~~
#
syslog._.c:58:18: note: place parentheses around the assignment to silence this warning
#
for( fi = 0; fn = Severity[fi]; fi++ ){
#
^
#
( )
#
syslog._.c:58:18: note: use '==' to turn this assignment into an equality comparison
#
for( fi = 0; fn = Severity[fi]; fi++ ){
#
^
#
==
#
syslog._.c:95:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( fi = 0; fn = Facility[fi]; fi++ ){
#
~~~^~~~~~~~~~~~~~
#
syslog._.c:95:18: note: place parentheses around the assignment to silence this warning
#
for( fi = 0; fn = Facility[fi]; fi++ ){
#
^
#
( )
#
syslog._.c:95:18: note: use '==' to turn this assignment into an equality comparison
#
for( fi = 0; fn = Facility[fi]; fi++ ){
#
^
#
==
#
syslog._.c:314:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( lfp = fopen(url+5,"a") ){
#
~~~~^~~~~~~~~~~~~~~~~~
#
syslog._.c:314:11: note: place parentheses around the assignment to silence this warning
#
if( lfp = fopen(url+5,"a") ){
#
^
#
( )
#
syslog._.c:314:11: note: use '==' to turn this assignment into an equality comparison
#
if( lfp = fopen(url+5,"a") ){
#
^
#
==
#
syslog._.c:322:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( lfp = fopen(url,"a") ){
#
~~~~^~~~~~~~~~~~~~~~
#
syslog._.c:322:11: note: place parentheses around the assignment to silence this warning
#
if( lfp = fopen(url,"a") ){
#
^
#
( )
#
syslog._.c:322:11: note: use '==' to turn this assignment into an equality comparison
#
if( lfp = fopen(url,"a") ){
#
^
#
==
#
4 warnings generated.
#
../mkcpp log.c log._.c
#
-- mkcpp set time: 1492117325 -> 1414474072 log._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c log._.c -o log.o
#
log._.c:200:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( buff = getStrBuffer(SB_PROC,MAXLENG,1) ){
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
log._.c:200:12: note: place parentheses around the assignment to silence this warning
#
if( buff = getStrBuffer(SB_PROC,MAXLENG,1) ){
#
^
#
( )
#
log._.c:200:12: note: use '==' to turn this assignment into an equality comparison
#
if( buff = getStrBuffer(SB_PROC,MAXLENG,1) ){
#
^
#
==
#
log._.c:272:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( plog = pplog ){
#
~~~~~^~~~~~~
#
log._.c:272:11: note: place parentheses around the assignment to silence this warning
#
if( plog = pplog ){
#
^
#
( )
#
log._.c:272:11: note: use '==' to turn this assignment into an equality comparison
#
if( plog = pplog ){
#
^
#
==
#
log._.c:540:44: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( now == RIGHTNOW || Logf->l_until != 0 && Logf->l_until <= now )
#
~~ ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
#
log._.c:540:44: note: place parentheses around the '&&' expression to silence this warning
#
if( now == RIGHTNOW || Logf->l_until != 0 && Logf->l_until <= now )
#
^
#
( )
#
log._.c:564:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
while( ldp = strstr(link,tag) ){
#
~~~~^~~~~~~~~~~~~~~~~~
#
log._.c:564:13: note: place parentheses around the assignment to silence this warning
#
while( ldp = strstr(link,tag) ){
#
^
#
( )
#
log._.c:564:13: note: use '==' to turn this assignment into an equality comparison
#
while( ldp = strstr(link,tag) ){
#
^
#
==
#
log._.c:565:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( tp = strchr(link,']') ){
#
~~~^~~~~~~~~~~~~~~~~~
#
log._.c:565:10: note: place parentheses around the assignment to silence this warning
#
if( tp = strchr(link,']') ){
#
^
#
( )
#
log._.c:565:10: note: use '==' to turn this assignment into an equality comparison
#
if( tp = strchr(link,']') ){
#
^
#
==
#
log._.c:573:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
while( fdp = strstr(file,tag) ){
#
~~~~^~~~~~~~~~~~~~~~~~
#
log._.c:573:13: note: place parentheses around the assignment to silence this warning
#
while( fdp = strstr(file,tag) ){
#
^
#
( )
#
log._.c:573:13: note: use '==' to turn this assignment into an equality comparison
#
while( fdp = strstr(file,tag) ){
#
^
#
==
#
log._.c:576:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( tp = strchr(format,']') ){
#
~~~^~~~~~~~~~~~~~~~~~~~
#
log._.c:576:10: note: place parentheses around the assignment to silence this warning
#
if( tp = strchr(format,']') ){
#
^
#
( )
#
log._.c:576:10: note: use '==' to turn this assignment into an equality comparison
#
if( tp = strchr(format,']') ){
#
^
#
==
#
log._.c:755:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( tfp = fopen(current,"a") ){
#
~~~~^~~~~~~~~~~~~~~~~~~~
#
log._.c:755:11: note: place parentheses around the assignment to silence this warning
#
if( tfp = fopen(current,"a") ){
#
^
#
( )
#
log._.c:755:11: note: use '==' to turn this assignment into an equality comparison
#
if( tfp = fopen(current,"a") ){
#
^
#
==
#
log._.c:920:14: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( wildon && streq(proto1,"*") || strcaseeq(proto1,proto) )
#
~~~~~~~^~~~~~~~~~~~~~~~~~~~ ~~
#
log._.c:920:14: note: place parentheses around the '&&' expression to silence this warning
#
if( wildon && streq(proto1,"*") || strcaseeq(proto1,proto) )
#
^
#
( )
#
log._.c:921:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( filters = logF->l_filters ){
#
~~~~~~~~^~~~~~~~~~~~~~~~~
#
log._.c:921:15: note: place parentheses around the assignment to silence this warning
#
if( filters = logF->l_filters ){
#
^
#
( )
#
log._.c:921:15: note: use '==' to turn this assignment into an equality comparison
#
if( filters = logF->l_filters ){
#
^
#
==
#
log._.c:1078:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( ex = LogF->l_ex ){
#
~~~^~~~~~~~~~~~
#
log._.c:1078:9: note: place parentheses around the assignment to silence this warning
#
if( ex = LogF->l_ex ){
#
^
#
( )
#
log._.c:1078:9: note: use '==' to turn this assignment into an equality comparison
#
if( ex = LogF->l_ex ){
#
^
#
==
#
log._.c:1272:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp = fdopen(fd,"a") )
#
~~~^~~~~~~~~~~~~~~~
#
log._.c:1272:10: note: place parentheses around the assignment to silence this warning
#
if( fp = fdopen(fd,"a") )
#
^
#
( )
#
log._.c:1272:10: note: use '==' to turn this assignment into an equality comparison
#
if( fp = fdopen(fd,"a") )
#
^
#
==
#
log._.c:1560:13: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| logEnv && LogF0.l_fp == NOLOG /* LOGFILE="" (initialized) */
#
~~ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
#
log._.c:1560:13: note: place parentheses around the '&&' expression to silence this warning
#
|| logEnv && LogF0.l_fp == NOLOG /* LOGFILE="" (initialized) */
#
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
#
log._.c:2040:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp = dirfopen("PortFile",AVStr(PortF.l_path),"r") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
log._.c:2040:10: note: place parentheses around the assignment to silence this warning
#
if( fp = dirfopen("PortFile",AVStr(PortF.l_path),"r") ){
#
^
#
( )
#
log._.c:2040:10: note: use '==' to turn this assignment into an equality comparison
#
if( fp = dirfopen("PortFile",AVStr(PortF.l_path),"r") ){
#
^
#
==
#
log._.c:2092:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
while( ep = strstr(bgn,end) ){
#
~~~^~~~~~~~~~~~~~~~~
#
log._.c:2092:13: note: place parentheses around the assignment to silence this warning
#
while( ep = strstr(bgn,end) ){
#
^
#
( )
#
log._.c:2092:13: note: use '==' to turn this assignment into an equality comparison
#
while( ep = strstr(bgn,end) ){
#
^
#
==
#
log._.c:2145:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( LogF = LOG_which("ftp",LF_PROTOLOG,0) ){
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
log._.c:2145:11: note: place parentheses around the assignment to silence this warning
#
if( LogF = LOG_which("ftp",LF_PROTOLOG,0) ){
#
^
#
( )
#
log._.c:2145:11: note: use '==' to turn this assignment into an equality comparison
#
if( LogF = LOG_which("ftp",LF_PROTOLOG,0) ){
#
^
#
==
#
log._.c:2297:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( np = strchr(lp,'\n') ){
#
~~~^~~~~~~~~~~~~~~~~
#
log._.c:2297:10: note: place parentheses around the assignment to silence this warning
#
if( np = strchr(lp,'\n') ){
#
^
#
( )
#
log._.c:2297:10: note: use '==' to turn this assignment into an equality comparison
#
if( np = strchr(lp,'\n') ){
#
^
#
==
#
log._.c:2370:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp = fopen(unlinkv[ui],"r") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~
#
log._.c:2370:10: note: place parentheses around the assignment to silence this warning
#
if( fp = fopen(unlinkv[ui],"r") ){
#
^
#
( )
#
log._.c:2370:10: note: use '==' to turn this assignment into an equality comparison
#
if( fp = fopen(unlinkv[ui],"r") ){
#
^
#
==
#
log._.c:2753:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( rp = reason; rc = *rp; rp++ ){
#
~~~^~~~~
#
log._.c:2753:23: note: place parentheses around the assignment to silence this warning
#
for( rp = reason; rc = *rp; rp++ ){
#
^
#
( )
#
log._.c:2753:23: note: use '==' to turn this assignment into an equality comparison
#
for( rp = reason; rc = *rp; rp++ ){
#
^
#
==
#
log._.c:2778:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp = dirfopen("MBOXMUID",AVStr(path),"w+") )
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
log._.c:2778:10: note: place parentheses around the assignment to silence this warning
#
if( fp = dirfopen("MBOXMUID",AVStr(path),"w+") )
#
^
#
( )
#
log._.c:2778:10: note: use '==' to turn this assignment into an equality comparison
#
if( fp = dirfopen("MBOXMUID",AVStr(path),"w+") )
#
^
#
==
#
log._.c:2782:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp = dirfopen("MBOXMUID",AVStr(path),"r+") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
log._.c:2782:10: note: place parentheses around the assignment to silence this warning
#
if( fp = dirfopen("MBOXMUID",AVStr(path),"r+") ){
#
^
#
( )
#
log._.c:2782:10: note: use '==' to turn this assignment into an equality comparison
#
if( fp = dirfopen("MBOXMUID",AVStr(path),"r+") ){
#
^
#
==
#
log._.c:2799:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( ufp = openMuid(1,muid,AVStr(mbox)) )
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
log._.c:2799:12: note: place parentheses around the assignment to silence this warning
#
if( ufp = openMuid(1,muid,AVStr(mbox)) )
#
^
#
( )
#
log._.c:2799:12: note: use '==' to turn this assignment into an equality comparison
#
if( ufp = openMuid(1,muid,AVStr(mbox)) )
#
^
#
==
#
log._.c:2997:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(path,HS_SET) )
#
~~~^~~~~~~~~~~~~~~~~~~~~
#
log._.c:2997:12: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(path,HS_SET) )
#
^
#
( )
#
log._.c:2997:12: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(path,HS_SET) )
#
^
#
==
#
log._.c:3054:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(addr,HS_SET) )
#
~~~^~~~~~~~~~~~~~~~~~~~~
#
log._.c:3054:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(addr,HS_SET) )
#
^
#
( )
#
log._.c:3054:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(addr,HS_SET) )
#
^
#
==
#
log._.c:3176:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( addr = gethostaddr(host) ){
#
~~~~~^~~~~~~~~~~~~~~~~~~
#
log._.c:3176:15: note: place parentheses around the assignment to silence this warning
#
if( addr = gethostaddr(host) ){
#
^
#
( )
#
log._.c:3176:15: note: use '==' to turn this assignment into an equality comparison
#
if( addr = gethostaddr(host) ){
#
^
#
==
#
log._.c:3290:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( lkfp = dirfopen("LOCALLOCK",AVStr(lkpath),"w+") ){
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
log._.c:3290:11: note: place parentheses around the assignment to silence this warning
#
if( lkfp = dirfopen("LOCALLOCK",AVStr(lkpath),"w+") ){
#
^
#
( )
#
log._.c:3290:11: note: use '==' to turn this assignment into an equality comparison
#
if( lkfp = dirfopen("LOCALLOCK",AVStr(lkpath),"w+") ){
#
^
#
==
#
log._.c:3310:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( file = getenv("DELEGATE_LOGLOG") )
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
#
log._.c:3310:11: note: place parentheses around the assignment to silence this warning
#
if( file = getenv("DELEGATE_LOGLOG") )
#
^
#
( )
#
log._.c:3310:11: note: use '==' to turn this assignment into an equality comparison
#
if( file = getenv("DELEGATE_LOGLOG") )
#
^
#
==
#
log._.c:3311:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( logfp = fopen(file,"a") ){
#
~~~~~~^~~~~~~~~~~~~~~~~
#
log._.c:3311:12: note: place parentheses around the assignment to silence this warning
#
if( logfp = fopen(file,"a") ){
#
^
#
( )
#
log._.c:3311:12: note: use '==' to turn this assignment into an equality comparison
#
if( logfp = fopen(file,"a") ){
#
^
#
==
#
log._.c:3456:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( pfp = fopen(path,"a") ){
#
~~~~^~~~~~~~~~~~~~~~~
#
log._.c:3456:10: note: place parentheses around the assignment to silence this warning
#
if( pfp = fopen(path,"a") ){
#
^
#
( )
#
log._.c:3456:10: note: use '==' to turn this assignment into an equality comparison
#
if( pfp = fopen(path,"a") ){
#
^
#
==
#
log._.c:3477:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( pfp = proc_fp ){
#
~~~~^~~~~~~~~
#
log._.c:3477:10: note: place parentheses around the assignment to silence this warning
#
if( pfp = proc_fp ){
#
^
#
( )
#
log._.c:3477:10: note: use '==' to turn this assignment into an equality comparison
#
if( pfp = proc_fp ){
#
^
#
==
#
log._.c:3490:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( pp = strrchr(path,'/') ){
#
~~~^~~~~~~~~~~~~~~~~~~
#
log._.c:3490:10: note: place parentheses around the assignment to silence this warning
#
if( pp = strrchr(path,'/') ){
#
^
#
( )
#
log._.c:3490:10: note: use '==' to turn this assignment into an equality comparison
#
if( pp = strrchr(path,'/') ){
#
^
#
==
#
31 warnings generated.
#
../mkcpp svstat.c svstat._.c
#
-- mkcpp set time: 1492117326 -> 1264830319 svstat._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c svstat._.c -o svstat.o
#
svstat._.c:341:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
while( fc = *fp++ ){
#
~~~^~~~~~~
#
svstat._.c:341:12: note: place parentheses around the assignment to silence this warning
#
while( fc = *fp++ ){
#
^
#
( )
#
svstat._.c:341:12: note: use '==' to turn this assignment into an equality comparison
#
while( fc = *fp++ ){
#
^
#
==
#
svstat._.c:523:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( tp = strchr(fp,']') ){
#
~~~^~~~~~~~~~~~~~~~
#
svstat._.c:523:12: note: place parentheses around the assignment to silence this warning
#
if( tp = strchr(fp,']') ){
#
^
#
( )
#
svstat._.c:523:12: note: use '==' to turn this assignment into an equality comparison
#
if( tp = strchr(fp,']') ){
#
^
#
==
#
2 warnings generated.
#
../mkcpp iotimeout.c iotimeout._.c
#
-- mkcpp set time: 1492117326 -> 1291180990 iotimeout._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c iotimeout._.c -o iotimeout.o
#
iotimeout._.c:64:30: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
for( ntry = 0; timeout == 0 && ntry < 1 || 0 < remain; ntry++ ){
#
~~~~~~~~~~~~~^~~~~~~~~~~ ~~
#
iotimeout._.c:64:30: note: place parentheses around the '&&' expression to silence this warning
#
for( ntry = 0; timeout == 0 && ntry < 1 || 0 < remain; ntry++ ){
#
^
#
( )
#
iotimeout._.c:65:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( closed = checkCloseOnTimeout(1) )
#
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
#
iotimeout._.c:65:14: note: place parentheses around the assignment to silence this warning
#
if( closed = checkCloseOnTimeout(1) )
#
^
#
( )
#
iotimeout._.c:65:14: note: use '==' to turn this assignment into an equality comparison
#
if( closed = checkCloseOnTimeout(1) )
#
^
#
==
#
iotimeout._.c:745:14: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( 0 < rc && b[rc-1] == '\n' || feof(fp) || rc == s-1 )
#
~~~~~~~^~~~~~~~~~~~~~~~~~ ~~
#
iotimeout._.c:745:14: note: place parentheses around the '&&' expression to silence this warning
#
if( 0 < rc && b[rc-1] == '\n' || feof(fp) || rc == s-1 )
#
^
#
( )
#
3 warnings generated.
#
../mkcpp misc.c misc._.c
#
-- mkcpp set time: 1492117326 -> 1264937762 misc._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c misc._.c -o misc.o
#
misc._.c:224:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strrchr(dir,'/') ){
#
~~~^~~~~~~~~~~~~~~~~~
#
misc._.c:224:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strrchr(dir,'/') ){
#
^
#
( )
#
misc._.c:224:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strrchr(dir,'/') ){
#
^
#
==
#
misc._.c:232:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( sfp = dgfopen("copyFile-src","",src,"r") ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
misc._.c:232:11: note: place parentheses around the assignment to silence this warning
#
if( sfp = dgfopen("copyFile-src","",src,"r") ){
#
^
#
( )
#
misc._.c:232:11: note: use '==' to turn this assignment into an equality comparison
#
if( sfp = dgfopen("copyFile-src","",src,"r") ){
#
^
#
==
#
misc._.c:234:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dfp = dgfopen("copyFile-append","",dst,mode) ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
misc._.c:234:12: note: place parentheses around the assignment to silence this warning
#
if( dfp = dgfopen("copyFile-append","",dst,mode) ){
#
^
#
( )
#
misc._.c:234:12: note: use '==' to turn this assignment into an equality comparison
#
if( dfp = dgfopen("copyFile-append","",dst,mode) ){
#
^
#
==
#
misc._.c:245:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dfp = dgfopen("copyFile-create","",xnew,"w") ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
misc._.c:245:12: note: place parentheses around the assignment to silence this warning
#
if( dfp = dgfopen("copyFile-create","",xnew,"w") ){
#
^
#
( )
#
misc._.c:245:12: note: use '==' to turn this assignment into an equality comparison
#
if( dfp = dgfopen("copyFile-create","",xnew,"w") ){
#
^
#
==
#
4 warnings generated.
#
../mkcpp msg.c msg._.c
#
-- mkcpp set time: 1492117326 -> 1264834137 msg._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c msg._.c -o msg.o
#
msg._.c:46:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( sp = status; ch = *sp; sp++ ){
#
~~~^~~~~
#
msg._.c:46:23: note: place parentheses around the assignment to silence this warning
#
for( sp = status; ch = *sp; sp++ ){
#
^
#
( )
#
msg._.c:46:23: note: use '==' to turn this assignment into an equality comparison
#
for( sp = status; ch = *sp; sp++ ){
#
^
#
==
#
msg._.c:63:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
while( ch = *sp++ ){
#
~~~^~~~~~~
#
msg._.c:63:12: note: place parentheses around the assignment to silence this warning
#
while( ch = *sp++ ){
#
^
#
( )
#
msg._.c:63:12: note: use '==' to turn this assignment into an equality comparison
#
while( ch = *sp++ ){
#
^
#
==
#
msg._.c:94:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( xsize = putmsghead("putMessage",ser,buff,size,dstf,encode,AVStr(xbuff)) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
msg._.c:94:12: note: place parentheses around the assignment to silence this warning
#
if( xsize = putmsghead("putMessage",ser,buff,size,dstf,encode,AVStr(xbuff)) ){
#
^
#
( )
#
msg._.c:94:12: note: use '==' to turn this assignment into an equality comparison
#
if( xsize = putmsghead("putMessage",ser,buff,size,dstf,encode,AVStr(xbuff)) ){
#
^
#
==
#
msg._.c:159:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( ser = 1; rcc = freadIntime(AVStr(buff),1,sizeof(buff),srcf,MSG_TIMEOUT); ser++ ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
msg._.c:159:20: note: place parentheses around the assignment to silence this warning
#
for( ser = 1; rcc = freadIntime(AVStr(buff),1,sizeof(buff),srcf,MSG_TIMEOUT); ser++ ){
#
^
#
( )
#
msg._.c:159:20: note: use '==' to turn this assignment into an equality comparison
#
for( ser = 1; rcc = freadIntime(AVStr(buff),1,sizeof(buff),srcf,MSG_TIMEOUT); ser++ ){
#
^
#
==
#
msg._.c:263:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( pending = Pending ){
#
~~~~~~~~^~~~~~~~~
#
msg._.c:263:14: note: place parentheses around the assignment to silence this warning
#
if( pending = Pending ){
#
^
#
( )
#
msg._.c:263:14: note: use '==' to turn this assignment into an equality comparison
#
if( pending = Pending ){
#
^
#
==
#
msg._.c:426:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( xsize = putmsghead("cpy1",ser,buff,leng,dst,encode,AVStr(xbuff)) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
msg._.c:426:12: note: place parentheses around the assignment to silence this warning
#
if( xsize = putmsghead("cpy1",ser,buff,leng,dst,encode,AVStr(xbuff)) ){
#
^
#
( )
#
msg._.c:426:12: note: use '==' to turn this assignment into an equality comparison
#
if( xsize = putmsghead("cpy1",ser,buff,leng,dst,encode,AVStr(xbuff)) ){
#
^
#
==
#
6 warnings generated.
#
../mkcpp yshell.c yshell._.c
#
-- mkcpp set time: 1492117326 -> 1276430216 yshell._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c yshell._.c -o yshell.o
#
yshell._.c:235:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( lfp = _logMonFp ){
#
~~~~^~~~~~~~~~~
#
yshell._.c:235:10: note: place parentheses around the assignment to silence this warning
#
if( lfp = _logMonFp ){
#
^
#
( )
#
yshell._.c:235:10: note: use '==' to turn this assignment into an equality comparison
#
if( lfp = _logMonFp ){
#
^
#
==
#
yshell._.c:391:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( rp = buf; ch = *rp; rp++ ){ hputc(Ysh,pch = ch); }
#
~~~^~~~~
#
yshell._.c:391:20: note: place parentheses around the assignment to silence this warning
#
for( rp = buf; ch = *rp; rp++ ){ hputc(Ysh,pch = ch); }
#
^
#
( )
#
yshell._.c:391:20: note: use '==' to turn this assignment into an equality comparison
#
for( rp = buf; ch = *rp; rp++ ){ hputc(Ysh,pch = ch); }
#
^
#
==
#
yshell._.c:392:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( rp = req; ch = *rp; rp++ ){ hputc(Ysh,pch = ch); }
#
~~~^~~~~
#
yshell._.c:392:20: note: place parentheses around the assignment to silence this warning
#
for( rp = req; ch = *rp; rp++ ){ hputc(Ysh,pch = ch); }
#
^
#
( )
#
yshell._.c:392:20: note: use '==' to turn this assignment into an equality comparison
#
for( rp = req; ch = *rp; rp++ ){ hputc(Ysh,pch = ch); }
#
^
#
==
#
yshell._.c:556:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strrchr(curl,'/') ){
#
~~~^~~~~~~~~~~~~~~~~~~
#
yshell._.c:556:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strrchr(curl,'/') ){
#
^
#
( )
#
yshell._.c:556:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strrchr(curl,'/') ){
#
^
#
==
#
yshell._.c:608:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strrchr(upath,'/') )
#
~~~^~~~~~~~~~~~~~~~~~~~
#
yshell._.c:608:11: note: place parentheses around the assignment to silence this warning
#
if( dp = strrchr(upath,'/') )
#
^
#
( )
#
yshell._.c:608:11: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strrchr(upath,'/') )
#
^
#
==
#
yshell._.c:617:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp = fopen(lpath,"w+") ){
#
~~~^~~~~~~~~~~~~~~~~~~
#
yshell._.c:617:9: note: place parentheses around the assignment to silence this warning
#
if( fp = fopen(lpath,"w+") ){
#
^
#
( )
#
yshell._.c:617:9: note: use '==' to turn this assignment into an equality comparison
#
if( fp = fopen(lpath,"w+") ){
#
^
#
==
#
yshell._.c:642:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(Args,' ') ){
#
~~~^~~~~~~~~~~~~~~~~~
#
yshell._.c:642:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(Args,' ') ){
#
^
#
( )
#
yshell._.c:642:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(Args,' ') ){
#
^
#
==
#
yshell._.c:751:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp1 = fopen(path1,"r") ){
#
~~~~^~~~~~~~~~~~~~~~~~
#
yshell._.c:751:12: note: place parentheses around the assignment to silence this warning
#
if( fp1 = fopen(path1,"r") ){
#
^
#
( )
#
yshell._.c:751:12: note: use '==' to turn this assignment into an equality comparison
#
if( fp1 = fopen(path1,"r") ){
#
^
#
==
#
yshell._.c:762:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp1 = fopen(path1,"r") ){
#
~~~~^~~~~~~~~~~~~~~~~~
#
yshell._.c:762:11: note: place parentheses around the assignment to silence this warning
#
if( fp1 = fopen(path1,"r") ){
#
^
#
( )
#
yshell._.c:762:11: note: use '==' to turn this assignment into an equality comparison
#
if( fp1 = fopen(path1,"r") ){
#
^
#
==
#
yshell._.c:774:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp1 = fopen(path1,"r") ){
#
~~~~^~~~~~~~~~~~~~~~~~
#
yshell._.c:774:11: note: place parentheses around the assignment to silence this warning
#
if( fp1 = fopen(path1,"r") ){
#
^
#
( )
#
yshell._.c:774:11: note: use '==' to turn this assignment into an equality comparison
#
if( fp1 = fopen(path1,"r") ){
#
^
#
==
#
yshell._.c:793:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp1 = fopen(path1,"w") ){
#
~~~~^~~~~~~~~~~~~~~~~~
#
yshell._.c:793:11: note: place parentheses around the assignment to silence this warning
#
if( fp1 = fopen(path1,"w") ){
#
^
#
( )
#
yshell._.c:793:11: note: use '==' to turn this assignment into an equality comparison
#
if( fp1 = fopen(path1,"w") ){
#
^
#
==
#
yshell._.c:802:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp1 = fopen(path1,"a") ){
#
~~~~^~~~~~~~~~~~~~~~~~
#
yshell._.c:802:11: note: place parentheses around the assignment to silence this warning
#
if( fp1 = fopen(path1,"a") ){
#
^
#
( )
#
yshell._.c:802:11: note: use '==' to turn this assignment into an equality comparison
#
if( fp1 = fopen(path1,"a") ){
#
^
#
==
#
yshell._.c:810:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp1 = fopen(path1,"a") ){
#
~~~~^~~~~~~~~~~~~~~~~~
#
yshell._.c:810:11: note: place parentheses around the assignment to silence this warning
#
if( fp1 = fopen(path1,"a") ){
#
^
#
( )
#
yshell._.c:810:11: note: use '==' to turn this assignment into an equality comparison
#
if( fp1 = fopen(path1,"a") ){
#
^
#
==
#
yshell._.c:820:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp1 = fopen(path1,"r") ){
#
~~~~^~~~~~~~~~~~~~~~~~
#
yshell._.c:820:11: note: place parentheses around the assignment to silence this warning
#
if( fp1 = fopen(path1,"r") ){
#
^
#
( )
#
yshell._.c:820:11: note: use '==' to turn this assignment into an equality comparison
#
if( fp1 = fopen(path1,"r") ){
#
^
#
==
#
yshell._.c:821:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp2 = fopen(path2,"w") ){
#
~~~~^~~~~~~~~~~~~~~~~~
#
yshell._.c:821:12: note: place parentheses around the assignment to silence this warning
#
if( fp2 = fopen(path2,"w") ){
#
^
#
( )
#
yshell._.c:821:12: note: use '==' to turn this assignment into an equality comparison
#
if( fp2 = fopen(path2,"w") ){
#
^
#
==
#
yshell._.c:933:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strheadstrX(head,"Authorization:",0) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
yshell._.c:933:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strheadstrX(head,"Authorization:",0) ){
#
^
#
( )
#
yshell._.c:933:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strheadstrX(head,"Authorization:",0) ){
#
^
#
==
#
yshell._.c:1177:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( ts = fdopen(sock,"w") ){
#
~~~^~~~~~~~~~~~~~~~~~
#
yshell._.c:1177:9: note: place parentheses around the assignment to silence this warning
#
if( ts = fdopen(sock,"w") ){
#
^
#
( )
#
yshell._.c:1177:9: note: use '==' to turn this assignment into an equality comparison
#
if( ts = fdopen(sock,"w") ){
#
^
#
==
#
yshell._.c:1182:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fs = fdopen(dup(sock),"r") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~
#
yshell._.c:1182:10: note: place parentheses around the assignment to silence this warning
#
if( fs = fdopen(dup(sock),"r") ){
#
^
#
( )
#
yshell._.c:1182:10: note: use '==' to turn this assignment into an equality comparison
#
if( fs = fdopen(dup(sock),"r") ){
#
^
#
==
#
yshell._.c:1247:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( pp = strcasestr(OREQ_MSG,"win_wid=") ) sscanf(pp,"win_wid=%X",&win_wid);
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
yshell._.c:1247:10: note: place parentheses around the assignment to silence this warning
#
if( pp = strcasestr(OREQ_MSG,"win_wid=") ) sscanf(pp,"win_wid=%X",&win_wid);
#
^
#
( )
#
yshell._.c:1247:10: note: use '==' to turn this assignment into an equality comparison
#
if( pp = strcasestr(OREQ_MSG,"win_wid=") ) sscanf(pp,"win_wid=%X",&win_wid);
#
^
#
==
#
yshell._.c:1248:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( pp = strcasestr(OREQ_MSG,"win_title=") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
yshell._.c:1248:10: note: place parentheses around the assignment to silence this warning
#
if( pp = strcasestr(OREQ_MSG,"win_title=") ){
#
^
#
( )
#
yshell._.c:1248:10: note: use '==' to turn this assignment into an equality comparison
#
if( pp = strcasestr(OREQ_MSG,"win_title=") ){
#
^
#
==
#
yshell._.c:1297:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( pp = strstr(stat,"WINDOWID=") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
#
yshell._.c:1297:9: note: place parentheses around the assignment to silence this warning
#
if( pp = strstr(stat,"WINDOWID=") ){
#
^
#
( )
#
yshell._.c:1297:9: note: use '==' to turn this assignment into an equality comparison
#
if( pp = strstr(stat,"WINDOWID=") ){
#
^
#
==
#
yshell._.c:1299:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( pp = strstr(stat,"TITLE=") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~
#
yshell._.c:1299:10: note: place parentheses around the assignment to silence this warning
#
if( pp = strstr(stat,"TITLE=") ){
#
^
#
( )
#
yshell._.c:1299:10: note: use '==' to turn this assignment into an equality comparison
#
if( pp = strstr(stat,"TITLE=") ){
#
^
#
==
#
yshell._.c:1308:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( pp = strstr(stat,"SCRSIZE=") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~
#
yshell._.c:1308:9: note: place parentheses around the assignment to silence this warning
#
if( pp = strstr(stat,"SCRSIZE=") ){
#
^
#
( )
#
yshell._.c:1308:9: note: use '==' to turn this assignment into an equality comparison
#
if( pp = strstr(stat,"SCRSIZE=") ){
#
^
#
==
#
yshell._.c:1311:13: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( 0 < w && w < Wx->wc_map_width
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
#
yshell._.c:1311:13: note: place parentheses around the '&&' expression to silence this warning
#
if( 0 < w && w < Wx->wc_map_width
#
^
#
( )
#
yshell._.c:1312:13: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| 0 < h && h < Wx->wc_map_height
#
~~ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
#
yshell._.c:1312:13: note: place parentheses around the '&&' expression to silence this warning
#
|| 0 < h && h < Wx->wc_map_height
#
^
#
( )
#
yshell._.c:1424:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( query = strchr(Com,'?') ){
#
~~~~~~^~~~~~~~~~~~~~~~~
#
yshell._.c:1424:14: note: place parentheses around the assignment to silence this warning
#
if( query = strchr(Com,'?') ){
#
^
#
( )
#
yshell._.c:1424:14: note: use '==' to turn this assignment into an equality comparison
#
if( query = strchr(Com,'?') ){
#
^
#
==
#
yshell._.c:1455:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( v1 = getenv(Arg1+1) ){
#
~~~^~~~~~~~~~~~~~~~
#
yshell._.c:1455:13: note: place parentheses around the assignment to silence this warning
#
if( v1 = getenv(Arg1+1) ){
#
^
#
( )
#
yshell._.c:1455:13: note: use '==' to turn this assignment into an equality comparison
#
if( v1 = getenv(Arg1+1) ){
#
^
#
==
#
yshell._.c:1597:29: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( strstr(Com,"screen/") && strtailstr(Com,".html")
#
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
#
yshell._.c:1597:29: note: place parentheses around the '&&' expression to silence this warning
#
if( strstr(Com,"screen/") && strtailstr(Com,".html")
#
^
#
( )
#
yshell._.c:1681:30: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| strneq(Com,"option",3) && Opts[0] == '-' ){
#
~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
#
yshell._.c:1681:30: note: place parentheses around the '&&' expression to silence this warning
#
|| strneq(Com,"option",3) && Opts[0] == '-' ){
#
^
#
( )
#
yshell._.c:1706:24: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse]
#
int SortCachedHosts();
#
^~
#
yshell._.c:1706:24: note: replace parentheses with an initializer to declare a variable
#
int SortCachedHosts();
#
^~
#
= 0
#
30 warnings generated.
#
../mkcpp shio.c shio._.c
#
-- mkcpp set time: 1492117327 -> 1250403944 shio._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c shio._.c -o shio.o
#
shio._.c:149:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp = fopen(file,"r") ){
#
~~~^~~~~~~~~~~~~~~~~
#
shio._.c:149:9: note: place parentheses around the assignment to silence this warning
#
if( fp = fopen(file,"r") ){
#
^
#
( )
#
shio._.c:149:9: note: use '==' to turn this assignment into an equality comparison
#
if( fp = fopen(file,"r") ){
#
^
#
==
#
shio._.c:150:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
while( rc = fread(buff,1,sizeof(buff),fp) )
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
shio._.c:150:13: note: place parentheses around the assignment to silence this warning
#
while( rc = fread(buff,1,sizeof(buff),fp) )
#
^
#
( )
#
shio._.c:150:13: note: use '==' to turn this assignment into an equality comparison
#
while( rc = fread(buff,1,sizeof(buff),fp) )
#
^
#
==
#
shio._.c:159:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
while( rc = read(in,buff,sizeof(buff)) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
shio._.c:159:13: note: place parentheses around the assignment to silence this warning
#
while( rc = read(in,buff,sizeof(buff)) ){
#
^
#
( )
#
shio._.c:159:13: note: use '==' to turn this assignment into an equality comparison
#
while( rc = read(in,buff,sizeof(buff)) ){
#
^
#
==
#
shio._.c:189:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for(si = 0; sl = script[si]; si++){
#
~~~^~~~~~~~~~~~
#
shio._.c:189:17: note: place parentheses around the assignment to silence this warning
#
for(si = 0; sl = script[si]; si++){
#
^
#
( )
#
shio._.c:189:17: note: use '==' to turn this assignment into an equality comparison
#
for(si = 0; sl = script[si]; si++){
#
^
#
==
#
4 warnings generated.
#
../mkcpp db.c db._.c
#
-- mkcpp set time: 1492117327 -> 1264837371 db._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c db._.c -o db.o
#
../mkcpp hostlist.c hostlist._.c
#
-- mkcpp set time: 1492117327 -> 1284201195 hostlist._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c hostlist._.c -o hostlist.o
#
hostlist._.c:166:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( noresolv = *dname == '-' )
#
~~~~~~~~~^~~~~~~~~~~~~~~
#
hostlist._.c:166:15: note: place parentheses around the assignment to silence this warning
#
if( noresolv = *dname == '-' )
#
^
#
( )
#
hostlist._.c:166:15: note: use '==' to turn this assignment into an equality comparison
#
if( noresolv = *dname == '-' )
#
^
#
==
#
hostlist._.c:168:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( aflags = strchr(dname,'/') ){
#
~~~~~~~^~~~~~~~~~~~~~~~~~~
#
hostlist._.c:168:13: note: place parentheses around the assignment to silence this warning
#
if( aflags = strchr(dname,'/') ){
#
^
#
( )
#
hostlist._.c:168:13: note: use '==' to turn this assignment into an equality comparison
#
if( aflags = strchr(dname,'/') ){
#
^
#
==
#
hostlist._.c:309:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( pi = 0; proto1 = protolist[pi]; pi++ ){
#
~~~~~~~^~~~~~~~~~~~~~~
#
hostlist._.c:309:22: note: place parentheses around the assignment to silence this warning
#
for( pi = 0; proto1 = protolist[pi]; pi++ ){
#
^
#
( )
#
hostlist._.c:309:22: note: use '==' to turn this assignment into an equality comparison
#
for( pi = 0; proto1 = protolist[pi]; pi++ ){
#
^
#
==
#
hostlist._.c:355:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( ui = 0; user = userlist[ui]; ui++ ){
#
~~~~~^~~~~~~~~~~~~~
#
hostlist._.c:355:20: note: place parentheses around the assignment to silence this warning
#
for( ui = 0; user = userlist[ui]; ui++ ){
#
^
#
( )
#
hostlist._.c:355:20: note: use '==' to turn this assignment into an equality comparison
#
for( ui = 0; user = userlist[ui]; ui++ ){
#
^
#
==
#
hostlist._.c:364:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( rexp = rexplist[ui] ){
#
~~~~~^~~~~~~~~~~~~~
#
hostlist._.c:364:12: note: place parentheses around the assignment to silence this warning
#
if( rexp = rexplist[ui] ){
#
^
#
( )
#
hostlist._.c:364:12: note: use '==' to turn this assignment into an equality comparison
#
if( rexp = rexplist[ui] ){
#
^
#
==
#
hostlist._.c:394:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( pi = 0; ports = portlist[pi]; pi++ ){
#
~~~~~~^~~~~~~~~~~~~~
#
hostlist._.c:394:21: note: place parentheses around the assignment to silence this warning
#
for( pi = 0; ports = portlist[pi]; pi++ ){
#
^
#
( )
#
hostlist._.c:394:21: note: use '==' to turn this assignment into an equality comparison
#
for( pi = 0; ports = portlist[pi]; pi++ ){
#
^
#
==
#
hostlist._.c:467:24: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| PRIVATEBL <= net && net <= PRIVATEBH
#
~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
#
hostlist._.c:467:24: note: place parentheses around the '&&' expression to silence this warning
#
|| PRIVATEBL <= net && net <= PRIVATEBH
#
~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
#
hostlist._.c:492:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( si = 0; sc = st[si]; si++ ){
#
~~~^~~~~~~~
#
hostlist._.c:492:18: note: place parentheses around the assignment to silence this warning
#
for( si = 0; sc = st[si]; si++ ){
#
^
#
( )
#
hostlist._.c:492:18: note: use '==' to turn this assignment into an equality comparison
#
for( si = 0; sc = st[si]; si++ ){
#
^
#
==
#
hostlist._.c:552:16: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( h1 <= hc && hc <= max || min <= hc && hc <= h2 )
#
~~~~~~~~~^~~~~~~~~~~~ ~~
#
hostlist._.c:552:16: note: place parentheses around the '&&' expression to silence this warning
#
if( h1 <= hc && hc <= max || min <= hc && hc <= h2 )
#
^
#
( )
#
hostlist._.c:552:42: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( h1 <= hc && hc <= max || min <= hc && hc <= h2 )
#
~~ ~~~~~~~~~~^~~~~~~~~~~
#
hostlist._.c:552:42: note: place parentheses around the '&&' expression to silence this warning
#
if( h1 <= hc && hc <= max || min <= hc && hc <= h2 )
#
^
#
( )
#
hostlist._.c:600:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( vp += 2; ch = *vp; vp++ ){
#
~~~^~~~~
#
hostlist._.c:600:19: note: place parentheses around the assignment to silence this warning
#
for( vp += 2; ch = *vp; vp++ ){
#
^
#
( )
#
hostlist._.c:600:19: note: use '==' to turn this assignment into an equality comparison
#
for( vp += 2; ch = *vp; vp++ ){
#
^
#
==
#
hostlist._.c:609:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
while( *(char*)sp++ = *vp++ );
#
~~~~~~~~~~~~~^~~~~~~
#
hostlist._.c:609:22: note: place parentheses around the assignment to silence this warning
#
while( *(char*)sp++ = *vp++ );
#
^
#
( )
#
hostlist._.c:609:22: note: use '==' to turn this assignment into an equality comparison
#
while( *(char*)sp++ = *vp++ );
#
^
#
==
#
hostlist._.c:676:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( byauth = (hostlist->hl_flags & HL_BYAUTH) ){
#
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
hostlist._.c:676:13: note: place parentheses around the assignment to silence this warning
#
if( byauth = (hostlist->hl_flags & HL_BYAUTH) ){
#
^
#
( )
#
hostlist._.c:676:13: note: use '==' to turn this assignment into an equality comparison
#
if( byauth = (hostlist->hl_flags & HL_BYAUTH) ){
#
^
#
==
#
hostlist._.c:737:17: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( vdom == 0 && vdom1 != 0
#
~~~~~~~~~~^~~~~~~~~~~~~
#
hostlist._.c:737:17: note: place parentheses around the '&&' expression to silence this warning
#
if( vdom == 0 && vdom1 != 0
#
^
#
( )
#
hostlist._.c:738:17: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| vdom != 0 && vdom1 == 0
#
~~ ~~~~~~~~~~^~~~~~~~~~~~~
#
hostlist._.c:738:17: note: place parentheses around the '&&' expression to silence this warning
#
|| vdom != 0 && vdom1 == 0
#
^
#
( )
#
hostlist._.c:739:31: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| vdom != 0 && vdom1 != 0 && !streq(vdom,vdom1) )
#
~~ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
#
hostlist._.c:739:31: note: place parentheses around the '&&' expression to silence this warning
#
|| vdom != 0 && vdom1 != 0 && !streq(vdom,vdom1) )
#
^
#
( )
#
hostlist._.c:742:12: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( isin && (op == ON_EQ || op == ON_NEQ) ||
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~
#
hostlist._.c:742:12: note: place parentheses around the '&&' expression to silence this warning
#
if( isin && (op == ON_EQ || op == ON_NEQ) ||
#
^
#
( )
#
hostlist._.c:743:12: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
!isin && (op ==OFF_EQ || op==OFF_NEQ) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
hostlist._.c:743:12: note: place parentheses around the '&&' expression to silence this warning
#
!isin && (op ==OFF_EQ || op==OFF_NEQ) ){
#
^
#
( )
#
hostlist._.c:1038:13: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( match && op == ON_EQ || !match && op == ON_NEQ )
#
~~~~~~^~~~~~~~~~~~~~ ~~
#
hostlist._.c:1038:13: note: place parentheses around the '&&' expression to silence this warning
#
if( match && op == ON_EQ || !match && op == ON_NEQ )
#
~~~~~~^~~~~~~~~~~~~~
#
hostlist._.c:1038:39: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( match && op == ON_EQ || !match && op == ON_NEQ )
#
~~ ~~~~~~~^~~~~~~~~~~~~~~
#
hostlist._.c:1038:39: note: place parentheses around the '&&' expression to silence this warning
#
if( match && op == ON_EQ || !match && op == ON_NEQ )
#
~~~~~~~^~~~~~~~~~~~~~~
#
hostlist._.c:1041:13: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( match && op == OFF_EQ || !match && op == OFF_NEQ )
#
~~~~~~^~~~~~~~~~~~~~~ ~~
#
hostlist._.c:1041:13: note: place parentheses around the '&&' expression to silence this warning
#
if( match && op == OFF_EQ || !match && op == OFF_NEQ )
#
~~~~~~^~~~~~~~~~~~~~~
#
hostlist._.c:1041:39: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( match && op == OFF_EQ || !match && op == OFF_NEQ )
#
~~ ~~~~~~~^~~~~~~~~~~~~~~~
#
hostlist._.c:1041:39: note: place parentheses around the '&&' expression to silence this warning
#
if( match && op == OFF_EQ || !match && op == OFF_NEQ )
#
~~~~~~~^~~~~~~~~~~~~~~~
#
hostlist._.c:1074:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( vdom = scanVdomain(hostname,AVStr(hostnameb),AVStr(vdomb)) )
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
hostlist._.c:1074:11: note: place parentheses around the assignment to silence this warning
#
if( vdom = scanVdomain(hostname,AVStr(hostnameb),AVStr(vdomb)) )
#
^
#
( )
#
hostlist._.c:1074:11: note: use '==' to turn this assignment into an equality comparison
#
if( vdom = scanVdomain(hostname,AVStr(hostnameb),AVStr(vdomb)) )
#
^
#
==
#
hostlist._.c:1168:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(ap,'.') ){
#
~~~^~~~~~~~~~~~~~~~
#
hostlist._.c:1168:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(ap,'.') ){
#
^
#
( )
#
hostlist._.c:1168:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(ap,'.') ){
#
^
#
==
#
hostlist._.c:1205:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(hostmask,'@') )
#
~~~^~~~~~~~~~~~~~~~~~~~~~
#
hostlist._.c:1205:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(hostmask,'@') )
#
^
#
( )
#
hostlist._.c:1205:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(hostmask,'@') )
#
^
#
==
#
hostlist._.c:1226:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = hostpart(list,1) ){
#
~~~^~~~~~~~~~~~~~~~~~
#
hostlist._.c:1226:9: note: place parentheses around the assignment to silence this warning
#
if( dp = hostpart(list,1) ){
#
^
#
( )
#
hostlist._.c:1226:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = hostpart(list,1) ){
#
^
#
==
#
hostlist._.c:1317:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
while( ch = *hp ){
#
~~~^~~~~
#
hostlist._.c:1317:14: note: place parentheses around the assignment to silence this warning
#
while( ch = *hp ){
#
^
#
( )
#
hostlist._.c:1317:14: note: use '==' to turn this assignment into an equality comparison
#
while( ch = *hp ){
#
^
#
==
#
hostlist._.c:1354:23: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( isdigit(mask[0]) && mask[1] == 0
#
~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
#
hostlist._.c:1354:23: note: place parentheses around the '&&' expression to silence this warning
#
if( isdigit(mask[0]) && mask[1] == 0
#
^
#
( )
#
hostlist._.c:1355:43: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| isdigit(mask[0]) && isdigit(mask[1]) && mask[2] == 0 ){
#
~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
#
hostlist._.c:1355:43: note: place parentheses around the '&&' expression to silence this warning
#
|| isdigit(mask[0]) && isdigit(mask[1]) && mask[2] == 0 ){
#
^
#
( )
#
hostlist._.c:1383:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( route = strstr(hostmask,"//") ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
#
hostlist._.c:1383:12: note: place parentheses around the assignment to silence this warning
#
if( route = strstr(hostmask,"//") ){
#
^
#
( )
#
hostlist._.c:1383:12: note: use '==' to turn this assignment into an equality comparison
#
if( route = strstr(hostmask,"//") ){
#
^
#
==
#
hostlist._.c:1442:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( mp = strchr(hostmask,'/') ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~
#
hostlist._.c:1442:9: note: place parentheses around the assignment to silence this warning
#
if( mp = strchr(hostmask,'/') ){
#
^
#
( )
#
hostlist._.c:1442:9: note: use '==' to turn this assignment into an equality comparison
#
if( mp = strchr(hostmask,'/') ){
#
^
#
==
#
hostlist._.c:1447:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( submask = isnetmasklen(mp) ){
#
~~~~~~~~^~~~~~~~~~~~~~~~~~
#
hostlist._.c:1447:15: note: place parentheses around the assignment to silence this warning
#
if( submask = isnetmasklen(mp) ){
#
^
#
( )
#
hostlist._.c:1447:15: note: use '==' to turn this assignment into an equality comparison
#
if( submask = isnetmasklen(mp) ){
#
^
#
==
#
hostlist._.c:1467:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( submask = atoi(&mp[2]) )
#
~~~~~~~~^~~~~~~~~~~~~~
#
hostlist._.c:1467:16: note: place parentheses around the assignment to silence this warning
#
if( submask = atoi(&mp[2]) )
#
^
#
( )
#
hostlist._.c:1467:16: note: use '==' to turn this assignment into an equality comparison
#
if( submask = atoi(&mp[2]) )
#
^
#
==
#
hostlist._.c:1493:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(hostnameb,'@') ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~
#
hostlist._.c:1493:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(hostnameb,'@') ){
#
^
#
( )
#
hostlist._.c:1493:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(hostnameb,'@') ){
#
^
#
==
#
hostlist._.c:1497:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( pp = strchr(users,'}') )
#
~~~^~~~~~~~~~~~~~~~~~~
#
hostlist._.c:1497:12: note: place parentheses around the assignment to silence this warning
#
if( pp = strchr(users,'}') )
#
^
#
( )
#
hostlist._.c:1497:12: note: use '==' to turn this assignment into an equality comparison
#
if( pp = strchr(users,'}') )
#
^
#
==
#
hostlist._.c:1548:36: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| (dp = strstr(hostnameb,".."))&&(isdigit(dp[2])||dp[2]=='{')
#
~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
hostlist._.c:1548:36: note: place parentheses around the '&&' expression to silence this warning
#
|| (dp = strstr(hostnameb,".."))&&(isdigit(dp[2])||dp[2]=='{')
#
^
#
( )
#
hostlist._.c:1896:5: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
}else{
#
^
#
37 warnings generated.
#
../mkcpp cond.c cond._.c
#
-- mkcpp set time: 1492117327 -> 1250403944 cond._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c cond._.c -o cond.o
#
../mkcpp service.c service._.c
#
-- mkcpp set time: 1492117327 -> 1405441761 service._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c service._.c -o service.o
#
service._.c:76:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( si = 1; nm = services[si].s_name; si++ ){
#
~~~^~~~~~~~~~~~~~~~~~~~~
#
service._.c:76:18: note: place parentheses around the assignment to silence this warning
#
for( si = 1; nm = services[si].s_name; si++ ){
#
^
#
( )
#
service._.c:76:18: note: use '==' to turn this assignment into an equality comparison
#
for( si = 1; nm = services[si].s_name; si++ ){
#
^
#
==
#
service._.c:110:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( si = servicex(proto) ){
#
~~~^~~~~~~~~~~~~~~~~
#
service._.c:110:10: note: place parentheses around the assignment to silence this warning
#
if( si = servicex(proto) ){
#
^
#
( )
#
service._.c:110:10: note: use '==' to turn this assignment into an equality comparison
#
if( si = servicex(proto) ){
#
^
#
==
#
service._.c:119:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( si = servicex(proto) ){
#
~~~^~~~~~~~~~~~~~~~~
#
service._.c:119:9: note: place parentheses around the assignment to silence this warning
#
if( si = servicex(proto) ){
#
^
#
( )
#
service._.c:119:9: note: use '==' to turn this assignment into an equality comparison
#
if( si = servicex(proto) ){
#
^
#
==
#
service._.c:129:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( fi = 1; name = services[fi].s_name; fi++ )
#
~~~~~^~~~~~~~~~~~~~~~~~~~~
#
service._.c:129:20: note: place parentheses around the assignment to silence this warning
#
for( fi = 1; name = services[fi].s_name; fi++ )
#
^
#
( )
#
service._.c:129:20: note: use '==' to turn this assignment into an equality comparison
#
for( fi = 1; name = services[fi].s_name; fi++ )
#
^
#
==
#
service._.c:190:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( sx = servicex(proto) )
#
~~~^~~~~~~~~~~~~~~~~
#
service._.c:190:9: note: place parentheses around the assignment to silence this warning
#
if( sx = servicex(proto) )
#
^
#
( )
#
service._.c:190:9: note: use '==' to turn this assignment into an equality comparison
#
if( sx = servicex(proto) )
#
^
#
==
#
service._.c:191:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( svfunc = services[sx].s_client ){
#
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
#
service._.c:191:13: note: place parentheses around the assignment to silence this warning
#
if( svfunc = services[sx].s_client ){
#
^
#
( )
#
service._.c:191:13: note: use '==' to turn this assignment into an equality comparison
#
if( svfunc = services[sx].s_client ){
#
^
#
==
#
service._.c:193:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( si = 1; name = services[si].s_name; si++ ){
#
~~~~~^~~~~~~~~~~~~~~~~~~~~
#
service._.c:193:21: note: place parentheses around the assignment to silence this warning
#
for( si = 1; name = services[si].s_name; si++ ){
#
^
#
( )
#
service._.c:193:21: note: use '==' to turn this assignment into an equality comparison
#
for( si = 1; name = services[si].s_name; si++ ){
#
^
#
==
#
service._.c:205:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( si = servicex(service) )
#
~~~^~~~~~~~~~~~~~~~~~~
#
service._.c:205:9: note: place parentheses around the assignment to silence this warning
#
if( si = servicex(service) )
#
^
#
( )
#
service._.c:205:9: note: use '==' to turn this assignment into an equality comparison
#
if( si = servicex(service) )
#
^
#
==
#
service._.c:212:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( si = servicex(proto) )
#
~~~^~~~~~~~~~~~~~~~~
#
service._.c:212:9: note: place parentheses around the assignment to silence this warning
#
if( si = servicex(proto) )
#
^
#
( )
#
service._.c:212:9: note: use '==' to turn this assignment into an equality comparison
#
if( si = servicex(proto) )
#
^
#
==
#
service._.c:219:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( si = servicex(service) )
#
~~~^~~~~~~~~~~~~~~~~~~
#
service._.c:219:9: note: place parentheses around the assignment to silence this warning
#
if( si = servicex(service) )
#
^
#
( )
#
service._.c:219:9: note: use '==' to turn this assignment into an equality comparison
#
if( si = servicex(service) )
#
^
#
==
#
service._.c:225:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( si = servicex(DST_PROTO) )
#
~~~^~~~~~~~~~~~~~~~~~~~~
#
service._.c:225:9: note: place parentheses around the assignment to silence this warning
#
if( si = servicex(DST_PROTO) )
#
^
#
( )
#
service._.c:225:9: note: use '==' to turn this assignment into an equality comparison
#
if( si = servicex(DST_PROTO) )
#
^
#
==
#
service._.c:261:18: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( !byport && strcaseeq(sp->s_name,service)
#
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
service._.c:261:18: note: place parentheses around the '&&' expression to silence this warning
#
if( !byport && strcaseeq(sp->s_name,service)
#
^
#
( )
#
service._.c:262:27: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| byport && iport && sp->s_iport == iport
#
~~ ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
#
service._.c:262:27: note: place parentheses around the '&&' expression to silence this warning
#
|| byport && iport && sp->s_iport == iport
#
^
#
( )
#
service._.c:297:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( si = 1; pn = services[si].s_name; si++ ){
#
~~~^~~~~~~~~~~~~~~~~~~~~
#
service._.c:297:18: note: place parentheses around the assignment to silence this warning
#
for( si = 1; pn = services[si].s_name; si++ ){
#
^
#
( )
#
service._.c:297:18: note: use '==' to turn this assignment into an equality comparison
#
for( si = 1; pn = services[si].s_name; si++ ){
#
^
#
==
#
service._.c:315:3: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
&& method_permittedX(Conn,proto,"readonly",0) != 0 ){
#
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
service._.c:315:3: note: place parentheses around the '&&' expression to silence this warning
#
&& method_permittedX(Conn,proto,"readonly",0) != 0 ){
#
^
#
service._.c:439:27: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| ap->ac_stat && stat && ap->ac_stat != stat
#
~~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
#
service._.c:439:27: note: place parentheses around the '&&' expression to silence this warning
#
|| ap->ac_stat && stat && ap->ac_stat != stat
#
^
#
( )
#
service._.c:936:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( diff = v1[vi] - v2[vi] )
#
~~~~~^~~~~~~~~~~~~~~~~
#
service._.c:936:12: note: place parentheses around the assignment to silence this warning
#
if( diff = v1[vi] - v2[vi] )
#
^
#
( )
#
service._.c:936:12: note: use '==' to turn this assignment into an equality comparison
#
if( diff = v1[vi] - v2[vi] )
#
^
#
==
#
service._.c:1023:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( wa = CTX_withAuth(Conn) ){
#
~~~^~~~~~~~~~~~~~~~~~~~
#
service._.c:1023:9: note: place parentheses around the assignment to silence this warning
#
if( wa = CTX_withAuth(Conn) ){
#
^
#
( )
#
service._.c:1023:9: note: use '==' to turn this assignment into an equality comparison
#
if( wa = CTX_withAuth(Conn) ){
#
^
#
==
#
service._.c:1250:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( map = Conn->sv_portmap ){
#
~~~~^~~~~~~~~~~~~~~~~~
#
service._.c:1250:10: note: place parentheses around the assignment to silence this warning
#
if( map = Conn->sv_portmap ){
#
^
#
( )
#
service._.c:1250:10: note: use '==' to turn this assignment into an equality comparison
#
if( map = Conn->sv_portmap ){
#
^
#
==
#
service._.c:1409:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strrchr(login,':') ){
#
~~~^~~~~~~~~~~~~~~~~~~~
#
service._.c:1409:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strrchr(login,':') ){
#
^
#
( )
#
service._.c:1409:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strrchr(login,':') ){
#
^
#
==
#
service._.c:1676:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( crlfp = strpbrk(line,"\r\n") ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~
#
service._.c:1676:13: note: place parentheses around the assignment to silence this warning
#
if( crlfp = strpbrk(line,"\r\n") ){
#
^
#
( )
#
service._.c:1676:13: note: use '==' to turn this assignment into an equality comparison
#
if( crlfp = strpbrk(line,"\r\n") ){
#
^
#
==
#
service._.c:1720:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( value = strpbrk(line,"\r\n\t ") ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
#
service._.c:1720:13: note: place parentheses around the assignment to silence this warning
#
if( value = strpbrk(line,"\r\n\t ") ){
#
^
#
( )
#
service._.c:1720:13: note: use '==' to turn this assignment into an equality comparison
#
if( value = strpbrk(line,"\r\n\t ") ){
#
^
#
==
#
service._.c:1943:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strstr(path+len,me) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~
#
service._.c:1943:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strstr(path+len,me) ){
#
^
#
( )
#
service._.c:1943:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strstr(path+len,me) ){
#
^
#
==
#
service._.c:2271:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( filter = getFSV(Conn) ){
#
~~~~~~~^~~~~~~~~~~~~~
#
service._.c:2271:13: note: place parentheses around the assignment to silence this warning
#
if( filter = getFSV(Conn) ){
#
^
#
( )
#
service._.c:2271:13: note: use '==' to turn this assignment into an equality comparison
#
if( filter = getFSV(Conn) ){
#
^
#
==
#
service._.c:2405:2: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
else
#
^
#
service._.c:2497:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( addr = gethostaddr(host) ){
#
~~~~~^~~~~~~~~~~~~~~~~~~
#
service._.c:2497:14: note: place parentheses around the assignment to silence this warning
#
if( addr = gethostaddr(host) ){
#
^
#
( )
#
service._.c:2497:14: note: use '==' to turn this assignment into an equality comparison
#
if( addr = gethostaddr(host) ){
#
^
#
==
#
service._.c:2680:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( server = strchr(host,'@') )
#
~~~~~~~^~~~~~~~~~~~~~~~~~
#
service._.c:2680:13: note: place parentheses around the assignment to silence this warning
#
if( server = strchr(host,'@') )
#
^
#
( )
#
service._.c:2680:13: note: use '==' to turn this assignment into an equality comparison
#
if( server = strchr(host,'@') )
#
^
#
==
#
service._.c:3118:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( hp = strchr(server,'@') )
#
~~~^~~~~~~~~~~~~~~~~~~~
#
service._.c:3118:9: note: place parentheses around the assignment to silence this warning
#
if( hp = strchr(server,'@') )
#
^
#
( )
#
service._.c:3118:9: note: use '==' to turn this assignment into an equality comparison
#
if( hp = strchr(server,'@') )
#
^
#
==
#
service._.c:3330:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( si = servicex(proto) )
#
~~~^~~~~~~~~~~~~~~~~
#
service._.c:3330:9: note: place parentheses around the assignment to silence this warning
#
if( si = servicex(proto) )
#
^
#
( )
#
service._.c:3330:9: note: use '==' to turn this assignment into an equality comparison
#
if( si = servicex(proto) )
#
^
#
==
#
service._.c:3345:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( si = servicex(proto) )
#
~~~^~~~~~~~~~~~~~~~~
#
service._.c:3345:9: note: place parentheses around the assignment to silence this warning
#
if( si = servicex(proto) )
#
^
#
( )
#
service._.c:3345:9: note: use '==' to turn this assignment into an equality comparison
#
if( si = servicex(proto) )
#
^
#
==
#
service._.c:3593:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( pp = strstr(host,"..") ){
#
~~~^~~~~~~~~~~~~~~~~~~
#
service._.c:3593:9: note: place parentheses around the assignment to silence this warning
#
if( pp = strstr(host,"..") ){
#
^
#
( )
#
service._.c:3593:9: note: use '==' to turn this assignment into an equality comparison
#
if( pp = strstr(host,"..") ){
#
^
#
==
#
service._.c:3692:34: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( hostcmp(host,DFLT_HOST)==0 && port == DFLT_PORT
#
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
#
service._.c:3692:34: note: place parentheses around the '&&' expression to silence this warning
#
if( hostcmp(host,DFLT_HOST)==0 && port == DFLT_PORT
#
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
#
service._.c:3693:34: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| hostcmp(host,REAL_HOST)==0 && port == REAL_PORT ){
#
~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
#
service._.c:3693:34: note: place parentheses around the '&&' expression to silence this warning
#
|| hostcmp(host,REAL_HOST)==0 && port == REAL_PORT ){
#
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
#
service._.c:3778:34: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( hostcmp(host,DFLT_HOST)==0 && port == DFLT_PORT
#
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
#
service._.c:3778:34: note: place parentheses around the '&&' expression to silence this warning
#
if( hostcmp(host,DFLT_HOST)==0 && port == DFLT_PORT
#
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
#
service._.c:3779:34: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| hostcmp(addr,DFLT_HOST)==0 && port == DFLT_PORT
#
~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
#
service._.c:3779:34: note: place parentheses around the '&&' expression to silence this warning
#
|| hostcmp(addr,DFLT_HOST)==0 && port == DFLT_PORT
#
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
#
service._.c:3780:34: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| hostcmp(host,REAL_HOST)==0 && port == REAL_PORT
#
~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
#
service._.c:3780:34: note: place parentheses around the '&&' expression to silence this warning
#
|| hostcmp(host,REAL_HOST)==0 && port == REAL_PORT
#
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
#
service._.c:3781:34: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| hostcmp(addr,REAL_HOST)==0 && port == REAL_PORT
#
~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
#
service._.c:3781:34: note: place parentheses around the '&&' expression to silence this warning
#
|| hostcmp(addr,REAL_HOST)==0 && port == REAL_PORT
#
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
#
service._.c:4118:21: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( cl || cl == 0 && sv == 0 ){
#
~~ ~~~~~~~~^~~~~~~~~~
#
service._.c:4118:21: note: place parentheses around the '&&' expression to silence this warning
#
if( cl || cl == 0 && sv == 0 ){
#
^
#
( )
#
service._.c:4124:21: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( sv || cl == 0 && sv == 0 ){
#
~~ ~~~~~~~~^~~~~~~~~~
#
service._.c:4124:21: note: place parentheses around the '&&' expression to silence this warning
#
if( sv || cl == 0 && sv == 0 ){
#
^
#
( )
#
39 warnings generated.
#
../mkcpp svconf.c svconf._.c
#
-- mkcpp set time: 1492117327 -> 1295789875 svconf._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c svconf._.c -o svconf.o
#
../mkcpp filter.c filter._.c
#
-- mkcpp set time: 1492117328 -> 1408284293 filter._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c filter._.c -o filter.o
#
filter._.c:119:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( i = 1; fname1 = tab_filters[i].f_name; i++ ){
#
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
#
filter._.c:119:21: note: place parentheses around the assignment to silence this warning
#
for( i = 1; fname1 = tab_filters[i].f_name; i++ ){
#
^
#
( )
#
filter._.c:119:21: note: use '==' to turn this assignment into an equality comparison
#
for( i = 1; fname1 = tab_filters[i].f_name; i++ ){
#
^
#
==
#
filter._.c:185:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(command,']') ){
#
~~~^~~~~~~~~~~~~~~~~~~~~
#
filter._.c:185:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(command,']') ){
#
^
#
( )
#
filter._.c:185:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(command,']') ){
#
^
#
==
#
filter._.c:478:19: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( searchLIB && (lib = fullpathLIB(xfile,"r",AVStr(path)))
#
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
filter._.c:478:19: note: place parentheses around the '&&' expression to silence this warning
#
if( searchLIB && (lib = fullpathLIB(xfile,"r",AVStr(path)))
#
^
#
( )
#
filter._.c:479:18: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| searchPATH && (com = fullpathCOM(xfile,"r",AVStr(path)))
#
~~ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
filter._.c:479:18: note: place parentheses around the '&&' expression to silence this warning
#
|| searchPATH && (com = fullpathCOM(xfile,"r",AVStr(path)))
#
^
#
( )
#
filter._.c:559:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( env = getenv("GZIP_PATH") ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~
#
filter._.c:559:10: note: place parentheses around the assignment to silence this warning
#
if( env = getenv("GZIP_PATH") ){
#
^
#
( )
#
filter._.c:559:10: note: use '==' to turn this assignment into an equality comparison
#
if( env = getenv("GZIP_PATH") ){
#
^
#
==
#
filter._.c:568:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( env = getenv("GUNZIP_PATH") ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~
#
filter._.c:568:10: note: place parentheses around the assignment to silence this warning
#
if( env = getenv("GUNZIP_PATH") ){
#
^
#
( )
#
filter._.c:568:10: note: use '==' to turn this assignment into an equality comparison
#
if( env = getenv("GUNZIP_PATH") ){
#
^
#
==
#
filter._.c:817:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(filterb,',') ){
#
~~~^~~~~~~~~~~~~~~~~~~~~
#
filter._.c:817:11: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(filterb,',') ){
#
^
#
( )
#
filter._.c:817:11: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(filterb,',') ){
#
^
#
==
#
filter._.c:842:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( mx = 0; map = getCMAPiMap(mx); mx++ ){
#
~~~~^~~~~~~~~~~~~~~~~
#
filter._.c:842:19: note: place parentheses around the assignment to silence this warning
#
for( mx = 0; map = getCMAPiMap(mx); mx++ ){
#
^
#
( )
#
filter._.c:842:19: note: use '==' to turn this assignment into an equality comparison
#
for( mx = 0; map = getCMAPiMap(mx); mx++ ){
#
^
#
==
#
filter._.c:1227:4: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
&& isdigit(line[2])
#
^~~~~~~~~~~~~~~~~~~
#
filter._.c:1227:4: note: place parentheses around the '&&' expression to silence this warning
#
&& isdigit(line[2])
#
^
#
filter._.c:1250:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(line,'\r') )
#
~~~^~~~~~~~~~~~~~~~~~~
#
filter._.c:1250:11: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(line,'\r') )
#
^
#
( )
#
filter._.c:1250:11: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(line,'\r') )
#
^
#
==
#
filter._.c:1265:17: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( headonly && HEAD < where[ix]
#
~~~~~~~~~^~~~~~~~~~~~~~~~~~~
#
filter._.c:1265:17: note: place parentheses around the '&&' expression to silence this warning
#
if( headonly && HEAD < where[ix]
#
^
#
( )
#
filter._.c:1266:17: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| bodyonly && where[ix] != BODY ){
#
~~ ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
#
filter._.c:1266:17: note: place parentheses around the '&&' expression to silence this warning
#
|| bodyonly && where[ix] != BODY ){
#
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
#
filter._.c:1518:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( port = HTTP_ClientIF_H(Conn,AVStr(host)) ){
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
filter._.c:1518:11: note: place parentheses around the assignment to silence this warning
#
if( port = HTTP_ClientIF_H(Conn,AVStr(host)) ){
#
^
#
( )
#
filter._.c:1518:11: note: use '==' to turn this assignment into an equality comparison
#
if( port = HTTP_ClientIF_H(Conn,AVStr(host)) ){
#
^
#
==
#
filter._.c:1530:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( addr = gethostaddr(serv) )
#
~~~~~^~~~~~~~~~~~~~~~~~~
#
filter._.c:1530:11: note: place parentheses around the assignment to silence this warning
#
if( addr = gethostaddr(serv) )
#
^
#
( )
#
filter._.c:1530:11: note: use '==' to turn this assignment into an equality comparison
#
if( addr = gethostaddr(serv) )
#
^
#
==
#
filter._.c:1596:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( command = strchr(pathcom,']') )
#
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
#
filter._.c:1596:15: note: place parentheses around the assignment to silence this warning
#
if( command = strchr(pathcom,']') )
#
^
#
( )
#
filter._.c:1596:15: note: use '==' to turn this assignment into an equality comparison
#
if( command = strchr(pathcom,']') )
#
^
#
==
#
filter._.c:1769:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( env = getenv("CFI_SYNC") ){
#
~~~~^~~~~~~~~~~~~~~~~~~~
#
filter._.c:1769:10: note: place parentheses around the assignment to silence this warning
#
if( env = getenv("CFI_SYNC") ){
#
^
#
( )
#
filter._.c:1769:10: note: use '==' to turn this assignment into an equality comparison
#
if( env = getenv("CFI_SYNC") ){
#
^
#
==
#
filter._.c:2005:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp = Conn->xf_fp[fid] ){
#
~~~^~~~~~~~~~~~~~~~~~
#
filter._.c:2005:10: note: place parentheses around the assignment to silence this warning
#
if( fp = Conn->xf_fp[fid] ){
#
^
#
( )
#
filter._.c:2005:10: note: use '==' to turn this assignment into an equality comparison
#
if( fp = Conn->xf_fp[fid] ){
#
^
#
==
#
filter._.c:2101:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( fid = 1; name = filters[fid].f_name; fid++ ){
#
~~~~~^~~~~~~~~~~~~~~~~~~~~
#
filter._.c:2101:21: note: place parentheses around the assignment to silence this warning
#
for( fid = 1; name = filters[fid].f_name; fid++ ){
#
^
#
( )
#
filter._.c:2101:21: note: use '==' to turn this assignment into an equality comparison
#
for( fid = 1; name = filters[fid].f_name; fid++ ){
#
^
#
==
#
filter._.c:2341:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( nready = PollIn(fd,to1) ){
#
~~~~~~~^~~~~~~~~~~~~~~~
#
filter._.c:2341:14: note: place parentheses around the assignment to silence this warning
#
if( nready = PollIn(fd,to1) ){
#
^
#
( )
#
filter._.c:2341:14: note: use '==' to turn this assignment into an equality comparison
#
if( nready = PollIn(fd,to1) ){
#
^
#
==
#
filter._.c:2507:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( rstat = filters[fid].f_stat )
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~
#
filter._.c:2507:12: note: place parentheses around the assignment to silence this warning
#
if( rstat = filters[fid].f_stat )
#
^
#
( )
#
filter._.c:2507:12: note: use '==' to turn this assignment into an equality comparison
#
if( rstat = filters[fid].f_stat )
#
^
#
==
#
filter._.c:2605:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( rstat = filters[fid].f_stat )
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~
#
filter._.c:2605:12: note: place parentheses around the assignment to silence this warning
#
if( rstat = filters[fid].f_stat )
#
^
#
( )
#
filter._.c:2605:12: note: use '==' to turn this assignment into an equality comparison
#
if( rstat = filters[fid].f_stat )
#
^
#
==
#
filter._.c:2800:3: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
}else
#
^
#
filter._.c:2823:3: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
}else
#
^
#
filter._.c:2990:23: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( filter[0] == '[' && strstr(filter,"/sslway") != 0
#
~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
filter._.c:2990:23: note: place parentheses around the '&&' expression to silence this warning
#
if( filter[0] == '[' && strstr(filter,"/sslway") != 0
#
^
#
( )
#
filter._.c:3146:23: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( filter[0] == '[' && strstr(filter,"/sslway") != 0
#
~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
filter._.c:3146:23: note: place parentheses around the '&&' expression to silence this warning
#
if( filter[0] == '[' && strstr(filter,"/sslway") != 0
#
^
#
( )
#
filter._.c:3422:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
}else{
#
^
#
filter._.c:3443:2: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
else
#
^
#
filter._.c:3466:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( a1 = command; ch = *a1; a1++ ){
#
~~~^~~~~
#
filter._.c:3466:24: note: place parentheses around the assignment to silence this warning
#
for( a1 = command; ch = *a1; a1++ ){
#
^
#
( )
#
filter._.c:3466:24: note: use '==' to turn this assignment into an equality comparison
#
for( a1 = command; ch = *a1; a1++ ){
#
^
#
==
#
filter._.c:3859:52: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( host[0] == 0 || strstr(host,".af-local") == 0 && port <= 0 ){
#
~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
#
filter._.c:3859:52: note: place parentheses around the '&&' expression to silence this warning
#
if( host[0] == 0 || strstr(host,".af-local") == 0 && port <= 0 ){
#
^
#
( )
#
29 warnings generated.
#
../mkcpp master.c master._.c
#
-- mkcpp set time: 1492117328 -> 1409211480 master._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c master._.c -o master.o
#
master._.c:228:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( neg = *proto1 == '-' )
#
~~~~^~~~~~~~~~~~~~~~
#
master._.c:228:11: note: place parentheses around the assignment to silence this warning
#
if( neg = *proto1 == '-' )
#
^
#
( )
#
master._.c:228:11: note: use '==' to turn this assignment into an equality comparison
#
if( neg = *proto1 == '-' )
#
^
#
==
#
master._.c:268:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( ni = 0; proto1 = protoV[ni].p_name; ni++ ){
#
~~~~~~~^~~~~~~~~~~~~~~~~~~
#
master._.c:268:22: note: place parentheses around the assignment to silence this warning
#
for( ni = 0; proto1 = protoV[ni].p_name; ni++ ){
#
^
#
( )
#
master._.c:268:22: note: use '==' to turn this assignment into an equality comparison
#
for( ni = 0; proto1 = protoV[ni].p_name; ni++ ){
#
^
#
==
#
master._.c:275:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( np = protoV[ni].p_portN ){
#
~~~^~~~~~~~~~~~~~~~~~~~
#
master._.c:275:10: note: place parentheses around the assignment to silence this warning
#
if( np = protoV[ni].p_portN ){
#
^
#
( )
#
master._.c:275:10: note: use '==' to turn this assignment into an equality comparison
#
if( np = protoV[ni].p_portN ){
#
^
#
==
#
master._.c:290:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( mp = protoV[ni].p_methods ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~
#
master._.c:290:10: note: place parentheses around the assignment to silence this warning
#
if( mp = protoV[ni].p_methods ){
#
^
#
( )
#
master._.c:290:10: note: use '==' to turn this assignment into an equality comparison
#
if( mp = protoV[ni].p_methods ){
#
^
#
==
#
master._.c:312:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( pi = 0; proto1 = pv[pi]; pi++ ){
#
~~~~~~~^~~~~~~~
#
master._.c:312:22: note: place parentheses around the assignment to silence this warning
#
for( pi = 0; proto1 = pv[pi]; pi++ ){
#
^
#
( )
#
master._.c:312:22: note: use '==' to turn this assignment into an equality comparison
#
for( pi = 0; proto1 = pv[pi]; pi++ ){
#
^
#
==
#
master._.c:381:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( match = (strcasecmp(proto,tv[ti])==0) )
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
master._.c:381:14: note: place parentheses around the assignment to silence this warning
#
if( match = (strcasecmp(proto,tv[ti])==0) )
#
^
#
( )
#
master._.c:381:14: note: use '==' to turn this assignment into an equality comparison
#
if( match = (strcasecmp(proto,tv[ti])==0) )
#
^
#
==
#
master._.c:430:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( px = 0; aproto = protoV[px].p_name; px++ ){
#
~~~~~~~^~~~~~~~~~~~~~~~~~~
#
master._.c:430:22: note: place parentheses around the assignment to silence this warning
#
for( px = 0; aproto = protoV[px].p_name; px++ ){
#
^
#
( )
#
master._.c:430:22: note: use '==' to turn this assignment into an equality comparison
#
for( px = 0; aproto = protoV[px].p_name; px++ ){
#
^
#
==
#
master._.c:437:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
else{
#
^
#
master._.c:467:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( px = 0; aproto = protoV[px].p_name; px++ ){
#
~~~~~~~^~~~~~~~~~~~~~~~~~~
#
master._.c:467:22: note: place parentheses around the assignment to silence this warning
#
for( px = 0; aproto = protoV[px].p_name; px++ ){
#
^
#
( )
#
master._.c:467:22: note: use '==' to turn this assignment into an equality comparison
#
for( px = 0; aproto = protoV[px].p_name; px++ ){
#
^
#
==
#
master._.c:499:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( px = 0; aproto = protoV[px].p_name; px++ ){
#
~~~~~~~^~~~~~~~~~~~~~~~~~~
#
master._.c:499:22: note: place parentheses around the assignment to silence this warning
#
for( px = 0; aproto = protoV[px].p_name; px++ ){
#
^
#
( )
#
master._.c:499:22: note: use '==' to turn this assignment into an equality comparison
#
for( px = 0; aproto = protoV[px].p_name; px++ ){
#
^
#
==
#
master._.c:782:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( pl = protoMatch1(Conn,Rp->m_protoV,proto,dport) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
master._.c:782:11: note: place parentheses around the assignment to silence this warning
#
if( pl = protoMatch1(Conn,Rp->m_protoV,proto,dport) ){
#
^
#
( )
#
master._.c:782:11: note: use '==' to turn this assignment into an equality comparison
#
if( pl = protoMatch1(Conn,Rp->m_protoV,proto,dport) ){
#
^
#
==
#
master._.c:910:3: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
}else
#
^
#
master._.c:939:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( np = strchr(dp,':') ){
#
~~~^~~~~~~~~~~~~~~~
#
master._.c:939:10: note: place parentheses around the assignment to silence this warning
#
if( np = strchr(dp,':') ){
#
^
#
( )
#
master._.c:939:10: note: use '==' to turn this assignment into an equality comparison
#
if( np = strchr(dp,':') ){
#
^
#
==
#
master._.c:1004:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strstr(forward,DELMARK) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~
#
master._.c:1004:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strstr(forward,DELMARK) ){
#
^
#
( )
#
master._.c:1004:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strstr(forward,DELMARK) ){
#
^
#
==
#
master._.c:1015:3: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
}else
#
^
#
master._.c:1131:28: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( pi = 0; pprotov[pi] = RemittableV[pi].p_name; pi++ ){
#
~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
#
master._.c:1131:28: note: place parentheses around the assignment to silence this warning
#
for( pi = 0; pprotov[pi] = RemittableV[pi].p_name; pi++ ){
#
^
#
( )
#
master._.c:1131:28: note: use '==' to turn this assignment into an equality comparison
#
for( pi = 0; pprotov[pi] = RemittableV[pi].p_name; pi++ ){
#
^
#
==
#
master._.c:1322:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
}else{
#
^
#
master._.c:1400:54: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( getuid() != 0 || getgid() != 0 && getgid() != 1 && getgid() != 3 ){
#
~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
#
master._.c:1400:54: note: place parentheses around the '&&' expression to silence this warning
#
if( getuid() != 0 || getgid() != 0 && getgid() != 1 && getgid() != 3 ){
#
^
#
( )
#
master._.c:1622:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( expire = strchr(conn,'/') ){
#
~~~~~~~^~~~~~~~~~~~~~~~~~
#
master._.c:1622:15: note: place parentheses around the assignment to silence this warning
#
if( expire = strchr(conn,'/') ){
#
^
#
( )
#
master._.c:1622:15: note: use '==' to turn this assignment into an equality comparison
#
if( expire = strchr(conn,'/') ){
#
^
#
==
#
master._.c:1632:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(conn,'/') )
#
~~~^~~~~~~~~~~~~~~~~~
#
master._.c:1632:11: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(conn,'/') )
#
^
#
( )
#
master._.c:1632:11: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(conn,'/') )
#
^
#
==
#
master._.c:1637:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(conn,'/') ){
#
~~~^~~~~~~~~~~~~~~~~~
#
master._.c:1637:11: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(conn,'/') ){
#
^
#
( )
#
master._.c:1637:11: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(conn,'/') ){
#
^
#
==
#
master._.c:2030:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strstr(options,"proto=") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
#
master._.c:2030:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strstr(options,"proto=") ){
#
^
#
( )
#
master._.c:2030:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strstr(options,"proto=") ){
#
^
#
==
#
master._.c:2092:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
else{
#
^
#
master._.c:2224:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(ports,'/') ){
#
~~~^~~~~~~~~~~~~~~~~~~
#
master._.c:2224:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(ports,'/') ){
#
^
#
( )
#
master._.c:2224:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(ports,'/') ){
#
^
#
==
#
master._.c:2396:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( tid = mySoxTid ){
#
~~~~^~~~~~~~~~
#
master._.c:2396:10: note: place parentheses around the assignment to silence this warning
#
if( tid = mySoxTid ){
#
^
#
( )
#
master._.c:2396:10: note: use '==' to turn this assignment into an equality comparison
#
if( tid = mySoxTid ){
#
^
#
==
#
25 warnings generated.
#
../mkcpp qstest.c qstest._.c
#
-- mkcpp set time: 1492117329 -> 1264837353 qstest._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c qstest._.c -o qstest.o -DNONE
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c qstest._.c -o qstest.o
#
../mkcpp delegate.c delegate._.c
#
-- mkcpp set time: 1492117329 -> 1250403944 delegate._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c delegate._.c -o delegate.o
#
../mkcpp caps.c caps._.c
#
-- mkcpp set time: 1492117329 -> 1414752137 caps._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c caps._.c -o caps.o \
#
-DADMIN=\"root@localhost\" \
#
-DLICENSEE=\"""\"
#
caps._.c:104:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( mfp = dirfopen("exeid",AVStr(idpath),"r+") ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
caps._.c:104:10: note: place parentheses around the assignment to silence this warning
#
if( mfp = dirfopen("exeid",AVStr(idpath),"r+") ){
#
^
#
( )
#
caps._.c:104:10: note: use '==' to turn this assignment into an equality comparison
#
if( mfp = dirfopen("exeid",AVStr(idpath),"r+") ){
#
^
#
==
#
caps._.c:316:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( env = getenv(REMOTE_ADDR) ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~
#
caps._.c:316:10: note: place parentheses around the assignment to silence this warning
#
if( env = getenv(REMOTE_ADDR) ){
#
^
#
( )
#
caps._.c:316:10: note: use '==' to turn this assignment into an equality comparison
#
if( env = getenv(REMOTE_ADDR) ){
#
^
#
==
#
2 warnings generated.
#
../mkcpp spinach.c spinach._.c
#
-- mkcpp set time: 1492117329 -> 1414752137 spinach._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c spinach._.c -o spinach.o
#
spinach._.c:836:20: warning: use of logical '||' with constant operand [-Wconstant-logical-operand]
#
if( isWindowsCE() || 1 ){
#
^ ~
#
spinach._.c:836:20: note: use '|' for a bitwise operation
#
if( isWindowsCE() || 1 ){
#
^~
#
|
#
spinach._.c:862:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(OREQ,' ') ){
#
~~~^~~~~~~~~~~~~~~~~~
#
spinach._.c:862:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(OREQ,' ') ){
#
^
#
( )
#
spinach._.c:862:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(OREQ,' ') ){
#
^
#
==
#
spinach._.c:1420:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( qp = req; ch = *qp; qp++ ){
#
~~~^~~~~
#
spinach._.c:1420:20: note: place parentheses around the assignment to silence this warning
#
for( qp = req; ch = *qp; qp++ ){
#
^
#
( )
#
spinach._.c:1420:20: note: use '==' to turn this assignment into an equality comparison
#
for( qp = req; ch = *qp; qp++ ){
#
^
#
==
#
spinach._.c:1430:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( isCONN = strcmp(method,"CONNECT")==0 ){
#
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
spinach._.c:1430:13: note: place parentheses around the assignment to silence this warning
#
if( isCONN = strcmp(method,"CONNECT")==0 ){
#
^
#
( )
#
spinach._.c:1430:13: note: use '==' to turn this assignment into an equality comparison
#
if( isCONN = strcmp(method,"CONNECT")==0 ){
#
^
#
==
#
spinach._.c:1448:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for(; ch = *qp; qp++ ){
#
~~~^~~~~
#
spinach._.c:1448:11: note: place parentheses around the assignment to silence this warning
#
for(; ch = *qp; qp++ ){
#
^
#
( )
#
spinach._.c:1448:11: note: use '==' to turn this assignment into an equality comparison
#
for(; ch = *qp; qp++ ){
#
^
#
==
#
spinach._.c:1461:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for(; ch = *qp; qp++ ){
#
~~~^~~~~
#
spinach._.c:1461:11: note: place parentheses around the assignment to silence this warning
#
for(; ch = *qp; qp++ ){
#
^
#
( )
#
spinach._.c:1461:11: note: use '==' to turn this assignment into an equality comparison
#
for(; ch = *qp; qp++ ){
#
^
#
==
#
spinach._.c:1486:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for(; ch = *qp; qp++ ){
#
~~~^~~~~
#
spinach._.c:1486:12: note: place parentheses around the assignment to silence this warning
#
for(; ch = *qp; qp++ ){
#
^
#
( )
#
spinach._.c:1486:12: note: use '==' to turn this assignment into an equality comparison
#
for(; ch = *qp; qp++ ){
#
^
#
==
#
spinach._.c:1497:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( qp++; ch = *qp; qp++ ){
#
~~~^~~~~
#
spinach._.c:1497:17: note: place parentheses around the assignment to silence this warning
#
for( qp++; ch = *qp; qp++ ){
#
^
#
( )
#
spinach._.c:1497:17: note: use '==' to turn this assignment into an equality comparison
#
for( qp++; ch = *qp; qp++ ){
#
^
#
==
#
spinach._.c:1522:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( qp++; ch = *qp; qp++ ){
#
~~~^~~~~
#
spinach._.c:1522:17: note: place parentheses around the assignment to silence this warning
#
for( qp++; ch = *qp; qp++ ){
#
^
#
( )
#
spinach._.c:1522:17: note: use '==' to turn this assignment into an equality comparison
#
for( qp++; ch = *qp; qp++ ){
#
^
#
==
#
spinach._.c:1578:37: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( ch == '\n' && (qp[1] == '\r' && qp[2] == '\n' || qp[1] == '\n') ){
#
~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ~~
#
spinach._.c:1578:37: note: place parentheses around the '&&' expression to silence this warning
#
if( ch == '\n' && (qp[1] == '\r' && qp[2] == '\n' || qp[1] == '\n') ){
#
^
#
( )
#
spinach._.c:1632:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for(; ch = *qp; qp++ ){
#
~~~^~~~~
#
spinach._.c:1632:12: note: place parentheses around the assignment to silence this warning
#
for(; ch = *qp; qp++ ){
#
^
#
( )
#
spinach._.c:1632:12: note: use '==' to turn this assignment into an equality comparison
#
for(; ch = *qp; qp++ ){
#
^
#
==
#
spinach._.c:1737:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( qp = req; ch = *qp; qp++ ){
#
~~~^~~~~
#
spinach._.c:1737:20: note: place parentheses around the assignment to silence this warning
#
for( qp = req; ch = *qp; qp++ ){
#
^
#
( )
#
spinach._.c:1737:20: note: use '==' to turn this assignment into an equality comparison
#
for( qp = req; ch = *qp; qp++ ){
#
^
#
==
#
spinach._.c:1752:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( qp = req; ch = *qp; qp++ ){
#
~~~^~~~~
#
spinach._.c:1752:20: note: place parentheses around the assignment to silence this warning
#
for( qp = req; ch = *qp; qp++ ){
#
^
#
( )
#
spinach._.c:1752:20: note: use '==' to turn this assignment into an equality comparison
#
for( qp = req; ch = *qp; qp++ ){
#
^
#
==
#
spinach._.c:1932:47: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( cr->cr_hrlen <= 0 || 0 < cr->cr_hrlen && 0 < cr->cr_hrrem ){
#
~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
#
spinach._.c:1932:47: note: place parentheses around the '&&' expression to silence this warning
#
if( cr->cr_hrlen <= 0 || 0 < cr->cr_hrlen && 0 < cr->cr_hrrem ){
#
^
#
( )
#
spinach._.c:2318:16: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| rcode < 0 && serrno == EISCONN
#
~~ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
#
spinach._.c:2318:16: note: place parentheses around the '&&' expression to silence this warning
#
|| rcode < 0 && serrno == EISCONN
#
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
#
spinach._.c:2334:16: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| rcode < 0 && serrno == EISCONN
#
~~ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
#
spinach._.c:2334:16: note: place parentheses around the '&&' expression to silence this warning
#
|| rcode < 0 && serrno == EISCONN
#
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
#
spinach._.c:2349:16: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| rcode < 0 && serrno == EISCONN
#
~~ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
#
spinach._.c:2349:16: note: place parentheses around the '&&' expression to silence this warning
#
|| rcode < 0 && serrno == EISCONN
#
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
#
spinach._.c:2625:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( cr1 = addConn(cx->cx_Pv,cx->cx_crn,cx->cx_crs,iSock) ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
spinach._.c:2625:11: note: place parentheses around the assignment to silence this warning
#
if( cr1 = addConn(cx->cx_Pv,cx->cx_crn,cx->cx_crs,iSock) ){
#
^
#
( )
#
spinach._.c:2625:11: note: use '==' to turn this assignment into an equality comparison
#
if( cr1 = addConn(cx->cx_Pv,cx->cx_crn,cx->cx_crs,iSock) ){
#
^
#
==
#
spinach._.c:2708:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(cr->cr_buf,'\n') )
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~
#
spinach._.c:2708:14: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(cr->cr_buf,'\n') )
#
^
#
( )
#
spinach._.c:2708:14: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(cr->cr_buf,'\n') )
#
^
#
==
#
spinach._.c:3374:15: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( verblap && (na % 500) == 0
#
~~~~~~~~^~~~~~~~~~~~~~~~~~
#
spinach._.c:3374:15: note: place parentheses around the '&&' expression to silence this warning
#
if( verblap && (na % 500) == 0
#
^
#
( )
#
spinach._.c:3440:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( ocstat = cr1->cr_cstat ){
#
~~~~~~~^~~~~~~~~~~~~~~
#
spinach._.c:3440:15: note: place parentheses around the assignment to silence this warning
#
if( ocstat = cr1->cr_cstat ){
#
^
#
( )
#
spinach._.c:3440:15: note: use '==' to turn this assignment into an equality comparison
#
if( ocstat = cr1->cr_cstat ){
#
^
#
==
#
spinach._.c:3658:27: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| 0 < cr1->cr_rdySt && 2.0 < St-cr1->cr_rdySt){
#
~~ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
#
spinach._.c:3658:27: note: place parentheses around the '&&' expression to silence this warning
#
|| 0 < cr1->cr_rdySt && 2.0 < St-cr1->cr_rdySt){
#
^
#
( )
#
spinach._.c:3686:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( cr1 = addConn(cx->cx_Pv,cx->cx_crn,cx->cx_crs,FD_INVALID(-1)) ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
spinach._.c:3686:10: note: place parentheses around the assignment to silence this warning
#
if( cr1 = addConn(cx->cx_Pv,cx->cx_crn,cx->cx_crs,FD_INVALID(-1)) ){
#
^
#
( )
#
spinach._.c:3686:10: note: use '==' to turn this assignment into an equality comparison
#
if( cr1 = addConn(cx->cx_Pv,cx->cx_crn,cx->cx_crs,FD_INVALID(-1)) ){
#
^
#
==
#
spinach._.c:4314:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( pid = Fork("CCSV-server") ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~
#
spinach._.c:4314:11: note: place parentheses around the assignment to silence this warning
#
if( pid = Fork("CCSV-server") ){
#
^
#
( )
#
spinach._.c:4314:11: note: use '==' to turn this assignment into an equality comparison
#
if( pid = Fork("CCSV-server") ){
#
^
#
==
#
spinach._.c:4376:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( env = getenv("CCSV_PORT") ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~
#
spinach._.c:4376:11: note: place parentheses around the assignment to silence this warning
#
if( env = getenv("CCSV_PORT") ){
#
^
#
( )
#
spinach._.c:4376:11: note: use '==' to turn this assignment into an equality comparison
#
if( env = getenv("CCSV_PORT") ){
#
^
#
==
#
spinach._.c:4915:38: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| cr->cr_cstat == CCSV_C_CLOSING && 5 < (St1 - cr->cr_finSt)
#
~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
#
spinach._.c:4915:38: note: place parentheses around the '&&' expression to silence this warning
#
|| cr->cr_cstat == CCSV_C_CLOSING && 5 < (St1 - cr->cr_finSt)
#
^
#
( )
#
spinach._.c:4916:36: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| cr->cr_cstat == CCSV_C_RELAY && imm == 0 /* if not closed by the client-side */
#
~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
#
spinach._.c:4916:36: note: place parentheses around the '&&' expression to silence this warning
#
|| cr->cr_cstat == CCSV_C_RELAY && imm == 0 /* if not closed by the client-side */
#
^
#
( )
#
spinach._.c:4922:29: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( ready < 0 || 0 < ready && !IsAlive(fd) ){
#
~~ ~~~~~~~~~~^~~~~~~~~~~~~~~
#
spinach._.c:4922:29: note: place parentheses around the '&&' expression to silence this warning
#
if( ready < 0 || 0 < ready && !IsAlive(fd) ){
#
~~~~~~~~~~^~~~~~~~~~~~~~~
#
28 warnings generated.
#
../mkcpp stls.c stls._.c
#
-- mkcpp set time: 1492117329 -> 1414752137 stls._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c stls._.c -o stls.o
#
stls._.c:133:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( op = strchr(opt1,'/') ){
#
~~~^~~~~~~~~~~~~~~~~~
#
stls._.c:133:10: note: place parentheses around the assignment to silence this warning
#
if( op = strchr(opt1,'/') ){
#
^
#
( )
#
stls._.c:133:10: note: use '==' to turn this assignment into an equality comparison
#
if( op = strchr(opt1,'/') ){
#
^
#
==
#
stls._.c:371:5: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
}else
#
^
#
stls._.c:386:48: warning: '&' within '|' [-Wbitwise-op-parentheses]
#
ClientFlags = PF_STLS_CHECKED | ClientFlags & ~flags;
#
~ ~~~~~~~~~~~~^~~~~~~~
#
stls._.c:386:48: note: place parentheses around the '&' expression to silence this warning
#
ClientFlags = PF_STLS_CHECKED | ClientFlags & ~flags;
#
~~~~~~~~~~~~^~~~~~~~
#
stls._.c:387:52: warning: '&' within '|' [-Wbitwise-op-parentheses]
#
else ServerFlags = PF_STLS_CHECKED | ServerFlags & ~flags;
#
~ ~~~~~~~~~~~~^~~~~~~~
#
stls._.c:387:52: note: place parentheses around the '&' expression to silence this warning
#
else ServerFlags = PF_STLS_CHECKED | ServerFlags & ~flags;
#
~~~~~~~~~~~~^~~~~~~~
#
stls._.c:469:36: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| strcaseeq(DST_PROTO,"imaps") && !nonSSL_SV(Conn)
#
~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
#
stls._.c:469:36: note: place parentheses around the '&&' expression to silence this warning
#
|| strcaseeq(DST_PROTO,"imaps") && !nonSSL_SV(Conn)
#
^
#
( )
#
stls._.c:470:36: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| strcaseeq(DST_PROTO,"pop3s") && !nonSSL_SV(Conn)
#
~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
#
stls._.c:470:36: note: place parentheses around the '&&' expression to silence this warning
#
|| strcaseeq(DST_PROTO,"pop3s") && !nonSSL_SV(Conn)
#
^
#
( )
#
6 warnings generated.
#
../mkcpp tsp.c tsp._.c
#
-- mkcpp set time: 1492117330 -> 1250403944 tsp._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c tsp._.c -o tsp.o
#
../mkcpp sudo.c sudo._.c
#
-- mkcpp set time: 1492117330 -> 1264814353 sudo._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c sudo._.c -o sudo.o
#
sudo._.c:93:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( isUDP = isUDPsock(svsock) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~
#
sudo._.c:93:12: note: place parentheses around the assignment to silence this warning
#
if( isUDP = isUDPsock(svsock) ){
#
^
#
( )
#
sudo._.c:93:12: note: use '==' to turn this assignment into an equality comparison
#
if( isUDP = isUDPsock(svsock) ){
#
^
#
==
#
sudo._.c:316:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strpbrk(que,"\r\n") ) *((char*)dp) = 0;
#
~~~^~~~~~~~~~~~~~~~~~~~~
#
sudo._.c:316:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strpbrk(que,"\r\n") ) *((char*)dp) = 0;
#
^
#
( )
#
sudo._.c:316:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strpbrk(que,"\r\n") ) *((char*)dp) = 0;
#
^
#
==
#
sudo._.c:317:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strpbrk(ans,"\r\n") ) *((char*)dp) = 0;
#
~~~^~~~~~~~~~~~~~~~~~~~~
#
sudo._.c:317:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strpbrk(ans,"\r\n") ) *((char*)dp) = 0;
#
^
#
( )
#
sudo._.c:317:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strpbrk(ans,"\r\n") ) *((char*)dp) = 0;
#
^
#
==
#
sudo._.c:579:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( ci = 0; name = sucaps[ci].c_name; ci++ )
#
~~~~~^~~~~~~~~~~~~~~~~~~
#
sudo._.c:579:20: note: place parentheses around the assignment to silence this warning
#
for( ci = 0; name = sucaps[ci].c_name; ci++ )
#
^
#
( )
#
sudo._.c:579:20: note: use '==' to turn this assignment into an equality comparison
#
for( ci = 0; name = sucaps[ci].c_name; ci++ )
#
^
#
==
#
sudo._.c:618:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( cap = findcap(c1) ){
#
~~~~^~~~~~~~~~~~~
#
sudo._.c:618:11: note: place parentheses around the assignment to silence this warning
#
if( cap = findcap(c1) ){
#
^
#
( )
#
sudo._.c:618:11: note: use '==' to turn this assignment into an equality comparison
#
if( cap = findcap(c1) ){
#
^
#
==
#
5 warnings generated.
#
../mkcpp gacl.c gacl._.c
#
-- mkcpp set time: 1492117330 -> 1250403944 gacl._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c gacl._.c -o gacl.o
#
gacl._.c:46:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( ap = strchr(adminid,'-') )
#
~~~^~~~~~~~~~~~~~~~~~~~~
#
gacl._.c:46:9: note: place parentheses around the assignment to silence this warning
#
if( ap = strchr(adminid,'-') )
#
^
#
( )
#
gacl._.c:46:9: note: use '==' to turn this assignment into an equality comparison
#
if( ap = strchr(adminid,'-') )
#
^
#
==
#
gacl._.c:67:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( acl = openAclFile(0,DST_PROTO,DST_HOST,DST_PORT,newsgroup) ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
gacl._.c:67:10: note: place parentheses around the assignment to silence this warning
#
if( acl = openAclFile(0,DST_PROTO,DST_HOST,DST_PORT,newsgroup) ){
#
^
#
( )
#
gacl._.c:67:10: note: use '==' to turn this assignment into an equality comparison
#
if( acl = openAclFile(0,DST_PROTO,DST_HOST,DST_PORT,newsgroup) ){
#
^
#
==
#
gacl._.c:135:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( cp = strchr(ctl,'#') )
#
~~~^~~~~~~~~~~~~~~~~
#
gacl._.c:135:10: note: place parentheses around the assignment to silence this warning
#
if( cp = strchr(ctl,'#') )
#
^
#
( )
#
gacl._.c:135:10: note: use '==' to turn this assignment into an equality comparison
#
if( cp = strchr(ctl,'#') )
#
^
#
==
#
gacl._.c:216:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( xp = strstr(ac1,admid) ){
#
~~~^~~~~~~~~~~~~~~~~~~
#
gacl._.c:216:12: note: place parentheses around the assignment to silence this warning
#
if( xp = strstr(ac1,admid) ){
#
^
#
( )
#
gacl._.c:216:12: note: use '==' to turn this assignment into an equality comparison
#
if( xp = strstr(ac1,admid) ){
#
^
#
==
#
gacl._.c:301:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( np = strstr(search,"USER=") )
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~
#
gacl._.c:301:9: note: place parentheses around the assignment to silence this warning
#
if( np = strstr(search,"USER=") )
#
^
#
( )
#
gacl._.c:301:9: note: use '==' to turn this assignment into an equality comparison
#
if( np = strstr(search,"USER=") )
#
^
#
==
#
gacl._.c:305:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( np = strstr(search,"ADMINID=") )
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
#
gacl._.c:305:9: note: place parentheses around the assignment to silence this warning
#
if( np = strstr(search,"ADMINID=") )
#
^
#
( )
#
gacl._.c:305:9: note: use '==' to turn this assignment into an equality comparison
#
if( np = strstr(search,"ADMINID=") )
#
^
#
==
#
gacl._.c:309:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( np = strstr(search,"URL=") )
#
~~~^~~~~~~~~~~~~~~~~~~~~~~
#
gacl._.c:309:9: note: place parentheses around the assignment to silence this warning
#
if( np = strstr(search,"URL=") )
#
^
#
( )
#
gacl._.c:309:9: note: use '==' to turn this assignment into an equality comparison
#
if( np = strstr(search,"URL=") )
#
^
#
==
#
gacl._.c:332:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
}else
#
^
#
8 warnings generated.
#
../mkcpp access.c access._.c
#
-- mkcpp set time: 1492117330 -> 1411904274 access._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c access._.c -o access.o
#
access._.c:184:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( bp = strchr(buf,'/') ){
#
~~~^~~~~~~~~~~~~~~~~
#
access._.c:184:11: note: place parentheses around the assignment to silence this warning
#
if( bp = strchr(buf,'/') ){
#
^
#
( )
#
access._.c:184:11: note: use '==' to turn this assignment into an equality comparison
#
if( bp = strchr(buf,'/') ){
#
^
#
==
#
access._.c:257:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( pa = find_auth("pass",xauth) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~
#
access._.c:257:9: note: place parentheses around the assignment to silence this warning
#
if( pa = find_auth("pass",xauth) ){
#
^
#
( )
#
access._.c:257:9: note: use '==' to turn this assignment into an equality comparison
#
if( pa = find_auth("pass",xauth) ){
#
^
#
==
#
access._.c:286:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fmt = find_auth(A_ADMIN,NULL) ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
#
access._.c:286:10: note: place parentheses around the assignment to silence this warning
#
if( fmt = find_auth(A_ADMIN,NULL) ){
#
^
#
( )
#
access._.c:286:10: note: use '==' to turn this assignment into an equality comparison
#
if( fmt = find_auth(A_ADMIN,NULL) ){
#
^
#
==
#
access._.c:373:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fmt = find_auth(A_VIAGEN,NULL) ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
#
access._.c:373:10: note: place parentheses around the assignment to silence this warning
#
if( fmt = find_auth(A_VIAGEN,NULL) ){
#
^
#
( )
#
access._.c:373:10: note: use '==' to turn this assignment into an equality comparison
#
if( fmt = find_auth(A_VIAGEN,NULL) ){
#
^
#
==
#
access._.c:448:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( afmt = strchr(atype,':') ){
#
~~~~~^~~~~~~~~~~~~~~~~~~
#
access._.c:448:11: note: place parentheses around the assignment to silence this warning
#
if( afmt = strchr(atype,':') ){
#
^
#
( )
#
access._.c:448:11: note: use '==' to turn this assignment into an equality comparison
#
if( afmt = strchr(atype,':') ){
#
^
#
==
#
access._.c:465:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strpbrk(eauth,"\r\n") )
#
~~~^~~~~~~~~~~~~~~~~~~~~~~
#
access._.c:465:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strpbrk(eauth,"\r\n") )
#
^
#
( )
#
access._.c:465:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strpbrk(eauth,"\r\n") )
#
^
#
==
#
access._.c:512:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fmt = find_auth(A_LOG,NULL) ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~
#
access._.c:512:10: note: place parentheses around the assignment to silence this warning
#
if( fmt = find_auth(A_LOG,NULL) ){
#
^
#
( )
#
access._.c:512:10: note: use '==' to turn this assignment into an equality comparison
#
if( fmt = find_auth(A_LOG,NULL) ){
#
^
#
==
#
access._.c:932:18: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse]
#
int getthreadid();
#
^~
#
access._.c:932:18: note: replace parentheses with an initializer to declare a variable
#
int getthreadid();
#
^~
#
= 0
#
access._.c:979:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strstr(domain,"//") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~
#
access._.c:979:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strstr(domain,"//") ){
#
^
#
( )
#
access._.c:979:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strstr(domain,"//") ){
#
^
#
==
#
access._.c:982:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strstr(serv,"..") ){
#
~~~^~~~~~~~~~~~~~~~~~~
#
access._.c:982:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strstr(serv,"..") ){
#
^
#
( )
#
access._.c:982:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strstr(serv,"..") ){
#
^
#
==
#
access._.c:1031:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strpbrk(pass,"\r\n") )
#
~~~^~~~~~~~~~~~~~~~~~~~~~
#
access._.c:1031:11: note: place parentheses around the assignment to silence this warning
#
if( dp = strpbrk(pass,"\r\n") )
#
^
#
( )
#
access._.c:1031:11: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strpbrk(pass,"\r\n") )
#
^
#
==
#
access._.c:1041:30: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( remote || ekey[0] == 0 && streq(proto,DGAUTHpro) ){
#
~~ ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
#
access._.c:1041:30: note: place parentheses around the '&&' expression to silence this warning
#
if( remote || ekey[0] == 0 && streq(proto,DGAUTHpro) ){
#
^
#
( )
#
access._.c:1103:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( afp = dirfopen("AUTH",AVStr(path),"w") ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
access._.c:1103:11: note: place parentheses around the assignment to silence this warning
#
if( afp = dirfopen("AUTH",AVStr(path),"w") ){
#
^
#
( )
#
access._.c:1103:11: note: use '==' to turn this assignment into an equality comparison
#
if( afp = dirfopen("AUTH",AVStr(path),"w") ){
#
^
#
==
#
access._.c:1122:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( afp = dirfopen("AUTH",AVStr(path),"r") ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
access._.c:1122:11: note: place parentheses around the assignment to silence this warning
#
if( afp = dirfopen("AUTH",AVStr(path),"r") ){
#
^
#
( )
#
access._.c:1122:11: note: use '==' to turn this assignment into an equality comparison
#
if( afp = dirfopen("AUTH",AVStr(path),"r") ){
#
^
#
==
#
access._.c:1177:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( afp = dirfopen("AUTH",AVStr(apath),"r+") ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
access._.c:1177:11: note: place parentheses around the assignment to silence this warning
#
if( afp = dirfopen("AUTH",AVStr(apath),"r+") ){
#
^
#
( )
#
access._.c:1177:11: note: use '==' to turn this assignment into an equality comparison
#
if( afp = dirfopen("AUTH",AVStr(apath),"r+") ){
#
^
#
==
#
access._.c:1205:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( afp = dirfopen("AUTH",AVStr(apath),"w") ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
access._.c:1205:11: note: place parentheses around the assignment to silence this warning
#
if( afp = dirfopen("AUTH",AVStr(apath),"w") ){
#
^
#
( )
#
access._.c:1205:11: note: use '==' to turn this assignment into an equality comparison
#
if( afp = dirfopen("AUTH",AVStr(apath),"w") ){
#
^
#
==
#
access._.c:1212:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( afp = fopen(lapath,"r") )
#
~~~~^~~~~~~~~~~~~~~~~~~
#
access._.c:1212:11: note: place parentheses around the assignment to silence this warning
#
if( afp = fopen(lapath,"r") )
#
^
#
( )
#
access._.c:1212:11: note: use '==' to turn this assignment into an equality comparison
#
if( afp = fopen(lapath,"r") )
#
^
#
==
#
access._.c:1308:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( iuser = getClientHostPortUser(Conn,AVStr(clhost),NULL) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
access._.c:1308:12: note: place parentheses around the assignment to silence this warning
#
if( iuser = getClientHostPortUser(Conn,AVStr(clhost),NULL) ){
#
^
#
( )
#
access._.c:1308:12: note: use '==' to turn this assignment into an equality comparison
#
if( iuser = getClientHostPortUser(Conn,AVStr(clhost),NULL) ){
#
^
#
==
#
access._.c:1433:2: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
else{
#
^
#
access._.c:1473:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(ident.i_Host,':') ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
#
access._.c:1473:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(ident.i_Host,':') ){
#
^
#
( )
#
access._.c:1473:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(ident.i_Host,':') ){
#
^
#
==
#
access._.c:1575:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(proto,'/') ){
#
~~~^~~~~~~~~~~~~~~~~~~
#
access._.c:1575:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(proto,'/') ){
#
^
#
( )
#
access._.c:1575:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(proto,'/') ){
#
^
#
==
#
access._.c:1649:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( wa = getMountAuthorizer(Conn,AVStr(asv),asiz) != NULL ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
access._.c:1649:9: note: place parentheses around the assignment to silence this warning
#
if( wa = getMountAuthorizer(Conn,AVStr(asv),asiz) != NULL ){
#
^
#
( )
#
access._.c:1649:9: note: use '==' to turn this assignment into an equality comparison
#
if( wa = getMountAuthorizer(Conn,AVStr(asv),asiz) != NULL ){
#
^
#
==
#
access._.c:1719:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strstr(ident->i_Host,"..") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
access._.c:1719:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strstr(ident->i_Host,"..") ){
#
^
#
( )
#
access._.c:1719:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strstr(ident->i_Host,"..") ){
#
^
#
==
#
access._.c:1723:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(ident->i_Host,'/') ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
#
access._.c:1723:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(ident->i_Host,'/') ){
#
^
#
( )
#
access._.c:1723:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(ident->i_Host,'/') ){
#
^
#
==
#
access._.c:1925:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( rcode = connect_auth(Conn,"ftp", host,21,user,pass,path,svfp) )
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
access._.c:1925:12: note: place parentheses around the assignment to silence this warning
#
if( rcode = connect_auth(Conn,"ftp", host,21,user,pass,path,svfp) )
#
^
#
( )
#
access._.c:1925:12: note: use '==' to turn this assignment into an equality comparison
#
if( rcode = connect_auth(Conn,"ftp", host,21,user,pass,path,svfp) )
#
^
#
==
#
access._.c:2000:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strstr(svhost,"..") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~
#
access._.c:2000:11: note: place parentheses around the assignment to silence this warning
#
if( dp = strstr(svhost,"..") ){
#
^
#
( )
#
access._.c:2000:11: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strstr(svhost,"..") ){
#
^
#
==
#
access._.c:2093:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( port = scanAuthServPort(dom,AVStr(serv)) ){
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
access._.c:2093:11: note: place parentheses around the assignment to silence this warning
#
if( port = scanAuthServPort(dom,AVStr(serv)) ){
#
^
#
( )
#
access._.c:2093:11: note: use '==' to turn this assignment into an equality comparison
#
if( port = scanAuthServPort(dom,AVStr(serv)) ){
#
^
#
==
#
access._.c:2118:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strpbrk(authBASIC,"\r\n") )
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
#
access._.c:2118:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strpbrk(authBASIC,"\r\n") )
#
^
#
( )
#
access._.c:2118:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strpbrk(authBASIC,"\r\n") )
#
^
#
==
#
access._.c:2122:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( rcode = connect_auth(Conn,"http",host,80,user,pass,path,svfp) )
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
access._.c:2122:12: note: place parentheses around the assignment to silence this warning
#
if( rcode = connect_auth(Conn,"http",host,80,user,pass,path,svfp) )
#
^
#
( )
#
access._.c:2122:12: note: use '==' to turn this assignment into an equality comparison
#
if( rcode = connect_auth(Conn,"http",host,80,user,pass,path,svfp) )
#
^
#
==
#
access._.c:2141:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( rcode = connect_auth(Conn,"http",host,80,user,pass,path,svfp) )
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
access._.c:2141:12: note: place parentheses around the assignment to silence this warning
#
if( rcode = connect_auth(Conn,"http",host,80,user,pass,path,svfp) )
#
^
#
( )
#
access._.c:2141:12: note: use '==' to turn this assignment into an equality comparison
#
if( rcode = connect_auth(Conn,"http",host,80,user,pass,path,svfp) )
#
^
#
==
#
access._.c:2227:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( pp = strchrX(up,':',"{(",")}") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
#
access._.c:2227:10: note: place parentheses around the assignment to silence this warning
#
if( pp = strchrX(up,':',"{(",")}") ){
#
^
#
( )
#
access._.c:2227:10: note: use '==' to turn this assignment into an equality comparison
#
if( pp = strchrX(up,':',"{(",")}") ){
#
^
#
==
#
access._.c:2255:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strheadstrX(auth,"-cmd{",0) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
access._.c:2255:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strheadstrX(auth,"-cmd{",0) ){
#
^
#
( )
#
access._.c:2255:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strheadstrX(auth,"-cmd{",0) ){
#
^
#
==
#
access._.c:2348:16: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( prec == 0 && strcaseeq(crcs,pass)
#
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
#
access._.c:2348:16: note: place parentheses around the '&&' expression to silence this warning
#
if( prec == 0 && strcaseeq(crcs,pass)
#
^
#
( )
#
access._.c:2349:16: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| prec != 0 && strncaseeq(crcs,pass,prec)
#
~~ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
access._.c:2349:16: note: place parentheses around the '&&' expression to silence this warning
#
|| prec != 0 && strncaseeq(crcs,pass,prec)
#
^
#
( )
#
access._.c:2456:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( ej = 0; e1 = environ[ej]; ej++ ){
#
~~~^~~~~~~~~~~~~
#
access._.c:2456:18: note: place parentheses around the assignment to silence this warning
#
for( ej = 0; e1 = environ[ej]; ej++ ){
#
^
#
( )
#
access._.c:2456:18: note: use '==' to turn this assignment into an equality comparison
#
for( ej = 0; e1 = environ[ej]; ej++ ){
#
^
#
==
#
access._.c:2497:16: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( xpid < 0 && errno == ECHILD || xpid == pid ){
#
~~~~~~~~~^~~~~~~~~~~~~~~~~~ ~~
#
access._.c:2497:16: note: place parentheses around the '&&' expression to silence this warning
#
if( xpid < 0 && errno == ECHILD || xpid == pid ){
#
~~~~~~~~~^~~~~~~~~~~~~~~~~~
#
access._.c:2577:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( vp = strheadstrX(opt1,"expire=",1) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
access._.c:2577:10: note: place parentheses around the assignment to silence this warning
#
if( vp = strheadstrX(opt1,"expire=",1) ){
#
^
#
( )
#
access._.c:2577:10: note: use '==' to turn this assignment into an equality comparison
#
if( vp = strheadstrX(opt1,"expire=",1) ){
#
^
#
==
#
access._.c:2580:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( vp = strheadstrX(opt1,"user=",1) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
access._.c:2580:10: note: place parentheses around the assignment to silence this warning
#
if( vp = strheadstrX(opt1,"user=",1) ){
#
^
#
( )
#
access._.c:2580:10: note: use '==' to turn this assignment into an equality comparison
#
if( vp = strheadstrX(opt1,"user=",1) ){
#
^
#
==
#
access._.c:2583:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( vp = strheadstrX(opt1,"userpfx=",1) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
access._.c:2583:10: note: place parentheses around the assignment to silence this warning
#
if( vp = strheadstrX(opt1,"userpfx=",1) ){
#
^
#
( )
#
access._.c:2583:10: note: use '==' to turn this assignment into an equality comparison
#
if( vp = strheadstrX(opt1,"userpfx=",1) ){
#
^
#
==
#
access._.c:2655:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strrchr(ident->i_user,'@') ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
access._.c:2655:11: note: place parentheses around the assignment to silence this warning
#
if( dp = strrchr(ident->i_user,'@') ){
#
^
#
( )
#
access._.c:2655:11: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strrchr(ident->i_user,'@') ){
#
^
#
==
#
access._.c:2682:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strrchr(ident->i_user,'@') ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
access._.c:2682:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strrchr(ident->i_user,'@') ){
#
^
#
( )
#
access._.c:2682:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strrchr(ident->i_user,'@') ){
#
^
#
==
#
access._.c:2704:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( realm = strchrX(servs,'@',"{(",")}") ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
access._.c:2704:12: note: place parentheses around the assignment to silence this warning
#
if( realm = strchrX(servs,'@',"{(",")}") ){
#
^
#
( )
#
access._.c:2704:12: note: use '==' to turn this assignment into an equality comparison
#
if( realm = strchrX(servs,'@',"{(",")}") ){
#
^
#
==
#
access._.c:2728:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strrchr(sv[si],'(') ){
#
~~~^~~~~~~~~~~~~~~~~~~~~
#
access._.c:2728:11: note: place parentheses around the assignment to silence this warning
#
if( dp = strrchr(sv[si],'(') ){
#
^
#
( )
#
access._.c:2728:11: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strrchr(sv[si],'(') ){
#
^
#
==
#
access._.c:2907:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( ai = 0; afunc = authenticators[ai].a_func; ai++ ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
#
access._.c:2907:21: note: place parentheses around the assignment to silence this warning
#
for( ai = 0; afunc = authenticators[ai].a_func; ai++ ){
#
^
#
( )
#
access._.c:2907:21: note: use '==' to turn this assignment into an equality comparison
#
for( ai = 0; afunc = authenticators[ai].a_func; ai++ ){
#
^
#
==
#
access._.c:2960:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strrpbrk(email,"%") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~
#
access._.c:2960:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strrpbrk(email,"%") ){
#
^
#
( )
#
access._.c:2960:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strrpbrk(email,"%") ){
#
^
#
==
#
access._.c:3075:32: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( streq(proto,"http-proxy") && streq(GatewayProto,"http")
#
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
access._.c:3075:32: note: place parentheses around the '&&' expression to silence this warning
#
if( streq(proto,"http-proxy") && streq(GatewayProto,"http")
#
^
#
( )
#
access._.c:3076:32: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| streq(proto,"http-proxy") && streq(GatewayProto,"http-proxy")
#
~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
access._.c:3076:32: note: place parentheses around the '&&' expression to silence this warning
#
|| streq(proto,"http-proxy") && streq(GatewayProto,"http-proxy")
#
^
#
( )
#
access._.c:3077:32: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| streq(proto,"ssltunnel") && streq(GatewayProto,"ssltunnel")
#
~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
access._.c:3077:32: note: place parentheses around the '&&' expression to silence this warning
#
|| streq(proto,"ssltunnel") && streq(GatewayProto,"ssltunnel")
#
^
#
( )
#
access._.c:3078:32: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| streq(proto,"socks") && streq(GatewayProto,"socks")
#
~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
access._.c:3078:32: note: place parentheses around the '&&' expression to silence this warning
#
|| streq(proto,"socks") && streq(GatewayProto,"socks")
#
^
#
( )
#
access._.c:3079:32: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| streq(proto,"delegate") && streq(GatewayProto,"delegate")
#
~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
access._.c:3079:32: note: place parentheses around the '&&' expression to silence this warning
#
|| streq(proto,"delegate") && streq(GatewayProto,"delegate")
#
^
#
( )
#
access._.c:3080:32: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| streq(proto,"ftp") && streq(GatewayProto,"ftp")
#
~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
access._.c:3080:32: note: place parentheses around the '&&' expression to silence this warning
#
|| streq(proto,"ftp") && streq(GatewayProto,"ftp")
#
^
#
( )
#
access._.c:3081:32: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| streq(proto,"telnet") && streq(GatewayProto,"telnet")
#
~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
access._.c:3081:32: note: place parentheses around the '&&' expression to silence this warning
#
|| streq(proto,"telnet") && streq(GatewayProto,"telnet")
#
^
#
( )
#
access._.c:3151:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( cp = strchr(clhost,'/') ){
#
~~~^~~~~~~~~~~~~~~~~~~~
#
access._.c:3151:9: note: place parentheses around the assignment to silence this warning
#
if( cp = strchr(clhost,'/') ){
#
^
#
( )
#
access._.c:3151:9: note: use '==' to turn this assignment into an equality comparison
#
if( cp = strchr(clhost,'/') ){
#
^
#
==
#
access._.c:3162:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( addr = gethostaddr(clhost) ){
#
~~~~~^~~~~~~~~~~~~~~~~~~~~
#
access._.c:3162:11: note: place parentheses around the assignment to silence this warning
#
if( addr = gethostaddr(clhost) ){
#
^
#
( )
#
access._.c:3162:11: note: use '==' to turn this assignment into an equality comparison
#
if( addr = gethostaddr(clhost) ){
#
^
#
==
#
access._.c:3182:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( ok = service_permitted2(Conn,DST_PROTO,2) )
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
access._.c:3182:9: note: place parentheses around the assignment to silence this warning
#
if( ok = service_permitted2(Conn,DST_PROTO,2) )
#
^
#
( )
#
access._.c:3182:9: note: use '==' to turn this assignment into an equality comparison
#
if( ok = service_permitted2(Conn,DST_PROTO,2) )
#
^
#
==
#
access._.c:3275:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp = fopenAuthMan("w") ){
#
~~~^~~~~~~~~~~~~~~~~~~
#
access._.c:3275:9: note: place parentheses around the assignment to silence this warning
#
if( fp = fopenAuthMan("w") ){
#
^
#
( )
#
access._.c:3275:9: note: use '==' to turn this assignment into an equality comparison
#
if( fp = fopenAuthMan("w") ){
#
^
#
==
#
access._.c:3284:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp = fopenAuthMan("r") ){
#
~~~^~~~~~~~~~~~~~~~~~~
#
access._.c:3284:9: note: place parentheses around the assignment to silence this warning
#
if( fp = fopenAuthMan("r") ){
#
^
#
( )
#
access._.c:3284:9: note: use '==' to turn this assignment into an equality comparison
#
if( fp = fopenAuthMan("r") ){
#
^
#
==
#
access._.c:3377:26: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| 2 < Ta->ac_count && now <= Ta->ac_time+30
#
~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
#
access._.c:3377:26: note: place parentheses around the '&&' expression to silence this warning
#
|| 2 < Ta->ac_count && now <= Ta->ac_time+30
#
^
#
( )
#
58 warnings generated.
#
../mkcpp ident.c ident._.c
#
-- mkcpp set time: 1492117330 -> 1257324766 ident._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c ident._.c -o ident.o
#
../mkcpp dgauth.c dgauth._.c
#
-- mkcpp set time: 1492117330 -> 1402831338 dgauth._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c dgauth._.c -o dgauth.o
#
dgauth._.c:50:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( kfp = fopen(data,"r") ){
#
~~~~^~~~~~~~~~~~~~~~~
#
dgauth._.c:50:11: note: place parentheses around the assignment to silence this warning
#
if( kfp = fopen(data,"r") ){
#
^
#
( )
#
dgauth._.c:50:11: note: use '==' to turn this assignment into an equality comparison
#
if( kfp = fopen(data,"r") ){
#
^
#
==
#
dgauth._.c:164:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp = dirfopen("CKey",AVStr(path),"w") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
dgauth._.c:164:10: note: place parentheses around the assignment to silence this warning
#
if( fp = dirfopen("CKey",AVStr(path),"w") ){
#
^
#
( )
#
dgauth._.c:164:10: note: use '==' to turn this assignment into an equality comparison
#
if( fp = dirfopen("CKey",AVStr(path),"w") ){
#
^
#
==
#
dgauth._.c:211:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp = fopen(path,"r") ){
#
~~~^~~~~~~~~~~~~~~~~
#
dgauth._.c:211:9: note: place parentheses around the assignment to silence this warning
#
if( fp = fopen(path,"r") ){
#
^
#
( )
#
dgauth._.c:211:9: note: use '==' to turn this assignment into an equality comparison
#
if( fp = fopen(path,"r") ){
#
^
#
==
#
dgauth._.c:295:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strheadstrX(main_argv[ai],param,0) )
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
dgauth._.c:295:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strheadstrX(main_argv[ai],param,0) )
#
^
#
( )
#
dgauth._.c:295:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strheadstrX(main_argv[ai],param,0) )
#
^
#
==
#
dgauth._.c:306:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( ck = getCKeyMainArg(MainConn(),param,dom,user) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
dgauth._.c:306:9: note: place parentheses around the assignment to silence this warning
#
if( ck = getCKeyMainArg(MainConn(),param,dom,user) ){
#
^
#
( )
#
dgauth._.c:306:9: note: use '==' to turn this assignment into an equality comparison
#
if( ck = getCKeyMainArg(MainConn(),param,dom,user) ){
#
^
#
==
#
dgauth._.c:364:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strpbrk(ekey,"\r\n") )
#
~~~^~~~~~~~~~~~~~~~~~~~~~
#
dgauth._.c:364:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strpbrk(ekey,"\r\n") )
#
^
#
( )
#
dgauth._.c:364:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strpbrk(ekey,"\r\n") )
#
^
#
==
#
dgauth._.c:382:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( cryptspec = getCKeyArg(Conn,param,dom,user) ){
#
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
dgauth._.c:382:16: note: place parentheses around the assignment to silence this warning
#
if( cryptspec = getCKeyArg(Conn,param,dom,user) ){
#
^
#
( )
#
dgauth._.c:382:16: note: use '==' to turn this assignment into an equality comparison
#
if( cryptspec = getCKeyArg(Conn,param,dom,user) ){
#
^
#
==
#
dgauth._.c:432:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( spec = getCKeyMainArg(Conn,param,dom,user) ){
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
dgauth._.c:432:12: note: place parentheses around the assignment to silence this warning
#
if( spec = getCKeyMainArg(Conn,param,dom,user) ){
#
^
#
( )
#
dgauth._.c:432:12: note: use '==' to turn this assignment into an equality comparison
#
if( spec = getCKeyMainArg(Conn,param,dom,user) ){
#
^
#
==
#
dgauth._.c:495:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(domain,',') )
#
~~~^~~~~~~~~~~~~~~~~~~~
#
dgauth._.c:495:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(domain,',') )
#
^
#
( )
#
dgauth._.c:495:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(domain,',') )
#
^
#
==
#
dgauth._.c:497:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(domain,'@') )
#
~~~^~~~~~~~~~~~~~~~~~~~
#
dgauth._.c:497:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(domain,'@') )
#
^
#
( )
#
dgauth._.c:497:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(domain,'@') )
#
^
#
==
#
dgauth._.c:499:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(domain,'(') ){
#
~~~^~~~~~~~~~~~~~~~~~~~
#
dgauth._.c:499:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(domain,'(') ){
#
^
#
( )
#
dgauth._.c:499:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(domain,'(') ){
#
^
#
==
#
dgauth._.c:639:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(host,':') ){
#
~~~^~~~~~~~~~~~~~~~~~
#
dgauth._.c:639:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(host,':') ){
#
^
#
( )
#
dgauth._.c:639:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(host,':') ){
#
^
#
==
#
dgauth._.c:657:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( port = scanAuthServPort(dom,AVStr(host)) )
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
dgauth._.c:657:11: note: place parentheses around the assignment to silence this warning
#
if( port = scanAuthServPort(dom,AVStr(host)) )
#
^
#
( )
#
dgauth._.c:657:11: note: use '==' to turn this assignment into an equality comparison
#
if( port = scanAuthServPort(dom,AVStr(host)) )
#
^
#
==
#
dgauth._.c:811:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strpbrk(nonce,"\r\n") )
#
~~~^~~~~~~~~~~~~~~~~~~~~~~
#
dgauth._.c:811:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strpbrk(nonce,"\r\n") )
#
^
#
( )
#
dgauth._.c:811:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strpbrk(nonce,"\r\n") )
#
^
#
==
#
dgauth._.c:867:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(authserv,'@') ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~
#
dgauth._.c:867:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(authserv,'@') ){
#
^
#
( )
#
dgauth._.c:867:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(authserv,'@') ){
#
^
#
==
#
dgauth._.c:872:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(authserv,',') )
#
~~~^~~~~~~~~~~~~~~~~~~~~~
#
dgauth._.c:872:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(authserv,',') )
#
^
#
( )
#
dgauth._.c:872:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(authserv,',') )
#
^
#
==
#
dgauth._.c:875:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strstr(authserv,"//") )
#
~~~^~~~~~~~~~~~~~~~~~~~~~~
#
dgauth._.c:875:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strstr(authserv,"//") )
#
^
#
( )
#
dgauth._.c:875:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strstr(authserv,"//") )
#
^
#
==
#
dgauth._.c:881:2: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
else
#
^
#
dgauth._.c:946:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( pp = strheadstrX(user,up,igncase) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
dgauth._.c:946:10: note: place parentheses around the assignment to silence this warning
#
if( pp = strheadstrX(user,up,igncase) ){
#
^
#
( )
#
dgauth._.c:946:10: note: use '==' to turn this assignment into an equality comparison
#
if( pp = strheadstrX(user,up,igncase) ){
#
^
#
==
#
dgauth._.c:975:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(list,'}') )
#
~~~^~~~~~~~~~~~~~~~~~
#
dgauth._.c:975:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(list,'}') )
#
^
#
( )
#
dgauth._.c:975:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(list,'}') )
#
^
#
==
#
dgauth._.c:1007:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( vrealm = strchr(dom,'@') ){ /* -dgauth[.realm]@vrealm */
#
~~~~~~~^~~~~~~~~~~~~~~~~
#
dgauth._.c:1007:13: note: place parentheses around the assignment to silence this warning
#
if( vrealm = strchr(dom,'@') ){ /* -dgauth[.realm]@vrealm */
#
^
#
( )
#
dgauth._.c:1007:13: note: use '==' to turn this assignment into an equality comparison
#
if( vrealm = strchr(dom,'@') ){ /* -dgauth[.realm]@vrealm */
#
^
#
==
#
dgauth._.c:1012:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( xrealm = strchr(dom,'.') )
#
~~~~~~~^~~~~~~~~~~~~~~~~
#
dgauth._.c:1012:13: note: place parentheses around the assignment to silence this warning
#
if( xrealm = strchr(dom,'.') )
#
^
#
( )
#
dgauth._.c:1012:13: note: use '==' to turn this assignment into an equality comparison
#
if( xrealm = strchr(dom,'.') )
#
^
#
==
#
dgauth._.c:1174:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp = fopen(path,"r") ){
#
~~~^~~~~~~~~~~~~~~~~
#
dgauth._.c:1174:9: note: place parentheses around the assignment to silence this warning
#
if( fp = fopen(path,"r") ){
#
^
#
( )
#
dgauth._.c:1174:9: note: use '==' to turn this assignment into an equality comparison
#
if( fp = fopen(path,"r") ){
#
^
#
==
#
dgauth._.c:1428:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strpbrk(req,"\r\n") )
#
~~~^~~~~~~~~~~~~~~~~~~~~
#
dgauth._.c:1428:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strpbrk(req,"\r\n") )
#
^
#
( )
#
dgauth._.c:1428:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strpbrk(req,"\r\n") )
#
^
#
==
#
dgauth._.c:1775:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp = dirfopen("NonceKey",AVStr(path),"w") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
dgauth._.c:1775:10: note: place parentheses around the assignment to silence this warning
#
if( fp = dirfopen("NonceKey",AVStr(path),"w") ){
#
^
#
( )
#
dgauth._.c:1775:10: note: use '==' to turn this assignment into an equality comparison
#
if( fp = dirfopen("NonceKey",AVStr(path),"w") ){
#
^
#
==
#
dgauth._.c:1784:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp = fopen(path,"r") ){
#
~~~^~~~~~~~~~~~~~~~~
#
dgauth._.c:1784:9: note: place parentheses around the assignment to silence this warning
#
if( fp = fopen(path,"r") ){
#
^
#
( )
#
dgauth._.c:1784:9: note: use '==' to turn this assignment into an equality comparison
#
if( fp = fopen(path,"r") ){
#
^
#
==
#
dgauth._.c:1879:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( len = atoi(wf) ){
#
~~~~^~~~~~~~~~
#
dgauth._.c:1879:10: note: place parentheses around the assignment to silence this warning
#
if( len = atoi(wf) ){
#
^
#
( )
#
dgauth._.c:1879:10: note: use '==' to turn this assignment into an equality comparison
#
if( len = atoi(wf) ){
#
^
#
==
#
dgauth._.c:1930:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strcasestr(host,dom1) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~
#
dgauth._.c:1930:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strcasestr(host,dom1) ){
#
^
#
( )
#
dgauth._.c:1930:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strcasestr(host,dom1) ){
#
^
#
==
#
dgauth._.c:1976:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(attrn,'@') ){
#
~~~^~~~~~~~~~~~~~~~~~~
#
dgauth._.c:1976:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(attrn,'@') ){
#
^
#
( )
#
dgauth._.c:1976:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(attrn,'@') ){
#
^
#
==
#
29 warnings generated.
#
../mkcpp dgsign.c dgsign._.c
#
-- mkcpp set time: 1492117330 -> 1411905128 dgsign._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c dgsign._.c -o dgsign.o -DADMIN=\"root@localhost\"
#
dgsign._.c:91:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fin = fopen(fname,"r") ){
#
~~~~^~~~~~~~~~~~~~~~~~
#
dgsign._.c:91:10: note: place parentheses around the assignment to silence this warning
#
if( fin = fopen(fname,"r") ){
#
^
#
( )
#
dgsign._.c:91:10: note: use '==' to turn this assignment into an equality comparison
#
if( fin = fopen(fname,"r") ){
#
^
#
==
#
dgsign._.c:141:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strrpbrk(fnam,"/\\") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~
#
dgsign._.c:141:11: note: place parentheses around the assignment to silence this warning
#
if( dp = strrpbrk(fnam,"/\\") ){
#
^
#
( )
#
dgsign._.c:141:11: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strrpbrk(fnam,"/\\") ){
#
^
#
==
#
dgsign._.c:222:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp = fopen(av[ai],"r") ){
#
~~~^~~~~~~~~~~~~~~~~~~
#
dgsign._.c:222:12: note: place parentheses around the assignment to silence this warning
#
if( fp = fopen(av[ai],"r") ){
#
^
#
( )
#
dgsign._.c:222:12: note: use '==' to turn this assignment into an equality comparison
#
if( fp = fopen(av[ai],"r") ){
#
^
#
==
#
dgsign._.c:226:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( lp = strpbrk(line,"\r\n") )
#
~~~^~~~~~~~~~~~~~~~~~~~~~
#
dgsign._.c:226:14: note: place parentheses around the assignment to silence this warning
#
if( lp = strpbrk(line,"\r\n") )
#
^
#
( )
#
dgsign._.c:226:14: note: use '==' to turn this assignment into an equality comparison
#
if( lp = strpbrk(line,"\r\n") )
#
^
#
==
#
dgsign._.c:280:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp = fopen(ofile,"w") )
#
~~~^~~~~~~~~~~~~~~~~~
#
dgsign._.c:280:11: note: place parentheses around the assignment to silence this warning
#
if( fp = fopen(ofile,"w") )
#
^
#
( )
#
dgsign._.c:280:11: note: use '==' to turn this assignment into an equality comparison
#
if( fp = fopen(ofile,"w") )
#
^
#
==
#
dgsign._.c:316:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp = fopen(path,"r") ){
#
~~~^~~~~~~~~~~~~~~~~
#
dgsign._.c:316:9: note: place parentheses around the assignment to silence this warning
#
if( fp = fopen(path,"r") ){
#
^
#
( )
#
dgsign._.c:316:9: note: use '==' to turn this assignment into an equality comparison
#
if( fp = fopen(path,"r") ){
#
^
#
==
#
dgsign._.c:518:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( ep = strstr(dp,"}\"") ){
#
~~~^~~~~~~~~~~~~~~~~~
#
dgsign._.c:518:11: note: place parentheses around the assignment to silence this warning
#
if( ep = strstr(dp,"}\"") ){
#
^
#
( )
#
dgsign._.c:518:11: note: use '==' to turn this assignment into an equality comparison
#
if( ep = strstr(dp,"}\"") ){
#
^
#
==
#
dgsign._.c:532:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strstr(buf,"}\"") ){
#
~~~^~~~~~~~~~~~~~~~~~~
#
dgsign._.c:532:13: note: place parentheses around the assignment to silence this warning
#
if( dp = strstr(buf,"}\"") ){
#
^
#
( )
#
dgsign._.c:532:13: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strstr(buf,"}\"") ){
#
^
#
==
#
dgsign._.c:596:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( ep = strstr(dp,"}\"") ){
#
~~~^~~~~~~~~~~~~~~~~~
#
dgsign._.c:596:11: note: place parentheses around the assignment to silence this warning
#
if( ep = strstr(dp,"}\"") ){
#
^
#
( )
#
dgsign._.c:596:11: note: use '==' to turn this assignment into an equality comparison
#
if( ep = strstr(dp,"}\"") ){
#
^
#
==
#
dgsign._.c:605:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strstr(buf,"}\"") ){
#
~~~^~~~~~~~~~~~~~~~~~~
#
dgsign._.c:605:13: note: place parentheses around the assignment to silence this warning
#
if( dp = strstr(buf,"}\"") ){
#
^
#
( )
#
dgsign._.c:605:13: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strstr(buf,"}\"") ){
#
^
#
==
#
dgsign._.c:642:38: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( (dp = strstr(buf,"{EXESIGN" )) && dp[nlen=8] == '='
#
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
#
dgsign._.c:642:38: note: place parentheses around the '&&' expression to silence this warning
#
if( (dp = strstr(buf,"{EXESIGN" )) && dp[nlen=8] == '='
#
^
#
( )
#
dgsign._.c:644:7: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
&& (fsig->s_flags & FS_GOT) == 0
#
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
dgsign._.c:644:7: note: place parentheses around the '&&' expression to silence this warning
#
&& (fsig->s_flags & FS_GOT) == 0
#
^
#
dgsign._.c:651:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( ep = strchr(fsig->s_signb,'}') ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
#
dgsign._.c:651:11: note: place parentheses around the assignment to silence this warning
#
if( ep = strchr(fsig->s_signb,'}') ){
#
^
#
( )
#
dgsign._.c:651:11: note: use '==' to turn this assignment into an equality comparison
#
if( ep = strchr(fsig->s_signb,'}') ){
#
^
#
==
#
dgsign._.c:667:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( ep = strchr(dp,'}') ){
#
~~~^~~~~~~~~~~~~~~~
#
dgsign._.c:667:11: note: place parentheses around the assignment to silence this warning
#
if( ep = strchr(dp,'}') ){
#
^
#
( )
#
dgsign._.c:667:11: note: use '==' to turn this assignment into an equality comparison
#
if( ep = strchr(dp,'}') ){
#
^
#
==
#
dgsign._.c:705:3: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
}else
#
^
#
dgsign._.c:754:2: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
else
#
^
#
dgsign._.c:718:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
}else
#
^
#
dgsign._.c:959:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strpbrk(md5,"=\r\n") )
#
~~~^~~~~~~~~~~~~~~~~~~~~~
#
dgsign._.c:959:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strpbrk(md5,"=\r\n") )
#
^
#
( )
#
dgsign._.c:959:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strpbrk(md5,"=\r\n") )
#
^
#
==
#
dgsign._.c:1134:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( ov = getv(oav,_P_IMPLAST) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~
#
dgsign._.c:1134:9: note: place parentheses around the assignment to silence this warning
#
if( ov = getv(oav,_P_IMPLAST) ){
#
^
#
( )
#
dgsign._.c:1134:9: note: use '==' to turn this assignment into an equality comparison
#
if( ov = getv(oav,_P_IMPLAST) ){
#
^
#
==
#
dgsign._.c:1138:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( ov = getv(oav,_P_IMPORIG) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~
#
dgsign._.c:1138:9: note: place parentheses around the assignment to silence this warning
#
if( ov = getv(oav,_P_IMPORIG) ){
#
^
#
( )
#
dgsign._.c:1138:9: note: use '==' to turn this assignment into an equality comparison
#
if( ov = getv(oav,_P_IMPORIG) ){
#
^
#
==
#
dgsign._.c:1149:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( ai = 0; ov = oav[ai]; ai++ ){
#
~~~^~~~~~~~~
#
dgsign._.c:1149:18: note: place parentheses around the assignment to silence this warning
#
for( ai = 0; ov = oav[ai]; ai++ ){
#
^
#
( )
#
dgsign._.c:1149:18: note: use '==' to turn this assignment into an equality comparison
#
for( ai = 0; ov = oav[ai]; ai++ ){
#
^
#
==
#
dgsign._.c:1172:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( pv = strchr(ov,'=') )
#
~~~^~~~~~~~~~~~~~~~
#
dgsign._.c:1172:12: note: place parentheses around the assignment to silence this warning
#
if( pv = strchr(ov,'=') )
#
^
#
( )
#
dgsign._.c:1172:12: note: use '==' to turn this assignment into an equality comparison
#
if( pv = strchr(ov,'=') )
#
^
#
==
#
dgsign._.c:1182:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( ov = getv(oav,P_SUDOAUTH) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~
#
dgsign._.c:1182:9: note: place parentheses around the assignment to silence this warning
#
if( ov = getv(oav,P_SUDOAUTH) ){
#
^
#
( )
#
dgsign._.c:1182:9: note: use '==' to turn this assignment into an equality comparison
#
if( ov = getv(oav,P_SUDOAUTH) ){
#
^
#
==
#
dgsign._.c:1189:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( ov = getv(oav,P_EXECAUTH) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~
#
dgsign._.c:1189:9: note: place parentheses around the assignment to silence this warning
#
if( ov = getv(oav,P_EXECAUTH) ){
#
^
#
( )
#
dgsign._.c:1189:9: note: use '==' to turn this assignment into an equality comparison
#
if( ov = getv(oav,P_EXECAUTH) ){
#
^
#
==
#
dgsign._.c:1243:20: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| PS->_suusers && streq(PS->_suusers,"*") )
#
~~ ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
#
dgsign._.c:1243:20: note: place parentheses around the '&&' expression to silence this warning
#
|| PS->_suusers && streq(PS->_suusers,"*") )
#
^
#
( )
#
dgsign._.c:1378:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( ii = 0; p2 = PS->_iav[ii]; ii++ ){
#
~~~^~~~~~~~~~~~~~
#
dgsign._.c:1378:22: note: place parentheses around the assignment to silence this warning
#
for( ii = 0; p2 = PS->_iav[ii]; ii++ ){
#
^
#
( )
#
dgsign._.c:1378:22: note: use '==' to turn this assignment into an equality comparison
#
for( ii = 0; p2 = PS->_iav[ii]; ii++ ){
#
^
#
==
#
dgsign._.c:1531:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( sfp = fopen(save,"w") ){
#
~~~~^~~~~~~~~~~~~~~~~
#
dgsign._.c:1531:11: note: place parentheses around the assignment to silence this warning
#
if( sfp = fopen(save,"w") ){
#
^
#
( )
#
dgsign._.c:1531:11: note: use '==' to turn this assignment into an equality comparison
#
if( sfp = fopen(save,"w") ){
#
^
#
==
#
dgsign._.c:1580:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( ai = 0; a1 = av[ai]; ai++ ){
#
~~~^~~~~~~~
#
dgsign._.c:1580:18: note: place parentheses around the assignment to silence this warning
#
for( ai = 0; a1 = av[ai]; ai++ ){
#
^
#
( )
#
dgsign._.c:1580:18: note: use '==' to turn this assignment into an equality comparison
#
for( ai = 0; a1 = av[ai]; ai++ ){
#
^
#
==
#
dgsign._.c:1630:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( a1=getv(av,P_SUDOAUTH) ){ bp=putParam1(AVStr(bp),P_SUDOAUTH,a1); }
#
~~^~~~~~~~~~~~~~~~~~~~
#
dgsign._.c:1630:8: note: place parentheses around the assignment to silence this warning
#
if( a1=getv(av,P_SUDOAUTH) ){ bp=putParam1(AVStr(bp),P_SUDOAUTH,a1); }
#
^
#
( )
#
dgsign._.c:1630:8: note: use '==' to turn this assignment into an equality comparison
#
if( a1=getv(av,P_SUDOAUTH) ){ bp=putParam1(AVStr(bp),P_SUDOAUTH,a1); }
#
^
#
==
#
dgsign._.c:1631:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( a1=getv(av,P_EXECAUTH) ){ bp=putParam1(AVStr(bp),P_EXECAUTH,a1); }
#
~~^~~~~~~~~~~~~~~~~~~~
#
dgsign._.c:1631:8: note: place parentheses around the assignment to silence this warning
#
if( a1=getv(av,P_EXECAUTH) ){ bp=putParam1(AVStr(bp),P_EXECAUTH,a1); }
#
^
#
( )
#
dgsign._.c:1631:8: note: use '==' to turn this assignment into an equality comparison
#
if( a1=getv(av,P_EXECAUTH) ){ bp=putParam1(AVStr(bp),P_EXECAUTH,a1); }
#
^
#
==
#
dgsign._.c:1632:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( a1=getv(av,_P_IMPLAST) ){ bp=putParam1(AVStr(bp),_P_IMPLAST,a1); }
#
~~^~~~~~~~~~~~~~~~~~~~
#
dgsign._.c:1632:8: note: place parentheses around the assignment to silence this warning
#
if( a1=getv(av,_P_IMPLAST) ){ bp=putParam1(AVStr(bp),_P_IMPLAST,a1); }
#
^
#
( )
#
dgsign._.c:1632:8: note: use '==' to turn this assignment into an equality comparison
#
if( a1=getv(av,_P_IMPLAST) ){ bp=putParam1(AVStr(bp),_P_IMPLAST,a1); }
#
^
#
==
#
dgsign._.c:1633:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( a1=getv(av,_P_IMPORIG) ){ bp=putParam1(AVStr(bp),_P_IMPORIG,a1); }
#
~~^~~~~~~~~~~~~~~~~~~~
#
dgsign._.c:1633:8: note: place parentheses around the assignment to silence this warning
#
if( a1=getv(av,_P_IMPORIG) ){ bp=putParam1(AVStr(bp),_P_IMPORIG,a1); }
#
^
#
( )
#
dgsign._.c:1633:8: note: use '==' to turn this assignment into an equality comparison
#
if( a1=getv(av,_P_IMPORIG) ){ bp=putParam1(AVStr(bp),_P_IMPORIG,a1); }
#
^
#
==
#
dgsign._.c:1940:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( lfp = fopen(load,"r") ){
#
~~~~^~~~~~~~~~~~~~~~~
#
dgsign._.c:1940:12: note: place parentheses around the assignment to silence this warning
#
if( lfp = fopen(load,"r") ){
#
^
#
( )
#
dgsign._.c:1940:12: note: use '==' to turn this assignment into an equality comparison
#
if( lfp = fopen(load,"r") ){
#
^
#
==
#
dgsign._.c:2013:40: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( isupper(a1[0]) && strchr(a1,'=') && paramX(a1,0)
#
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
#
dgsign._.c:2013:40: note: place parentheses around the '&&' expression to silence this warning
#
if( isupper(a1[0]) && strchr(a1,'=') && paramX(a1,0)
#
^
#
( )
#
dgsign._.c:2210:24: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| errno == EACCES && isWindows() ){
#
~~ ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
#
dgsign._.c:2210:24: note: place parentheses around the '&&' expression to silence this warning
#
|| errno == EACCES && isWindows() ){
#
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
#
dgsign._.c:2359:2: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
else
#
^
#
dgsign._.c:2552:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( vp = strheadstrX(a1,_P_IMPORIG,0) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
dgsign._.c:2552:10: note: place parentheses around the assignment to silence this warning
#
if( vp = strheadstrX(a1,_P_IMPORIG,0) ){
#
^
#
( )
#
dgsign._.c:2552:10: note: use '==' to turn this assignment into an equality comparison
#
if( vp = strheadstrX(a1,_P_IMPORIG,0) ){
#
^
#
==
#
dgsign._.c:2711:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( auth = getEnvBin1st(P_EXECAUTH) ){
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
#
dgsign._.c:2711:11: note: place parentheses around the assignment to silence this warning
#
if( auth = getEnvBin1st(P_EXECAUTH) ){
#
^
#
( )
#
dgsign._.c:2711:11: note: use '==' to turn this assignment into an equality comparison
#
if( auth = getEnvBin1st(P_EXECAUTH) ){
#
^
#
==
#
dgsign._.c:2718:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( auth = getEnvBin1st(P_SUDOAUTH) ){
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
#
dgsign._.c:2718:12: note: place parentheses around the assignment to silence this warning
#
if( auth = getEnvBin1st(P_SUDOAUTH) ){
#
^
#
( )
#
dgsign._.c:2718:12: note: use '==' to turn this assignment into an equality comparison
#
if( auth = getEnvBin1st(P_SUDOAUTH) ){
#
^
#
==
#
dgsign._.c:2732:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( auth = getEnvBin1st(P_EXECAUTH) ){
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
#
dgsign._.c:2732:11: note: place parentheses around the assignment to silence this warning
#
if( auth = getEnvBin1st(P_EXECAUTH) ){
#
^
#
( )
#
dgsign._.c:2732:11: note: use '==' to turn this assignment into an equality comparison
#
if( auth = getEnvBin1st(P_EXECAUTH) ){
#
^
#
==
#
dgsign._.c:2922:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( enc = strstr(ibuf,head) ){
#
~~~~^~~~~~~~~~~~~~~~~~~
#
dgsign._.c:2922:11: note: place parentheses around the assignment to silence this warning
#
if( enc = strstr(ibuf,head) ){
#
^
#
( )
#
dgsign._.c:2922:11: note: use '==' to turn this assignment into an equality comparison
#
if( enc = strstr(ibuf,head) ){
#
^
#
==
#
dgsign._.c:3051:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( ifp = fopen(ipath,"r") ){
#
~~~~^~~~~~~~~~~~~~~~~~
#
dgsign._.c:3051:14: note: place parentheses around the assignment to silence this warning
#
if( ifp = fopen(ipath,"r") ){
#
^
#
( )
#
dgsign._.c:3051:14: note: use '==' to turn this assignment into an equality comparison
#
if( ifp = fopen(ipath,"r") ){
#
^
#
==
#
dgsign._.c:3106:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strtailstr(opath,".enc") )
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
#
dgsign._.c:3106:11: note: place parentheses around the assignment to silence this warning
#
if( dp = strtailstr(opath,".enc") )
#
^
#
( )
#
dgsign._.c:3106:11: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strtailstr(opath,".enc") )
#
^
#
==
#
dgsign._.c:3178:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( enc = strstr(line,head) ){
#
~~~~^~~~~~~~~~~~~~~~~~~
#
dgsign._.c:3178:11: note: place parentheses around the assignment to silence this warning
#
if( enc = strstr(line,head) ){
#
^
#
( )
#
dgsign._.c:3178:11: note: use '==' to turn this assignment into an equality comparison
#
if( enc = strstr(line,head) ){
#
^
#
==
#
dgsign._.c:3452:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( rcc = fread(buf,1,QVSSize(buf,bsize),ifp) )
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
dgsign._.c:3452:11: note: place parentheses around the assignment to silence this warning
#
if( rcc = fread(buf,1,QVSSize(buf,bsize),ifp) )
#
^
#
( )
#
dgsign._.c:3452:11: note: use '==' to turn this assignment into an equality comparison
#
if( rcc = fread(buf,1,QVSSize(buf,bsize),ifp) )
#
^
#
==
#
dgsign._.c:3471:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( pfp = popen(com,"r") ){
#
~~~~^~~~~~~~~~~~~~~~
#
dgsign._.c:3471:13: note: place parentheses around the assignment to silence this warning
#
if( pfp = popen(com,"r") ){
#
^
#
( )
#
dgsign._.c:3471:13: note: use '==' to turn this assignment into an equality comparison
#
if( pfp = popen(com,"r") ){
#
^
#
==
#
dgsign._.c:3710:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( sp = str; ch = *sp; sp++ ){
#
~~~^~~~~
#
dgsign._.c:3710:20: note: place parentheses around the assignment to silence this warning
#
for( sp = str; ch = *sp; sp++ ){
#
^
#
( )
#
dgsign._.c:3710:20: note: use '==' to turn this assignment into an equality comparison
#
for( sp = str; ch = *sp; sp++ ){
#
^
#
==
#
dgsign._.c:3751:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( sp = str; ch = *sp; sp++ ){
#
~~~^~~~~
#
dgsign._.c:3751:20: note: place parentheses around the assignment to silence this warning
#
for( sp = str; ch = *sp; sp++ ){
#
^
#
( )
#
dgsign._.c:3751:20: note: use '==' to turn this assignment into an equality comparison
#
for( sp = str; ch = *sp; sp++ ){
#
^
#
==
#
48 warnings generated.
#
../mkcpp ccache.c ccache._.c
#
-- mkcpp set time: 1492117331 -> 1289464838 ccache._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c ccache._.c -o ccache.o
#
ccache._.c:93:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( ccfp = fopenCC(server,"r+",AVStr(path)) ){
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
ccache._.c:93:12: note: place parentheses around the assignment to silence this warning
#
if( ccfp = fopenCC(server,"r+",AVStr(path)) ){
#
^
#
( )
#
ccache._.c:93:12: note: use '==' to turn this assignment into an equality comparison
#
if( ccfp = fopenCC(server,"r+",AVStr(path)) ){
#
^
#
==
#
ccache._.c:273:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( ccfp = fopen(path,"a") )
#
~~~~~^~~~~~~~~~~~~~~~~
#
ccache._.c:273:11: note: place parentheses around the assignment to silence this warning
#
if( ccfp = fopen(path,"a") )
#
^
#
( )
#
ccache._.c:273:11: note: use '==' to turn this assignment into an equality comparison
#
if( ccfp = fopen(path,"a") )
#
^
#
==
#
2 warnings generated.
#
../mkcpp cache.c cache._.c
#
-- mkcpp set time: 1492117331 -> 1407388953 cache._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c cache._.c -o cache.o
#
cache._.c:102:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strrpbrk(xdir,"/\\") )
#
~~~^~~~~~~~~~~~~~~~~~~~~~
#
cache._.c:102:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strrpbrk(xdir,"/\\") )
#
^
#
( )
#
cache._.c:102:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strrpbrk(xdir,"/\\") )
#
^
#
==
#
cache._.c:172:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
while( dp = strchr(dp,'/') ){
#
~~~^~~~~~~~~~~~~~~~
#
cache._.c:172:12: note: place parentheses around the assignment to silence this warning
#
while( dp = strchr(dp,'/') ){
#
^
#
( )
#
cache._.c:172:12: note: use '==' to turn this assignment into an equality comparison
#
while( dp = strchr(dp,'/') ){
#
^
#
==
#
cache._.c:196:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strrchr(dir,'/') ){
#
~~~^~~~~~~~~~~~~~~~~~
#
cache._.c:196:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strrchr(dir,'/') ){
#
^
#
( )
#
cache._.c:196:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strrchr(dir,'/') ){
#
^
#
==
#
cache._.c:226:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strrchr(dir,'/') ){
#
~~~^~~~~~~~~~~~~~~~~~
#
cache._.c:226:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strrchr(dir,'/') ){
#
^
#
( )
#
cache._.c:226:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strrchr(dir,'/') ){
#
^
#
==
#
cache._.c:275:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strrchr(file,'/') ){
#
~~~^~~~~~~~~~~~~~~~~~~
#
cache._.c:275:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strrchr(file,'/') ){
#
^
#
( )
#
cache._.c:275:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strrchr(file,'/') ){
#
^
#
==
#
cache._.c:407:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( sp = surl; sc = *sp; sp++ ){
#
~~~^~~~~
#
cache._.c:407:21: note: place parentheses around the assignment to silence this warning
#
for( sp = surl; sc = *sp; sp++ ){
#
^
#
( )
#
cache._.c:407:21: note: use '==' to turn this assignment into an equality comparison
#
for( sp = surl; sc = *sp; sp++ ){
#
^
#
==
#
cache._.c:471:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( nvport = strchr(nvserv,':') ){
#
~~~~~~~^~~~~~~~~~~~~~~~~~~~
#
cache._.c:471:14: note: place parentheses around the assignment to silence this warning
#
if( nvport = strchr(nvserv,':') ){
#
^
#
( )
#
cache._.c:471:14: note: use '==' to turn this assignment into an equality comparison
#
if( nvport = strchr(nvserv,':') ){
#
^
#
==
#
cache._.c:498:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( rp = strpbrk(path1,"\r\n\t ") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
#
cache._.c:498:9: note: place parentheses around the assignment to silence this warning
#
if( rp = strpbrk(path1,"\r\n\t ") ){
#
^
#
( )
#
cache._.c:498:9: note: use '==' to turn this assignment into an equality comparison
#
if( rp = strpbrk(path1,"\r\n\t ") ){
#
^
#
==
#
cache._.c:610:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
while( dp = strrchr(cpath,'/') ){
#
~~~^~~~~~~~~~~~~~~~~~~~
#
cache._.c:610:12: note: place parentheses around the assignment to silence this warning
#
while( dp = strrchr(cpath,'/') ){
#
^
#
( )
#
cache._.c:610:12: note: use '==' to turn this assignment into an equality comparison
#
while( dp = strrchr(cpath,'/') ){
#
^
#
==
#
cache._.c:630:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( sp = path; ch = *sp; sp++ ){
#
~~~^~~~~
#
cache._.c:630:21: note: place parentheses around the assignment to silence this warning
#
for( sp = path; ch = *sp; sp++ ){
#
^
#
( )
#
cache._.c:630:21: note: use '==' to turn this assignment into an equality comparison
#
for( sp = path; ch = *sp; sp++ ){
#
^
#
==
#
cache._.c:761:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( tomd5 = (fp[0] == 'm') && (fp[1] != 0) )
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
cache._.c:761:13: note: place parentheses around the assignment to silence this warning
#
if( tomd5 = (fp[0] == 'm') && (fp[1] != 0) )
#
^
#
( )
#
cache._.c:761:13: note: use '==' to turn this assignment into an equality comparison
#
if( tomd5 = (fp[0] == 'm') && (fp[1] != 0) )
#
^
#
==
#
cache._.c:772:23: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( streq(op,"==") && streq(v1,v2)
#
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
#
cache._.c:772:23: note: place parentheses around the '&&' expression to silence this warning
#
if( streq(op,"==") && streq(v1,v2)
#
^
#
( )
#
cache._.c:773:23: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| streq(op,"!=") && !streq(v1,v2)
#
~~ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
#
cache._.c:773:23: note: place parentheses around the '&&' expression to silence this warning
#
|| streq(op,"!=") && !streq(v1,v2)
#
^
#
( )
#
cache._.c:774:23: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| streq(op,">=") && strstr(v1,v2)
#
~~ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
#
cache._.c:774:23: note: place parentheses around the '&&' expression to silence this warning
#
|| streq(op,">=") && strstr(v1,v2)
#
^
#
( )
#
cache._.c:775:23: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| streq(op,"<=") && strstr(v2,v1)
#
~~ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
#
cache._.c:775:23: note: place parentheses around the '&&' expression to silence this warning
#
|| streq(op,"<=") && strstr(v2,v1)
#
^
#
( )
#
cache._.c:880:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( fi = 0; bsym = formats[fi].f_begin; fi++ ){
#
~~~~~^~~~~~~~~~~~~~~~~~~~~
#
cache._.c:880:21: note: place parentheses around the assignment to silence this warning
#
for( fi = 0; bsym = formats[fi].f_begin; fi++ ){
#
^
#
( )
#
cache._.c:880:21: note: use '==' to turn this assignment into an equality comparison
#
for( fi = 0; bsym = formats[fi].f_begin; fi++ ){
#
^
#
==
#
cache._.c:964:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( np = strstr(bp,"\r\n") )
#
~~~^~~~~~~~~~~~~~~~~~~
#
cache._.c:964:10: note: place parentheses around the assignment to silence this warning
#
if( np = strstr(bp,"\r\n") )
#
^
#
( )
#
cache._.c:964:10: note: use '==' to turn this assignment into an equality comparison
#
if( np = strstr(bp,"\r\n") )
#
^
#
==
#
17 warnings generated.
#
../mkcpp distrib.c distrib._.c
#
-- mkcpp set time: 1492117331 -> 1264937413 distrib._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c distrib._.c -o distrib.o
#
distrib._.c:109:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strpbrk(stat,"\r\n") )
#
~~~^~~~~~~~~~~~~~~~~~~~~~
#
distrib._.c:109:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strpbrk(stat,"\r\n") )
#
^
#
( )
#
distrib._.c:109:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strpbrk(stat,"\r\n") )
#
^
#
==
#
distrib._.c:438:35: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( off == 0 || 0 < ready_cc(fs) && off/1024 == Conn->ca_curoff/1024 )
#
~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
distrib._.c:438:35: note: place parentheses around the '&&' expression to silence this warning
#
if( off == 0 || 0 < ready_cc(fs) && off/1024 == Conn->ca_curoff/1024 )
#
^
#
( )
#
distrib._.c:462:20: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( 2 <= LOGLEVEL && nready == 0
#
~~~~~~~~~~~~~~^~~~~~~~~~~~~~
#
distrib._.c:462:20: note: place parentheses around the '&&' expression to silence this warning
#
if( 2 <= LOGLEVEL && nready == 0
#
^
#
( )
#
distrib._.c:463:20: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| 3 <= LOGLEVEL && (1 < Time()-Start) ){
#
~~ ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
#
distrib._.c:463:20: note: place parentheses around the '&&' expression to silence this warning
#
|| 3 <= LOGLEVEL && (1 < Time()-Start) ){
#
^
#
( )
#
4 warnings generated.
#
../mkcpp bcounter.c bcounter._.c
#
-- mkcpp set time: 1492117331 -> 1407389270 bcounter._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c bcounter._.c -o bcounter.o
#
bcounter._.c:309:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(cpath,'?') )
#
~~~^~~~~~~~~~~~~~~~~~~
#
bcounter._.c:309:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(cpath,'?') )
#
^
#
( )
#
bcounter._.c:309:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(cpath,'?') )
#
^
#
==
#
bcounter._.c:556:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( pp = strchr(host,':') ){
#
~~~^~~~~~~~~~~~~~~~~~
#
bcounter._.c:556:10: note: place parentheses around the assignment to silence this warning
#
if( pp = strchr(host,':') ){
#
^
#
( )
#
bcounter._.c:556:10: note: use '==' to turn this assignment into an equality comparison
#
if( pp = strchr(host,':') ){
#
^
#
==
#
bcounter._.c:565:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(up,'#') ){
#
~~~^~~~~~~~~~~~~~~~
#
bcounter._.c:565:11: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(up,'#') ){
#
^
#
( )
#
bcounter._.c:565:11: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(up,'#') ){
#
^
#
==
#
bcounter._.c:569:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(up,'?') ){
#
~~~^~~~~~~~~~~~~~~~
#
bcounter._.c:569:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(up,'?') ){
#
^
#
( )
#
bcounter._.c:569:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(up,'?') ){
#
^
#
==
#
bcounter._.c:712:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strstr(url,"#{") ){
#
~~~^~~~~~~~~~~~~~~~~~
#
bcounter._.c:712:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strstr(url,"#{") ){
#
^
#
( )
#
bcounter._.c:712:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strstr(url,"#{") ){
#
^
#
==
#
bcounter._.c:715:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strstr(urlb,"#{") ){
#
~~~^~~~~~~~~~~~~~~~~~~
#
bcounter._.c:715:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strstr(urlb,"#{") ){
#
^
#
( )
#
bcounter._.c:715:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strstr(urlb,"#{") ){
#
^
#
==
#
bcounter._.c:771:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( iscum = streq(url,"##cumget") ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
#
bcounter._.c:771:12: note: place parentheses around the assignment to silence this warning
#
if( iscum = streq(url,"##cumget") ){
#
^
#
( )
#
bcounter._.c:771:12: note: use '==' to turn this assignment into an equality comparison
#
if( iscum = streq(url,"##cumget") ){
#
^
#
==
#
bcounter._.c:780:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( fp = fmt; fc = *fp; fp++ ){
#
~~~^~~~~
#
bcounter._.c:780:20: note: place parentheses around the assignment to silence this warning
#
for( fp = fmt; fc = *fp; fp++ ){
#
^
#
( )
#
bcounter._.c:780:20: note: use '==' to turn this assignment into an equality comparison
#
for( fp = fmt; fc = *fp; fp++ ){
#
^
#
==
#
bcounter._.c:834:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( mean = (fc == 'm') ){
#
~~~~~^~~~~~~~~~~~~
#
bcounter._.c:834:12: note: place parentheses around the assignment to silence this warning
#
if( mean = (fc == 'm') ){
#
^
#
( )
#
bcounter._.c:834:12: note: use '==' to turn this assignment into an equality comparison
#
if( mean = (fc == 'm') ){
#
^
#
==
#
9 warnings generated.
#
../mkcpp ipno.c ipno._.c
#
-- mkcpp set time: 1492117331 -> 1250403944 ipno._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c ipno._.c -o ipno.o
#
ipno._.c:34:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
while( ni = fread(cands,ADDRLEN,BLKSIZE,fp) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
ipno._.c:34:12: note: place parentheses around the assignment to silence this warning
#
while( ni = fread(cands,ADDRLEN,BLKSIZE,fp) ){
#
^
#
( )
#
ipno._.c:34:12: note: use '==' to turn this assignment into an equality comparison
#
while( ni = fread(cands,ADDRLEN,BLKSIZE,fp) ){
#
^
#
==
#
1 warning generated.
#
../mkcpp inets.c inets._.c
#
-- mkcpp set time: 1492117331 -> 1408790277 inets._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c inets._.c -o inets.o
#
inets._.c:318:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( hp = gethostbyname(host) )
#
~~~^~~~~~~~~~~~~~~~~~~~~
#
inets._.c:318:9: note: place parentheses around the assignment to silence this warning
#
if( hp = gethostbyname(host) )
#
^
#
( )
#
inets._.c:318:9: note: use '==' to turn this assignment into an equality comparison
#
if( hp = gethostbyname(host) )
#
^
#
==
#
inets._.c:402:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(host+2,'.') ){
#
~~~^~~~~~~~~~~~~~~~~~~~
#
inets._.c:402:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(host+2,'.') ){
#
^
#
( )
#
inets._.c:402:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(host+2,'.') ){
#
^
#
==
#
inets._.c:438:13: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( 0 < nr && nr < 10 || (self && 0 <= nr) ){ CX->cx_numretry = nr; }
#
~~~~~~~^~~~~~~~~~ ~~
#
inets._.c:438:13: note: place parentheses around the '&&' expression to silence this warning
#
if( 0 < nr && nr < 10 || (self && 0 <= nr) ){ CX->cx_numretry = nr; }
#
^
#
( )
#
inets._.c:439:13: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( 0 < to && to < 30 || (self && 0 <= to) ){ CX->cx_timeout1 = to; }
#
~~~~~~~^~~~~~~~~~ ~~
#
inets._.c:439:13: note: place parentheses around the '&&' expression to silence this warning
#
if( 0 < to && to < 30 || (self && 0 <= to) ){ CX->cx_timeout1 = to; }
#
^
#
( )
#
inets._.c:440:13: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( 3 < iv && iv < 30 || (self && 0 <= iv) ){ CX->cx_interval = iv; }
#
~~~~~~~^~~~~~~~~~ ~~
#
inets._.c:440:13: note: place parentheses around the '&&' expression to silence this warning
#
if( 3 < iv && iv < 30 || (self && 0 <= iv) ){ CX->cx_interval = iv; }
#
^
#
( )
#
inets._.c:792:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( ri = 0; ri = RES_next_res(resolvers,ri,AVStr(res1),AVStr(arg)); ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
inets._.c:792:18: note: place parentheses around the assignment to silence this warning
#
for( ri = 0; ri = RES_next_res(resolvers,ri,AVStr(res1),AVStr(arg)); ){
#
^
#
( )
#
inets._.c:792:18: note: use '==' to turn this assignment into an equality comparison
#
for( ri = 0; ri = RES_next_res(resolvers,ri,AVStr(res1),AVStr(arg)); ){
#
^
#
==
#
inets._.c:842:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( res_logf = fopen(log,"a") ){
#
~~~~~~~~~^~~~~~~~~~~~~~~~
#
inets._.c:842:16: note: place parentheses around the assignment to silence this warning
#
if( res_logf = fopen(log,"a") ){
#
^
#
( )
#
inets._.c:842:16: note: use '==' to turn this assignment into an equality comparison
#
if( res_logf = fopen(log,"a") ){
#
^
#
==
#
inets._.c:862:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( roe = getenv("RES_ORDER") ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~
#
inets._.c:862:11: note: place parentheses around the assignment to silence this warning
#
if( roe = getenv("RES_ORDER") ){
#
^
#
( )
#
inets._.c:862:11: note: use '==' to turn this assignment into an equality comparison
#
if( roe = getenv("RES_ORDER") ){
#
^
#
==
#
inets._.c:908:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( hi = 0; haddr = hp->h_addr_list[hi+1]; hi++ )
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
#
inets._.c:908:22: note: place parentheses around the assignment to silence this warning
#
for( hi = 0; haddr = hp->h_addr_list[hi+1]; hi++ )
#
^
#
( )
#
inets._.c:908:22: note: use '==' to turn this assignment into an equality comparison
#
for( hi = 0; haddr = hp->h_addr_list[hi+1]; hi++ )
#
^
#
==
#
inets._.c:937:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( ai = 0; name1 = hp->h_aliases[ai]; ai++ )
#
~~~~~~^~~~~~~~~~~~~~~~~~~
#
inets._.c:937:21: note: place parentheses around the assignment to silence this warning
#
for( ai = 0; name1 = hp->h_aliases[ai]; ai++ )
#
^
#
( )
#
inets._.c:937:21: note: use '==' to turn this assignment into an equality comparison
#
for( ai = 0; name1 = hp->h_aliases[ai]; ai++ )
#
^
#
==
#
inets._.c:946:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( ai = 0; addr1 = hp->h_addr_list[ai]; ai++ )
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~
#
inets._.c:946:21: note: place parentheses around the assignment to silence this warning
#
for( ai = 0; addr1 = hp->h_addr_list[ai]; ai++ )
#
^
#
( )
#
inets._.c:946:21: note: use '==' to turn this assignment into an equality comparison
#
for( ai = 0; addr1 = hp->h_addr_list[ai]; ai++ )
#
^
#
==
#
inets._.c:1023:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( si = 0; sc = sv[si]; si++ ){
#
~~~^~~~~~~~
#
inets._.c:1023:18: note: place parentheses around the assignment to silence this warning
#
for( si = 0; sc = sv[si]; si++ ){
#
^
#
( )
#
inets._.c:1023:18: note: use '==' to turn this assignment into an equality comparison
#
for( si = 0; sc = sv[si]; si++ ){
#
^
#
==
#
inets._.c:1053:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( ai = 0; a1 = hp1->h_addr_list[ai]; ai++ ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~
#
inets._.c:1053:19: note: place parentheses around the assignment to silence this warning
#
for( ai = 0; a1 = hp1->h_addr_list[ai]; ai++ ){
#
^
#
( )
#
inets._.c:1053:19: note: use '==' to turn this assignment into an equality comparison
#
for( ai = 0; a1 = hp1->h_addr_list[ai]; ai++ ){
#
^
#
==
#
inets._.c:1054:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( sx = isinlist(hp2->h_addr_list,a1,alen) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
inets._.c:1054:11: note: place parentheses around the assignment to silence this warning
#
if( sx = isinlist(hp2->h_addr_list,a1,alen) ){
#
^
#
( )
#
inets._.c:1054:11: note: use '==' to turn this assignment into an equality comparison
#
if( sx = isinlist(hp2->h_addr_list,a1,alen) ){
#
^
#
==
#
inets._.c:1065:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( ai = 0; a1 = hp1->h_aliases[ai]; ai++ ){
#
~~~^~~~~~~~~~~~~~~~~~~~
#
inets._.c:1065:19: note: place parentheses around the assignment to silence this warning
#
for( ai = 0; a1 = hp1->h_aliases[ai]; ai++ ){
#
^
#
( )
#
inets._.c:1065:19: note: use '==' to turn this assignment into an equality comparison
#
for( ai = 0; a1 = hp1->h_aliases[ai]; ai++ ){
#
^
#
==
#
inets._.c:1066:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( sx = isinlist(hp2->h_aliases,a1,0) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
inets._.c:1066:11: note: place parentheses around the assignment to silence this warning
#
if( sx = isinlist(hp2->h_aliases,a1,0) ){
#
^
#
( )
#
inets._.c:1066:11: note: use '==' to turn this assignment into an equality comparison
#
if( sx = isinlist(hp2->h_aliases,a1,0) ){
#
^
#
==
#
inets._.c:1157:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( ai = 0; name1 = hp->h_aliases[ai]; ai++ ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~
#
inets._.c:1157:21: note: place parentheses around the assignment to silence this warning
#
for( ai = 0; name1 = hp->h_aliases[ai]; ai++ ){
#
^
#
( )
#
inets._.c:1157:21: note: use '==' to turn this assignment into an equality comparison
#
for( ai = 0; name1 = hp->h_aliases[ai]; ai++ ){
#
^
#
==
#
inets._.c:1356:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( ai = 0; addr = hp->h_addr_list[ai]; ai++ ){
#
~~~~~^~~~~~~~~~~~~~~~~~~~~
#
inets._.c:1356:21: note: place parentheses around the assignment to silence this warning
#
for( ai = 0; addr = hp->h_addr_list[ai]; ai++ ){
#
^
#
( )
#
inets._.c:1356:21: note: use '==' to turn this assignment into an equality comparison
#
for( ai = 0; addr = hp->h_addr_list[ai]; ai++ ){
#
^
#
==
#
inets._.c:1373:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( ai = 0; name = hp->h_aliases[ai]; ai++ )
#
~~~~~^~~~~~~~~~~~~~~~~~~
#
inets._.c:1373:21: note: place parentheses around the assignment to silence this warning
#
for( ai = 0; name = hp->h_aliases[ai]; ai++ )
#
^
#
( )
#
inets._.c:1373:21: note: use '==' to turn this assignment into an equality comparison
#
for( ai = 0; name = hp->h_aliases[ai]; ai++ )
#
^
#
==
#
inets._.c:1457:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( Hp = HostsCache[ci] ){
#
~~~^~~~~~~~~~~~~~~~
#
inets._.c:1457:10: note: place parentheses around the assignment to silence this warning
#
if( Hp = HostsCache[ci] ){
#
^
#
( )
#
inets._.c:1457:10: note: use '==' to turn this assignment into an equality comparison
#
if( Hp = HostsCache[ci] ){
#
^
#
==
#
inets._.c:1528:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( tp = strchr(np,'}') )
#
~~~^~~~~~~~~~~~~~~~
#
inets._.c:1528:11: note: place parentheses around the assignment to silence this warning
#
if( tp = strchr(np,'}') )
#
^
#
( )
#
inets._.c:1528:11: note: use '==' to turn this assignment into an equality comparison
#
if( tp = strchr(np,'}') )
#
^
#
==
#
inets._.c:1537:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(np,',') ){
#
~~~^~~~~~~~~~~~~~~~
#
inets._.c:1537:11: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(np,',') ){
#
^
#
( )
#
inets._.c:1537:11: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(np,',') ){
#
^
#
==
#
inets._.c:1597:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( hp = Dgethostbyname(name) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~
#
inets._.c:1597:9: note: place parentheses around the assignment to silence this warning
#
if( hp = Dgethostbyname(name) ){
#
^
#
( )
#
inets._.c:1597:9: note: use '==' to turn this assignment into an equality comparison
#
if( hp = Dgethostbyname(name) ){
#
^
#
==
#
inets._.c:1643:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( addrs = strchr(names,'/') ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~
#
inets._.c:1643:12: note: place parentheses around the assignment to silence this warning
#
if( addrs = strchr(names,'/') ){
#
^
#
( )
#
inets._.c:1643:12: note: use '==' to turn this assignment into an equality comparison
#
if( addrs = strchr(names,'/') ){
#
^
#
==
#
inets._.c:1645:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( opts = strchr(addrs+1,'/') ){
#
~~~~~^~~~~~~~~~~~~~~~~~~~~
#
inets._.c:1645:12: note: place parentheses around the assignment to silence this warning
#
if( opts = strchr(addrs+1,'/') ){
#
^
#
( )
#
inets._.c:1645:12: note: use '==' to turn this assignment into an equality comparison
#
if( opts = strchr(addrs+1,'/') ){
#
^
#
==
#
inets._.c:1738:14: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( byname && hp->h_addr_list[0] == 0
#
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
#
inets._.c:1738:14: note: place parentheses around the '&&' expression to silence this warning
#
if( byname && hp->h_addr_list[0] == 0
#
^
#
( )
#
inets._.c:1739:14: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| !byname && hp->h_name[0] == 0
#
~~ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
#
inets._.c:1739:14: note: place parentheses around the '&&' expression to silence this warning
#
|| !byname && hp->h_name[0] == 0
#
^
#
( )
#
inets._.c:1789:5: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
}else{
#
^
#
inets._.c:1995:19: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( name != NULL && !IsInetaddr(name) || 1 < Time()-Start )
#
~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ~~
#
inets._.c:1995:19: note: place parentheses around the '&&' expression to silence this warning
#
if( name != NULL && !IsInetaddr(name) || 1 < Time()-Start )
#
^
#
( )
#
inets._.c:2017:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( CHp = findHostentInCache(hp,&chp,&dif) ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
inets._.c:2017:12: note: place parentheses around the assignment to silence this warning
#
if( CHp = findHostentInCache(hp,&chp,&dif) ){
#
^
#
( )
#
inets._.c:2017:12: note: use '==' to turn this assignment into an equality comparison
#
if( CHp = findHostentInCache(hp,&chp,&dif) ){
#
^
#
==
#
inets._.c:2058:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( addr = VSA_ntoa(sa) )
#
~~~~~^~~~~~~~~~~~~~
#
inets._.c:2058:11: note: place parentheses around the assignment to silence this warning
#
if( addr = VSA_ntoa(sa) )
#
^
#
( )
#
inets._.c:2058:11: note: use '==' to turn this assignment into an equality comparison
#
if( addr = VSA_ntoa(sa) )
#
^
#
==
#
inets._.c:2083:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( fp = form; fc = *fp; fp++ ){
#
~~~^~~~~
#
inets._.c:2083:21: note: place parentheses around the assignment to silence this warning
#
for( fp = form; fc = *fp; fp++ ){
#
^
#
( )
#
inets._.c:2083:21: note: use '==' to turn this assignment into an equality comparison
#
for( fp = form; fc = *fp; fp++ ){
#
^
#
==
#
inets._.c:2345:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( nready = PollIn(sock,to1) )
#
~~~~~~~^~~~~~~~~~~~~~~~~~
#
inets._.c:2345:14: note: place parentheses around the assignment to silence this warning
#
if( nready = PollIn(sock,to1) )
#
^
#
( )
#
inets._.c:2345:14: note: use '==' to turn this assignment into an equality comparison
#
if( nready = PollIn(sock,to1) )
#
^
#
==
#
inets._.c:2447:16: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse]
#
DGC *MainConn();
#
^~
#
inets._.c:2447:16: note: replace parentheses with an initializer to declare a variable
#
DGC *MainConn();
#
^~
#
= NULL
#
inets._.c:2475:51: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| strheadstrX(SRCHOST,"_-DontRouteIfBound.",1) && rcode == 0
#
~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
#
inets._.c:2475:51: note: place parentheses around the '&&' expression to silence this warning
#
|| strheadstrX(SRCHOST,"_-DontRouteIfBound.",1) && rcode == 0
#
^
#
( )
#
inets._.c:2476:54: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| strheadstrX(SRCHOST,"_-DontRouteIfNotBound.",1) && rcode != 0
#
~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
#
inets._.c:2476:54: note: place parentheses around the '&&' expression to silence this warning
#
|| strheadstrX(SRCHOST,"_-DontRouteIfNotBound.",1) && rcode != 0
#
^
#
( )
#
inets._.c:2507:36: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( Hp == 0 || Hp->hc_predef == 0 && Hp->hc_predefa == 0 ){
#
~~ ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
#
inets._.c:2507:36: note: place parentheses around the '&&' expression to silence this warning
#
if( Hp == 0 || Hp->hc_predef == 0 && Hp->hc_predefa == 0 ){
#
^
#
( )
#
inets._.c:2531:13: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse]
#
double Time(),Start;
#
^~
#
inets._.c:2531:13: note: replace parentheses with an initializer to declare a variable
#
double Time(),Start;
#
^~
#
= 0.0
#
inets._.c:2587:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( ds = ConRetry(sock,sap,what,portname,hostname,iport,ntry) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
inets._.c:2587:10: note: place parentheses around the assignment to silence this warning
#
if( ds = ConRetry(sock,sap,what,portname,hostname,iport,ntry) ){
#
^
#
( )
#
inets._.c:2587:10: note: use '==' to turn this assignment into an equality comparison
#
if( ds = ConRetry(sock,sap,what,portname,hostname,iport,ntry) ){
#
^
#
==
#
inets._.c:2706:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( hi = 0; haddr = hp->h_addr_list[hi]; hi++ ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~
#
inets._.c:2706:21: note: place parentheses around the assignment to silence this warning
#
for( hi = 0; haddr = hp->h_addr_list[hi]; hi++ ){
#
^
#
( )
#
inets._.c:2706:21: note: use '==' to turn this assignment into an equality comparison
#
for( hi = 0; haddr = hp->h_addr_list[hi]; hi++ ){
#
^
#
==
#
inets._.c:2747:5: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
}else
#
^
#
inets._.c:2754:41: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( csock < 0 || Hp->hc_shifted < hn && 2.0 < Elp ){
#
~~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
#
inets._.c:2754:41: note: place parentheses around the '&&' expression to silence this warning
#
if( csock < 0 || Hp->hc_shifted < hn && 2.0 < Elp ){
#
^
#
( )
#
inets._.c:2808:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( hp = gethostbyNameAddr(cache_only,host,NULL,0,0) )
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
inets._.c:2808:9: note: place parentheses around the assignment to silence this warning
#
if( hp = gethostbyNameAddr(cache_only,host,NULL,0,0) )
#
^
#
( )
#
inets._.c:2808:9: note: use '==' to turn this assignment into an equality comparison
#
if( hp = gethostbyNameAddr(cache_only,host,NULL,0,0) )
#
^
#
==
#
inets._.c:2818:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( addr = _gethostaddr(host,0) )
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~
#
inets._.c:2818:11: note: place parentheses around the assignment to silence this warning
#
if( addr = _gethostaddr(host,0) )
#
^
#
( )
#
inets._.c:2818:11: note: use '==' to turn this assignment into an equality comparison
#
if( addr = _gethostaddr(host,0) )
#
^
#
==
#
inets._.c:2853:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( hp = gethostbyNameAddr(cacheonly,host,NULL,0,0) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
inets._.c:2853:9: note: place parentheses around the assignment to silence this warning
#
if( hp = gethostbyNameAddr(cacheonly,host,NULL,0,0) ){
#
^
#
( )
#
inets._.c:2853:9: note: use '==' to turn this assignment into an equality comparison
#
if( hp = gethostbyNameAddr(cacheonly,host,NULL,0,0) ){
#
^
#
==
#
inets._.c:2942:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( found = getHost_nbo(0,host,VStrNULL,&sab) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
inets._.c:2942:12: note: place parentheses around the assignment to silence this warning
#
if( found = getHost_nbo(0,host,VStrNULL,&sab) ){
#
^
#
( )
#
inets._.c:2942:12: note: use '==' to turn this assignment into an equality comparison
#
if( found = getHost_nbo(0,host,VStrNULL,&sab) ){
#
^
#
==
#
inets._.c:3033:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( n2 = 0; a2 = hp2->h_addr_list[n2]; n2++ ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~
#
inets._.c:3033:18: note: place parentheses around the assignment to silence this warning
#
for( n2 = 0; a2 = hp2->h_addr_list[n2]; n2++ ){
#
^
#
( )
#
inets._.c:3033:18: note: use '==' to turn this assignment into an equality comparison
#
for( n2 = 0; a2 = hp2->h_addr_list[n2]; n2++ ){
#
^
#
==
#
inets._.c:3034:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( n1 = 0; a1 = hp1->h_addr_list[n1]; n1++ )
#
~~~^~~~~~~~~~~~~~~~~~~~~~
#
inets._.c:3034:19: note: place parentheses around the assignment to silence this warning
#
for( n1 = 0; a1 = hp1->h_addr_list[n1]; n1++ )
#
^
#
( )
#
inets._.c:3034:19: note: use '==' to turn this assignment into an equality comparison
#
for( n1 = 0; a1 = hp1->h_addr_list[n1]; n1++ )
#
^
#
==
#
inets._.c:3122:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( aaddr = gethostaddr(hostname) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
#
inets._.c:3122:12: note: place parentheses around the assignment to silence this warning
#
if( aaddr = gethostaddr(hostname) ){
#
^
#
( )
#
inets._.c:3122:12: note: use '==' to turn this assignment into an equality comparison
#
if( aaddr = gethostaddr(hostname) ){
#
^
#
==
#
inets._.c:3428:3: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
}else
#
^
#
inets._.c:3590:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( hp = gethostbyNameAddr(0,host,NULL,0,0) )
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
inets._.c:3590:10: note: place parentheses around the assignment to silence this warning
#
if( hp = gethostbyNameAddr(0,host,NULL,0,0) )
#
^
#
( )
#
inets._.c:3590:10: note: use '==' to turn this assignment into an equality comparison
#
if( hp = gethostbyNameAddr(0,host,NULL,0,0) )
#
^
#
==
#
inets._.c:3637:24: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| hostname != NULL && streq(hostname,"*")
#
~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
#
inets._.c:3637:24: note: place parentheses around the '&&' expression to silence this warning
#
|| hostname != NULL && streq(hostname,"*")
#
^
#
( )
#
inets._.c:3638:24: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| hostname != NULL && hostaf(hostname) == AF_INET6
#
~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
inets._.c:3638:24: note: place parentheses around the '&&' expression to silence this warning
#
|| hostname != NULL && hostaf(hostname) == AF_INET6
#
~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
inets._.c:3639:24: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| hostname != NULL && VSA_strisaddr(hostname) == AF_INET6
#
~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
inets._.c:3639:24: note: place parentheses around the '&&' expression to silence this warning
#
|| hostname != NULL && VSA_strisaddr(hostname) == AF_INET6
#
~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
inets._.c:3698:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( hp = gethostbyNameAddr(0,hostname,NULL,0,0) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
inets._.c:3698:10: note: place parentheses around the assignment to silence this warning
#
if( hp = gethostbyNameAddr(0,hostname,NULL,0,0) ){
#
^
#
( )
#
inets._.c:3698:10: note: use '==' to turn this assignment into an equality comparison
#
if( hp = gethostbyNameAddr(0,hostname,NULL,0,0) ){
#
^
#
==
#
inets._.c:3747:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( addr = gethostaddr(host) ){
#
~~~~~^~~~~~~~~~~~~~~~~~~
#
inets._.c:3747:12: note: place parentheses around the assignment to silence this warning
#
if( addr = gethostaddr(host) ){
#
^
#
( )
#
inets._.c:3747:12: note: use '==' to turn this assignment into an equality comparison
#
if( addr = gethostaddr(host) ){
#
^
#
==
#
inets._.c:3779:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( nx = 0; cname = names[nx] ; nx++ ){
#
~~~~~~^~~~~~~~~~~
#
inets._.c:3779:21: note: place parentheses around the assignment to silence this warning
#
for( nx = 0; cname = names[nx] ; nx++ ){
#
^
#
( )
#
inets._.c:3779:21: note: use '==' to turn this assignment into an equality comparison
#
for( nx = 0; cname = names[nx] ; nx++ ){
#
^
#
==
#
inets._.c:3814:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( Hp = findHostCache(host,NULL,0,0) )
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
inets._.c:3814:9: note: place parentheses around the assignment to silence this warning
#
if( Hp = findHostCache(host,NULL,0,0) )
#
^
#
( )
#
inets._.c:3814:9: note: use '==' to turn this assignment into an equality comparison
#
if( Hp = findHostCache(host,NULL,0,0) )
#
^
#
==
#
inets._.c:3845:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( ox = 0; ox = RES_next_res(sorder,ox,AVStr(order1),VStrNULL); ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
inets._.c:3845:18: note: place parentheses around the assignment to silence this warning
#
for( ox = 0; ox = RES_next_res(sorder,ox,AVStr(order1),VStrNULL); ){
#
^
#
( )
#
inets._.c:3845:18: note: use '==' to turn this assignment into an equality comparison
#
for( ox = 0; ox = RES_next_res(sorder,ox,AVStr(order1),VStrNULL); ){
#
^
#
==
#
inets._.c:3886:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( Hp = findHostCache(name,addr,len,type) )
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
inets._.c:3886:9: note: place parentheses around the assignment to silence this warning
#
if( Hp = findHostCache(name,addr,len,type) )
#
^
#
( )
#
inets._.c:3886:9: note: use '==' to turn this assignment into an equality comparison
#
if( Hp = findHostCache(name,addr,len,type) )
#
^
#
==
#
inets._.c:3895:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( Hp = findHostCacheByaddr(name) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
#
inets._.c:3895:10: note: place parentheses around the assignment to silence this warning
#
if( Hp = findHostCacheByaddr(name) ){
#
^
#
( )
#
inets._.c:3895:10: note: use '==' to turn this assignment into an equality comparison
#
if( Hp = findHostCacheByaddr(name) ){
#
^
#
==
#
inets._.c:4091:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(sockname,':') ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~
#
inets._.c:4091:11: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(sockname,':') ){
#
^
#
( )
#
inets._.c:4091:11: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(sockname,':') ){
#
^
#
==
#
inets._.c:4165:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(sockname,':') )
#
~~~^~~~~~~~~~~~~~~~~~~~~~
#
inets._.c:4165:11: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(sockname,':') )
#
^
#
( )
#
inets._.c:4165:11: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(sockname,':') )
#
^
#
==
#
inets._.c:4180:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( aaddr = gethostaddr(server) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~
#
inets._.c:4180:12: note: place parentheses around the assignment to silence this warning
#
if( aaddr = gethostaddr(server) ){
#
^
#
( )
#
inets._.c:4180:12: note: use '==' to turn this assignment into an equality comparison
#
if( aaddr = gethostaddr(server) ){
#
^
#
==
#
inets._.c:4357:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( viaNAT = setupDATAviaNAT(Conn,&svsock,&svpeer,BVStr(mport)) ){
#
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
inets._.c:4357:13: note: place parentheses around the assignment to silence this warning
#
if( viaNAT = setupDATAviaNAT(Conn,&svsock,&svpeer,BVStr(mport)) ){
#
^
#
( )
#
inets._.c:4357:13: note: use '==' to turn this assignment into an equality comparison
#
if( viaNAT = setupDATAviaNAT(Conn,&svsock,&svpeer,BVStr(mport)) ){
#
^
#
==
#
inets._.c:4553:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( hp = gethostbyNameAddr(0,host,NULL,0,0) )
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
inets._.c:4553:10: note: place parentheses around the assignment to silence this warning
#
if( hp = gethostbyNameAddr(0,host,NULL,0,0) )
#
^
#
( )
#
inets._.c:4553:10: note: use '==' to turn this assignment into an equality comparison
#
if( hp = gethostbyNameAddr(0,host,NULL,0,0) )
#
^
#
==
#
inets._.c:4632:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( hp0 = gethostbyNameAddr(nocache,host1,NULL,0,0) ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
inets._.c:4632:10: note: place parentheses around the assignment to silence this warning
#
if( hp0 = gethostbyNameAddr(nocache,host1,NULL,0,0) ){
#
^
#
( )
#
inets._.c:4632:10: note: use '==' to turn this assignment into an equality comparison
#
if( hp0 = gethostbyNameAddr(nocache,host1,NULL,0,0) ){
#
^
#
==
#
inets._.c:4634:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( hp2 = gethostbyNameAddr(nocache,host2,NULL,0,0) )
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
inets._.c:4634:11: note: place parentheses around the assignment to silence this warning
#
if( hp2 = gethostbyNameAddr(nocache,host2,NULL,0,0) )
#
^
#
( )
#
inets._.c:4634:11: note: use '==' to turn this assignment into an equality comparison
#
if( hp2 = gethostbyNameAddr(nocache,host2,NULL,0,0) )
#
^
#
==
#
inets._.c:4640:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( aj = 0; n2 = hp2->h_aliases[aj]; aj++ ){
#
~~~^~~~~~~~~~~~~~~~~~~~
#
inets._.c:4640:20: note: place parentheses around the assignment to silence this warning
#
for( aj = 0; n2 = hp2->h_aliases[aj]; aj++ ){
#
^
#
( )
#
inets._.c:4640:20: note: use '==' to turn this assignment into an equality comparison
#
for( aj = 0; n2 = hp2->h_aliases[aj]; aj++ ){
#
^
#
==
#
inets._.c:4645:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( ai = 0; n1 = hp1->h_aliases[ai]; ai++ )
#
~~~^~~~~~~~~~~~~~~~~~~~
#
inets._.c:4645:20: note: place parentheses around the assignment to silence this warning
#
for( ai = 0; n1 = hp1->h_aliases[ai]; ai++ )
#
^
#
( )
#
inets._.c:4645:20: note: use '==' to turn this assignment into an equality comparison
#
for( ai = 0; n1 = hp1->h_aliases[ai]; ai++ )
#
^
#
==
#
inets._.c:4646:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( aj = 0; n2 = hp2->h_aliases[aj]; aj++ ){
#
~~~^~~~~~~~~~~~~~~~~~~~
#
inets._.c:4646:20: note: place parentheses around the assignment to silence this warning
#
for( aj = 0; n2 = hp2->h_aliases[aj]; aj++ ){
#
^
#
( )
#
inets._.c:4646:20: note: use '==' to turn this assignment into an equality comparison
#
for( aj = 0; n2 = hp2->h_aliases[aj]; aj++ ){
#
^
#
==
#
inets._.c:4651:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( ai = 0; a1 = hp1->h_addr_list[ai]; ai++ )
#
~~~^~~~~~~~~~~~~~~~~~~~~~
#
inets._.c:4651:20: note: place parentheses around the assignment to silence this warning
#
for( ai = 0; a1 = hp1->h_addr_list[ai]; ai++ )
#
^
#
( )
#
inets._.c:4651:20: note: use '==' to turn this assignment into an equality comparison
#
for( ai = 0; a1 = hp1->h_addr_list[ai]; ai++ )
#
^
#
==
#
inets._.c:4652:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( aj = 0; a2 = hp2->h_addr_list[aj]; aj++ ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~
#
inets._.c:4652:20: note: place parentheses around the assignment to silence this warning
#
for( aj = 0; a2 = hp2->h_addr_list[aj]; aj++ ){
#
^
#
( )
#
inets._.c:4652:20: note: use '==' to turn this assignment into an equality comparison
#
for( aj = 0; a2 = hp2->h_addr_list[aj]; aj++ ){
#
^
#
==
#
inets._.c:4739:14: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( domain && strcasecmp(domain,"unix") == 0
#
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
inets._.c:4739:14: note: place parentheses around the '&&' expression to silence this warning
#
if( domain && strcasecmp(domain,"unix") == 0
#
^
#
( )
#
inets._.c:4740:21: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| lhost != NULL && lhost[0] == '/' )
#
~~ ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
#
inets._.c:4740:21: note: place parentheses around the '&&' expression to silence this warning
#
|| lhost != NULL && lhost[0] == '/' )
#
^
#
( )
#
inets._.c:4770:20: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| rhost != NULL && rhost[0] == '/' ){
#
~~ ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
#
inets._.c:4770:20: note: place parentheses around the '&&' expression to silence this warning
#
|| rhost != NULL && rhost[0] == '/' ){
#
^
#
( )
#
inets._.c:4832:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( hp = gethostbyNameAddr(cacheonly,hostname,NULL,0,0) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
inets._.c:4832:9: note: place parentheses around the assignment to silence this warning
#
if( hp = gethostbyNameAddr(cacheonly,hostname,NULL,0,0) ){
#
^
#
( )
#
inets._.c:4832:9: note: use '==' to turn this assignment into an equality comparison
#
if( hp = gethostbyNameAddr(cacheonly,hostname,NULL,0,0) ){
#
^
#
==
#
inets._.c:4868:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( resolv = getenv("RES_ORDER") ){
#
~~~~~~~^~~~~~~~~~~~~~~~~~~~~
#
inets._.c:4868:13: note: place parentheses around the assignment to silence this warning
#
if( resolv = getenv("RES_ORDER") ){
#
^
#
( )
#
inets._.c:4868:13: note: use '==' to turn this assignment into an equality comparison
#
if( resolv = getenv("RES_ORDER") ){
#
^
#
==
#
inets._.c:4872:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( resolv = DELEGATE_getEnv("RESOLV") ){
#
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
#
inets._.c:4872:13: note: place parentheses around the assignment to silence this warning
#
if( resolv = DELEGATE_getEnv("RESOLV") ){
#
^
#
( )
#
inets._.c:4872:13: note: use '==' to turn this assignment into an equality comparison
#
if( resolv = DELEGATE_getEnv("RESOLV") ){
#
^
#
==
#
inets._.c:4876:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( reswait = DELEGATE_getEnv("RES_WAIT") ){
#
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
inets._.c:4876:14: note: place parentheses around the assignment to silence this warning
#
if( reswait = DELEGATE_getEnv("RES_WAIT") ){
#
^
#
( )
#
inets._.c:4876:14: note: use '==' to turn this assignment into an equality comparison
#
if( reswait = DELEGATE_getEnv("RES_WAIT") ){
#
^
#
==
#
inets._.c:4933:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( Me = findHostCache(myname,NULL,0,0) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
inets._.c:4933:9: note: place parentheses around the assignment to silence this warning
#
if( Me = findHostCache(myname,NULL,0,0) ){
#
^
#
( )
#
inets._.c:4933:9: note: use '==' to turn this assignment into an equality comparison
#
if( Me = findHostCache(myname,NULL,0,0) ){
#
^
#
==
#
inets._.c:4936:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( me = EX_GETHOSTBYNAME((char*)myname) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
inets._.c:4936:9: note: place parentheses around the assignment to silence this warning
#
if( me = EX_GETHOSTBYNAME((char*)myname) ){
#
^
#
( )
#
inets._.c:4936:9: note: use '==' to turn this assignment into an equality comparison
#
if( me = EX_GETHOSTBYNAME((char*)myname) ){
#
^
#
==
#
inets._.c:4949:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( me = getMyHostname1(BVStr(myname),nsize) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
inets._.c:4949:9: note: place parentheses around the assignment to silence this warning
#
if( me = getMyHostname1(BVStr(myname),nsize) ){
#
^
#
( )
#
inets._.c:4949:9: note: use '==' to turn this assignment into an equality comparison
#
if( me = getMyHostname1(BVStr(myname),nsize) ){
#
^
#
==
#
inets._.c:4966:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( me = getMyHostname1(BVStr(myname),nsize) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
inets._.c:4966:10: note: place parentheses around the assignment to silence this warning
#
if( me = getMyHostname1(BVStr(myname),nsize) ){
#
^
#
( )
#
inets._.c:4966:10: note: use '==' to turn this assignment into an equality comparison
#
if( me = getMyHostname1(BVStr(myname),nsize) ){
#
^
#
==
#
inets._.c:5048:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( ai = 0; addr = me->h_addr_list[ai]; ai++ ){
#
~~~~~^~~~~~~~~~~~~~~~~~~~~
#
inets._.c:5048:21: note: place parentheses around the assignment to silence this warning
#
for( ai = 0; addr = me->h_addr_list[ai]; ai++ ){
#
^
#
( )
#
inets._.c:5048:21: note: use '==' to turn this assignment into an equality comparison
#
for( ai = 0; addr = me->h_addr_list[ai]; ai++ ){
#
^
#
==
#
inets._.c:5061:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( rp = strchr(porder,'S') )
#
~~~^~~~~~~~~~~~~~~~~~~~
#
inets._.c:5061:10: note: place parentheses around the assignment to silence this warning
#
if( rp = strchr(porder,'S') )
#
^
#
( )
#
inets._.c:5061:10: note: use '==' to turn this assignment into an equality comparison
#
if( rp = strchr(porder,'S') )
#
^
#
==
#
inets._.c:5085:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( rp = strchr(porder,'N') )
#
~~~^~~~~~~~~~~~~~~~~~~~
#
inets._.c:5085:12: note: place parentheses around the assignment to silence this warning
#
if( rp = strchr(porder,'N') )
#
^
#
( )
#
inets._.c:5085:12: note: use '==' to turn this assignment into an equality comparison
#
if( rp = strchr(porder,'N') )
#
^
#
==
#
inets._.c:5093:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( rp = strchr(porder,'N') )
#
~~~^~~~~~~~~~~~~~~~~~~~
#
inets._.c:5093:10: note: place parentheses around the assignment to silence this warning
#
if( rp = strchr(porder,'N') )
#
^
#
( )
#
inets._.c:5093:10: note: use '==' to turn this assignment into an equality comparison
#
if( rp = strchr(porder,'N') )
#
^
#
==
#
inets._.c:5533:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( pid = popenx(command,"r",io) ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~
#
inets._.c:5533:10: note: place parentheses around the assignment to silence this warning
#
if( pid = popenx(command,"r",io) ){
#
^
#
( )
#
inets._.c:5533:10: note: use '==' to turn this assignment into an equality comparison
#
if( pid = popenx(command,"r",io) ){
#
^
#
==
#
inets._.c:5587:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( am = *mmap ){
#
~~~^~~~~~~
#
inets._.c:5587:9: note: place parentheses around the assignment to silence this warning
#
if( am = *mmap ){
#
^
#
( )
#
inets._.c:5587:9: note: use '==' to turn this assignment into an equality comparison
#
if( am = *mmap ){
#
^
#
==
#
inets._.c:5896:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fname = strrpbrk(file,"/\\") ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~
#
inets._.c:5896:12: note: place parentheses around the assignment to silence this warning
#
if( fname = strrpbrk(file,"/\\") ){
#
^
#
( )
#
inets._.c:5896:12: note: use '==' to turn this assignment into an equality comparison
#
if( fname = strrpbrk(file,"/\\") ){
#
^
#
==
#
inets._.c:5902:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( bfp = fopen(bin,"r") ){
#
~~~~^~~~~~~~~~~~~~~~
#
inets._.c:5902:10: note: place parentheses around the assignment to silence this warning
#
if( bfp = fopen(bin,"r") ){
#
^
#
( )
#
inets._.c:5902:10: note: use '==' to turn this assignment into an equality comparison
#
if( bfp = fopen(bin,"r") ){
#
^
#
==
#
92 warnings generated.
#
../mkcpp uns.c uns._.c
#
-- mkcpp set time: 1492117331 -> 1268104466 uns._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c uns._.c -o uns.o
#
uns._.c:187:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strrpbrk(dir,"/\\") )
#
~~~^~~~~~~~~~~~~~~~~~~~~
#
uns._.c:187:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strrpbrk(dir,"/\\") )
#
^
#
( )
#
uns._.c:187:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strrpbrk(dir,"/\\") )
#
^
#
==
#
uns._.c:340:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strrchr(spath,'/') )
#
~~~^~~~~~~~~~~~~~~~~~~~
#
uns._.c:340:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strrchr(spath,'/') )
#
^
#
( )
#
uns._.c:340:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strrchr(spath,'/') )
#
^
#
==
#
2 warnings generated.
#
../mkcpp rident.c rident._.c
#
-- mkcpp set time: 1492117332 -> 1264775393 rident._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c rident._.c -o rident.o
#
../mkcpp inetd.c inetd._.c
#
-- mkcpp set time: 1492117332 -> 1285966889 inetd._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c inetd._.c -o inetd.o
#
inetd._.c:115:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( ai = 0; arg = ic->i_argv[ai]; ai++ ){
#
~~~~^~~~~~~~~~~~~~~~
#
inetd._.c:115:19: note: place parentheses around the assignment to silence this warning
#
for( ai = 0; arg = ic->i_argv[ai]; ai++ ){
#
^
#
( )
#
inetd._.c:115:19: note: use '==' to turn this assignment into an equality comparison
#
for( ai = 0; arg = ic->i_argv[ai]; ai++ ){
#
^
#
==
#
inetd._.c:164:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(conf,'#') )
#
~~~^~~~~~~~~~~~~~~~~~
#
inetd._.c:164:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(conf,'#') )
#
^
#
( )
#
inetd._.c:164:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(conf,'#') )
#
^
#
==
#
2 warnings generated.
#
../mkcpp thruwayd.c thruwayd._.c
#
-- mkcpp set time: 1492117332 -> 1252611725 thruwayd._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c thruwayd._.c -o thruwayd.o
#
thruwayd._.c:328:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( env = getenv("THRUWAY_ENTR") )
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~
#
thruwayd._.c:328:10: note: place parentheses around the assignment to silence this warning
#
if( env = getenv("THRUWAY_ENTR") )
#
^
#
( )
#
thruwayd._.c:328:10: note: use '==' to turn this assignment into an equality comparison
#
if( env = getenv("THRUWAY_ENTR") )
#
^
#
==
#
thruwayd._.c:330:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( env = getenv("THRUWAY_EXIT") )
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~
#
thruwayd._.c:330:10: note: place parentheses around the assignment to silence this warning
#
if( env = getenv("THRUWAY_EXIT") )
#
^
#
( )
#
thruwayd._.c:330:10: note: use '==' to turn this assignment into an equality comparison
#
if( env = getenv("THRUWAY_EXIT") )
#
^
#
==
#
thruwayd._.c:610:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( pp = ports[pi] ){
#
~~~^~~~~~~~~~~
#
thruwayd._.c:610:9: note: place parentheses around the assignment to silence this warning
#
if( pp = ports[pi] ){
#
^
#
( )
#
thruwayd._.c:610:9: note: use '==' to turn this assignment into an equality comparison
#
if( pp = ports[pi] ){
#
^
#
==
#
thruwayd._.c:736:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( pp = ports[pi] )
#
~~~^~~~~~~~~~~
#
thruwayd._.c:736:9: note: place parentheses around the assignment to silence this warning
#
if( pp = ports[pi] )
#
^
#
( )
#
thruwayd._.c:736:9: note: use '==' to turn this assignment into an equality comparison
#
if( pp = ports[pi] )
#
^
#
==
#
thruwayd._.c:739:2: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
else
#
^
#
thruwayd._.c:766:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( pp = ports[pi] )
#
~~~^~~~~~~~~~~
#
thruwayd._.c:766:9: note: place parentheses around the assignment to silence this warning
#
if( pp = ports[pi] )
#
^
#
( )
#
thruwayd._.c:766:9: note: use '==' to turn this assignment into an equality comparison
#
if( pp = ports[pi] )
#
^
#
==
#
thruwayd._.c:782:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( pp = ports[pi] )
#
~~~^~~~~~~~~~~
#
thruwayd._.c:782:9: note: place parentheses around the assignment to silence this warning
#
if( pp = ports[pi] )
#
^
#
( )
#
thruwayd._.c:782:9: note: use '==' to turn this assignment into an equality comparison
#
if( pp = ports[pi] )
#
^
#
==
#
thruwayd._.c:812:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( pp = ports[pi] ){
#
~~~^~~~~~~~~~~
#
thruwayd._.c:812:9: note: place parentheses around the assignment to silence this warning
#
if( pp = ports[pi] ){
#
^
#
( )
#
thruwayd._.c:812:9: note: use '==' to turn this assignment into an equality comparison
#
if( pp = ports[pi] ){
#
^
#
==
#
thruwayd._.c:873:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( pp = ports[sock] )
#
~~~^~~~~~~~~~~~~
#
thruwayd._.c:873:9: note: place parentheses around the assignment to silence this warning
#
if( pp = ports[sock] )
#
^
#
( )
#
thruwayd._.c:873:9: note: use '==' to turn this assignment into an equality comparison
#
if( pp = ports[sock] )
#
^
#
==
#
thruwayd._.c:940:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( elp = strchr(P_BUFF,'\n') ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~
#
thruwayd._.c:940:11: note: place parentheses around the assignment to silence this warning
#
if( elp = strchr(P_BUFF,'\n') ){
#
^
#
( )
#
thruwayd._.c:940:11: note: use '==' to turn this assignment into an equality comparison
#
if( elp = strchr(P_BUFF,'\n') ){
#
^
#
==
#
thruwayd._.c:973:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( elp = strchr(P_BUFF,'\n') ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~
#
thruwayd._.c:973:11: note: place parentheses around the assignment to silence this warning
#
if( elp = strchr(P_BUFF,'\n') ){
#
^
#
( )
#
thruwayd._.c:973:11: note: use '==' to turn this assignment into an equality comparison
#
if( elp = strchr(P_BUFF,'\n') ){
#
^
#
==
#
thruwayd._.c:1016:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( elp = strchr(P_BUFF,'\n') ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~
#
thruwayd._.c:1016:11: note: place parentheses around the assignment to silence this warning
#
if( elp = strchr(P_BUFF,'\n') ){
#
^
#
( )
#
thruwayd._.c:1016:11: note: use '==' to turn this assignment into an equality comparison
#
if( elp = strchr(P_BUFF,'\n') ){
#
^
#
==
#
thruwayd._.c:1078:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( vp = strpbrk(up," \t\r\n") )
#
~~~^~~~~~~~~~~~~~~~~~~~~~~
#
thruwayd._.c:1078:9: note: place parentheses around the assignment to silence this warning
#
if( vp = strpbrk(up," \t\r\n") )
#
^
#
( )
#
thruwayd._.c:1078:9: note: use '==' to turn this assignment into an equality comparison
#
if( vp = strpbrk(up," \t\r\n") )
#
^
#
==
#
thruwayd._.c:1101:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( sp = up; sc = *sp++; ){
#
~~~^~~~~~~
#
thruwayd._.c:1101:19: note: place parentheses around the assignment to silence this warning
#
for( sp = up; sc = *sp++; ){
#
^
#
( )
#
thruwayd._.c:1101:19: note: use '==' to turn this assignment into an equality comparison
#
for( sp = up; sc = *sp++; ){
#
^
#
==
#
thruwayd._.c:1353:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( pp = ports[sockx] ){
#
~~~^~~~~~~~~~~~~~
#
thruwayd._.c:1353:11: note: place parentheses around the assignment to silence this warning
#
if( pp = ports[sockx] ){
#
^
#
( )
#
thruwayd._.c:1353:11: note: use '==' to turn this assignment into an equality comparison
#
if( pp = ports[sockx] ){
#
^
#
==
#
thruwayd._.c:1363:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( pp = ports[sockx] ){
#
~~~^~~~~~~~~~~~~~
#
thruwayd._.c:1363:11: note: place parentheses around the assignment to silence this warning
#
if( pp = ports[sockx] ){
#
^
#
( )
#
thruwayd._.c:1363:11: note: use '==' to turn this assignment into an equality comparison
#
if( pp = ports[sockx] ){
#
^
#
==
#
thruwayd._.c:1373:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( pp = ports[sockx] ){
#
~~~^~~~~~~~~~~~~~
#
thruwayd._.c:1373:11: note: place parentheses around the assignment to silence this warning
#
if( pp = ports[sockx] ){
#
^
#
( )
#
thruwayd._.c:1373:11: note: use '==' to turn this assignment into an equality comparison
#
if( pp = ports[sockx] ){
#
^
#
==
#
thruwayd._.c:1392:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( pp = ports[sockx] ){
#
~~~^~~~~~~~~~~~~~
#
thruwayd._.c:1392:11: note: place parentheses around the assignment to silence this warning
#
if( pp = ports[sockx] ){
#
^
#
( )
#
thruwayd._.c:1392:11: note: use '==' to turn this assignment into an equality comparison
#
if( pp = ports[sockx] ){
#
^
#
==
#
thruwayd._.c:1411:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( pp = ports[sockx] )
#
~~~^~~~~~~~~~~~~~
#
thruwayd._.c:1411:11: note: place parentheses around the assignment to silence this warning
#
if( pp = ports[sockx] )
#
^
#
( )
#
thruwayd._.c:1411:11: note: use '==' to turn this assignment into an equality comparison
#
if( pp = ports[sockx] )
#
^
#
==
#
thruwayd._.c:1416:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( pp = ports[sockx] )
#
~~~^~~~~~~~~~~~~~
#
thruwayd._.c:1416:11: note: place parentheses around the assignment to silence this warning
#
if( pp = ports[sockx] )
#
^
#
( )
#
thruwayd._.c:1416:11: note: use '==' to turn this assignment into an equality comparison
#
if( pp = ports[sockx] )
#
^
#
==
#
thruwayd._.c:1428:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( pp = ports[sockx] )
#
~~~^~~~~~~~~~~~~~
#
thruwayd._.c:1428:11: note: place parentheses around the assignment to silence this warning
#
if( pp = ports[sockx] )
#
^
#
( )
#
thruwayd._.c:1428:11: note: use '==' to turn this assignment into an equality comparison
#
if( pp = ports[sockx] )
#
^
#
==
#
thruwayd._.c:1436:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( pp = ports[sockx] )
#
~~~^~~~~~~~~~~~~~
#
thruwayd._.c:1436:11: note: place parentheses around the assignment to silence this warning
#
if( pp = ports[sockx] )
#
^
#
( )
#
thruwayd._.c:1436:11: note: use '==' to turn this assignment into an equality comparison
#
if( pp = ports[sockx] )
#
^
#
==
#
thruwayd._.c:1441:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( pp = ports[sockx] )
#
~~~^~~~~~~~~~~~~~
#
thruwayd._.c:1441:11: note: place parentheses around the assignment to silence this warning
#
if( pp = ports[sockx] )
#
^
#
( )
#
thruwayd._.c:1441:11: note: use '==' to turn this assignment into an equality comparison
#
if( pp = ports[sockx] )
#
^
#
==
#
thruwayd._.c:1449:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( pp = ports[sockx] )
#
~~~^~~~~~~~~~~~~~
#
thruwayd._.c:1449:11: note: place parentheses around the assignment to silence this warning
#
if( pp = ports[sockx] )
#
^
#
( )
#
thruwayd._.c:1449:11: note: use '==' to turn this assignment into an equality comparison
#
if( pp = ports[sockx] )
#
^
#
==
#
thruwayd._.c:1545:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( flagment = sp->io[W_IN].p_flagment )
#
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
#
thruwayd._.c:1545:16: note: place parentheses around the assignment to silence this warning
#
if( flagment = sp->io[W_IN].p_flagment )
#
^
#
( )
#
thruwayd._.c:1545:16: note: use '==' to turn this assignment into an equality comparison
#
if( flagment = sp->io[W_IN].p_flagment )
#
^
#
==
#
thruwayd._.c:1722:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = ports[dsock] )
#
~~~^~~~~~~~~~~~~~
#
thruwayd._.c:1722:10: note: place parentheses around the assignment to silence this warning
#
if( dp = ports[dsock] )
#
^
#
( )
#
thruwayd._.c:1722:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = ports[dsock] )
#
^
#
==
#
thruwayd._.c:2208:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( ssock = ports[sockx]->p_accsock ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
#
thruwayd._.c:2208:13: note: place parentheses around the assignment to silence this warning
#
if( ssock = ports[sockx]->p_accsock ){
#
^
#
( )
#
thruwayd._.c:2208:13: note: use '==' to turn this assignment into an equality comparison
#
if( ssock = ports[sockx]->p_accsock ){
#
^
#
==
#
thruwayd._.c:2263:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( ssock = ports[sockx]->p_accsock ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
#
thruwayd._.c:2263:13: note: place parentheses around the assignment to silence this warning
#
if( ssock = ports[sockx]->p_accsock ){
#
^
#
( )
#
thruwayd._.c:2263:13: note: use '==' to turn this assignment into an equality comparison
#
if( ssock = ports[sockx]->p_accsock ){
#
^
#
==
#
thruwayd._.c:2478:30: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| PP->p_EOF && P_RWCC==0 && PP->io[W_OUT].p_bleng==0 ){
#
~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
#
thruwayd._.c:2478:30: note: place parentheses around the '&&' expression to silence this warning
#
|| PP->p_EOF && P_RWCC==0 && PP->io[W_OUT].p_bleng==0 ){
#
^
#
( )
#
29 warnings generated.
#
../mkcpp dget.c dget._.c
#
-- mkcpp set time: 1492117332 -> 1408447536 dget._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c dget._.c -o dget.o
#
dget._.c:195:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( nrec = 0; rc1 = freadTIMEOUT(AVStr(buf),1,sizeof(buf),fp); nrec++ ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
dget._.c:195:21: note: place parentheses around the assignment to silence this warning
#
for( nrec = 0; rc1 = freadTIMEOUT(AVStr(buf),1,sizeof(buf),fp); nrec++ ){
#
^
#
( )
#
dget._.c:195:21: note: use '==' to turn this assignment into an equality comparison
#
for( nrec = 0; rc1 = freadTIMEOUT(AVStr(buf),1,sizeof(buf),fp); nrec++ ){
#
^
#
==
#
dget._.c:756:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strpbrk(url,"\r\n") )
#
~~~^~~~~~~~~~~~~~~~~~~~~
#
dget._.c:756:11: note: place parentheses around the assignment to silence this warning
#
if( dp = strpbrk(url,"\r\n") )
#
^
#
( )
#
dget._.c:756:11: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strpbrk(url,"\r\n") )
#
^
#
==
#
dget._.c:809:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(env,':') )
#
~~~^~~~~~~~~~~~~~~~~
#
dget._.c:809:11: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(env,':') )
#
^
#
( )
#
dget._.c:809:11: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(env,':') )
#
^
#
==
#
dget._.c:935:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( pass = strchr(auth,':') ){
#
~~~~~^~~~~~~~~~~~~~~~~~
#
dget._.c:935:12: note: place parentheses around the assignment to silence this warning
#
if( pass = strchr(auth,':') ){
#
^
#
( )
#
dget._.c:935:12: note: use '==' to turn this assignment into an equality comparison
#
if( pass = strchr(auth,':') ){
#
^
#
==
#
dget._.c:1013:34: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( !KeepAlive || oKeepAlive && feof(fs) ){
#
~~ ~~~~~~~~~~~^~~~~~~~~~~
#
dget._.c:1013:34: note: place parentheses around the '&&' expression to silence this warning
#
if( !KeepAlive || oKeepAlive && feof(fs) ){
#
^
#
( )
#
dget._.c:1114:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strstr(url,"..") )
#
~~~^~~~~~~~~~~~~~~~~~
#
dget._.c:1114:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strstr(url,"..") )
#
^
#
( )
#
dget._.c:1114:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strstr(url,"..") )
#
^
#
==
#
dget._.c:1122:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( bp = strrchr(xurl,'/') )
#
~~~^~~~~~~~~~~~~~~~~~~
#
dget._.c:1122:10: note: place parentheses around the assignment to silence this warning
#
if( bp = strrchr(xurl,'/') )
#
^
#
( )
#
dget._.c:1122:10: note: use '==' to turn this assignment into an equality comparison
#
if( bp = strrchr(xurl,'/') )
#
^
#
==
#
dget._.c:1127:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(xurl,'#') )
#
~~~^~~~~~~~~~~~~~~~~~
#
dget._.c:1127:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(xurl,'#') )
#
^
#
( )
#
dget._.c:1127:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(xurl,'#') )
#
^
#
==
#
dget._.c:1201:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strpbrk(authB64,"\r\n") ) truncVStr(dp);
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~
#
dget._.c:1201:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strpbrk(authB64,"\r\n") ) truncVStr(dp);
#
^
#
( )
#
dget._.c:1201:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strpbrk(authB64,"\r\n") ) truncVStr(dp);
#
^
#
==
#
dget._.c:1210:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strpbrk(authB64,"\r\n") ) truncVStr(dp);
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~
#
dget._.c:1210:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strpbrk(authB64,"\r\n") ) truncVStr(dp);
#
^
#
( )
#
dget._.c:1210:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strpbrk(authB64,"\r\n") ) truncVStr(dp);
#
^
#
==
#
dget._.c:1339:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strpbrk(resp,"\r\n") )
#
~~~^~~~~~~~~~~~~~~~~~~~~~
#
dget._.c:1339:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strpbrk(resp,"\r\n") )
#
^
#
( )
#
dget._.c:1339:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strpbrk(resp,"\r\n") )
#
^
#
==
#
11 warnings generated.
#
../mkcpp urlfind.c urlfind._.c
#
-- mkcpp set time: 1492117332 -> 1250403944 urlfind._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c urlfind._.c -o urlfind.o
#
urlfind._.c:109:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strstr(url,"..") )
#
~~~^~~~~~~~~~~~~~~~~~
#
urlfind._.c:109:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strstr(url,"..") )
#
^
#
( )
#
urlfind._.c:109:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strstr(url,"..") )
#
^
#
==
#
urlfind._.c:117:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( bp = strrchr(xurl,'/') )
#
~~~^~~~~~~~~~~~~~~~~~~
#
urlfind._.c:117:10: note: place parentheses around the assignment to silence this warning
#
if( bp = strrchr(xurl,'/') )
#
^
#
( )
#
urlfind._.c:117:10: note: use '==' to turn this assignment into an equality comparison
#
if( bp = strrchr(xurl,'/') )
#
^
#
==
#
urlfind._.c:162:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strpbrk(resp,"\r\n") )
#
~~~^~~~~~~~~~~~~~~~~~~~~~
#
urlfind._.c:162:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strpbrk(resp,"\r\n") )
#
^
#
( )
#
urlfind._.c:162:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strpbrk(resp,"\r\n") )
#
^
#
==
#
urlfind._.c:191:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( np = strpbrk(url,"\r\n") )
#
~~~^~~~~~~~~~~~~~~~~~~~~
#
urlfind._.c:191:11: note: place parentheses around the assignment to silence this warning
#
if( np = strpbrk(url,"\r\n") )
#
^
#
( )
#
urlfind._.c:191:11: note: use '==' to turn this assignment into an equality comparison
#
if( np = strpbrk(url,"\r\n") )
#
^
#
==
#
4 warnings generated.
#
../mkcpp mount.c mount._.c
#
-- mkcpp set time: 1492117332 -> 1293387510 mount._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c mount._.c -o mount.o
#
mount._.c:22:9: warning: '/*' within block comment [-Wcomment]
#
=://=:=/* ... ///*
#
^
#
mount._.c:22:18: warning: '/*' within block comment [-Wcomment]
#
=://=:=/* ... ///*
#
^
#
mount._.c:23:7: warning: '/*' within block comment [-Wcomment]
#
=://=/* ... //=:0/*
#
^
#
mount._.c:23:20: warning: '/*' within block comment [-Wcomment]
#
=://=/* ... //=:0/*
#
^
#
mount._.c:24:11: warning: '/*' within block comment [-Wcomment]
#
=://hostX/* ... //hostX:0/*
#
^
#
mount._.c:24:27: warning: '/*' within block comment [-Wcomment]
#
=://hostX/* ... //hostX:0/*
#
^
#
mount._.c:25:13: warning: '/*' within block comment [-Wcomment]
#
=://hostX:=/* ... //hostX:=/*
#
^
#
mount._.c:25:31: warning: '/*' within block comment [-Wcomment]
#
=://hostX:=/* ... //hostX:=/*
#
^
#
mount._.c:26:13: warning: '/*' within block comment [-Wcomment]
#
=://=:portX/* ... //=:portX/*
#
^
#
mount._.c:26:31: warning: '/*' within block comment [-Wcomment]
#
=://=:portX/* ... //=:portX/*
#
^
#
mount._.c:33:15: warning: '/*' within block comment [-Wcomment]
#
MOUNT="/path/* http://* dst={siteList}"
#
^
#
mount._.c:33:24: warning: '/*' within block comment [-Wcomment]
#
MOUNT="/path/* http://* dst={siteList}"
#
^
#
mount._.c:184:29: warning: '/*' within block comment [-Wcomment]
#
int u_path2site; /* "/path/* scheme://*" */
#
^
#
mount._.c:184:40: warning: '/*' within block comment [-Wcomment]
#
int u_path2site; /* "/path/* scheme://*" */
#
^
#
mount._.c:185:24: warning: '/*' within block comment [-Wcomment]
#
int u_any; /* "/path/* *" */
#
^
#
mount._.c:255:49: warning: '/*' within block comment [-Wcomment]
#
#define DIRMATCH 2 /* redirect "/p" by MOUNT="/p/* http://s/q/*" */
#
^
#
mount._.c:255:62: warning: '/*' within block comment [-Wcomment]
#
#define DIRMATCH 2 /* redirect "/p" by MOUNT="/p/* http://s/q/*" */
#
^
#
mount._.c:552:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( found = getOpt1(opts,"genvhost",BVStr(vserv)) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
mount._.c:552:12: note: place parentheses around the assignment to silence this warning
#
if( found = getOpt1(opts,"genvhost",BVStr(vserv)) ){
#
^
#
( )
#
mount._.c:552:12: note: use '==' to turn this assignment into an equality comparison
#
if( found = getOpt1(opts,"genvhost",BVStr(vserv)) ){
#
^
#
==
#
mount._.c:554:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( found = getOpt1(opts,OPT_AVSERV,BVStr(vserv)) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
mount._.c:554:12: note: place parentheses around the assignment to silence this warning
#
if( found = getOpt1(opts,OPT_AVSERV,BVStr(vserv)) ){
#
^
#
( )
#
mount._.c:554:12: note: use '==' to turn this assignment into an equality comparison
#
if( found = getOpt1(opts,OPT_AVSERV,BVStr(vserv)) ){
#
^
#
==
#
mount._.c:556:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( found = getOpt1(opts,OPT_NVSERV,BVStr(vserv)) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
mount._.c:556:12: note: place parentheses around the assignment to silence this warning
#
if( found = getOpt1(opts,OPT_NVSERV,BVStr(vserv)) ){
#
^
#
( )
#
mount._.c:556:12: note: use '==' to turn this assignment into an equality comparison
#
if( found = getOpt1(opts,OPT_NVSERV,BVStr(vserv)) ){
#
^
#
==
#
mount._.c:574:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( found = getOpt1(opts,OPT_RSERV,BVStr(rserv)) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
mount._.c:574:12: note: place parentheses around the assignment to silence this warning
#
if( found = getOpt1(opts,OPT_RSERV,BVStr(rserv)) ){
#
^
#
( )
#
mount._.c:574:12: note: use '==' to turn this assignment into an equality comparison
#
if( found = getOpt1(opts,OPT_RSERV,BVStr(rserv)) ){
#
^
#
==
#
mount._.c:576:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( pp = strheadstrX(rserv,ORIGDST_HOST,1) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
mount._.c:576:10: note: place parentheses around the assignment to silence this warning
#
if( pp = strheadstrX(rserv,ORIGDST_HOST,1) ){
#
^
#
( )
#
mount._.c:576:10: note: use '==' to turn this assignment into an equality comparison
#
if( pp = strheadstrX(rserv,ORIGDST_HOST,1) ){
#
^
#
==
#
mount._.c:647:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( op = strchr(opt,'.') ){
#
~~~^~~~~~~~~~~~~~~~~
#
mount._.c:647:10: note: place parentheses around the assignment to silence this warning
#
if( op = strchr(opt,'.') ){
#
^
#
( )
#
mount._.c:647:10: note: use '==' to turn this assignment into an equality comparison
#
if( op = strchr(opt,'.') ){
#
^
#
==
#
mount._.c:656:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( neg = *opt == '!' ){
#
~~~~^~~~~~~~~~~~~
#
mount._.c:656:10: note: place parentheses around the assignment to silence this warning
#
if( neg = *opt == '!' ){
#
^
#
( )
#
mount._.c:656:10: note: use '==' to turn this assignment into an equality comparison
#
if( neg = *opt == '!' ){
#
^
#
==
#
mount._.c:661:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( val = strchr(buf,'=') ){
#
~~~~^~~~~~~~~~~~~~~~~
#
mount._.c:661:10: note: place parentheses around the assignment to silence this warning
#
if( val = strchr(buf,'=') ){
#
^
#
( )
#
mount._.c:661:10: note: use '==' to turn this assignment into an equality comparison
#
if( val = strchr(buf,'=') ){
#
^
#
==
#
mount._.c:665:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( oi = 0; nam1 = mount_opts[oi].o_name; oi++ ){
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~~
#
mount._.c:665:20: note: place parentheses around the assignment to silence this warning
#
for( oi = 0; nam1 = mount_opts[oi].o_name; oi++ ){
#
^
#
( )
#
mount._.c:665:20: note: use '==' to turn this assignment into an equality comparison
#
for( oi = 0; nam1 = mount_opts[oi].o_name; oi++ ){
#
^
#
==
#
mount._.c:670:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( d2 = mount_opts[oi].o_direction )
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
mount._.c:670:10: note: place parentheses around the assignment to silence this warning
#
if( d2 = mount_opts[oi].o_direction )
#
^
#
( )
#
mount._.c:670:10: note: use '==' to turn this assignment into an equality comparison
#
if( d2 = mount_opts[oi].o_direction )
#
^
#
==
#
mount._.c:673:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( flag1 = (mount_opts[oi].o_flags & U_ALL) )
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
mount._.c:673:13: note: place parentheses around the assignment to silence this warning
#
if( flag1 = (mount_opts[oi].o_flags & U_ALL) )
#
^
#
( )
#
mount._.c:673:13: note: use '==' to turn this assignment into an equality comparison
#
if( flag1 = (mount_opts[oi].o_flags & U_ALL) )
#
^
#
==
#
mount._.c:675:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( flag1 = (mount_opts[oi].o_flags & C_ALL) )
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
mount._.c:675:13: note: place parentheses around the assignment to silence this warning
#
if( flag1 = (mount_opts[oi].o_flags & C_ALL) )
#
^
#
( )
#
mount._.c:675:13: note: use '==' to turn this assignment into an equality comparison
#
if( flag1 = (mount_opts[oi].o_flags & C_ALL) )
#
^
#
==
#
mount._.c:685:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( val1 = mount_opts[oi].o_value ){
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
#
mount._.c:685:12: note: place parentheses around the assignment to silence this warning
#
if( val1 = mount_opts[oi].o_value ){
#
^
#
( )
#
mount._.c:685:12: note: use '==' to turn this assignment into an equality comparison
#
if( val1 = mount_opts[oi].o_value ){
#
^
#
==
#
mount._.c:689:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( list1 = mount_opts[oi].o_listx ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
#
mount._.c:689:13: note: place parentheses around the assignment to silence this warning
#
if( list1 = mount_opts[oi].o_listx ){
#
^
#
( )
#
mount._.c:689:13: note: use '==' to turn this assignment into an equality comparison
#
if( list1 = mount_opts[oi].o_listx ){
#
^
#
==
#
mount._.c:713:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( val1 = mount_opts[oi].o_enum ){
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~~
#
mount._.c:713:12: note: place parentheses around the assignment to silence this warning
#
if( val1 = mount_opts[oi].o_enum ){
#
^
#
( )
#
mount._.c:713:12: note: use '==' to turn this assignment into an equality comparison
#
if( val1 = mount_opts[oi].o_enum ){
#
^
#
==
#
mount._.c:717:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( val1 = mount_opts[oi].o_rex ){
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~
#
mount._.c:717:12: note: place parentheses around the assignment to silence this warning
#
if( val1 = mount_opts[oi].o_rex ){
#
^
#
( )
#
mount._.c:717:12: note: use '==' to turn this assignment into an equality comparison
#
if( val1 = mount_opts[oi].o_rex ){
#
^
#
==
#
mount._.c:763:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( mt = opts2mt(opts) )
#
~~~^~~~~~~~~~~~~~~
#
mount._.c:763:9: note: place parentheses around the assignment to silence this warning
#
if( mt = opts2mt(opts) )
#
^
#
( )
#
mount._.c:763:9: note: use '==' to turn this assignment into an equality comparison
#
if( mt = opts2mt(opts) )
#
^
#
==
#
mount._.c:770:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( mt = opts2mt(opts) )
#
~~~^~~~~~~~~~~~~~~
#
mount._.c:770:9: note: place parentheses around the assignment to silence this warning
#
if( mt = opts2mt(opts) )
#
^
#
( )
#
mount._.c:770:9: note: use '==' to turn this assignment into an equality comparison
#
if( mt = opts2mt(opts) )
#
^
#
==
#
mount._.c:776:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( mt = opts2mt(opts) )
#
~~~^~~~~~~~~~~~~~~
#
mount._.c:776:9: note: place parentheses around the assignment to silence this warning
#
if( mt = opts2mt(opts) )
#
^
#
( )
#
mount._.c:776:9: note: use '==' to turn this assignment into an equality comparison
#
if( mt = opts2mt(opts) )
#
^
#
==
#
mount._.c:944:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strstr(mt->Src.u_src,"*%") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
mount._.c:944:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strstr(mt->Src.u_src,"*%") ){
#
^
#
( )
#
mount._.c:944:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strstr(mt->Src.u_src,"*%") ){
#
^
#
==
#
mount._.c:958:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strrchr(mt->Src.u_src,'[') ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
mount._.c:958:11: note: place parentheses around the assignment to silence this warning
#
if( dp = strrchr(mt->Src.u_src,'[') ){
#
^
#
( )
#
mount._.c:958:11: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strrchr(mt->Src.u_src,'[') ){
#
^
#
==
#
mount._.c:978:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strstr(mt->Dst.u_src,"#{") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
mount._.c:978:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strstr(mt->Dst.u_src,"#{") ){
#
^
#
( )
#
mount._.c:978:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strstr(mt->Dst.u_src,"#{") ){
#
^
#
==
#
mount._.c:983:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strstr(mt->Dst.u_src,"*%") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
mount._.c:983:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strstr(mt->Dst.u_src,"*%") ){
#
^
#
( )
#
mount._.c:983:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strstr(mt->Dst.u_src,"*%") ){
#
^
#
==
#
mount._.c:1003:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strrchr(mt->Dst.u_src,'[') )
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
mount._.c:1003:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strrchr(mt->Dst.u_src,'[') )
#
^
#
( )
#
mount._.c:1003:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strrchr(mt->Dst.u_src,'[') )
#
^
#
==
#
mount._.c:1206:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( n1 = m1->Dst.u_hostn ){
#
~~~^~~~~~~~~~~~~~~~~
#
mount._.c:1206:9: note: place parentheses around the assignment to silence this warning
#
if( n1 = m1->Dst.u_hostn ){
#
^
#
( )
#
mount._.c:1206:9: note: use '==' to turn this assignment into an equality comparison
#
if( n1 = m1->Dst.u_hostn ){
#
^
#
==
#
mount._.c:1207:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( n2 = m2->Dst.u_hostn ) if( strcaseeq(n1,n2) ) return 1;
#
~~~^~~~~~~~~~~~~~~~~
#
mount._.c:1207:10: note: place parentheses around the assignment to silence this warning
#
if( n2 = m2->Dst.u_hostn ) if( strcaseeq(n1,n2) ) return 1;
#
^
#
( )
#
mount._.c:1207:10: note: use '==' to turn this assignment into an equality comparison
#
if( n2 = m2->Dst.u_hostn ) if( strcaseeq(n1,n2) ) return 1;
#
^
#
==
#
mount._.c:1208:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( n2 = m2->Dst.u_genvhost ) if( strcaseeq(n1,n2) ) return 2;
#
~~~^~~~~~~~~~~~~~~~~~~~
#
mount._.c:1208:10: note: place parentheses around the assignment to silence this warning
#
if( n2 = m2->Dst.u_genvhost ) if( strcaseeq(n1,n2) ) return 2;
#
^
#
( )
#
mount._.c:1208:10: note: use '==' to turn this assignment into an equality comparison
#
if( n2 = m2->Dst.u_genvhost ) if( strcaseeq(n1,n2) ) return 2;
#
^
#
==
#
mount._.c:1210:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( n1 = m1->Dst.u_genvhost ){
#
~~~^~~~~~~~~~~~~~~~~~~~
#
mount._.c:1210:9: note: place parentheses around the assignment to silence this warning
#
if( n1 = m1->Dst.u_genvhost ){
#
^
#
( )
#
mount._.c:1210:9: note: use '==' to turn this assignment into an equality comparison
#
if( n1 = m1->Dst.u_genvhost ){
#
^
#
==
#
mount._.c:1211:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( n2 = m2->Dst.u_hostn ) if( strcaseeq(n1,n2) ) return 3;
#
~~~^~~~~~~~~~~~~~~~~
#
mount._.c:1211:10: note: place parentheses around the assignment to silence this warning
#
if( n2 = m2->Dst.u_hostn ) if( strcaseeq(n1,n2) ) return 3;
#
^
#
( )
#
mount._.c:1211:10: note: use '==' to turn this assignment into an equality comparison
#
if( n2 = m2->Dst.u_hostn ) if( strcaseeq(n1,n2) ) return 3;
#
^
#
==
#
mount._.c:1212:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( n2 = m2->Dst.u_genvhost ) if( strcaseeq(n1,n2) ) return 4;
#
~~~^~~~~~~~~~~~~~~~~~~~
#
mount._.c:1212:10: note: place parentheses around the assignment to silence this warning
#
if( n2 = m2->Dst.u_genvhost ) if( strcaseeq(n1,n2) ) return 4;
#
^
#
( )
#
mount._.c:1212:10: note: use '==' to turn this assignment into an equality comparison
#
if( n2 = m2->Dst.u_genvhost ) if( strcaseeq(n1,n2) ) return 4;
#
^
#
==
#
mount._.c:1281:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( eqs = eqservname(mti,mtj) ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~
#
mount._.c:1281:13: note: place parentheses around the assignment to silence this warning
#
if( eqs = eqservname(mti,mtj) ){
#
^
#
( )
#
mount._.c:1281:13: note: use '==' to turn this assignment into an equality comparison
#
if( eqs = eqservname(mti,mtj) ){
#
^
#
==
#
mount._.c:1316:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( mt = opts2mt(opts) ){
#
~~~^~~~~~~~~~~~~~~
#
mount._.c:1316:9: note: place parentheses around the assignment to silence this warning
#
if( mt = opts2mt(opts) ){
#
^
#
( )
#
mount._.c:1316:9: note: use '==' to turn this assignment into an equality comparison
#
if( mt = opts2mt(opts) ){
#
^
#
==
#
mount._.c:1439:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( plen = isURN(dsrc) ){
#
~~~~~^~~~~~~~~~~~~
#
mount._.c:1439:12: note: place parentheses around the assignment to silence this warning
#
if( plen = isURN(dsrc) ){
#
^
#
( )
#
mount._.c:1439:12: note: use '==' to turn this assignment into an equality comparison
#
if( plen = isURN(dsrc) ){
#
^
#
==
#
mount._.c:1452:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( upath = file_hostpath(dsrc,AVStr(proto),AVStr(login)) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
mount._.c:1452:14: note: place parentheses around the assignment to silence this warning
#
if( upath = file_hostpath(dsrc,AVStr(proto),AVStr(login)) ){
#
^
#
( )
#
mount._.c:1452:14: note: use '==' to turn this assignment into an equality comparison
#
if( upath = file_hostpath(dsrc,AVStr(proto),AVStr(login)) ){
#
^
#
==
#
mount._.c:1461:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( query = strchr(upath,'?') )
#
~~~~~~^~~~~~~~~~~~~~~~~~~
#
mount._.c:1461:16: note: place parentheses around the assignment to silence this warning
#
if( query = strchr(upath,'?') )
#
^
#
( )
#
mount._.c:1461:16: note: use '==' to turn this assignment into an equality comparison
#
if( query = strchr(upath,'?') )
#
^
#
==
#
mount._.c:1591:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( addr = gethostaddr(host) )
#
~~~~~^~~~~~~~~~~~~~~~~~~
#
mount._.c:1591:13: note: place parentheses around the assignment to silence this warning
#
if( addr = gethostaddr(host) )
#
^
#
( )
#
mount._.c:1591:13: note: use '==' to turn this assignment into an equality comparison
#
if( addr = gethostaddr(host) )
#
^
#
==
#
mount._.c:1621:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(hostport,':') ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~
#
mount._.c:1621:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(hostport,':') ){
#
^
#
( )
#
mount._.c:1621:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(hostport,':') ){
#
^
#
==
#
mount._.c:1629:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( query = strchr(dpath,'?') ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~
#
mount._.c:1629:13: note: place parentheses around the assignment to silence this warning
#
if( query = strchr(dpath,'?') ){
#
^
#
( )
#
mount._.c:1629:13: note: use '==' to turn this assignment into an equality comparison
#
if( query = strchr(dpath,'?') ){
#
^
#
==
#
mount._.c:1638:43: warning: '/*' within block comment [-Wcomment]
#
* restrict DIRMATCH only to MOUNT="Rurl/* Lurl/*" pattern
#
^
#
mount._.c:1638:50: warning: '/*' within block comment [-Wcomment]
#
* restrict DIRMATCH only to MOUNT="Rurl/* Lurl/*" pattern
#
^
#
mount._.c:1644:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
}else
#
^
#
mount._.c:1661:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
}else
#
^
#
mount._.c:1688:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( fp = fmt; fc = *fp; fp++ ){
#
~~~^~~~~
#
mount._.c:1688:20: note: place parentheses around the assignment to silence this warning
#
for( fp = fmt; fc = *fp; fp++ ){
#
^
#
( )
#
mount._.c:1688:20: note: use '==' to turn this assignment into an equality comparison
#
for( fp = fmt; fc = *fp; fp++ ){
#
^
#
==
#
mount._.c:1841:22: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse]
#
const char *tlssni();
#
^~
#
mount._.c:1841:22: note: replace parentheses with an initializer to declare a variable
#
const char *tlssni();
#
^~
#
= NULL
#
mount._.c:1982:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( req = CTX_reqstr(ctx) ){
#
~~~~^~~~~~~~~~~~~~~~~
#
mount._.c:1982:11: note: place parentheses around the assignment to silence this warning
#
if( req = CTX_reqstr(ctx) ){
#
^
#
( )
#
mount._.c:1982:11: note: use '==' to turn this assignment into an equality comparison
#
if( req = CTX_reqstr(ctx) ){
#
^
#
==
#
mount._.c:1990:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( value = mt->u_conds_value )
#
~~~~~~^~~~~~~~~~~~~~~~~~~
#
mount._.c:1990:16: note: place parentheses around the assignment to silence this warning
#
if( value = mt->u_conds_value )
#
^
#
( )
#
mount._.c:1990:16: note: use '==' to turn this assignment into an equality comparison
#
if( value = mt->u_conds_value )
#
^
#
==
#
mount._.c:2032:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( mport = dst->u_iport_mapped )
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~
#
mount._.c:2032:12: note: place parentheses around the assignment to silence this warning
#
if( mport = dst->u_iport_mapped )
#
^
#
( )
#
mount._.c:2032:12: note: use '==' to turn this assignment into an equality comparison
#
if( mport = dst->u_iport_mapped )
#
^
#
==
#
mount._.c:2079:39: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( strcaseeq(host,ahostn) || ahosta && streq(host,ahosta) )
#
~~ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~
#
mount._.c:2079:39: note: place parentheses around the '&&' expression to silence this warning
#
if( strcaseeq(host,ahostn) || ahosta && streq(host,ahosta) )
#
^
#
( )
#
mount._.c:2083:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( hosta = gethostaddr_fromcache(host) )
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
mount._.c:2083:12: note: place parentheses around the assignment to silence this warning
#
if( hosta = gethostaddr_fromcache(host) )
#
^
#
( )
#
mount._.c:2083:12: note: use '==' to turn this assignment into an equality comparison
#
if( hosta = gethostaddr_fromcache(host) )
#
^
#
==
#
mount._.c:2128:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dlen = url_strstr(patn,url) )
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~
#
mount._.c:2128:11: note: place parentheses around the assignment to silence this warning
#
if( dlen = url_strstr(patn,url) )
#
^
#
( )
#
mount._.c:2128:11: note: use '==' to turn this assignment into an equality comparison
#
if( dlen = url_strstr(patn,url) )
#
^
#
==
#
mount._.c:2143:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( *lenp = dirmatch(mt,patn,url) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
#
mount._.c:2143:12: note: place parentheses around the assignment to silence this warning
#
if( *lenp = dirmatch(mt,patn,url) ){
#
^
#
( )
#
mount._.c:2143:12: note: use '==' to turn this assignment into an equality comparison
#
if( *lenp = dirmatch(mt,patn,url) ){
#
^
#
==
#
mount._.c:2257:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( hlen = matchURL(&mt->Src,iurl) )
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
#
mount._.c:2257:13: note: place parentheses around the assignment to silence this warning
#
if( hlen = matchURL(&mt->Src,iurl) )
#
^
#
( )
#
mount._.c:2257:13: note: use '==' to turn this assignment into an equality comparison
#
if( hlen = matchURL(&mt->Src,iurl) )
#
^
#
==
#
mount._.c:2258:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( match = xmatch(mt,mt->Src.u_path,iurl+hlen,&len) )
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
mount._.c:2258:14: note: place parentheses around the assignment to silence this warning
#
if( match = xmatch(mt,mt->Src.u_path,iurl+hlen,&len) )
#
^
#
( )
#
mount._.c:2258:14: note: use '==' to turn this assignment into an equality comparison
#
if( match = xmatch(mt,mt->Src.u_path,iurl+hlen,&len) )
#
^
#
==
#
mount._.c:2367:28: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| mt->Dst.u_path2site && strchr(iurl+len,'/')==0
#
~~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
#
mount._.c:2367:28: note: place parentheses around the '&&' expression to silence this warning
#
|| mt->Dst.u_path2site && strchr(iurl+len,'/')==0
#
^
#
( )
#
mount._.c:2396:29: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( (qtype & U_MOVED_TO ) && (mt->u_flags & U_MOVED_TO ) == 0
#
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
mount._.c:2396:29: note: place parentheses around the '&&' expression to silence this warning
#
if( (qtype & U_MOVED_TO ) && (mt->u_flags & U_MOVED_TO ) == 0
#
^
#
( )
#
mount._.c:2397:29: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| (qtype & U_USE_PROXY) && (mt->u_flags & U_USE_PROXY) == 0
#
~~ ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
mount._.c:2397:29: note: place parentheses around the '&&' expression to silence this warning
#
|| (qtype & U_USE_PROXY) && (mt->u_flags & U_USE_PROXY) == 0
#
^
#
( )
#
mount._.c:2404:34: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( (qtype & U_MOVED_TO ) == 0 && (mt->u_flags & U_MOVED_TO)
#
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
mount._.c:2404:34: note: place parentheses around the '&&' expression to silence this warning
#
if( (qtype & U_MOVED_TO ) == 0 && (mt->u_flags & U_MOVED_TO)
#
^
#
( )
#
mount._.c:2405:34: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| (qtype & U_USE_PROXY) == 0 && (mt->u_flags & U_USE_PROXY)
#
~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
mount._.c:2405:34: note: place parentheses around the '&&' expression to silence this warning
#
|| (qtype & U_USE_PROXY) == 0 && (mt->u_flags & U_USE_PROXY)
#
^
#
( )
#
mount._.c:2722:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( opt = mount_url_toX(ctx,myhostport,method,AVStr(url),U_USE_PROXY,&mt) )
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
mount._.c:2722:10: note: place parentheses around the assignment to silence this warning
#
if( opt = mount_url_toX(ctx,myhostport,method,AVStr(url),U_USE_PROXY,&mt) )
#
^
#
( )
#
mount._.c:2722:10: note: use '==' to turn this assignment into an equality comparison
#
if( opt = mount_url_toX(ctx,myhostport,method,AVStr(url),U_USE_PROXY,&mt) )
#
^
#
==
#
mount._.c:2796:21: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( *pp == 0 && iport == stdport
#
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
#
mount._.c:2796:21: note: place parentheses around the '&&' expression to silence this warning
#
if( *pp == 0 && iport == stdport
#
^
#
( )
#
mount._.c:2797:21: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| *pp == ':' && iport == atoi(pp+1)
#
~~ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
#
mount._.c:2797:21: note: place parentheses around the '&&' expression to silence this warning
#
|| *pp == ':' && iport == atoi(pp+1)
#
^
#
( )
#
mount._.c:2804:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( pp = strheadstrX(vserv,host,1) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
#
mount._.c:2804:12: note: place parentheses around the assignment to silence this warning
#
if( pp = strheadstrX(vserv,host,1) ){
#
^
#
( )
#
mount._.c:2804:12: note: use '==' to turn this assignment into an equality comparison
#
if( pp = strheadstrX(vserv,host,1) ){
#
^
#
==
#
mount._.c:2808:21: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( *pp == 0 && iport == stdport
#
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
#
mount._.c:2808:21: note: place parentheses around the '&&' expression to silence this warning
#
if( *pp == 0 && iport == stdport
#
^
#
( )
#
mount._.c:2809:21: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| *pp == ':' && iport == atoi(pp+1)
#
~~ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
#
mount._.c:2809:21: note: place parentheses around the '&&' expression to silence this warning
#
|| *pp == ':' && iport == atoi(pp+1)
#
^
#
( )
#
mount._.c:2990:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp1 = strchr(delegate,':') ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~~
#
mount._.c:2990:11: note: place parentheses around the assignment to silence this warning
#
if( dp1 = strchr(delegate,':') ){
#
^
#
( )
#
mount._.c:2990:11: note: use '==' to turn this assignment into an equality comparison
#
if( dp1 = strchr(delegate,':') ){
#
^
#
==
#
mount._.c:2995:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp2 = strchr(dp1,'/') )
#
~~~~^~~~~~~~~~~~~~~~~
#
mount._.c:2995:13: note: place parentheses around the assignment to silence this warning
#
if( dp2 = strchr(dp1,'/') )
#
^
#
( )
#
mount._.c:2995:13: note: use '==' to turn this assignment into an equality comparison
#
if( dp2 = strchr(dp1,'/') )
#
^
#
==
#
83 warnings generated.
#
../mkcpp url.c url._.c
#
-- mkcpp set time: 1492117332 -> 1408024566 url._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c url._.c -o url.o
#
url._.c:116:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( sp = site+1; ch = *sp; sp++ ){
#
~~~^~~~~
#
url._.c:116:23: note: place parentheses around the assignment to silence this warning
#
for( sp = site+1; ch = *sp; sp++ ){
#
^
#
( )
#
url._.c:116:23: note: use '==' to turn this assignment into an equality comparison
#
for( sp = site+1; ch = *sp; sp++ ){
#
^
#
==
#
url._.c:137:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( pp = path+1; ch = *pp; pp++ ){
#
~~~^~~~~
#
url._.c:137:23: note: place parentheses around the assignment to silence this warning
#
for( pp = path+1; ch = *pp; pp++ ){
#
^
#
( )
#
url._.c:137:23: note: use '==' to turn this assignment into an equality comparison
#
for( pp = path+1; ch = *pp; pp++ ){
#
^
#
==
#
url._.c:280:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( p = ref; ch = *p; p++ ){
#
~~~^~~~
#
url._.c:280:19: note: place parentheses around the assignment to silence this warning
#
for( p = ref; ch = *p; p++ ){
#
^
#
( )
#
url._.c:280:19: note: use '==' to turn this assignment into an equality comparison
#
for( p = ref; ch = *p; p++ ){
#
^
#
==
#
url._.c:284:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( up = isURLinJavaScript(p,&qch) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
#
url._.c:284:11: note: place parentheses around the assignment to silence this warning
#
if( up = isURLinJavaScript(p,&qch) ){
#
^
#
( )
#
url._.c:284:11: note: use '==' to turn this assignment into an equality comparison
#
if( up = isURLinJavaScript(p,&qch) ){
#
^
#
==
#
url._.c:279:3: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
}else
#
^
#
url._.c:303:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( up = isURLinJavaScript(str,"ech) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
url._.c:303:10: note: place parentheses around the assignment to silence this warning
#
if( up = isURLinJavaScript(str,"ech) ){
#
^
#
( )
#
url._.c:303:10: note: use '==' to turn this assignment into an equality comparison
#
if( up = isURLinJavaScript(str,"ech) ){
#
^
#
==
#
url._.c:327:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( sp = str; ch = *sp; ){
#
~~~^~~~~
#
url._.c:327:20: note: place parentheses around the assignment to silence this warning
#
for( sp = str; ch = *sp; ){
#
^
#
( )
#
url._.c:327:20: note: use '==' to turn this assignment into an equality comparison
#
for( sp = str; ch = *sp; ){
#
^
#
==
#
url._.c:329:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( up = isURLinJavaScript(sp,"ech) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
url._.c:329:11: note: place parentheses around the assignment to silence this warning
#
if( up = isURLinJavaScript(sp,"ech) ){
#
^
#
( )
#
url._.c:329:11: note: use '==' to turn this assignment into an equality comparison
#
if( up = isURLinJavaScript(sp,"ech) ){
#
^
#
==
#
url._.c:355:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( np = strpbrk(tp,"\r\n") ){
#
~~~^~~~~~~~~~~~~~~~~~~~
#
url._.c:355:10: note: place parentheses around the assignment to silence this warning
#
if( np = strpbrk(tp,"\r\n") ){
#
^
#
( )
#
url._.c:355:10: note: use '==' to turn this assignment into an equality comparison
#
if( np = strpbrk(tp,"\r\n") ){
#
^
#
==
#
url._.c:407:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dlen = strcasestrlen(sp,"xmlns") ){
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
#
url._.c:407:11: note: place parentheses around the assignment to silence this warning
#
if( dlen = strcasestrlen(sp,"xmlns") ){
#
^
#
( )
#
url._.c:407:11: note: use '==' to turn this assignment into an equality comparison
#
if( dlen = strcasestrlen(sp,"xmlns") ){
#
^
#
==
#
url._.c:428:30: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( sp = sp+dlen+alen; ch = *sp; sp++ ){
#
~~~^~~~~
#
url._.c:428:30: note: place parentheses around the assignment to silence this warning
#
for( sp = sp+dlen+alen; ch = *sp; sp++ ){
#
^
#
( )
#
url._.c:428:30: note: use '==' to turn this assignment into an equality comparison
#
for( sp = sp+dlen+alen; ch = *sp; sp++ ){
#
^
#
==
#
url._.c:520:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( ref = strcasestr(str,"Realm=<") ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
#
url._.c:520:11: note: place parentheses around the assignment to silence this warning
#
if( ref = strcasestr(str,"Realm=<") ){
#
^
#
( )
#
url._.c:520:11: note: use '==' to turn this assignment into an equality comparison
#
if( ref = strcasestr(str,"Realm=<") ){
#
^
#
==
#
url._.c:553:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( up = findURLinJavaScript(Ctx,str) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
url._.c:553:11: note: place parentheses around the assignment to silence this warning
#
if( up = findURLinJavaScript(Ctx,str) ){
#
^
#
( )
#
url._.c:553:11: note: use '==' to turn this assignment into an equality comparison
#
if( up = findURLinJavaScript(Ctx,str) ){
#
^
#
==
#
url._.c:567:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( up = findURLinCSS(Ctx,str) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~
#
url._.c:567:11: note: place parentheses around the assignment to silence this warning
#
if( up = findURLinCSS(Ctx,str) ){
#
^
#
( )
#
url._.c:567:11: note: use '==' to turn this assignment into an equality comparison
#
if( up = findURLinCSS(Ctx,str) ){
#
^
#
==
#
url._.c:590:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( hp = isXMLNS(tag,str) ){
#
~~~^~~~~~~~~~~~~~~~~~
#
url._.c:590:11: note: place parentheses around the assignment to silence this warning
#
if( hp = isXMLNS(tag,str) ){
#
^
#
( )
#
url._.c:590:11: note: use '==' to turn this assignment into an equality comparison
#
if( hp = isXMLNS(tag,str) ){
#
^
#
==
#
url._.c:595:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( sp = str; ch = *sp; sp++ ){
#
~~~^~~~~
#
url._.c:595:21: note: place parentheses around the assignment to silence this warning
#
for( sp = str; ch = *sp; sp++ ){
#
^
#
( )
#
url._.c:595:21: note: use '==' to turn this assignment into an equality comparison
#
for( sp = str; ch = *sp; sp++ ){
#
^
#
==
#
url._.c:619:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( hp = isXMLNS(tag,sp) ){
#
~~~^~~~~~~~~~~~~~~~~
#
url._.c:619:13: note: place parentheses around the assignment to silence this warning
#
if( hp = isXMLNS(tag,sp) ){
#
^
#
( )
#
url._.c:619:13: note: use '==' to turn this assignment into an equality comparison
#
if( hp = isXMLNS(tag,sp) ){
#
^
#
==
#
url._.c:690:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( ref = str; ch = *ref; ref++ ){
#
~~~^~~~~~
#
url._.c:690:23: note: place parentheses around the assignment to silence this warning
#
for( ref = str; ch = *ref; ref++ ){
#
^
#
( )
#
url._.c:690:23: note: use '==' to turn this assignment into an equality comparison
#
for( ref = str; ch = *ref; ref++ ){
#
^
#
==
#
url._.c:698:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( len = iscomtag(hp) )
#
~~~~^~~~~~~~~~~~~~
#
url._.c:698:14: note: place parentheses around the assignment to silence this warning
#
if( len = iscomtag(hp) )
#
^
#
( )
#
url._.c:698:14: note: use '==' to turn this assignment into an equality comparison
#
if( len = iscomtag(hp) )
#
^
#
==
#
url._.c:749:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( up = isURLinEmbeded(Ctx,tag,ref) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
url._.c:749:12: note: place parentheses around the assignment to silence this warning
#
if( up = isURLinEmbeded(Ctx,tag,ref) ){
#
^
#
( )
#
url._.c:749:12: note: use '==' to turn this assignment into an equality comparison
#
if( up = isURLinEmbeded(Ctx,tag,ref) ){
#
^
#
==
#
url._.c:777:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for(; ch = *ref; ref++ )
#
~~~^~~~~~
#
url._.c:777:13: note: place parentheses around the assignment to silence this warning
#
for(; ch = *ref; ref++ )
#
^
#
( )
#
url._.c:777:13: note: use '==' to turn this assignment into an equality comparison
#
for(; ch = *ref; ref++ )
#
^
#
==
#
url._.c:784:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( len = iscomtag(hp) ){
#
~~~~^~~~~~~~~~~~~~
#
url._.c:784:13: note: place parentheses around the assignment to silence this warning
#
if( len = iscomtag(hp) ){
#
^
#
( )
#
url._.c:784:13: note: use '==' to turn this assignment into an equality comparison
#
if( len = iscomtag(hp) ){
#
^
#
==
#
url._.c:846:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for(; ch = *hp; hp++ ){
#
~~~^~~~~
#
url._.c:846:14: note: place parentheses around the assignment to silence this warning
#
for(; ch = *hp; hp++ ){
#
^
#
( )
#
url._.c:846:14: note: use '==' to turn this assignment into an equality comparison
#
for(; ch = *hp; hp++ ){
#
^
#
==
#
url._.c:884:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( up = findURLinHTML(Ctx,tag,ref) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
url._.c:884:11: note: place parentheses around the assignment to silence this warning
#
if( up = findURLinHTML(Ctx,tag,ref) ){
#
^
#
( )
#
url._.c:884:11: note: use '==' to turn this assignment into an equality comparison
#
if( up = findURLinHTML(Ctx,tag,ref) ){
#
^
#
==
#
url._.c:883:5: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
}else
#
^
#
url._.c:928:28: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( attrtailp = hp; ch = *attrtailp; attrtailp++ ){
#
~~~^~~~~~~~~~~~
#
url._.c:928:28: note: place parentheses around the assignment to silence this warning
#
for( attrtailp = hp; ch = *attrtailp; attrtailp++ ){
#
^
#
( )
#
url._.c:928:28: note: use '==' to turn this assignment into an equality comparison
#
for( attrtailp = hp; ch = *attrtailp; attrtailp++ ){
#
^
#
==
#
url._.c:929:22: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( quotech != 0 && ch == quotech
#
~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
#
url._.c:929:22: note: place parentheses around the '&&' expression to silence this warning
#
if( quotech != 0 && ch == quotech
#
~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
#
url._.c:930:22: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| quotech == 0 && (isspace(ch) || ch == '>')
#
~~ ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
url._.c:930:22: note: place parentheses around the '&&' expression to silence this warning
#
|| quotech == 0 && (isspace(ch) || ch == '>')
#
~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
url._.c:1034:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( sp = scan_URI_scheme(url,AVStr(proto),sizeof(proto)) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
url._.c:1034:10: note: place parentheses around the assignment to silence this warning
#
if( sp = scan_URI_scheme(url,AVStr(proto),sizeof(proto)) ){
#
^
#
( )
#
url._.c:1034:10: note: use '==' to turn this assignment into an equality comparison
#
if( sp = scan_URI_scheme(url,AVStr(proto),sizeof(proto)) ){
#
^
#
==
#
url._.c:1059:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp = strchr(np+1,'=') ){
#
~~~^~~~~~~~~~~~~~~~~~
#
url._.c:1059:10: note: place parentheses around the assignment to silence this warning
#
if( fp = strchr(np+1,'=') ){
#
^
#
( )
#
url._.c:1059:10: note: use '==' to turn this assignment into an equality comparison
#
if( fp = strchr(np+1,'=') ){
#
^
#
==
#
url._.c:1140:36: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( pp = durl + marklen + 1; ch = *pp++; ){
#
~~~^~~~~~~
#
url._.c:1140:36: note: place parentheses around the assignment to silence this warning
#
for( pp = durl + marklen + 1; ch = *pp++; ){
#
^
#
( )
#
url._.c:1140:36: note: use '==' to turn this assignment into an equality comparison
#
for( pp = durl + marklen + 1; ch = *pp++; ){
#
^
#
==
#
url._.c:1186:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( pp = strstr(pb,"-.-") ){
#
~~~^~~~~~~~~~~~~~~~~~
#
url._.c:1186:10: note: place parentheses around the assignment to silence this warning
#
if( pp = strstr(pb,"-.-") ){
#
^
#
( )
#
url._.c:1186:10: note: use '==' to turn this assignment into an equality comparison
#
if( pp = strstr(pb,"-.-") ){
#
^
#
==
#
url._.c:1238:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( gtype = np[len] )
#
~~~~~~^~~~~~~~~
#
url._.c:1238:15: note: place parentheses around the assignment to silence this warning
#
if( gtype = np[len] )
#
^
#
( )
#
url._.c:1238:15: note: use '==' to turn this assignment into an equality comparison
#
if( gtype = np[len] )
#
^
#
==
#
url._.c:1276:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( hp = strpbrk(np+strlen(host),endofHOSTPORT) )
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
url._.c:1276:10: note: place parentheses around the assignment to silence this warning
#
if( hp = strpbrk(np+strlen(host),endofHOSTPORT) )
#
^
#
( )
#
url._.c:1276:10: note: use '==' to turn this assignment into an equality comparison
#
if( hp = strpbrk(np+strlen(host),endofHOSTPORT) )
#
^
#
==
#
url._.c:1289:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( hp = strpbrk(np+strlen(host),endofHOSTPORT) )
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
url._.c:1289:10: note: place parentheses around the assignment to silence this warning
#
if( hp = strpbrk(np+strlen(host),endofHOSTPORT) )
#
^
#
( )
#
url._.c:1289:10: note: use '==' to turn this assignment into an equality comparison
#
if( hp = strpbrk(np+strlen(host),endofHOSTPORT) )
#
^
#
==
#
url._.c:1301:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( hp = strpbrk(np+strlen(host),endofHOSTPORT) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
url._.c:1301:10: note: place parentheses around the assignment to silence this warning
#
if( hp = strpbrk(np+strlen(host),endofHOSTPORT) ){
#
^
#
( )
#
url._.c:1301:10: note: use '==' to turn this assignment into an equality comparison
#
if( hp = strpbrk(np+strlen(host),endofHOSTPORT) ){
#
^
#
==
#
url._.c:1317:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( durl = strstr(url,NDGU_MARK) ){
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~~
#
url._.c:1317:11: note: place parentheses around the assignment to silence this warning
#
if( durl = strstr(url,NDGU_MARK) ){
#
^
#
( )
#
url._.c:1317:11: note: use '==' to turn this assignment into an equality comparison
#
if( durl = strstr(url,NDGU_MARK) ){
#
^
#
==
#
url._.c:1325:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( durl = strstr(url,ODGU_MARK) ){
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~~
#
url._.c:1325:11: note: place parentheses around the assignment to silence this warning
#
if( durl = strstr(url,ODGU_MARK) ){
#
^
#
( )
#
url._.c:1325:11: note: use '==' to turn this assignment into an equality comparison
#
if( durl = strstr(url,ODGU_MARK) ){
#
^
#
==
#
url._.c:1347:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( up = url; uc = *up; up++ ){
#
~~~^~~~~
#
url._.c:1347:20: note: place parentheses around the assignment to silence this warning
#
for( up = url; uc = *up; up++ ){
#
^
#
( )
#
url._.c:1347:20: note: use '==' to turn this assignment into an equality comparison
#
for( up = url; uc = *up; up++ ){
#
^
#
==
#
url._.c:1378:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( up = strrchr(site,'@') ){
#
~~~^~~~~~~~~~~~~~~~~~~
#
url._.c:1378:9: note: place parentheses around the assignment to silence this warning
#
if( up = strrchr(site,'@') ){
#
^
#
( )
#
url._.c:1378:9: note: use '==' to turn this assignment into an equality comparison
#
if( up = strrchr(site,'@') ){
#
^
#
==
#
url._.c:1379:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( pp = strchr(up,':') ){
#
~~~^~~~~~~~~~~~~~~~
#
url._.c:1379:10: note: place parentheses around the assignment to silence this warning
#
if( pp = strchr(up,':') ){
#
^
#
( )
#
url._.c:1379:10: note: use '==' to turn this assignment into an equality comparison
#
if( pp = strchr(up,':') ){
#
^
#
==
#
url._.c:1394:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( userp = strrchr(hostport,'@') ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
#
url._.c:1394:12: note: place parentheses around the assignment to silence this warning
#
if( userp = strrchr(hostport,'@') ){
#
^
#
( )
#
url._.c:1394:12: note: use '==' to turn this assignment into an equality comparison
#
if( userp = strrchr(hostport,'@') ){
#
^
#
==
#
url._.c:1397:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( passp = strchr(hostport,':') ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~
#
url._.c:1397:13: note: place parentheses around the assignment to silence this warning
#
if( passp = strchr(hostport,':') ){
#
^
#
( )
#
url._.c:1397:13: note: use '==' to turn this assignment into an equality comparison
#
if( passp = strchr(hostport,':') ){
#
^
#
==
#
url._.c:1410:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( portp = strchr(host,':') ){
#
~~~~~~^~~~~~~~~~~~~~~~~~
#
url._.c:1410:12: note: place parentheses around the assignment to silence this warning
#
if( portp = strchr(host,':') ){
#
^
#
( )
#
url._.c:1410:12: note: use '==' to turn this assignment into an equality comparison
#
if( portp = strchr(host,':') ){
#
^
#
==
#
url._.c:1544:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( xp = strpbrk(ident->i_user,"/?\r\n") )
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
url._.c:1544:9: note: place parentheses around the assignment to silence this warning
#
if( xp = strpbrk(ident->i_user,"/?\r\n") )
#
^
#
( )
#
url._.c:1544:9: note: use '==' to turn this assignment into an equality comparison
#
if( xp = strpbrk(ident->i_user,"/?\r\n") )
#
^
#
==
#
url._.c:1546:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( hp = strrchr(ident->i_user,'@') )
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
url._.c:1546:9: note: place parentheses around the assignment to silence this warning
#
if( hp = strrchr(ident->i_user,'@') )
#
^
#
( )
#
url._.c:1546:9: note: use '==' to turn this assignment into an equality comparison
#
if( hp = strrchr(ident->i_user,'@') )
#
^
#
==
#
url._.c:1548:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( pp = strchr(ident->i_user,':') ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
#
url._.c:1548:9: note: place parentheses around the assignment to silence this warning
#
if( pp = strchr(ident->i_user,':') ){
#
^
#
( )
#
url._.c:1548:9: note: use '==' to turn this assignment into an equality comparison
#
if( pp = strchr(ident->i_user,':') ){
#
^
#
==
#
url._.c:1590:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( sp = strstr(url,"://") )
#
~~~^~~~~~~~~~~~~~~~~~~
#
url._.c:1590:9: note: place parentheses around the assignment to silence this warning
#
if( sp = strstr(url,"://") )
#
^
#
( )
#
url._.c:1590:9: note: use '==' to turn this assignment into an equality comparison
#
if( sp = strstr(url,"://") )
#
^
#
==
#
url._.c:1616:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( sp = hostport; ch = *sp; sp++ ){
#
~~~^~~~~
#
url._.c:1616:25: note: place parentheses around the assignment to silence this warning
#
for( sp = hostport; ch = *sp; sp++ ){
#
^
#
( )
#
url._.c:1616:25: note: use '==' to turn this assignment into an equality comparison
#
for( sp = hostport; ch = *sp; sp++ ){
#
^
#
==
#
url._.c:1666:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( sp = hostport; ch = *sp; sp++ ){
#
~~~^~~~~
#
url._.c:1666:25: note: place parentheses around the assignment to silence this warning
#
for( sp = hostport; ch = *sp; sp++ ){
#
^
#
( )
#
url._.c:1666:25: note: use '==' to turn this assignment into an equality comparison
#
for( sp = hostport; ch = *sp; sp++ ){
#
^
#
==
#
url._.c:1747:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( opt = CTX_changeproxy_url_to(ctx,clif,method,AVStr(url),AVStr(proxy)) )
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
url._.c:1747:10: note: place parentheses around the assignment to silence this warning
#
if( opt = CTX_changeproxy_url_to(ctx,clif,method,AVStr(url),AVStr(proxy)) )
#
^
#
( )
#
url._.c:1747:10: note: use '==' to turn this assignment into an equality comparison
#
if( opt = CTX_changeproxy_url_to(ctx,clif,method,AVStr(url),AVStr(proxy)) )
#
^
#
==
#
url._.c:1751:25: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( (mark = NDGU_MARK) && strncmp(url+1,mark,strlen(mark)) == 0
#
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
url._.c:1751:25: note: place parentheses around the '&&' expression to silence this warning
#
if( (mark = NDGU_MARK) && strncmp(url+1,mark,strlen(mark)) == 0
#
^
#
( )
#
url._.c:1752:25: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| (mark = ODGU_MARK) && strncmp(url+1,mark,strlen(mark)) == 0 )
#
~~ ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
url._.c:1752:25: note: place parentheses around the '&&' expression to silence this warning
#
|| (mark = ODGU_MARK) && strncmp(url+1,mark,strlen(mark)) == 0 )
#
^
#
( )
#
url._.c:1801:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( v1 = getv(av,"proto")){
#
~~~^~~~~~~~~~~~~~~~~~
#
url._.c:1801:9: note: place parentheses around the assignment to silence this warning
#
if( v1 = getv(av,"proto")){
#
^
#
( )
#
url._.c:1801:9: note: use '==' to turn this assignment into an equality comparison
#
if( v1 = getv(av,"proto")){
#
^
#
==
#
url._.c:1806:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( v1 = getv(av,"host") ){
#
~~~^~~~~~~~~~~~~~~~~
#
url._.c:1806:9: note: place parentheses around the assignment to silence this warning
#
if( v1 = getv(av,"host") ){
#
^
#
( )
#
url._.c:1806:9: note: use '==' to turn this assignment into an equality comparison
#
if( v1 = getv(av,"host") ){
#
^
#
==
#
url._.c:1811:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( v1 = getv(av,"port") )
#
~~~^~~~~~~~~~~~~~~~~
#
url._.c:1811:9: note: place parentheses around the assignment to silence this warning
#
if( v1 = getv(av,"port") )
#
^
#
( )
#
url._.c:1811:9: note: use '==' to turn this assignment into an equality comparison
#
if( v1 = getv(av,"port") )
#
^
#
==
#
url._.c:1814:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( v1 = getv(av,"path") ){
#
~~~^~~~~~~~~~~~~~~~~
#
url._.c:1814:9: note: place parentheses around the assignment to silence this warning
#
if( v1 = getv(av,"path") ){
#
^
#
( )
#
url._.c:1814:9: note: use '==' to turn this assignment into an equality comparison
#
if( v1 = getv(av,"path") ){
#
^
#
==
#
url._.c:1884:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
while( uc = *up ){
#
~~~^~~~~
#
url._.c:1884:12: note: place parentheses around the assignment to silence this warning
#
while( uc = *up ){
#
^
#
( )
#
url._.c:1884:12: note: use '==' to turn this assignment into an equality comparison
#
while( uc = *up ){
#
^
#
==
#
url._.c:1902:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( np = CURDIR(up) ){
#
~~~^~~~~~~~~~~~
#
url._.c:1902:10: note: place parentheses around the assignment to silence this warning
#
if( np = CURDIR(up) ){
#
^
#
( )
#
url._.c:1902:10: note: use '==' to turn this assignment into an equality comparison
#
if( np = CURDIR(up) ){
#
^
#
==
#
url._.c:1909:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( np = UPDIR(up) ){
#
~~~^~~~~~~~~~~
#
url._.c:1909:10: note: place parentheses around the assignment to silence this warning
#
if( np = UPDIR(up) ){
#
^
#
( )
#
url._.c:1909:10: note: use '==' to turn this assignment into an equality comparison
#
if( np = UPDIR(up) ){
#
^
#
==
#
url._.c:1929:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
while( uc = *up ){
#
~~~^~~~~
#
url._.c:1929:13: note: place parentheses around the assignment to silence this warning
#
while( uc = *up ){
#
^
#
( )
#
url._.c:1929:13: note: use '==' to turn this assignment into an equality comparison
#
while( uc = *up ){
#
^
#
==
#
url._.c:1970:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( xp = CURDIR(up) ){
#
~~~^~~~~~~~~~~~
#
url._.c:1970:9: note: place parentheses around the assignment to silence this warning
#
if( xp = CURDIR(up) ){
#
^
#
( )
#
url._.c:1970:9: note: use '==' to turn this assignment into an equality comparison
#
if( xp = CURDIR(up) ){
#
^
#
==
#
url._.c:1975:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
while( xp = UPDIR(up) ){
#
~~~^~~~~~~~~~~
#
url._.c:1975:12: note: place parentheses around the assignment to silence this warning
#
while( xp = UPDIR(up) ){
#
^
#
( )
#
url._.c:1975:12: note: use '==' to turn this assignment into an equality comparison
#
while( xp = UPDIR(up) ){
#
^
#
==
#
url._.c:2091:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strstr(url,PORT_MARK) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~
#
url._.c:2091:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strstr(url,PORT_MARK) ){
#
^
#
( )
#
url._.c:2091:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strstr(url,PORT_MARK) ){
#
^
#
==
#
url._.c:2109:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strstr(vurl,"://") )
#
~~~^~~~~~~~~~~~~~~~~~~~
#
url._.c:2109:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strstr(vurl,"://") )
#
^
#
( )
#
url._.c:2109:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strstr(vurl,"://") )
#
^
#
==
#
url._.c:2110:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strpbrk(dp+3,":/? \t\r\n\"'") )
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
url._.c:2110:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strpbrk(dp+3,":/? \t\r\n\"'") )
#
^
#
( )
#
url._.c:2110:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strpbrk(dp+3,":/? \t\r\n\"'") )
#
^
#
==
#
url._.c:2117:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strpbrk(vurl,"?#") )
#
~~~^~~~~~~~~~~~~~~~~~~~
#
url._.c:2117:11: note: place parentheses around the assignment to silence this warning
#
if( dp = strpbrk(vurl,"?#") )
#
^
#
( )
#
url._.c:2117:11: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strpbrk(vurl,"?#") )
#
^
#
==
#
url._.c:2328:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( ilen = url_movport(np,AVStr(xp),256) )
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
url._.c:2328:15: note: place parentheses around the assignment to silence this warning
#
if( ilen = url_movport(np,AVStr(xp),256) )
#
^
#
( )
#
url._.c:2328:15: note: use '==' to turn this assignment into an equality comparison
#
if( ilen = url_movport(np,AVStr(xp),256) )
#
^
#
==
#
url._.c:2334:3: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
SkipQuoted("absolute",referer,np,sp,xp);
#
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
url._.c:2132:10: note: expanded from macro 'SkipQuoted'
#
if( qch = referer->r_tagctx.r_curquote ){ \
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
url._.c:2334:3: note: place parentheses around the assignment to silence this warning
#
url._.c:2132:10: note: expanded from macro 'SkipQuoted'
#
if( qch = referer->r_tagctx.r_curquote ){ \
#
^
#
url._.c:2334:3: note: use '==' to turn this assignment into an equality comparison
#
url._.c:2132:10: note: expanded from macro 'SkipQuoted'
#
if( qch = referer->r_tagctx.r_curquote ){ \
#
^
#
url._.c:2334:3: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
SkipQuoted("absolute",referer,np,sp,xp);
#
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
url._.c:2137:14: note: expanded from macro 'SkipQuoted'
#
while( ch = *sp ){ \
#
~~~^~~~~
#
url._.c:2334:3: note: place parentheses around the assignment to silence this warning
#
url._.c:2137:14: note: expanded from macro 'SkipQuoted'
#
while( ch = *sp ){ \
#
^
#
url._.c:2334:3: note: use '==' to turn this assignment into an equality comparison
#
url._.c:2137:14: note: expanded from macro 'SkipQuoted'
#
while( ch = *sp ){ \
#
^
#
url._.c:2401:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( ulen = CTX_url_rurlX(ctx,qch,np,AVStr(rurl),myproto,myhost,myport,mypath,dgrelay) )
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
url._.c:2401:12: note: place parentheses around the assignment to silence this warning
#
if( ulen = CTX_url_rurlX(ctx,qch,np,AVStr(rurl),myproto,myhost,myport,mypath,dgrelay) )
#
^
#
( )
#
url._.c:2401:12: note: use '==' to turn this assignment into an equality comparison
#
if( ulen = CTX_url_rurlX(ctx,qch,np,AVStr(rurl),myproto,myhost,myport,mypath,dgrelay) )
#
^
#
==
#
url._.c:2409:3: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
SkipQuoted("deleate",referer,np,sp,xp);
#
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
url._.c:2132:10: note: expanded from macro 'SkipQuoted'
#
if( qch = referer->r_tagctx.r_curquote ){ \
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
url._.c:2409:3: note: place parentheses around the assignment to silence this warning
#
url._.c:2132:10: note: expanded from macro 'SkipQuoted'
#
if( qch = referer->r_tagctx.r_curquote ){ \
#
^
#
url._.c:2409:3: note: use '==' to turn this assignment into an equality comparison
#
url._.c:2132:10: note: expanded from macro 'SkipQuoted'
#
if( qch = referer->r_tagctx.r_curquote ){ \
#
^
#
url._.c:2409:3: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
SkipQuoted("deleate",referer,np,sp,xp);
#
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
url._.c:2137:14: note: expanded from macro 'SkipQuoted'
#
while( ch = *sp ){ \
#
~~~^~~~~
#
url._.c:2409:3: note: place parentheses around the assignment to silence this warning
#
url._.c:2137:14: note: expanded from macro 'SkipQuoted'
#
while( ch = *sp ){ \
#
^
#
url._.c:2409:3: note: use '==' to turn this assignment into an equality comparison
#
url._.c:2137:14: note: expanded from macro 'SkipQuoted'
#
while( ch = *sp ){ \
#
^
#
url._.c:2422:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
while( np = html_nextTagAttr(sp,"",VStrNULL,NULL,NULL,NULL) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
url._.c:2422:12: note: place parentheses around the assignment to silence this warning
#
while( np = html_nextTagAttr(sp,"",VStrNULL,NULL,NULL,NULL) ){
#
^
#
( )
#
url._.c:2422:12: note: use '==' to turn this assignment into an equality comparison
#
while( np = html_nextTagAttr(sp,"",VStrNULL,NULL,NULL,NULL) ){
#
^
#
==
#
url._.c:2423:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( tp = strpbrk(np," \t\r\n\">") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
#
url._.c:2423:10: note: place parentheses around the assignment to silence this warning
#
if( tp = strpbrk(np," \t\r\n\">") ){
#
^
#
( )
#
url._.c:2423:10: note: use '==' to turn this assignment into an equality comparison
#
if( tp = strpbrk(np," \t\r\n\">") ){
#
^
#
==
#
url._.c:2745:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( proto = getv(av,"proto") )
#
~~~~~~^~~~~~~~~~~~~~~~~~
#
url._.c:2745:14: note: place parentheses around the assignment to silence this warning
#
if( proto = getv(av,"proto") )
#
^
#
( )
#
url._.c:2745:14: note: use '==' to turn this assignment into an equality comparison
#
if( proto = getv(av,"proto") )
#
^
#
==
#
url._.c:2746:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( host = getv(av,"host" ) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~
#
url._.c:2746:14: note: place parentheses around the assignment to silence this warning
#
if( host = getv(av,"host" ) ){
#
^
#
( )
#
url._.c:2746:14: note: use '==' to turn this assignment into an equality comparison
#
if( host = getv(av,"host" ) ){
#
^
#
==
#
url._.c:2747:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( port = getv(av,"port") )
#
~~~~~^~~~~~~~~~~~~~~~~
#
url._.c:2747:14: note: place parentheses around the assignment to silence this warning
#
if( port = getv(av,"port") )
#
^
#
( )
#
url._.c:2747:14: note: use '==' to turn this assignment into an equality comparison
#
if( port = getv(av,"port") )
#
^
#
==
#
url._.c:2771:3: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
SkipQuoted("partialize",referer,np,sp,xp);
#
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
url._.c:2132:10: note: expanded from macro 'SkipQuoted'
#
if( qch = referer->r_tagctx.r_curquote ){ \
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
url._.c:2771:3: note: place parentheses around the assignment to silence this warning
#
url._.c:2132:10: note: expanded from macro 'SkipQuoted'
#
if( qch = referer->r_tagctx.r_curquote ){ \
#
^
#
url._.c:2771:3: note: use '==' to turn this assignment into an equality comparison
#
url._.c:2132:10: note: expanded from macro 'SkipQuoted'
#
if( qch = referer->r_tagctx.r_curquote ){ \
#
^
#
url._.c:2771:3: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
SkipQuoted("partialize",referer,np,sp,xp);
#
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
url._.c:2137:14: note: expanded from macro 'SkipQuoted'
#
while( ch = *sp ){ \
#
~~~^~~~~
#
url._.c:2771:3: note: place parentheses around the assignment to silence this warning
#
url._.c:2137:14: note: expanded from macro 'SkipQuoted'
#
while( ch = *sp ){ \
#
^
#
url._.c:2771:3: note: use '==' to turn this assignment into an equality comparison
#
url._.c:2137:14: note: expanded from macro 'SkipQuoted'
#
while( ch = *sp ){ \
#
^
#
80 warnings generated.
#
../mkcpp gopher.c gopher._.c
#
-- mkcpp set time: 1492117333 -> 1250403944 gopher._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c gopher._.c -o gopher.o
#
gopher._.c:51:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( tab = strrchr(req,'\t') )
#
~~~~^~~~~~~~~~~~~~~~~~~
#
gopher._.c:51:10: note: place parentheses around the assignment to silence this warning
#
if( tab = strrchr(req,'\t') )
#
^
#
( )
#
gopher._.c:51:10: note: use '==' to turn this assignment into an equality comparison
#
if( tab = strrchr(req,'\t') )
#
^
#
==
#
gopher._.c:58:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strpbrk(req,"\t\r\n") )
#
~~~^~~~~~~~~~~~~~~~~~~~~~~
#
gopher._.c:58:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strpbrk(req,"\t\r\n") )
#
^
#
( )
#
gopher._.c:58:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strpbrk(req,"\t\r\n") )
#
^
#
==
#
gopher._.c:227:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( cgtype = CTX_get_clientgtype(Conn) ) /* sent from client */
#
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
#
gopher._.c:227:13: note: place parentheses around the assignment to silence this warning
#
if( cgtype = CTX_get_clientgtype(Conn) ) /* sent from client */
#
^
#
( )
#
gopher._.c:227:13: note: use '==' to turn this assignment into an equality comparison
#
if( cgtype = CTX_get_clientgtype(Conn) ) /* sent from client */
#
^
#
==
#
gopher._.c:272:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(req,'\t') ){
#
~~~^~~~~~~~~~~~~~~~~~
#
gopher._.c:272:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(req,'\t') ){
#
^
#
( )
#
gopher._.c:272:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(req,'\t') ){
#
^
#
==
#
gopher._.c:359:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( cachefp = cache_fopen_rd("GOPHER",AVStr(cpath),expire,&cdate) ){
#
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
gopher._.c:359:15: note: place parentheses around the assignment to silence this warning
#
if( cachefp = cache_fopen_rd("GOPHER",AVStr(cpath),expire,&cdate) ){
#
^
#
( )
#
gopher._.c:359:15: note: use '==' to turn this assignment into an equality comparison
#
if( cachefp = cache_fopen_rd("GOPHER",AVStr(cpath),expire,&cdate) ){
#
^
#
==
#
gopher._.c:379:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( cachefp = cache_fopen_rw("GOPHER",AVStr(cpath)) ){
#
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
gopher._.c:379:15: note: place parentheses around the assignment to silence this warning
#
if( cachefp = cache_fopen_rw("GOPHER",AVStr(cpath)) ){
#
^
#
( )
#
gopher._.c:379:15: note: use '==' to turn this assignment into an equality comparison
#
if( cachefp = cache_fopen_rw("GOPHER",AVStr(cpath)) ){
#
^
#
==
#
gopher._.c:530:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(line,':') ){
#
~~~^~~~~~~~~~~~~~~~~~
#
gopher._.c:530:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(line,':') ){
#
^
#
( )
#
gopher._.c:530:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(line,':') ){
#
^
#
==
#
gopher._.c:544:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if(dp=strchr(dp,'\t')){ truncVStr(dp);dp++; *selector = dp; }else return 0;
#
~~^~~~~~~~~~~~~~~~
#
gopher._.c:544:7: note: place parentheses around the assignment to silence this warning
#
if(dp=strchr(dp,'\t')){ truncVStr(dp);dp++; *selector = dp; }else return 0;
#
^
#
( )
#
gopher._.c:544:7: note: use '==' to turn this assignment into an equality comparison
#
if(dp=strchr(dp,'\t')){ truncVStr(dp);dp++; *selector = dp; }else return 0;
#
^
#
==
#
gopher._.c:545:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if(dp=strchr(dp,'\t')){ truncVStr(dp);dp++; *host = dp; }else return 0;
#
~~^~~~~~~~~~~~~~~~
#
gopher._.c:545:7: note: place parentheses around the assignment to silence this warning
#
if(dp=strchr(dp,'\t')){ truncVStr(dp);dp++; *host = dp; }else return 0;
#
^
#
( )
#
gopher._.c:545:7: note: use '==' to turn this assignment into an equality comparison
#
if(dp=strchr(dp,'\t')){ truncVStr(dp);dp++; *host = dp; }else return 0;
#
^
#
==
#
gopher._.c:546:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if(dp=strchr(dp,'\t')){ truncVStr(dp);dp++; *iport=atoi(dp);}else return 0;
#
~~^~~~~~~~~~~~~~~~
#
gopher._.c:546:7: note: place parentheses around the assignment to silence this warning
#
if(dp=strchr(dp,'\t')){ truncVStr(dp);dp++; *iport=atoi(dp);}else return 0;
#
^
#
( )
#
gopher._.c:546:7: note: use '==' to turn this assignment into an equality comparison
#
if(dp=strchr(dp,'\t')){ truncVStr(dp);dp++; *iport=atoi(dp);}else return 0;
#
^
#
==
#
gopher._.c:547:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if(dp=strchr(dp,'\t')){ *ext = dp; }
#
~~^~~~~~~~~~~~~~~~
#
gopher._.c:547:7: note: place parentheses around the assignment to silence this warning
#
if(dp=strchr(dp,'\t')){ *ext = dp; }
#
^
#
( )
#
gopher._.c:547:7: note: use '==' to turn this assignment into an equality comparison
#
if(dp=strchr(dp,'\t')){ *ext = dp; }
#
^
#
==
#
gopher._.c:707:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(req,'?') )
#
~~~^~~~~~~~~~~~~~~~~
#
gopher._.c:707:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(req,'?') )
#
^
#
( )
#
gopher._.c:707:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(req,'?') )
#
^
#
==
#
12 warnings generated.
#
../mkcpp icp.c icp._.c
#
-- mkcpp set time: 1492117333 -> 1268471252 icp._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c icp._.c -o icp.o
#
icp._.c:255:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( tail = frex_match((struct fa_stat*)noicp_domain,host) )
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
icp._.c:255:11: note: place parentheses around the assignment to silence this warning
#
if( tail = frex_match((struct fa_stat*)noicp_domain,host) )
#
^
#
( )
#
icp._.c:255:11: note: use '==' to turn this assignment into an equality comparison
#
if( tail = frex_match((struct fa_stat*)noicp_domain,host) )
#
^
#
==
#
icp._.c:308:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( env = getenv("PARASERV") )
#
~~~~^~~~~~~~~~~~~~~~~~~~
#
icp._.c:308:11: note: place parentheses around the assignment to silence this warning
#
if( env = getenv("PARASERV") )
#
^
#
( )
#
icp._.c:308:11: note: use '==' to turn this assignment into an equality comparison
#
if( env = getenv("PARASERV") )
#
^
#
==
#
icp._.c:318:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( env = getenv("NOICP_DOMAIN") )
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~
#
icp._.c:318:10: note: place parentheses around the assignment to silence this warning
#
if( env = getenv("NOICP_DOMAIN") )
#
^
#
( )
#
icp._.c:318:10: note: use '==' to turn this assignment into an equality comparison
#
if( env = getenv("NOICP_DOMAIN") )
#
^
#
==
#
icp._.c:422:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp = dirfopen("ICP",AVStr(cachepath),"r") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
icp._.c:422:10: note: place parentheses around the assignment to silence this warning
#
if( fp = dirfopen("ICP",AVStr(cachepath),"r") ){
#
^
#
( )
#
icp._.c:422:10: note: use '==' to turn this assignment into an equality comparison
#
if( fp = dirfopen("ICP",AVStr(cachepath),"r") ){
#
^
#
==
#
icp._.c:633:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( arg = av[++ai] ){
#
~~~~^~~~~~~~~~
#
icp._.c:633:13: note: place parentheses around the assignment to silence this warning
#
if( arg = av[++ai] ){
#
^
#
( )
#
icp._.c:633:13: note: use '==' to turn this assignment into an equality comparison
#
if( arg = av[++ai] ){
#
^
#
==
#
icp._.c:1076:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( addr = gethostaddr(icphost1) )
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~~
#
icp._.c:1076:12: note: place parentheses around the assignment to silence this warning
#
if( addr = gethostaddr(icphost1) )
#
^
#
( )
#
icp._.c:1076:12: note: use '==' to turn this assignment into an equality comparison
#
if( addr = gethostaddr(icphost1) )
#
^
#
==
#
icp._.c:1087:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( addr = gethostaddr(pxhost) )
#
~~~~~^~~~~~~~~~~~~~~~~~~~~
#
icp._.c:1087:12: note: place parentheses around the assignment to silence this warning
#
if( addr = gethostaddr(pxhost) )
#
^
#
( )
#
icp._.c:1087:12: note: use '==' to turn this assignment into an equality comparison
#
if( addr = gethostaddr(pxhost) )
#
^
#
==
#
7 warnings generated.
#
../mkcpp icap.c icap._.c
#
-- mkcpp set time: 1492117333 -> 1276430216 icap._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c icap._.c -o icap.o
#
../mkcpp http.c http._.c
#
-- mkcpp set time: 1492117333 -> 1411902324 http._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c http._.c -o http.o
#
http._.c:561:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strstr(UA,"MSIE ") )
#
~~~^~~~~~~~~~~~~~~~~~~~
#
http._.c:561:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strstr(UA,"MSIE ") )
#
^
#
( )
#
http._.c:561:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strstr(UA,"MSIE ") )
#
^
#
==
#
http._.c:568:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strstr(UA,"MSIE ") ){
#
~~~^~~~~~~~~~~~~~~~~~~~
#
http._.c:568:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strstr(UA,"MSIE ") ){
#
^
#
( )
#
http._.c:568:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strstr(UA,"MSIE ") ){
#
^
#
==
#
http._.c:570:35: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| strncmp(dp+5,"3.0",3) == 0 && atoi(dp+8) < 1 )
#
~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
#
http._.c:570:35: note: place parentheses around the '&&' expression to silence this warning
#
|| strncmp(dp+5,"3.0",3) == 0 && atoi(dp+8) < 1 )
#
^
#
( )
#
http._.c:573:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strstr(UA,"Mozilla/") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:573:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strstr(UA,"Mozilla/") ){
#
^
#
( )
#
http._.c:573:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strstr(UA,"Mozilla/") ){
#
^
#
==
#
http._.c:582:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strstr(UA,"MSIE ") )
#
~~~^~~~~~~~~~~~~~~~~~~~
#
http._.c:582:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strstr(UA,"MSIE ") )
#
^
#
( )
#
http._.c:582:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strstr(UA,"MSIE ") )
#
^
#
==
#
http._.c:583:46: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( dp[5] < '3' || strncmp(dp+5,"3.0",3)==0 && atoi(dp+8) < 1 )
#
~~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
#
http._.c:583:46: note: place parentheses around the '&&' expression to silence this warning
#
if( dp[5] < '3' || strncmp(dp+5,"3.0",3)==0 && atoi(dp+8) < 1 )
#
^
#
( )
#
http._.c:586:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strstr(UA,"MSIE ") )
#
~~~^~~~~~~~~~~~~~~~~~~~
#
http._.c:586:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strstr(UA,"MSIE ") )
#
^
#
( )
#
http._.c:586:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strstr(UA,"MSIE ") )
#
^
#
==
#
http._.c:591:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strstr(UA,"Mosaic") )
#
~~~^~~~~~~~~~~~~~~~~~~~~
#
http._.c:591:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strstr(UA,"Mosaic") )
#
^
#
( )
#
http._.c:591:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strstr(UA,"Mosaic") )
#
^
#
==
#
http._.c:592:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strstr(dp,"/") )
#
~~~^~~~~~~~~~~~~~~~
#
http._.c:592:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strstr(dp,"/") )
#
^
#
( )
#
http._.c:592:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strstr(dp,"/") )
#
^
#
==
#
http._.c:602:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strstr(UA,"Mozilla/5.0") )
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:602:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strstr(UA,"Mozilla/5.0") )
#
^
#
( )
#
http._.c:602:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strstr(UA,"Mozilla/5.0") )
#
^
#
==
#
http._.c:603:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strstr(dp,"rv:1.7") )
#
~~~^~~~~~~~~~~~~~~~~~~~~
#
http._.c:603:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strstr(dp,"rv:1.7") )
#
^
#
( )
#
http._.c:603:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strstr(dp,"rv:1.7") )
#
^
#
==
#
http._.c:609:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strstr(UA,"Lynx") )
#
~~~^~~~~~~~~~~~~~~~~~~
#
http._.c:609:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strstr(UA,"Lynx") )
#
^
#
( )
#
http._.c:609:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strstr(UA,"Lynx") )
#
^
#
==
#
http._.c:610:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strstr(dp,"/") )
#
~~~^~~~~~~~~~~~~~~~
#
http._.c:610:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strstr(dp,"/") )
#
^
#
( )
#
http._.c:610:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strstr(dp,"/") )
#
^
#
==
#
http._.c:907:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( qp = strchr(ourl,'?') ){
#
~~~^~~~~~~~~~~~~~~~~~
#
http._.c:907:10: note: place parentheses around the assignment to silence this warning
#
if( qp = strchr(ourl,'?') ){
#
^
#
( )
#
http._.c:907:10: note: use '==' to turn this assignment into an equality comparison
#
if( qp = strchr(ourl,'?') ){
#
^
#
==
#
http._.c:1290:3: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
}else
#
^
#
http._.c:1427:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( sp = str; ch = *sp; sp++ ){
#
~~~^~~~~
#
http._.c:1427:20: note: place parentheses around the assignment to silence this warning
#
for( sp = str; ch = *sp; sp++ ){
#
^
#
( )
#
http._.c:1427:20: note: use '==' to turn this assignment into an equality comparison
#
for( sp = str; ch = *sp; sp++ ){
#
^
#
==
#
http._.c:1666:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fnlen = STRH(line,F_ContType) )
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:1666:13: note: place parentheses around the assignment to silence this warning
#
if( fnlen = STRH(line,F_ContType) )
#
^
#
( )
#
http._.c:1666:13: note: use '==' to turn this assignment into an equality comparison
#
if( fnlen = STRH(line,F_ContType) )
#
^
#
==
#
http._.c:1669:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fnlen = STRH(line,F_ContLeng) )
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:1669:13: note: place parentheses around the assignment to silence this warning
#
if( fnlen = STRH(line,F_ContLeng) )
#
^
#
( )
#
http._.c:1669:13: note: use '==' to turn this assignment into an equality comparison
#
if( fnlen = STRH(line,F_ContLeng) )
#
^
#
==
#
http._.c:1672:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fnlen = STRH(line,F_TransEncode) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:1672:13: note: place parentheses around the assignment to silence this warning
#
if( fnlen = STRH(line,F_TransEncode) ){
#
^
#
( )
#
http._.c:1672:13: note: use '==' to turn this assignment into an equality comparison
#
if( fnlen = STRH(line,F_TransEncode) ){
#
^
#
==
#
http._.c:1678:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fnlen = STRH(line,F_ContEncode) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:1678:13: note: place parentheses around the assignment to silence this warning
#
if( fnlen = STRH(line,F_ContEncode) ){
#
^
#
( )
#
http._.c:1678:13: note: use '==' to turn this assignment into an equality comparison
#
if( fnlen = STRH(line,F_ContEncode) ){
#
^
#
==
#
http._.c:1683:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fnlen = STRH(line,F_AccEncodeX) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:1683:13: note: place parentheses around the assignment to silence this warning
#
if( fnlen = STRH(line,F_AccEncodeX) ){
#
^
#
( )
#
http._.c:1683:13: note: use '==' to turn this assignment into an equality comparison
#
if( fnlen = STRH(line,F_AccEncodeX) ){
#
^
#
==
#
http._.c:1687:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fnlen = STRH(line,F_ContMD5) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~
#
http._.c:1687:13: note: place parentheses around the assignment to silence this warning
#
if( fnlen = STRH(line,F_ContMD5) ){
#
^
#
( )
#
http._.c:1687:13: note: use '==' to turn this assignment into an equality comparison
#
if( fnlen = STRH(line,F_ContMD5) ){
#
^
#
==
#
http._.c:1739:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( zip = Gzip(AVStr(cencode),in) ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:1739:13: note: place parentheses around the assignment to silence this warning
#
if( zip = Gzip(AVStr(cencode),in) ){
#
^
#
( )
#
http._.c:1739:13: note: use '==' to turn this assignment into an equality comparison
#
if( zip = Gzip(AVStr(cencode),in) ){
#
^
#
==
#
http._.c:1759:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fnlen = STRH(line,F_ContMD5) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~
#
http._.c:1759:13: note: place parentheses around the assignment to silence this warning
#
if( fnlen = STRH(line,F_ContMD5) ){
#
^
#
( )
#
http._.c:1759:13: note: use '==' to turn this assignment into an equality comparison
#
if( fnlen = STRH(line,F_ContMD5) ){
#
^
#
==
#
http._.c:1817:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fnlen = STRH(line,F_ContType) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:1817:13: note: place parentheses around the assignment to silence this warning
#
if( fnlen = STRH(line,F_ContType) ){
#
^
#
( )
#
http._.c:1817:13: note: use '==' to turn this assignment into an equality comparison
#
if( fnlen = STRH(line,F_ContType) ){
#
^
#
==
#
http._.c:1821:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fnlen = STRH(line,F_ContLeng) ) continue;
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:1821:13: note: place parentheses around the assignment to silence this warning
#
if( fnlen = STRH(line,F_ContLeng) ) continue;
#
^
#
( )
#
http._.c:1821:13: note: use '==' to turn this assignment into an equality comparison
#
if( fnlen = STRH(line,F_ContLeng) ) continue;
#
^
#
==
#
http._.c:1822:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fnlen = STRH(line,F_AccEncodeX) ) continue;
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:1822:13: note: place parentheses around the assignment to silence this warning
#
if( fnlen = STRH(line,F_AccEncodeX) ) continue;
#
^
#
( )
#
http._.c:1822:13: note: use '==' to turn this assignment into an equality comparison
#
if( fnlen = STRH(line,F_AccEncodeX) ) continue;
#
^
#
==
#
http._.c:1932:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( rdy = exceptionReady(ClientSock) ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:1932:10: note: place parentheses around the assignment to silence this warning
#
if( rdy = exceptionReady(ClientSock) ){
#
^
#
( )
#
http._.c:1932:10: note: use '==' to turn this assignment into an equality comparison
#
if( rdy = exceptionReady(ClientSock) ){
#
^
#
==
#
http._.c:1974:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( xencbody = threadGzip(Conn,RX,tc) ){
#
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:1974:16: note: place parentheses around the assignment to silence this warning
#
if( xencbody = threadGzip(Conn,RX,tc) ){
#
^
#
( )
#
http._.c:1974:16: note: use '==' to turn this assignment into an equality comparison
#
if( xencbody = threadGzip(Conn,RX,tc) ){
#
^
#
==
#
http._.c:1968:3: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
}else
#
^
#
http._.c:2006:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fnlen = STRH(field,F_ContType) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:2006:13: note: place parentheses around the assignment to silence this warning
#
if( fnlen = STRH(field,F_ContType) ){
#
^
#
( )
#
http._.c:2006:13: note: use '==' to turn this assignment into an equality comparison
#
if( fnlen = STRH(field,F_ContType) ){
#
^
#
==
#
http._.c:2094:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fnlen = STRH(line,F_ContEncode) )
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:2094:12: note: place parentheses around the assignment to silence this warning
#
if( fnlen = STRH(line,F_ContEncode) )
#
^
#
( )
#
http._.c:2094:12: note: use '==' to turn this assignment into an equality comparison
#
if( fnlen = STRH(line,F_ContEncode) )
#
^
#
==
#
http._.c:2100:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fnlen = STRH(line,F_ContLeng) )
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:2100:12: note: place parentheses around the assignment to silence this warning
#
if( fnlen = STRH(line,F_ContLeng) )
#
^
#
( )
#
http._.c:2100:12: note: use '==' to turn this assignment into an equality comparison
#
if( fnlen = STRH(line,F_ContLeng) )
#
^
#
==
#
http._.c:2104:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fnlen = STRH(line,F_ContLeng) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:2104:13: note: place parentheses around the assignment to silence this warning
#
if( fnlen = STRH(line,F_ContLeng) ){
#
^
#
( )
#
http._.c:2104:13: note: use '==' to turn this assignment into an equality comparison
#
if( fnlen = STRH(line,F_ContLeng) ){
#
^
#
==
#
http._.c:2117:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fnlen = STRH(line,F_ContRange) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:2117:12: note: place parentheses around the assignment to silence this warning
#
if( fnlen = STRH(line,F_ContRange) ){
#
^
#
( )
#
http._.c:2117:12: note: use '==' to turn this assignment into an equality comparison
#
if( fnlen = STRH(line,F_ContRange) ){
#
^
#
==
#
http._.c:2120:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fnlen = STRH(line,F_LastMod) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~
#
http._.c:2120:12: note: place parentheses around the assignment to silence this warning
#
if( fnlen = STRH(line,F_LastMod) ){
#
^
#
( )
#
http._.c:2120:12: note: use '==' to turn this assignment into an equality comparison
#
if( fnlen = STRH(line,F_LastMod) ){
#
^
#
==
#
http._.c:2124:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fnlen = STRH(line,F_ContType) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:2124:12: note: place parentheses around the assignment to silence this warning
#
if( fnlen = STRH(line,F_ContType) ){
#
^
#
( )
#
http._.c:2124:12: note: use '==' to turn this assignment into an equality comparison
#
if( fnlen = STRH(line,F_ContType) ){
#
^
#
==
#
http._.c:2128:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( pp = strchr(RX_ctype,';') )
#
~~~^~~~~~~~~~~~~~~~~~~~~~
#
http._.c:2128:10: note: place parentheses around the assignment to silence this warning
#
if( pp = strchr(RX_ctype,';') )
#
^
#
( )
#
http._.c:2128:10: note: use '==' to turn this assignment into an equality comparison
#
if( pp = strchr(RX_ctype,';') )
#
^
#
==
#
http._.c:2130:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( cp = strstr(pp+1,"charset=") )
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:2130:14: note: place parentheses around the assignment to silence this warning
#
if( cp = strstr(pp+1,"charset=") )
#
^
#
( )
#
http._.c:2130:14: note: use '==' to turn this assignment into an equality comparison
#
if( cp = strstr(pp+1,"charset=") )
#
^
#
==
#
http._.c:2168:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fnlen = STRH(line,F_Server) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~
#
http._.c:2168:12: note: place parentheses around the assignment to silence this warning
#
if( fnlen = STRH(line,F_Server) ){
#
^
#
( )
#
http._.c:2168:12: note: use '==' to turn this assignment into an equality comparison
#
if( fnlen = STRH(line,F_Server) ){
#
^
#
==
#
http._.c:2175:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fnlen = STRH(line,F_Pragma) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~
#
http._.c:2175:12: note: place parentheses around the assignment to silence this warning
#
if( fnlen = STRH(line,F_Pragma) ){
#
^
#
( )
#
http._.c:2175:12: note: use '==' to turn this assignment into an equality comparison
#
if( fnlen = STRH(line,F_Pragma) ){
#
^
#
==
#
http._.c:2179:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fnlen = STRH(line,F_CacheControl) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:2179:12: note: place parentheses around the assignment to silence this warning
#
if( fnlen = STRH(line,F_CacheControl) ){
#
^
#
( )
#
http._.c:2179:12: note: use '==' to turn this assignment into an equality comparison
#
if( fnlen = STRH(line,F_CacheControl) ){
#
^
#
==
#
http._.c:2200:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( ovia = findFieldValue(fields,"Via") ){
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:2200:11: note: place parentheses around the assignment to silence this warning
#
if( ovia = findFieldValue(fields,"Via") ){
#
^
#
( )
#
http._.c:2200:11: note: use '==' to turn this assignment into an equality comparison
#
if( ovia = findFieldValue(fields,"Via") ){
#
^
#
==
#
http._.c:2202:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( ovia = strpbrk(ovia,"\r\n") ){
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~
#
http._.c:2202:13: note: place parentheses around the assignment to silence this warning
#
if( ovia = strpbrk(ovia,"\r\n") ){
#
^
#
( )
#
http._.c:2202:13: note: use '==' to turn this assignment into an equality comparison
#
if( ovia = strpbrk(ovia,"\r\n") ){
#
^
#
==
#
http._.c:2204:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( nvia = findFieldValue(ovia,"Via") ){
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:2204:14: note: place parentheses around the assignment to silence this warning
#
if( nvia = findFieldValue(ovia,"Via") ){
#
^
#
( )
#
http._.c:2204:14: note: use '==' to turn this assignment into an equality comparison
#
if( nvia = findFieldValue(ovia,"Via") ){
#
^
#
==
#
http._.c:2231:31: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( streq(RX_ver,"HTTP/1.1") && strncasecmp(RX_connection,"close",6) != 0
#
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:2231:31: note: place parentheses around the '&&' expression to silence this warning
#
if( streq(RX_ver,"HTTP/1.1") && strncasecmp(RX_connection,"close",6) != 0
#
^
#
( )
#
http._.c:2244:3: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
}else
#
^
#
http._.c:2319:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( sp = str; ch = *sp; sp++ ){
#
~~~^~~~~
#
http._.c:2319:20: note: place parentheses around the assignment to silence this warning
#
for( sp = str; ch = *sp; sp++ ){
#
^
#
( )
#
http._.c:2319:20: note: use '==' to turn this assignment into an equality comparison
#
for( sp = str; ch = *sp; sp++ ){
#
^
#
==
#
http._.c:2360:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( rp = strchr(head,'?') ){
#
~~~^~~~~~~~~~~~~~~~~~
#
http._.c:2360:10: note: place parentheses around the assignment to silence this warning
#
if( rp = strchr(head,'?') ){
#
^
#
( )
#
http._.c:2360:10: note: use '==' to turn this assignment into an equality comparison
#
if( rp = strchr(head,'?') ){
#
^
#
==
#
http._.c:2363:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( ctype = filename2ctype(head) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~
#
http._.c:2363:13: note: place parentheses around the assignment to silence this warning
#
if( ctype = filename2ctype(head) ){
#
^
#
( )
#
http._.c:2363:13: note: use '==' to turn this assignment into an equality comparison
#
if( ctype = filename2ctype(head) ){
#
^
#
==
#
http._.c:2442:6: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
}else
#
^
#
http._.c:2449:6: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
}else
#
^
#
http._.c:2689:36: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( RelayTHRU || !BORN_SPECIALIST && !ACT_SPECIALIST ){
#
~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
#
http._.c:2689:36: note: place parentheses around the '&&' expression to silence this warning
#
if( RelayTHRU || !BORN_SPECIALIST && !ACT_SPECIALIST ){
#
~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
#
http._.c:2731:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( xcharset = HTTP_outCharset(Conn) )
#
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:2731:16: note: place parentheses around the assignment to silence this warning
#
if( xcharset = HTTP_outCharset(Conn) )
#
^
#
( )
#
http._.c:2731:16: note: use '==' to turn this assignment into an equality comparison
#
if( xcharset = HTTP_outCharset(Conn) )
#
^
#
==
#
http._.c:2773:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fnlen = STRH(field,F_ContEncode) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:2773:13: note: place parentheses around the assignment to silence this warning
#
if( fnlen = STRH(field,F_ContEncode) ){
#
^
#
( )
#
http._.c:2773:13: note: use '==' to turn this assignment into an equality comparison
#
if( fnlen = STRH(field,F_ContEncode) ){
#
^
#
==
#
http._.c:2780:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fnlen = STRH(field,F_Vary) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~
#
http._.c:2780:13: note: place parentheses around the assignment to silence this warning
#
if( fnlen = STRH(field,F_Vary) ){
#
^
#
( )
#
http._.c:2780:13: note: use '==' to turn this assignment into an equality comparison
#
if( fnlen = STRH(field,F_Vary) ){
#
^
#
==
#
http._.c:2809:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(line,';') ){
#
~~~^~~~~~~~~~~~~~~~~~
#
http._.c:2809:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(line,';') ){
#
^
#
( )
#
http._.c:2809:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(line,';') ){
#
^
#
==
#
http._.c:2826:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fnlen = STRH(line,F_ContType) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:2826:12: note: place parentheses around the assignment to silence this warning
#
if( fnlen = STRH(line,F_ContType) ){
#
^
#
( )
#
http._.c:2826:12: note: use '==' to turn this assignment into an equality comparison
#
if( fnlen = STRH(line,F_ContType) ){
#
^
#
==
#
http._.c:2845:5: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
}else
#
^
#
http._.c:2855:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
}else{
#
^
#
http._.c:2859:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fnlen = STRH(line,F_ContLeng) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:2859:12: note: place parentheses around the assignment to silence this warning
#
if( fnlen = STRH(line,F_ContLeng) ){
#
^
#
( )
#
http._.c:2859:12: note: use '==' to turn this assignment into an equality comparison
#
if( fnlen = STRH(line,F_ContLeng) ){
#
^
#
==
#
http._.c:2889:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fnlen = STRH(line,F_PAuthenticate) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:2889:12: note: place parentheses around the assignment to silence this warning
#
if( fnlen = STRH(line,F_PAuthenticate) ){
#
^
#
( )
#
http._.c:2889:12: note: use '==' to turn this assignment into an equality comparison
#
if( fnlen = STRH(line,F_PAuthenticate) ){
#
^
#
==
#
http._.c:2904:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fnlen = STRH(line,F_Authenticate) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:2904:12: note: place parentheses around the assignment to silence this warning
#
if( fnlen = STRH(line,F_Authenticate) ){
#
^
#
( )
#
http._.c:2904:12: note: use '==' to turn this assignment into an equality comparison
#
if( fnlen = STRH(line,F_Authenticate) ){
#
^
#
==
#
http._.c:2920:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fnlen = STRH(line,F_SetCookie) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:2920:12: note: place parentheses around the assignment to silence this warning
#
if( fnlen = STRH(line,F_SetCookie) ){
#
^
#
( )
#
http._.c:2920:12: note: use '==' to turn this assignment into an equality comparison
#
if( fnlen = STRH(line,F_SetCookie) ){
#
^
#
==
#
http._.c:2938:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fnlen = STRH(line,F_Location) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:2938:12: note: place parentheses around the assignment to silence this warning
#
if( fnlen = STRH(line,F_Location) ){
#
^
#
( )
#
http._.c:2938:12: note: use '==' to turn this assignment into an equality comparison
#
if( fnlen = STRH(line,F_Location) ){
#
^
#
==
#
http._.c:2948:6: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
}else
#
^
#
http._.c:2960:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fnlen = STRH(line,F_KeepAlive) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:2960:12: note: place parentheses around the assignment to silence this warning
#
if( fnlen = STRH(line,F_KeepAlive) ){
#
^
#
( )
#
http._.c:2960:12: note: use '==' to turn this assignment into an equality comparison
#
if( fnlen = STRH(line,F_KeepAlive) ){
#
^
#
==
#
http._.c:2964:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fnlen = STRH(line,F_Upgrade) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~
#
http._.c:2964:12: note: place parentheses around the assignment to silence this warning
#
if( fnlen = STRH(line,F_Upgrade) ){
#
^
#
( )
#
http._.c:2964:12: note: use '==' to turn this assignment into an equality comparison
#
if( fnlen = STRH(line,F_Upgrade) ){
#
^
#
==
#
http._.c:2967:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fnlen = STRH_Connection(line) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:2967:12: note: place parentheses around the assignment to silence this warning
#
if( fnlen = STRH_Connection(line) ){
#
^
#
( )
#
http._.c:2967:12: note: use '==' to turn this assignment into an equality comparison
#
if( fnlen = STRH_Connection(line) ){
#
^
#
==
#
http._.c:2971:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fnlen = STRH(line,F_TransEncode) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:2971:12: note: place parentheses around the assignment to silence this warning
#
if( fnlen = STRH(line,F_TransEncode) ){
#
^
#
( )
#
http._.c:2971:12: note: use '==' to turn this assignment into an equality comparison
#
if( fnlen = STRH(line,F_TransEncode) ){
#
^
#
==
#
http._.c:2979:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fnlen = STRH(line,F_ContMD5) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~
#
http._.c:2979:12: note: place parentheses around the assignment to silence this warning
#
if( fnlen = STRH(line,F_ContMD5) ){
#
^
#
( )
#
http._.c:2979:12: note: use '==' to turn this assignment into an equality comparison
#
if( fnlen = STRH(line,F_ContMD5) ){
#
^
#
==
#
http._.c:3028:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fnlen = STRH(line,F_Expires) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~
#
http._.c:3028:12: note: place parentheses around the assignment to silence this warning
#
if( fnlen = STRH(line,F_Expires) ){
#
^
#
( )
#
http._.c:3028:12: note: use '==' to turn this assignment into an equality comparison
#
if( fnlen = STRH(line,F_Expires) ){
#
^
#
==
#
http._.c:3031:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fnlen = STRH(line,"Via:") ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~
#
http._.c:3031:12: note: place parentheses around the assignment to silence this warning
#
if( fnlen = STRH(line,"Via:") ){
#
^
#
( )
#
http._.c:3031:12: note: use '==' to turn this assignment into an equality comparison
#
if( fnlen = STRH(line,"Via:") ){
#
^
#
==
#
http._.c:3071:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( rcc = fgetBuffered(AVStr(buff),RX_remsize,RX_fsp) ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:3071:10: note: place parentheses around the assignment to silence this warning
#
if( rcc = fgetBuffered(AVStr(buff),RX_remsize,RX_fsp) ){
#
^
#
( )
#
http._.c:3071:10: note: use '==' to turn this assignment into an equality comparison
#
if( rcc = fgetBuffered(AVStr(buff),RX_remsize,RX_fsp) ){
#
^
#
==
#
http._.c:3616:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( op = strstr(old,"CL=") )
#
~~~^~~~~~~~~~~~~~~~~~~
#
http._.c:3616:11: note: place parentheses around the assignment to silence this warning
#
if( op = strstr(old,"CL=") )
#
^
#
( )
#
http._.c:3616:11: note: use '==' to turn this assignment into an equality comparison
#
if( op = strstr(old,"CL=") )
#
^
#
==
#
http._.c:3619:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( op = strstr(old,"MT=") )
#
~~~^~~~~~~~~~~~~~~~~~~
#
http._.c:3619:11: note: place parentheses around the assignment to silence this warning
#
if( op = strstr(old,"MT=") )
#
^
#
( )
#
http._.c:3619:11: note: use '==' to turn this assignment into an equality comparison
#
if( op = strstr(old,"MT=") )
#
^
#
==
#
http._.c:3742:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( acc = isinListX(rvers,ver,"h") ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:3742:11: note: place parentheses around the assignment to silence this warning
#
if( acc = isinListX(rvers,ver,"h") ){
#
^
#
( )
#
http._.c:3742:11: note: use '==' to turn this assignment into an equality comparison
#
if( acc = isinListX(rvers,ver,"h") ){
#
^
#
==
#
http._.c:4374:16: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse]
#
int IsSolaris();
#
^~
#
http._.c:4374:16: note: replace parentheses with an initializer to declare a variable
#
int IsSolaris();
#
^~
#
= 0
#
http._.c:4546:45: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| RX_RdTotalG != rcc && Et < IO_TIMEOUT && IsAlive(ClientSock)
#
~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
#
http._.c:4546:45: note: place parentheses around the '&&' expression to silence this warning
#
|| RX_RdTotalG != rcc && Et < IO_TIMEOUT && IsAlive(ClientSock)
#
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
#
http._.c:4801:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( ofp = threadGzip(Conn,RX,RX_tc_sav) ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:4801:12: note: place parentheses around the assignment to silence this warning
#
if( ofp = threadGzip(Conn,RX,RX_tc_sav) ){
#
^
#
( )
#
http._.c:4801:12: note: use '==' to turn this assignment into an equality comparison
#
if( ofp = threadGzip(Conn,RX,RX_tc_sav) ){
#
^
#
==
#
http._.c:4962:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( hx = strSeekEOH(head) ){
#
~~~^~~~~~~~~~~~~~~~~~
#
http._.c:4962:9: note: place parentheses around the assignment to silence this warning
#
if( hx = strSeekEOH(head) ){
#
^
#
( )
#
http._.c:4962:9: note: use '==' to turn this assignment into an equality comparison
#
if( hx = strSeekEOH(head) ){
#
^
#
==
#
http._.c:5061:17: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| !RX_noBody && (RX_didUnzip ? RX_RdTruncated : !respSutisfied(RX))
#
~~ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:5061:17: note: place parentheses around the '&&' expression to silence this warning
#
|| !RX_noBody && (RX_didUnzip ? RX_RdTruncated : !respSutisfied(RX))
#
^
#
( )
#
http._.c:5323:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( val = findFieldValue(rhead,"Content-Type") ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:5323:12: note: place parentheses around the assignment to silence this warning
#
if( val = findFieldValue(rhead,"Content-Type") ){
#
^
#
( )
#
http._.c:5323:12: note: use '==' to turn this assignment into an equality comparison
#
if( val = findFieldValue(rhead,"Content-Type") ){
#
^
#
==
#
http._.c:5351:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( val = findFieldValue(rhead,"Content-Encoding") ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:5351:12: note: place parentheses around the assignment to silence this warning
#
if( val = findFieldValue(rhead,"Content-Encoding") ){
#
^
#
( )
#
http._.c:5351:12: note: use '==' to turn this assignment into an equality comparison
#
if( val = findFieldValue(rhead,"Content-Encoding") ){
#
^
#
==
#
http._.c:5361:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( val = findFieldValue(rhead,"Content-Length") ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:5361:12: note: place parentheses around the assignment to silence this warning
#
if( val = findFieldValue(rhead,"Content-Length") ){
#
^
#
( )
#
http._.c:5361:12: note: use '==' to turn this assignment into an equality comparison
#
if( val = findFieldValue(rhead,"Content-Length") ){
#
^
#
==
#
http._.c:5371:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( val = findFieldValue(rhead,"X-Pragma") ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:5371:12: note: place parentheses around the assignment to silence this warning
#
if( val = findFieldValue(rhead,"X-Pragma") ){
#
^
#
( )
#
http._.c:5371:12: note: use '==' to turn this assignment into an equality comparison
#
if( val = findFieldValue(rhead,"X-Pragma") ){
#
^
#
==
#
http._.c:5377:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( val = findFieldValue(rhead,"Proxy-Authenticate") ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:5377:12: note: place parentheses around the assignment to silence this warning
#
if( val = findFieldValue(rhead,"Proxy-Authenticate") ){
#
^
#
( )
#
http._.c:5377:12: note: use '==' to turn this assignment into an equality comparison
#
if( val = findFieldValue(rhead,"Proxy-Authenticate") ){
#
^
#
==
#
http._.c:5382:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( val = findFieldValue(rhead,"WWW-Authenticate") ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:5382:12: note: place parentheses around the assignment to silence this warning
#
if( val = findFieldValue(rhead,"WWW-Authenticate") ){
#
^
#
( )
#
http._.c:5382:12: note: use '==' to turn this assignment into an equality comparison
#
if( val = findFieldValue(rhead,"WWW-Authenticate") ){
#
^
#
==
#
http._.c:5548:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
while( got1 = GETRESPTXT(Conn,RX,fromcache) ){
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:5548:16: note: place parentheses around the assignment to silence this warning
#
while( got1 = GETRESPTXT(Conn,RX,fromcache) ){
#
^
#
( )
#
http._.c:5548:16: note: use '==' to turn this assignment into an equality comparison
#
while( got1 = GETRESPTXT(Conn,RX,fromcache) ){
#
^
#
==
#
http._.c:5695:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
}else
#
^
#
http._.c:5890:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fnlen = STRH_Connection(line) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:5890:15: note: place parentheses around the assignment to silence this warning
#
if( fnlen = STRH_Connection(line) ){
#
^
#
( )
#
http._.c:5890:15: note: use '==' to turn this assignment into an equality comparison
#
if( fnlen = STRH_Connection(line) ){
#
^
#
==
#
http._.c:5960:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strstr(line,"303") )
#
~~~^~~~~~~~~~~~~~~~~~~~
#
http._.c:5960:12: note: place parentheses around the assignment to silence this warning
#
if( dp = strstr(line,"303") )
#
^
#
( )
#
http._.c:5960:12: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strstr(line,"303") )
#
^
#
==
#
http._.c:5998:37: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( (RX_code==305 || RX_code==306) && (ConnType=='p' || ConnType=='m')
#
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:5998:37: note: place parentheses around the '&&' expression to silence this warning
#
if( (RX_code==305 || RX_code==306) && (ConnType=='p' || ConnType=='m')
#
^
#
( )
#
http._.c:5999:37: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| (RX_code==401 || RX_code==407) && (HTTP_opts & HTTP_DOAUTHCONV)
#
~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:5999:37: note: place parentheses around the '&&' expression to silence this warning
#
|| (RX_code==401 || RX_code==407) && (HTTP_opts & HTTP_DOAUTHCONV)
#
^
#
( )
#
http._.c:6000:36: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| lDONTHT() && (400 <= RX_code) && NTHT_bufResp(Conn,RX)
#
~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:6000:36: note: place parentheses around the '&&' expression to silence this warning
#
|| lDONTHT() && (400 <= RX_code) && NTHT_bufResp(Conn,RX)
#
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:6018:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strstr(line,"407") )
#
~~~^~~~~~~~~~~~~~~~~~~~
#
http._.c:6018:11: note: place parentheses around the assignment to silence this warning
#
if( dp = strstr(line,"407") )
#
^
#
( )
#
http._.c:6018:11: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strstr(line,"407") )
#
^
#
==
#
http._.c:6041:5: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
}else{
#
^
#
http._.c:6064:3: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
}else
#
^
#
http._.c:6149:34: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
&& (!fromcache || fromcache && !HTTP_ContLengOkQX(RX_fsp,QX)) ){
#
~~ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:6149:34: note: place parentheses around the '&&' expression to silence this warning
#
&& (!fromcache || fromcache && !HTTP_ContLengOkQX(RX_fsp,QX)) ){
#
^
#
( )
#
http._.c:6149:6: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
&& (!fromcache || fromcache && !HTTP_ContLengOkQX(RX_fsp,QX)) ){
#
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:6149:6: note: place parentheses around the '&&' expression to silence this warning
#
&& (!fromcache || fromcache && !HTTP_ContLengOkQX(RX_fsp,QX)) ){
#
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:6258:26: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| RX_rdTotal < 4*1024 && 0.5 < Now-RX_Start
#
~~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
#
http._.c:6258:26: note: place parentheses around the '&&' expression to silence this warning
#
|| RX_rdTotal < 4*1024 && 0.5 < Now-RX_Start
#
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
#
http._.c:6259:43: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| RX_ninput < 50 && Now-RX_Start < 5.0 && 0.5 < Now-RX_lastFlush
#
~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:6259:43: note: place parentheses around the '&&' expression to silence this warning
#
|| RX_ninput < 50 && Now-RX_Start < 5.0 && 0.5 < Now-RX_lastFlush
#
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:6326:35: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( RX_inHeader || RX_isText && !asBin ){
#
~~ ~~~~~~~~~~^~~~~~~~~
#
http._.c:6326:35: note: place parentheses around the '&&' expression to silence this warning
#
if( RX_inHeader || RX_isText && !asBin ){
#
~~~~~~~~~~^~~~~~~~~
#
http._.c:6420:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( sp = line; ch = *sp; sp++ ){
#
~~~^~~~~
#
http._.c:6420:26: note: place parentheses around the assignment to silence this warning
#
for( sp = line; ch = *sp; sp++ ){
#
^
#
( )
#
http._.c:6420:26: note: use '==' to turn this assignment into an equality comparison
#
for( sp = line; ch = *sp; sp++ ){
#
^
#
==
#
http._.c:6477:19: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| !fromcacheX && READYCC(RX_fsp) == 0 ){
#
~~ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:6477:19: note: place parentheses around the '&&' expression to silence this warning
#
|| !fromcacheX && READYCC(RX_fsp) == 0 ){
#
^
#
( )
#
http._.c:6671:24: warning: '/*' within block comment [-Wcomment]
#
/* 9.9.3 maybe image/* in gzip */
#
^
#
http._.c:6677:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
}else
#
^
#
http._.c:6701:10: warning: expression result unused [-Wunused-value]
#
if( Conn,RX->r_partf.p_NumParts == 0 ){
#
^~~~
#
http._.c:7106:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( sp = req; sc = *sp; sp++ ){
#
~~~^~~~~
#
http._.c:7106:20: note: place parentheses around the assignment to silence this warning
#
for( sp = req; sc = *sp; sp++ ){
#
^
#
( )
#
http._.c:7106:20: note: use '==' to turn this assignment into an equality comparison
#
for( sp = req; sc = *sp; sp++ ){
#
^
#
==
#
http._.c:7150:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( hp = bp; ch = *hp; hp++ )
#
~~~^~~~~
#
http._.c:7150:21: note: place parentheses around the assignment to silence this warning
#
for( hp = bp; ch = *hp; hp++ )
#
^
#
( )
#
http._.c:7150:21: note: use '==' to turn this assignment into an equality comparison
#
for( hp = bp; ch = *hp; hp++ )
#
^
#
==
#
http._.c:7198:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( hp = head; ch = *hp; hp++ ){
#
~~~^~~~~
#
http._.c:7198:21: note: place parentheses around the assignment to silence this warning
#
for( hp = head; ch = *hp; hp++ ){
#
^
#
( )
#
http._.c:7198:21: note: use '==' to turn this assignment into an equality comparison
#
for( hp = head; ch = *hp; hp++ ){
#
^
#
==
#
http._.c:7240:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( hp = head; ch = *hp; hp++ ){
#
~~~^~~~~
#
http._.c:7240:23: note: place parentheses around the assignment to silence this warning
#
for( hp = head; ch = *hp; hp++ ){
#
^
#
( )
#
http._.c:7240:23: note: use '==' to turn this assignment into an equality comparison
#
for( hp = head; ch = *hp; hp++ ){
#
^
#
==
#
http._.c:7269:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
while( ch = *++hp )
#
~~~^~~~~~~
#
http._.c:7269:13: note: place parentheses around the assignment to silence this warning
#
while( ch = *++hp )
#
^
#
( )
#
http._.c:7269:13: note: use '==' to turn this assignment into an equality comparison
#
while( ch = *++hp )
#
^
#
==
#
http._.c:7303:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( up = strchr(request,' ') ){
#
~~~^~~~~~~~~~~~~~~~~~~~~
#
http._.c:7303:9: note: place parentheses around the assignment to silence this warning
#
if( up = strchr(request,' ') ){
#
^
#
( )
#
http._.c:7303:9: note: use '==' to turn this assignment into an equality comparison
#
if( up = strchr(request,' ') ){
#
^
#
==
#
http._.c:7315:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( hp = hostport; hc = *hp; hp++ ){
#
~~~^~~~~
#
http._.c:7315:25: note: place parentheses around the assignment to silence this warning
#
for( hp = hostport; hc = *hp; hp++ ){
#
^
#
( )
#
http._.c:7315:25: note: use '==' to turn this assignment into an equality comparison
#
for( hp = hostport; hc = *hp; hp++ ){
#
^
#
==
#
http._.c:8173:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fnlen = STRH(req,F_Upgrade) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~
#
http._.c:8173:13: note: place parentheses around the assignment to silence this warning
#
if( fnlen = STRH(req,F_Upgrade) ){
#
^
#
( )
#
http._.c:8173:13: note: use '==' to turn this assignment into an equality comparison
#
if( fnlen = STRH(req,F_Upgrade) ){
#
^
#
==
#
http._.c:8187:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fnlen = STRH(req,F_ContType) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~
#
http._.c:8187:13: note: place parentheses around the assignment to silence this warning
#
if( fnlen = STRH(req,F_ContType) ){
#
^
#
( )
#
http._.c:8187:13: note: use '==' to turn this assignment into an equality comparison
#
if( fnlen = STRH(req,F_ContType) ){
#
^
#
==
#
http._.c:8191:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fnlen = STRH(req,F_ContLeng) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~
#
http._.c:8191:13: note: place parentheses around the assignment to silence this warning
#
if( fnlen = STRH(req,F_ContLeng) ){
#
^
#
( )
#
http._.c:8191:13: note: use '==' to turn this assignment into an equality comparison
#
if( fnlen = STRH(req,F_ContLeng) ){
#
^
#
==
#
http._.c:8203:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fnlen = STRH(req,F_AccEncode) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:8203:13: note: place parentheses around the assignment to silence this warning
#
if( fnlen = STRH(req,F_AccEncode) ){
#
^
#
( )
#
http._.c:8203:13: note: use '==' to turn this assignment into an equality comparison
#
if( fnlen = STRH(req,F_AccEncode) ){
#
^
#
==
#
http._.c:8326:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fnlen = STRH(req,F_CacheControl) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:8326:13: note: place parentheses around the assignment to silence this warning
#
if( fnlen = STRH(req,F_CacheControl) ){
#
^
#
( )
#
http._.c:8326:13: note: use '==' to turn this assignment into an equality comparison
#
if( fnlen = STRH(req,F_CacheControl) ){
#
^
#
==
#
http._.c:8482:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
while( rcc = fgetBuffered(AVStr(buf),sizeof(buf),in) ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:8482:13: note: place parentheses around the assignment to silence this warning
#
while( rcc = fgetBuffered(AVStr(buf),sizeof(buf),in) ){
#
^
#
( )
#
http._.c:8482:13: note: use '==' to turn this assignment into an equality comparison
#
while( rcc = fgetBuffered(AVStr(buf),sizeof(buf),in) ){
#
^
#
==
#
http._.c:8520:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( auth = findFieldValue(REQ_FIELDS,"Authorization") )
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:8520:11: note: place parentheses around the assignment to silence this warning
#
if( auth = findFieldValue(REQ_FIELDS,"Authorization") )
#
^
#
( )
#
http._.c:8520:11: note: use '==' to turn this assignment into an equality comparison
#
if( auth = findFieldValue(REQ_FIELDS,"Authorization") )
#
^
#
==
#
http._.c:8533:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strpbrk(buf,"\r\n") )
#
~~~^~~~~~~~~~~~~~~~~~~~~
#
http._.c:8533:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strpbrk(buf,"\r\n") )
#
^
#
( )
#
http._.c:8533:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strpbrk(buf,"\r\n") )
#
^
#
==
#
http._.c:8555:3: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
}else
#
^
#
http._.c:8593:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( ver = strstr(req1," HTTP/1.") )
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:8593:10: note: place parentheses around the assignment to silence this warning
#
if( ver = strstr(req1," HTTP/1.") )
#
^
#
( )
#
http._.c:8593:10: note: use '==' to turn this assignment into an equality comparison
#
if( ver = strstr(req1," HTTP/1.") )
#
^
#
==
#
http._.c:8747:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( cpid = Fork("relayRequest") ){
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~
#
http._.c:8747:12: note: place parentheses around the assignment to silence this warning
#
if( cpid = Fork("relayRequest") ){
#
^
#
( )
#
http._.c:8747:12: note: use '==' to turn this assignment into an equality comparison
#
if( cpid = Fork("relayRequest") ){
#
^
#
==
#
http._.c:8960:5: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
}else DO_DELEGATE = 1;
#
^
#
http._.c:8985:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
}else{
#
^
#
http._.c:9066:3: warning: '/*' within block comment [-Wcomment]
#
/* fclose(tc); */
#
^
#
http._.c:9095:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(REQ,' ') )
#
~~~^~~~~~~~~~~~~~~~~
#
http._.c:9095:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(REQ,' ') )
#
^
#
( )
#
http._.c:9095:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(REQ,' ') )
#
^
#
==
#
http._.c:9097:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(OREQ_MSG,' ') ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~
#
http._.c:9097:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(OREQ_MSG,' ') ){
#
^
#
( )
#
http._.c:9097:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(OREQ_MSG,' ') ){
#
^
#
==
#
http._.c:9195:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( cachefp = cache_fopen_rd("HTTP",AVStr(cpath),expire,&cdate) )
#
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:9195:14: note: place parentheses around the assignment to silence this warning
#
if( cachefp = cache_fopen_rd("HTTP",AVStr(cpath),expire,&cdate) )
#
^
#
( )
#
http._.c:9195:14: note: use '==' to turn this assignment into an equality comparison
#
if( cachefp = cache_fopen_rd("HTTP",AVStr(cpath),expire,&cdate) )
#
^
#
==
#
http._.c:9508:13: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( auth && !findFieldValue(REQ_FIELDS,"Authorization")
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:9508:13: note: place parentheses around the '&&' expression to silence this warning
#
if( auth && !findFieldValue(REQ_FIELDS,"Authorization")
#
^
#
( )
#
http._.c:9509:13: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| pauth && !findFieldValue(REQ_FIELDS,"Proxy-Authorization")
#
~~ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:9509:13: note: place parentheses around the '&&' expression to silence this warning
#
|| pauth && !findFieldValue(REQ_FIELDS,"Proxy-Authorization")
#
^
#
( )
#
http._.c:9838:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fnlen = STRH(line,F_PAuthenticate) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:9838:15: note: place parentheses around the assignment to silence this warning
#
if( fnlen = STRH(line,F_PAuthenticate) ){
#
^
#
( )
#
http._.c:9838:15: note: use '==' to turn this assignment into an equality comparison
#
if( fnlen = STRH(line,F_PAuthenticate) ){
#
^
#
==
#
http._.c:9985:53: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
&& (pxa[0]==0 || strneq(pxa,"DeleGate/",9) && vercmp(pxa+9,"9.6.0")<0)
#
~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:9985:53: note: place parentheses around the '&&' expression to silence this warning
#
&& (pxa[0]==0 || strneq(pxa,"DeleGate/",9) && vercmp(pxa+9,"9.6.0")<0)
#
^
#
( )
#
http._.c:10023:3: warning: '/*' within block comment [-Wcomment]
#
/* so the request/response should be rewritten
#
^
#
http._.c:10024:33: warning: '/*' within block comment [-Wcomment]
#
* with MOUNT="https://host:80/* http://host/*
#
^
#
http._.c:10024:47: warning: '/*' within block comment [-Wcomment]
#
* with MOUNT="https://host:80/* http://host/*
#
^
#
http._.c:10034:15: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse]
#
int ServSock();
#
^~
#
http._.c:10034:15: note: replace parentheses with an initializer to declare a variable
#
int ServSock();
#
^~
#
= 0
#
http._.c:10218:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( val = findFieldValue(REQ_FIELDS,"Cookie") ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:10218:10: note: place parentheses around the assignment to silence this warning
#
if( val = findFieldValue(REQ_FIELDS,"Cookie") ){
#
^
#
( )
#
http._.c:10218:10: note: use '==' to turn this assignment into an equality comparison
#
if( val = findFieldValue(REQ_FIELDS,"Cookie") ){
#
^
#
==
#
http._.c:10284:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( QX_totalc = HttpToMyself(Conn,AVStr(REQ),REQ_FIELDS,fc,tc,&stcode) ){
#
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:10284:16: note: place parentheses around the assignment to silence this warning
#
if( QX_totalc = HttpToMyself(Conn,AVStr(REQ),REQ_FIELDS,fc,tc,&stcode) ){
#
^
#
( )
#
http._.c:10284:16: note: use '==' to turn this assignment into an equality comparison
#
if( QX_totalc = HttpToMyself(Conn,AVStr(REQ),REQ_FIELDS,fc,tc,&stcode) ){
#
^
#
==
#
http._.c:10339:18: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| *uuser == 0 && auth == authb /* for cache hit */
#
~~ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~
#
http._.c:10339:18: note: place parentheses around the '&&' expression to silence this warning
#
|| *uuser == 0 && auth == authb /* for cache hit */
#
^
#
( )
#
http._.c:10480:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(ident.i_user,'@') ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:10480:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(ident.i_user,'@') ){
#
^
#
( )
#
http._.c:10480:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(ident.i_user,'@') ){
#
^
#
==
#
http._.c:10499:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( gtype = decomp_gopherURL(Conn,req,AVStr(path)) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:10499:13: note: place parentheses around the assignment to silence this warning
#
if( gtype = decomp_gopherURL(Conn,req,AVStr(path)) ){
#
^
#
( )
#
http._.c:10499:13: note: use '==' to turn this assignment into an equality comparison
#
if( gtype = decomp_gopherURL(Conn,req,AVStr(path)) ){
#
^
#
==
#
http._.c:10570:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( QX_totalc = httpftp_cached(Conn,tc,user,pass,host,QX_port,path,&rc) ){
#
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:10570:16: note: place parentheses around the assignment to silence this warning
#
if( QX_totalc = httpftp_cached(Conn,tc,user,pass,host,QX_port,path,&rc) ){
#
^
#
( )
#
http._.c:10570:16: note: use '==' to turn this assignment into an equality comparison
#
if( QX_totalc = httpftp_cached(Conn,tc,user,pass,host,QX_port,path,&rc) ){
#
^
#
==
#
http._.c:10590:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strtailstr(ocpath,LOADING) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:10590:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strtailstr(ocpath,LOADING) ){
#
^
#
( )
#
http._.c:10590:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strtailstr(ocpath,LOADING) ){
#
^
#
==
#
http._.c:10631:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strtailstr(QX_cpath,LOADING) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:10631:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strtailstr(QX_cpath,LOADING) ){
#
^
#
( )
#
http._.c:10631:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strtailstr(QX_cpath,LOADING) ){
#
^
#
==
#
http._.c:10638:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp=expfopen("HTTP",CACHE_DONTEXP,AVStr(QX_cpath),"r",&cdate) ){
#
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:10638:9: note: place parentheses around the assignment to silence this warning
#
if( fp=expfopen("HTTP",CACHE_DONTEXP,AVStr(QX_cpath),"r",&cdate) ){
#
^
#
( )
#
http._.c:10638:9: note: use '==' to turn this assignment into an equality comparison
#
if( fp=expfopen("HTTP",CACHE_DONTEXP,AVStr(QX_cpath),"r",&cdate) ){
#
^
#
==
#
http._.c:10665:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strtailstr(cpath,LOADING) )
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:10665:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strtailstr(cpath,LOADING) )
#
^
#
( )
#
http._.c:10665:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strtailstr(cpath,LOADING) )
#
^
#
==
#
http._.c:10715:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( QX_cachefp = cache_fopen_rw("HTTP",AVStr(xcpath)) ){
#
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:10715:17: note: place parentheses around the assignment to silence this warning
#
if( QX_cachefp = cache_fopen_rw("HTTP",AVStr(xcpath)) ){
#
^
#
( )
#
http._.c:10715:17: note: use '==' to turn this assignment into an equality comparison
#
if( QX_cachefp = cache_fopen_rw("HTTP",AVStr(xcpath)) ){
#
^
#
==
#
http._.c:10754:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( cp = strtailstr(QX_cpath,LOADING) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:10754:9: note: place parentheses around the assignment to silence this warning
#
if( cp = strtailstr(QX_cpath,LOADING) ){
#
^
#
( )
#
http._.c:10754:9: note: use '==' to turn this assignment into an equality comparison
#
if( cp = strtailstr(QX_cpath,LOADING) ){
#
^
#
==
#
http._.c:10815:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( op = strtailstr(opath,LOADING) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:10815:9: note: place parentheses around the assignment to silence this warning
#
if( op = strtailstr(opath,LOADING) ){
#
^
#
( )
#
http._.c:10815:9: note: use '==' to turn this assignment into an equality comparison
#
if( op = strtailstr(opath,LOADING) ){
#
^
#
==
#
http._.c:10820:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp = dirfopen("HTTPcache",AVStr(opath),"w") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:10820:11: note: place parentheses around the assignment to silence this warning
#
if( fp = dirfopen("HTTPcache",AVStr(opath),"w") ){
#
^
#
( )
#
http._.c:10820:11: note: use '==' to turn this assignment into an equality comparison
#
if( fp = dirfopen("HTTPcache",AVStr(opath),"w") ){
#
^
#
==
#
http._.c:10828:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp = fopen(opath,"r") ){
#
~~~^~~~~~~~~~~~~~~~~~
#
http._.c:10828:11: note: place parentheses around the assignment to silence this warning
#
if( fp = fopen(opath,"r") ){
#
^
#
( )
#
http._.c:10828:11: note: use '==' to turn this assignment into an equality comparison
#
if( fp = fopen(opath,"r") ){
#
^
#
==
#
http._.c:11039:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strtailstr(QX_cpath,LOADING) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:11039:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strtailstr(QX_cpath,LOADING) ){
#
^
#
( )
#
http._.c:11039:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strtailstr(QX_cpath,LOADING) ){
#
^
#
==
#
http._.c:11053:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( QX_cachefp = cache_fopen_rd("HTTP",AVStr(QX_cpath),QX_expire,&QX_cdate) ){
#
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:11053:17: note: place parentheses around the assignment to silence this warning
#
if( QX_cachefp = cache_fopen_rd("HTTP",AVStr(QX_cpath),QX_expire,&QX_cdate) ){
#
^
#
( )
#
http._.c:11053:17: note: use '==' to turn this assignment into an equality comparison
#
if( QX_cachefp = cache_fopen_rd("HTTP",AVStr(QX_cpath),QX_expire,&QX_cdate) ){
#
^
#
==
#
http._.c:11168:3: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
}else{
#
^
#
http._.c:11478:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( bp = strSeekEOHX(OREQ_MSG,OREQ_LEN) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:11478:10: note: place parentheses around the assignment to silence this warning
#
if( bp = strSeekEOHX(OREQ_MSG,OREQ_LEN) ){
#
^
#
( )
#
http._.c:11478:10: note: use '==' to turn this assignment into an equality comparison
#
if( bp = strSeekEOHX(OREQ_MSG,OREQ_LEN) ){
#
^
#
==
#
http._.c:11698:30: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( feof(fc) || isWindows() && !IsAlive(ClientSock) ){
#
~~ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:11698:30: note: place parentheses around the '&&' expression to silence this warning
#
if( feof(fc) || isWindows() && !IsAlive(ClientSock) ){
#
~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:11831:30: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( feof(fc) || isWindows() && !IsAlive(ClientSock) ){
#
~~ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:11831:30: note: place parentheses around the '&&' expression to silence this warning
#
if( feof(fc) || isWindows() && !IsAlive(ClientSock) ){
#
~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:11998:3: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
}else
#
^
#
http._.c:12034:3: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
}else
#
^
#
http._.c:12046:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
}else
#
^
#
http._.c:12067:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( QX_upath = strchr(REQ,'/') )
#
~~~~~~~~~^~~~~~~~~~~~~~~~~
#
http._.c:12067:15: note: place parentheses around the assignment to silence this warning
#
if( QX_upath = strchr(REQ,'/') )
#
^
#
( )
#
http._.c:12067:15: note: use '==' to turn this assignment into an equality comparison
#
if( QX_upath = strchr(REQ,'/') )
#
^
#
==
#
http._.c:12142:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( Conn->sv_reusing = getServ(Conn) ) /* FromS is set ... */
#
~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
#
http._.c:12142:24: note: place parentheses around the assignment to silence this warning
#
if( Conn->sv_reusing = getServ(Conn) ) /* FromS is set ... */
#
^
#
( )
#
http._.c:12142:24: note: use '==' to turn this assignment into an equality comparison
#
if( Conn->sv_reusing = getServ(Conn) ) /* FromS is set ... */
#
^
#
==
#
http._.c:12169:3: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
}else
#
^
#
http._.c:12569:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fvp = findFieldValue(head,"Authorization") ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:12569:10: note: place parentheses around the assignment to silence this warning
#
if( fvp = findFieldValue(head,"Authorization") ){
#
^
#
( )
#
http._.c:12569:10: note: use '==' to turn this assignment into an equality comparison
#
if( fvp = findFieldValue(head,"Authorization") ){
#
^
#
==
#
http._.c:12676:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fvp = findFieldValue(OREQ_MSG,qfname) ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
http._.c:12676:10: note: place parentheses around the assignment to silence this warning
#
if( fvp = findFieldValue(OREQ_MSG,qfname) ){
#
^
#
( )
#
http._.c:12676:10: note: use '==' to turn this assignment into an equality comparison
#
if( fvp = findFieldValue(OREQ_MSG,qfname) ){
#
^
#
==
#
http._.c:12802:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( rp = strSeekEOH(RESP_MSG) )
#
~~~^~~~~~~~~~~~~~~~~~~~~~
#
http._.c:12802:11: note: place parentheses around the assignment to silence this warning
#
if( rp = strSeekEOH(RESP_MSG) )
#
^
#
( )
#
http._.c:12802:11: note: use '==' to turn this assignment into an equality comparison
#
if( rp = strSeekEOH(RESP_MSG) )
#
^
#
==
#
http._.c:12817:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( qp = strSeekEOH(OREQ_MSG) )
#
~~~^~~~~~~~~~~~~~~~~~~~~~
#
http._.c:12817:9: note: place parentheses around the assignment to silence this warning
#
if( qp = strSeekEOH(OREQ_MSG) )
#
^
#
( )
#
http._.c:12817:9: note: use '==' to turn this assignment into an equality comparison
#
if( qp = strSeekEOH(OREQ_MSG) )
#
^
#
==
#
http._.c:12836:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( rp = strSeekEOH(RESP_MSG) )
#
~~~^~~~~~~~~~~~~~~~~~~~~~
#
http._.c:12836:11: note: place parentheses around the assignment to silence this warning
#
if( rp = strSeekEOH(RESP_MSG) )
#
^
#
( )
#
http._.c:12836:11: note: use '==' to turn this assignment into an equality comparison
#
if( rp = strSeekEOH(RESP_MSG) )
#
^
#
==
#
http._.c:13474:5: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
}else
#
^
#
173 warnings generated.
#
../mkcpp httpx.c httpx._.c
#
-- mkcpp set time: 1492117334 -> 1412511406 httpx._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c httpx._.c -o httpx.o
#
httpx._.c:48:3: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
}else
#
^
#
httpx._.c:313:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp = fopen(path,"r") ){
#
~~~^~~~~~~~~~~~~~~~~
#
httpx._.c:313:10: note: place parentheses around the assignment to silence this warning
#
if( fp = fopen(path,"r") ){
#
^
#
( )
#
httpx._.c:313:10: note: use '==' to turn this assignment into an equality comparison
#
if( fp = fopen(path,"r") ){
#
^
#
==
#
httpx._.c:522:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strpbrk(loc,"\r\n") )
#
~~~^~~~~~~~~~~~~~~~~~~~~
#
httpx._.c:522:12: note: place parentheses around the assignment to silence this warning
#
if( dp = strpbrk(loc,"\r\n") )
#
^
#
( )
#
httpx._.c:522:12: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strpbrk(loc,"\r\n") )
#
^
#
==
#
3 warnings generated.
#
../mkcpp httplog.c httplog._.c
#
-- mkcpp set time: 1492117334 -> 1275192613 httplog._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c httplog._.c -o httplog.o
#
httplog._.c:54:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( buff = LOG_buffer(log) ){
#
~~~~~^~~~~~~~~~~~~~~~~
#
httplog._.c:54:11: note: place parentheses around the assignment to silence this warning
#
if( buff = LOG_buffer(log) ){
#
^
#
( )
#
httplog._.c:54:11: note: use '==' to turn this assignment into an equality comparison
#
if( buff = LOG_buffer(log) ){
#
^
#
==
#
httplog._.c:125:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( fp = fmt; fc = *fp; fp++ ){
#
~~~^~~~~
#
httplog._.c:125:20: note: place parentheses around the assignment to silence this warning
#
for( fp = fmt; fc = *fp; fp++ ){
#
^
#
( )
#
httplog._.c:125:20: note: use '==' to turn this assignment into an equality comparison
#
for( fp = fmt; fc = *fp; fp++ ){
#
^
#
==
#
httplog._.c:252:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( upath = URL_toMyself(Conn,referer) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
httplog._.c:252:12: note: place parentheses around the assignment to silence this warning
#
if( upath = URL_toMyself(Conn,referer) ){
#
^
#
( )
#
httplog._.c:252:12: note: use '==' to turn this assignment into an equality comparison
#
if( upath = URL_toMyself(Conn,referer) ){
#
^
#
==
#
3 warnings generated.
#
../mkcpp httphead.c httphead._.c
#
-- mkcpp set time: 1492117334 -> 1407737111 httphead._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c httphead._.c -o httphead.o
#
httphead._.c:281:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( data = getMssg(url,&len) )
#
~~~~~^~~~~~~~~~~~~~~~~~~
#
httphead._.c:281:11: note: place parentheses around the assignment to silence this warning
#
if( data = getMssg(url,&len) )
#
^
#
( )
#
httphead._.c:281:11: note: use '==' to turn this assignment into an equality comparison
#
if( data = getMssg(url,&len) )
#
^
#
==
#
httphead._.c:444:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( kp = strstr(val,"sign=\"rsa:") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
#
httphead._.c:444:10: note: place parentheses around the assignment to silence this warning
#
if( kp = strstr(val,"sign=\"rsa:") ){
#
^
#
( )
#
httphead._.c:444:10: note: use '==' to turn this assignment into an equality comparison
#
if( kp = strstr(val,"sign=\"rsa:") ){
#
^
#
==
#
httphead._.c:515:10: warning: unsequenced modification and access to 'leng' [-Wunsequenced]
#
leng += FPRINTF(tc,"Date: %s\r\n",date);
#
~~ ^
#
httphead._.c:32:23: note: expanded from macro 'FPRINTF'
#
#define FPRINTF leng += Fprintf
#
^
#
httphead._.c:516:10: warning: unsequenced modification and access to 'leng' [-Wunsequenced]
#
leng += FPRINTF(tc,"Server: %s\r\n",server);
#
~~ ^
#
httphead._.c:32:23: note: expanded from macro 'FPRINTF'
#
#define FPRINTF leng += Fprintf
#
^
#
httphead._.c:520:11: warning: unsequenced modification and access to 'leng' [-Wunsequenced]
#
leng += FPRINTF(tc,"ETag: %s\r\n",genETag);
#
~~ ^
#
httphead._.c:32:23: note: expanded from macro 'FPRINTF'
#
#define FPRINTF leng += Fprintf
#
^
#
httphead._.c:524:11: warning: unsequenced modification and access to 'leng' [-Wunsequenced]
#
leng += FPRINTF(tc,"%s",addRespHeaders);
#
~~ ^
#
httphead._.c:32:23: note: expanded from macro 'FPRINTF'
#
#define FPRINTF leng += Fprintf
#
^
#
httphead._.c:677:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( leng = getKeepAlive(Conn,AVStr(buff)) )
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
httphead._.c:677:11: note: place parentheses around the assignment to silence this warning
#
if( leng = getKeepAlive(Conn,AVStr(buff)) )
#
^
#
( )
#
httphead._.c:677:11: note: use '==' to turn this assignment into an equality comparison
#
if( leng = getKeepAlive(Conn,AVStr(buff)) )
#
^
#
==
#
httphead._.c:749:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( ohpp = findFieldValue(head,"Host") ){
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
httphead._.c:749:11: note: place parentheses around the assignment to silence this warning
#
if( ohpp = findFieldValue(head,"Host") ){
#
^
#
( )
#
httphead._.c:749:11: note: use '==' to turn this assignment into an equality comparison
#
if( ohpp = findFieldValue(head,"Host") ){
#
^
#
==
#
httphead._.c:751:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( hp = ohpb; hc = *hp; hp++ ){
#
~~~^~~~~
#
httphead._.c:751:22: note: place parentheses around the assignment to silence this warning
#
for( hp = ohpb; hc = *hp; hp++ ){
#
^
#
( )
#
httphead._.c:751:22: note: use '==' to turn this assignment into an equality comparison
#
for( hp = ohpb; hc = *hp; hp++ ){
#
^
#
==
#
httphead._.c:916:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( url = strpbrk(request," \t") ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~
#
httphead._.c:916:11: note: place parentheses around the assignment to silence this warning
#
if( url = strpbrk(request," \t") ){
#
^
#
( )
#
httphead._.c:916:11: note: use '==' to turn this assignment into an equality comparison
#
if( url = strpbrk(request," \t") ){
#
^
#
==
#
httphead._.c:1051:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( opts = vmount_referer(Conn,AVStr(url)) ){
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
httphead._.c:1051:12: note: place parentheses around the assignment to silence this warning
#
if( opts = vmount_referer(Conn,AVStr(url)) ){
#
^
#
( )
#
httphead._.c:1051:12: note: use '==' to turn this assignment into an equality comparison
#
if( opts = vmount_referer(Conn,AVStr(url)) ){
#
^
#
==
#
httphead._.c:1060:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( nfp = strchr(val,'\n') )
#
~~~~^~~~~~~~~~~~~~~~~~
#
httphead._.c:1060:11: note: place parentheses around the assignment to silence this warning
#
if( nfp = strchr(val,'\n') )
#
^
#
( )
#
httphead._.c:1060:11: note: use '==' to turn this assignment into an equality comparison
#
if( nfp = strchr(val,'\n') )
#
^
#
==
#
httphead._.c:1075:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( val = findFieldValue(fields,"Referer") ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
httphead._.c:1075:10: note: place parentheses around the assignment to silence this warning
#
if( val = findFieldValue(fields,"Referer") ){
#
^
#
( )
#
httphead._.c:1075:10: note: use '==' to turn this assignment into an equality comparison
#
if( val = findFieldValue(fields,"Referer") ){
#
^
#
==
#
httphead._.c:1106:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( up = (char*)URL_toMyself(Conn,url) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
httphead._.c:1106:9: note: place parentheses around the assignment to silence this warning
#
if( up = (char*)URL_toMyself(Conn,url) ){
#
^
#
( )
#
httphead._.c:1106:9: note: use '==' to turn this assignment into an equality comparison
#
if( up = (char*)URL_toMyself(Conn,url) ){
#
^
#
==
#
httphead._.c:1143:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( port = forcedIF_H(Conn,BVStr(host)) )
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
httphead._.c:1143:11: note: place parentheses around the assignment to silence this warning
#
if( port = forcedIF_H(Conn,BVStr(host)) )
#
^
#
( )
#
httphead._.c:1143:11: note: use '==' to turn this assignment into an equality comparison
#
if( port = forcedIF_H(Conn,BVStr(host)) )
#
^
#
==
#
httphead._.c:1192:67: warning: '/*' within block comment [-Wcomment]
#
* When the parent HTTP server is also DeleGate, /-/builtin/icons/*
#
^
#
httphead._.c:1262:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( rcode = CTX_moved_url_to(Conn,OREQ_VHOST,REQ_METHOD,AVStr(furl)) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
httphead._.c:1262:12: note: place parentheses around the assignment to silence this warning
#
if( rcode = CTX_moved_url_to(Conn,OREQ_VHOST,REQ_METHOD,AVStr(furl)) ){
#
^
#
( )
#
httphead._.c:1262:12: note: use '==' to turn this assignment into an equality comparison
#
if( rcode = CTX_moved_url_to(Conn,OREQ_VHOST,REQ_METHOD,AVStr(furl)) ){
#
^
#
==
#
httphead._.c:1336:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( query = strstr(moved_url,"?-.-=") ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
#
httphead._.c:1336:12: note: place parentheses around the assignment to silence this warning
#
if( query = strstr(moved_url,"?-.-=") ){
#
^
#
( )
#
httphead._.c:1336:12: note: use '==' to turn this assignment into an equality comparison
#
if( query = strstr(moved_url,"?-.-=") ){
#
^
#
==
#
httphead._.c:1409:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( rp = strstr(opts,"rcode=") )
#
~~~^~~~~~~~~~~~~~~~~~~~~~~
#
httphead._.c:1409:9: note: place parentheses around the assignment to silence this warning
#
if( rp = strstr(opts,"rcode=") )
#
^
#
( )
#
httphead._.c:1409:9: note: use '==' to turn this assignment into an equality comparison
#
if( rp = strstr(opts,"rcode=") )
#
^
#
==
#
httphead._.c:1410:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( rcode = atoi(rp+6) ){
#
~~~~~~^~~~~~~~~~~~
#
httphead._.c:1410:12: note: place parentheses around the assignment to silence this warning
#
if( rcode = atoi(rp+6) ){
#
^
#
( )
#
httphead._.c:1410:12: note: use '==' to turn this assignment into an equality comparison
#
if( rcode = atoi(rp+6) ){
#
^
#
==
#
httphead._.c:1540:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strcasestr(opts,"urlesc=") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
httphead._.c:1540:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strcasestr(opts,"urlesc=") ){
#
^
#
( )
#
httphead._.c:1540:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strcasestr(opts,"urlesc=") ){
#
^
#
==
#
httphead._.c:1576:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( opts = CTX_onerror_url_to(Conn,NULL,reqx.hq_method,AVStr(eurl)) ){
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
httphead._.c:1576:11: note: place parentheses around the assignment to silence this warning
#
if( opts = CTX_onerror_url_to(Conn,NULL,reqx.hq_method,AVStr(eurl)) ){
#
^
#
( )
#
httphead._.c:1576:11: note: use '==' to turn this assignment into an equality comparison
#
if( opts = CTX_onerror_url_to(Conn,NULL,reqx.hq_method,AVStr(eurl)) ){
#
^
#
==
#
httphead._.c:1614:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( tp = oval; tc = *tp; tp++ )
#
~~~^~~~~
#
httphead._.c:1614:21: note: place parentheses around the assignment to silence this warning
#
for( tp = oval; tc = *tp; tp++ )
#
^
#
( )
#
httphead._.c:1614:21: note: use '==' to turn this assignment into an equality comparison
#
for( tp = oval; tc = *tp; tp++ )
#
^
#
==
#
httphead._.c:1618:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( sp = val; sc = *sp; sp++ ){
#
~~~^~~~~
#
httphead._.c:1618:20: note: place parentheses around the assignment to silence this warning
#
for( sp = val; sc = *sp; sp++ ){
#
^
#
( )
#
httphead._.c:1618:20: note: use '==' to turn this assignment into an equality comparison
#
for( sp = val; sc = *sp; sp++ ){
#
^
#
==
#
httphead._.c:1627:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( sp = tp; sc = *sp; sp++ )
#
~~~^~~~~
#
httphead._.c:1627:20: note: place parentheses around the assignment to silence this warning
#
for( sp = tp; sc = *sp; sp++ )
#
^
#
( )
#
httphead._.c:1627:20: note: use '==' to turn this assignment into an equality comparison
#
for( sp = tp; sc = *sp; sp++ )
#
^
#
==
#
httphead._.c:1693:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(login,':') )
#
~~~^~~~~~~~~~~~~~~~~~~
#
httphead._.c:1693:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(login,':') )
#
^
#
( )
#
httphead._.c:1693:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(login,':') )
#
^
#
==
#
httphead._.c:1735:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( cp = findFieldValue(OREQ_MSG,"Cookie") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
httphead._.c:1735:9: note: place parentheses around the assignment to silence this warning
#
if( cp = findFieldValue(OREQ_MSG,"Cookie") ){
#
^
#
( )
#
httphead._.c:1735:9: note: use '==' to turn this assignment into an equality comparison
#
if( cp = findFieldValue(OREQ_MSG,"Cookie") ){
#
^
#
==
#
httphead._.c:1814:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for(; uc = url[ux]; ux++ )
#
~~~^~~~~~~~~
#
httphead._.c:1814:11: note: place parentheses around the assignment to silence this warning
#
for(; uc = url[ux]; ux++ )
#
^
#
( )
#
httphead._.c:1814:11: note: use '==' to turn this assignment into an equality comparison
#
for(; uc = url[ux]; ux++ )
#
^
#
==
#
httphead._.c:1861:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(rsite,'@') ){
#
~~~^~~~~~~~~~~~~~~~~~~
#
httphead._.c:1861:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(rsite,'@') ){
#
^
#
( )
#
httphead._.c:1861:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(rsite,'@') ){
#
^
#
==
#
httphead._.c:2080:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( ncdate = HTTP_getLastModInCache(AVStr(scdate),size,cachefp,cpath) )
#
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
httphead._.c:2080:13: note: place parentheses around the assignment to silence this warning
#
if( ncdate = HTTP_getLastModInCache(AVStr(scdate),size,cachefp,cpath) )
#
^
#
( )
#
httphead._.c:2080:13: note: use '==' to turn this assignment into an equality comparison
#
if( ncdate = HTTP_getLastModInCache(AVStr(scdate),size,cachefp,cpath) )
#
^
#
==
#
httphead._.c:2128:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( nesc = url_escapeX(aval,AVStr(aval),avsiz,HTTP_passesc,"") ){
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
httphead._.c:2128:12: note: place parentheses around the assignment to silence this warning
#
if( nesc = url_escapeX(aval,AVStr(aval),avsiz,HTTP_passesc,"") ){
#
^
#
( )
#
httphead._.c:2128:12: note: use '==' to turn this assignment into an equality comparison
#
if( nesc = url_escapeX(aval,AVStr(aval),avsiz,HTTP_passesc,"") ){
#
^
#
==
#
httphead._.c:2177:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strrchr(ident->i_user,'@') ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
httphead._.c:2177:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strrchr(ident->i_user,'@') ){
#
^
#
( )
#
httphead._.c:2177:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strrchr(ident->i_user,'@') ){
#
^
#
==
#
httphead._.c:2247:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( ratype = HTTP_getAuthorization2(Conn,&ident,0) )
#
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
httphead._.c:2247:13: note: place parentheses around the assignment to silence this warning
#
if( ratype = HTTP_getAuthorization2(Conn,&ident,0) )
#
^
#
( )
#
httphead._.c:2247:13: note: use '==' to turn this assignment into an equality comparison
#
if( ratype = HTTP_getAuthorization2(Conn,&ident,0) )
#
^
#
==
#
httphead._.c:2264:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strrchr(aval,'/') ){
#
~~~^~~~~~~~~~~~~~~~~~~
#
httphead._.c:2264:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strrchr(aval,'/') ){
#
^
#
( )
#
httphead._.c:2264:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strrchr(aval,'/') ){
#
^
#
==
#
httphead._.c:2280:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( rcode = doAuth(Conn,&ident) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~
#
httphead._.c:2280:13: note: place parentheses around the assignment to silence this warning
#
if( rcode = doAuth(Conn,&ident) ){
#
^
#
( )
#
httphead._.c:2280:13: note: use '==' to turn this assignment into an equality comparison
#
if( rcode = doAuth(Conn,&ident) ){
#
^
#
==
#
httphead._.c:2397:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( url = strpbrk(OREQ," \t") ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~
#
httphead._.c:2397:11: note: place parentheses around the assignment to silence this warning
#
if( url = strpbrk(OREQ," \t") ){
#
^
#
( )
#
httphead._.c:2397:11: note: use '==' to turn this assignment into an equality comparison
#
if( url = strpbrk(OREQ," \t") ){
#
^
#
==
#
httphead._.c:2401:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( up = URL_toMyself(Conn,url) )
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~
#
httphead._.c:2401:11: note: place parentheses around the assignment to silence this warning
#
if( up = URL_toMyself(Conn,url) )
#
^
#
( )
#
httphead._.c:2401:11: note: use '==' to turn this assignment into an equality comparison
#
if( up = URL_toMyself(Conn,url) )
#
^
#
==
#
httphead._.c:2403:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( up = URL_toMyself(Conn,urlc) )
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~
#
httphead._.c:2403:11: note: place parentheses around the assignment to silence this warning
#
if( up = URL_toMyself(Conn,urlc) )
#
^
#
( )
#
httphead._.c:2403:11: note: use '==' to turn this assignment into an equality comparison
#
if( up = URL_toMyself(Conn,urlc) )
#
^
#
==
#
httphead._.c:2445:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
while( ch = *sp ){
#
~~~^~~~~
#
httphead._.c:2445:12: note: place parentheses around the assignment to silence this warning
#
while( ch = *sp ){
#
^
#
( )
#
httphead._.c:2445:12: note: use '==' to turn this assignment into an equality comparison
#
while( ch = *sp ){
#
^
#
==
#
httphead._.c:2451:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
while( ch = *sp ){
#
~~~^~~~~
#
httphead._.c:2451:13: note: place parentheses around the assignment to silence this warning
#
while( ch = *sp ){
#
^
#
( )
#
httphead._.c:2451:13: note: use '==' to turn this assignment into an equality comparison
#
while( ch = *sp ){
#
^
#
==
#
httphead._.c:2470:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( ffname = findField(OREQ_MSG,fname,&ffbody) ){
#
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
httphead._.c:2470:14: note: place parentheses around the assignment to silence this warning
#
if( ffname = findField(OREQ_MSG,fname,&ffbody) ){
#
^
#
( )
#
httphead._.c:2470:14: note: use '==' to turn this assignment into an equality comparison
#
if( ffname = findField(OREQ_MSG,fname,&ffbody) ){
#
^
#
==
#
httphead._.c:2505:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( ffname = findField(CurEnv->r_fields,fname,&ffbody) ){
#
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
httphead._.c:2505:13: note: place parentheses around the assignment to silence this warning
#
if( ffname = findField(CurEnv->r_fields,fname,&ffbody) ){
#
^
#
( )
#
httphead._.c:2505:13: note: use '==' to turn this assignment into an equality comparison
#
if( ffname = findField(CurEnv->r_fields,fname,&ffbody) ){
#
^
#
==
#
httphead._.c:2543:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( value = strchr(field,':') ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~
#
httphead._.c:2543:12: note: place parentheses around the assignment to silence this warning
#
if( value = strchr(field,':') ){
#
^
#
( )
#
httphead._.c:2543:12: note: use '==' to turn this assignment into an equality comparison
#
if( value = strchr(field,':') ){
#
^
#
==
#
httphead._.c:2554:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
while( pp = strstr(value,"(pragma=") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
#
httphead._.c:2554:12: note: place parentheses around the assignment to silence this warning
#
while( pp = strstr(value,"(pragma=") ){
#
^
#
( )
#
httphead._.c:2554:12: note: use '==' to turn this assignment into an equality comparison
#
while( pp = strstr(value,"(pragma=") ){
#
^
#
==
#
httphead._.c:2564:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(pp,')') )
#
~~~^~~~~~~~~~~~~~~~
#
httphead._.c:2564:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(pp,')') )
#
^
#
( )
#
httphead._.c:2564:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(pp,')') )
#
^
#
==
#
httphead._.c:2591:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
while( pp = strstr(value,"()") )
#
~~~^~~~~~~~~~~~~~~~~~~~
#
httphead._.c:2591:12: note: place parentheses around the assignment to silence this warning
#
while( pp = strstr(value,"()") )
#
^
#
( )
#
httphead._.c:2591:12: note: use '==' to turn this assignment into an equality comparison
#
while( pp = strstr(value,"()") )
#
^
#
==
#
httphead._.c:2652:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( mi = 0; m1 = methodv[mi].m_name; mi++ ){
#
~~~^~~~~~~~~~~~~~~~~~~~
#
httphead._.c:2652:19: note: place parentheses around the assignment to silence this warning
#
for( mi = 0; m1 = methodv[mi].m_name; mi++ ){
#
^
#
( )
#
httphead._.c:2652:19: note: use '==' to turn this assignment into an equality comparison
#
for( mi = 0; m1 = methodv[mi].m_name; mi++ ){
#
^
#
==
#
httphead._.c:2704:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( mi = 0; m1 = methodv[mi].m_name; mi++ ){
#
~~~^~~~~~~~~~~~~~~~~~~~
#
httphead._.c:2704:18: note: place parentheses around the assignment to silence this warning
#
for( mi = 0; m1 = methodv[mi].m_name; mi++ ){
#
^
#
( )
#
httphead._.c:2704:18: note: use '==' to turn this assignment into an equality comparison
#
for( mi = 0; m1 = methodv[mi].m_name; mi++ ){
#
^
#
==
#
httphead._.c:3034:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( np = strchr(mp,'\n') )
#
~~~^~~~~~~~~~~~~~~~~
#
httphead._.c:3034:10: note: place parentheses around the assignment to silence this warning
#
if( np = strchr(mp,'\n') )
#
^
#
( )
#
httphead._.c:3034:10: note: use '==' to turn this assignment into an equality comparison
#
if( np = strchr(mp,'\n') )
#
^
#
==
#
httphead._.c:3045:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( rhead = strstr(MountOptions,"rhead=+") ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
httphead._.c:3045:13: note: place parentheses around the assignment to silence this warning
#
if( rhead = strstr(MountOptions,"rhead=+") ){
#
^
#
( )
#
httphead._.c:3045:13: note: use '==' to turn this assignment into an equality comparison
#
if( rhead = strstr(MountOptions,"rhead=+") ){
#
^
#
==
#
httphead._.c:3063:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( sp = scanint(sp,&rcode) ){
#
~~~^~~~~~~~~~~~~~~~~~~~
#
httphead._.c:3063:10: note: place parentheses around the assignment to silence this warning
#
if( sp = scanint(sp,&rcode) ){
#
^
#
( )
#
httphead._.c:3063:10: note: use '==' to turn this assignment into an equality comparison
#
if( sp = scanint(sp,&rcode) ){
#
^
#
==
#
httphead._.c:3109:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
}else
#
^
#
httphead._.c:3241:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strstr(REQ_UA,"Mozilla/") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
#
httphead._.c:3241:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strstr(REQ_UA,"Mozilla/") ){
#
^
#
( )
#
httphead._.c:3241:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strstr(REQ_UA,"Mozilla/") ){
#
^
#
==
#
httphead._.c:3305:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( qop_auth = streq(seed->i_qop,"auth") ){
#
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
#
httphead._.c:3305:15: note: place parentheses around the assignment to silence this warning
#
if( qop_auth = streq(seed->i_qop,"auth") ){
#
^
#
( )
#
httphead._.c:3305:15: note: use '==' to turn this assignment into an equality comparison
#
if( qop_auth = streq(seed->i_qop,"auth") ){
#
^
#
==
#
54 warnings generated.
#
../mkcpp httpd.c httpd._.c
#
-- mkcpp set time: 1492117334 -> 1411873597 httpd._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c httpd._.c -o httpd.o
#
httpd._.c:339:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( data = strchr(dataspec,',') ){
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~
#
httpd._.c:339:11: note: place parentheses around the assignment to silence this warning
#
if( data = strchr(dataspec,',') ){
#
^
#
( )
#
httpd._.c:339:11: note: use '==' to turn this assignment into an equality comparison
#
if( data = strchr(dataspec,',') ){
#
^
#
==
#
httpd._.c:719:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( leng = putRobotsTxt(Conn,tc,NULL,0) )
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
httpd._.c:719:13: note: place parentheses around the assignment to silence this warning
#
if( leng = putRobotsTxt(Conn,tc,NULL,0) )
#
^
#
( )
#
httpd._.c:719:13: note: use '==' to turn this assignment into an equality comparison
#
if( leng = putRobotsTxt(Conn,tc,NULL,0) )
#
^
#
==
#
httpd._.c:734:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( leng = putLocal(Conn,vno,method,AVStr(req),head,AVStr(path),fc,tc,stcodep) )
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
httpd._.c:734:11: note: place parentheses around the assignment to silence this warning
#
if( leng = putLocal(Conn,vno,method,AVStr(req),head,AVStr(path),fc,tc,stcodep) )
#
^
#
( )
#
httpd._.c:734:11: note: use '==' to turn this assignment into an equality comparison
#
if( leng = putLocal(Conn,vno,method,AVStr(req),head,AVStr(path),fc,tc,stcodep) )
#
^
#
==
#
httpd._.c:744:15: warning: '/*' within block comment [-Wcomment]
#
/* MOUNT="/p/* http://v/* vhost=-v */
#
^
#
httpd._.c:744:26: warning: '/*' within block comment [-Wcomment]
#
/* MOUNT="/p/* http://v/* vhost=-v */
#
^
#
httpd._.c:897:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( isnew = (Tmp == NULL) ){
#
~~~~~~^~~~~~~~~~~~~~~
#
httpd._.c:897:12: note: place parentheses around the assignment to silence this warning
#
if( isnew = (Tmp == NULL) ){
#
^
#
( )
#
httpd._.c:897:12: note: use '==' to turn this assignment into an equality comparison
#
if( isnew = (Tmp == NULL) ){
#
^
#
==
#
httpd._.c:917:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( proto = Conn->my_vbase.u_proto ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
#
httpd._.c:917:13: note: place parentheses around the assignment to silence this warning
#
if( proto = Conn->my_vbase.u_proto ){
#
^
#
( )
#
httpd._.c:917:13: note: use '==' to turn this assignment into an equality comparison
#
if( proto = Conn->my_vbase.u_proto ){
#
^
#
==
#
httpd._.c:944:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(url+7,'/') )
#
~~~^~~~~~~~~~~~~~~~~~~
#
httpd._.c:944:11: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(url+7,'/') )
#
^
#
( )
#
httpd._.c:944:11: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(url+7,'/') )
#
^
#
==
#
httpd._.c:1228:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( rpath = strstr(url,"://") ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~
#
httpd._.c:1228:12: note: place parentheses around the assignment to silence this warning
#
if( rpath = strstr(url,"://") ){
#
^
#
( )
#
httpd._.c:1228:12: note: use '==' to turn this assignment into an equality comparison
#
if( rpath = strstr(url,"://") ){
#
^
#
==
#
httpd._.c:1230:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( rpath = strchr(rpath,'/') ) /* skip server part */
#
~~~~~~^~~~~~~~~~~~~~~~~~~
#
httpd._.c:1230:13: note: place parentheses around the assignment to silence this warning
#
if( rpath = strchr(rpath,'/') ) /* skip server part */
#
^
#
( )
#
httpd._.c:1230:13: note: use '==' to turn this assignment into an equality comparison
#
if( rpath = strchr(rpath,'/') ) /* skip server part */
#
^
#
==
#
httpd._.c:1233:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( rpath = strstr(url,":/") )
#
~~~~~~^~~~~~~~~~~~~~~~~~
#
httpd._.c:1233:12: note: place parentheses around the assignment to silence this warning
#
if( rpath = strstr(url,":/") )
#
^
#
( )
#
httpd._.c:1233:12: note: use '==' to turn this assignment into an equality comparison
#
if( rpath = strstr(url,":/") )
#
^
#
==
#
httpd._.c:1382:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(kp->k_pat,'*') ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~
#
httpd._.c:1382:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(kp->k_pat,'*') ){
#
^
#
( )
#
httpd._.c:1382:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(kp->k_pat,'*') ){
#
^
#
==
#
httpd._.c:1421:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( np = strpbrk(hp,"\r\n") ){
#
~~~^~~~~~~~~~~~~~~~~~~~
#
httpd._.c:1421:11: note: place parentheses around the assignment to silence this warning
#
if( np = strpbrk(hp,"\r\n") ){
#
^
#
( )
#
httpd._.c:1421:11: note: use '==' to turn this assignment into an equality comparison
#
if( np = strpbrk(hp,"\r\n") ){
#
^
#
==
#
httpd._.c:1453:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(buf,':') ){
#
~~~^~~~~~~~~~~~~~~~~
#
httpd._.c:1453:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(buf,':') ){
#
^
#
( )
#
httpd._.c:1453:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(buf,':') ){
#
^
#
==
#
httpd._.c:1512:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( mo = strstr(list,ot="add-head") )
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
httpd._.c:1512:9: note: place parentheses around the assignment to silence this warning
#
if( mo = strstr(list,ot="add-head") )
#
^
#
( )
#
httpd._.c:1512:9: note: use '==' to turn this assignment into an equality comparison
#
if( mo = strstr(list,ot="add-head") )
#
^
#
==
#
httpd._.c:2087:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp = fopen(xpath,mode) ){
#
~~~^~~~~~~~~~~~~~~~~~~
#
httpd._.c:2087:10: note: place parentheses around the assignment to silence this warning
#
if( fp = fopen(xpath,mode) ){
#
^
#
( )
#
httpd._.c:2087:10: note: use '==' to turn this assignment into an equality comparison
#
if( fp = fopen(xpath,mode) ){
#
^
#
==
#
httpd._.c:2146:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp = fopen(path,"w") ){
#
~~~^~~~~~~~~~~~~~~~~
#
httpd._.c:2146:9: note: place parentheses around the assignment to silence this warning
#
if( fp = fopen(path,"w") ){
#
^
#
( )
#
httpd._.c:2146:9: note: use '==' to turn this assignment into an equality comparison
#
if( fp = fopen(path,"w") ){
#
^
#
==
#
httpd._.c:2173:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( sp = path; sc = *sp; sp++ ){
#
~~~^~~~~
#
httpd._.c:2173:22: note: place parentheses around the assignment to silence this warning
#
for( sp = path; sc = *sp; sp++ ){
#
^
#
( )
#
httpd._.c:2173:22: note: use '==' to turn this assignment into an equality comparison
#
for( sp = path; sc = *sp; sp++ ){
#
^
#
==
#
httpd._.c:2181:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp = ftpxhttp(Conn,path,upath,"","",BVStr(ipath),mtimep) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
httpd._.c:2181:10: note: place parentheses around the assignment to silence this warning
#
if( fp = ftpxhttp(Conn,path,upath,"","",BVStr(ipath),mtimep) ){
#
^
#
( )
#
httpd._.c:2181:10: note: use '==' to turn this assignment into an equality comparison
#
if( fp = ftpxhttp(Conn,path,upath,"","",BVStr(ipath),mtimep) ){
#
^
#
==
#
httpd._.c:2186:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( ii = 0; file = indexurls[ii]; ii++ ){
#
~~~~~^~~~~~~~~~~~~~~
#
httpd._.c:2186:20: note: place parentheses around the assignment to silence this warning
#
for( ii = 0; file = indexurls[ii]; ii++ ){
#
^
#
( )
#
httpd._.c:2186:20: note: use '==' to turn this assignment into an equality comparison
#
for( ii = 0; file = indexurls[ii]; ii++ ){
#
^
#
==
#
httpd._.c:2218:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp = extfopen(ipath,"r") )
#
~~~^~~~~~~~~~~~~~~~~~~~~
#
httpd._.c:2218:11: note: place parentheses around the assignment to silence this warning
#
if( fp = extfopen(ipath,"r") )
#
^
#
( )
#
httpd._.c:2218:11: note: use '==' to turn this assignment into an equality comparison
#
if( fp = extfopen(ipath,"r") )
#
^
#
==
#
httpd._.c:2349:17: warning: '/*' within block comment [-Wcomment]
#
* MOUNT="/vpath/* cgi:/rpath/*"
#
^
#
httpd._.c:2349:30: warning: '/*' within block comment [-Wcomment]
#
* MOUNT="/vpath/* cgi:/rpath/*"
#
^
#
httpd._.c:2379:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(surlb,'?') ){
#
~~~^~~~~~~~~~~~~~~~~~~
#
httpd._.c:2379:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(surlb,'?') ){
#
^
#
( )
#
httpd._.c:2379:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(surlb,'?') ){
#
^
#
==
#
httpd._.c:2418:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( script_namlen = strlen(surlb) ){
#
~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
#
httpd._.c:2418:20: note: place parentheses around the assignment to silence this warning
#
if( script_namlen = strlen(surlb) ){
#
^
#
( )
#
httpd._.c:2418:20: note: use '==' to turn this assignment into an equality comparison
#
if( script_namlen = strlen(surlb) ){
#
^
#
==
#
httpd._.c:2420:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(extrapath,'?') )
#
~~~^~~~~~~~~~~~~~~~~~~~~~~
#
httpd._.c:2420:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(extrapath,'?') )
#
^
#
( )
#
httpd._.c:2420:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(extrapath,'?') )
#
^
#
==
#
httpd._.c:2463:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
while( dp = strrchr(ipath,'/') ){
#
~~~^~~~~~~~~~~~~~~~~~~~
#
httpd._.c:2463:12: note: place parentheses around the assignment to silence this warning
#
while( dp = strrchr(ipath,'/') ){
#
^
#
( )
#
httpd._.c:2463:12: note: use '==' to turn this assignment into an equality comparison
#
while( dp = strrchr(ipath,'/') ){
#
^
#
==
#
httpd._.c:2475:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp = openIndex(Conn,ipath,upath,AVStr(iexecpath),mode,mtimep) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
httpd._.c:2475:10: note: place parentheses around the assignment to silence this warning
#
if( fp = openIndex(Conn,ipath,upath,AVStr(iexecpath),mode,mtimep) ){
#
^
#
( )
#
httpd._.c:2475:10: note: use '==' to turn this assignment into an equality comparison
#
if( fp = openIndex(Conn,ipath,upath,AVStr(iexecpath),mode,mtimep) ){
#
^
#
==
#
httpd._.c:2477:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( xp = strtailstr(script,expath) )
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
#
httpd._.c:2477:11: note: place parentheses around the assignment to silence this warning
#
if( xp = strtailstr(script,expath) )
#
^
#
( )
#
httpd._.c:2477:11: note: use '==' to turn this assignment into an equality comparison
#
if( xp = strtailstr(script,expath) )
#
^
#
==
#
httpd._.c:2486:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp = extfopen(ipath,"r") )
#
~~~^~~~~~~~~~~~~~~~~~~~~
#
httpd._.c:2486:10: note: place parentheses around the assignment to silence this warning
#
if( fp = extfopen(ipath,"r") )
#
^
#
( )
#
httpd._.c:2486:10: note: use '==' to turn this assignment into an equality comparison
#
if( fp = extfopen(ipath,"r") )
#
^
#
==
#
httpd._.c:2490:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( xp = strtailstr(script,expath) )
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
#
httpd._.c:2490:11: note: place parentheses around the assignment to silence this warning
#
if( xp = strtailstr(script,expath) )
#
^
#
( )
#
httpd._.c:2490:11: note: use '==' to turn this assignment into an equality comparison
#
if( xp = strtailstr(script,expath) )
#
^
#
==
#
httpd._.c:2570:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( ep = strstr(OREQ_MSG,"\r\n\r\n") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
httpd._.c:2570:9: note: place parentheses around the assignment to silence this warning
#
if( ep = strstr(OREQ_MSG,"\r\n\r\n") ){
#
^
#
( )
#
httpd._.c:2570:9: note: use '==' to turn this assignment into an equality comparison
#
if( ep = strstr(OREQ_MSG,"\r\n\r\n") ){
#
^
#
==
#
httpd._.c:2573:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( ep = strstr(OREQ_MSG,"\n\n") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~
#
httpd._.c:2573:9: note: place parentheses around the assignment to silence this warning
#
if( ep = strstr(OREQ_MSG,"\n\n") ){
#
^
#
( )
#
httpd._.c:2573:9: note: use '==' to turn this assignment into an equality comparison
#
if( ep = strstr(OREQ_MSG,"\n\n") ){
#
^
#
==
#
httpd._.c:2640:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strcasestr(MountOptions,"search:") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
httpd._.c:2640:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strcasestr(MountOptions,"search:") ){
#
^
#
( )
#
httpd._.c:2640:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strcasestr(MountOptions,"search:") ){
#
^
#
==
#
httpd._.c:2655:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( search = strchr(script,'?') )
#
~~~~~~~^~~~~~~~~~~~~~~~~~~~
#
httpd._.c:2655:13: note: place parentheses around the assignment to silence this warning
#
if( search = strchr(script,'?') )
#
^
#
( )
#
httpd._.c:2655:13: note: use '==' to turn this assignment into an equality comparison
#
if( search = strchr(script,'?') )
#
^
#
==
#
httpd._.c:2676:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( search = strchr(url,'?') ){
#
~~~~~~~^~~~~~~~~~~~~~~~~
#
httpd._.c:2676:13: note: place parentheses around the assignment to silence this warning
#
if( search = strchr(url,'?') ){
#
^
#
( )
#
httpd._.c:2676:13: note: use '==' to turn this assignment into an equality comparison
#
if( search = strchr(url,'?') ){
#
^
#
==
#
httpd._.c:2740:16: warning: '/*' within block comment [-Wcomment]
#
* for MOUNT="/* file:Q:/*"
#
^
#
httpd._.c:2740:26: warning: '/*' within block comment [-Wcomment]
#
* for MOUNT="/* file:Q:/*"
#
^
#
httpd._.c:2788:13: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( search && Search || CGIonly ){
#
~~~~~~~^~~~~~~~~ ~~
#
httpd._.c:2788:13: note: place parentheses around the '&&' expression to silence this warning
#
if( search && Search || CGIonly ){
#
^
#
( )
#
httpd._.c:2793:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp = openIndex(Conn,execpath,upath,AVStr(iexecpath),S_EXEC,&mtime) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
httpd._.c:2793:11: note: place parentheses around the assignment to silence this warning
#
if( fp = openIndex(Conn,execpath,upath,AVStr(iexecpath),S_EXEC,&mtime) ){
#
^
#
( )
#
httpd._.c:2793:11: note: use '==' to turn this assignment into an equality comparison
#
if( fp = openIndex(Conn,execpath,upath,AVStr(iexecpath),S_EXEC,&mtime) ){
#
^
#
==
#
httpd._.c:2810:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( search = strchr(expath,'?') )
#
~~~~~~~^~~~~~~~~~~~~~~~~~~~
#
httpd._.c:2810:15: note: place parentheses around the assignment to silence this warning
#
if( search = strchr(expath,'?') )
#
^
#
( )
#
httpd._.c:2810:15: note: use '==' to turn this assignment into an equality comparison
#
if( search = strchr(expath,'?') )
#
^
#
==
#
httpd._.c:2817:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp = openIndex(Conn,datapath,upath,AVStr(idatapath),S_DATA,&mtime) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
httpd._.c:2817:11: note: place parentheses around the assignment to silence this warning
#
if( fp = openIndex(Conn,datapath,upath,AVStr(idatapath),S_DATA,&mtime) ){
#
^
#
( )
#
httpd._.c:2817:11: note: use '==' to turn this assignment into an equality comparison
#
if( fp = openIndex(Conn,datapath,upath,AVStr(idatapath),S_DATA,&mtime) ){
#
^
#
==
#
httpd._.c:2883:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( leng = putRobotsTxt(Conn,tc,fp,0) ){
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
httpd._.c:2883:11: note: place parentheses around the assignment to silence this warning
#
if( leng = putRobotsTxt(Conn,tc,fp,0) ){
#
^
#
( )
#
httpd._.c:2883:11: note: use '==' to turn this assignment into an equality comparison
#
if( leng = putRobotsTxt(Conn,tc,fp,0) ){
#
^
#
==
#
httpd._.c:2915:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp = extfopen(xpath,"r") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~
#
httpd._.c:2915:11: note: place parentheses around the assignment to silence this warning
#
if( fp = extfopen(xpath,"r") ){
#
^
#
( )
#
httpd._.c:2915:11: note: use '==' to turn this assignment into an equality comparison
#
if( fp = extfopen(xpath,"r") ){
#
^
#
==
#
httpd._.c:3018:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( pp = strstr(path,".dhtml") )
#
~~~^~~~~~~~~~~~~~~~~~~~~~~
#
httpd._.c:3018:9: note: place parentheses around the assignment to silence this warning
#
if( pp = strstr(path,".dhtml") )
#
^
#
( )
#
httpd._.c:3018:9: note: use '==' to turn this assignment into an equality comparison
#
if( pp = strstr(path,".dhtml") )
#
^
#
==
#
httpd._.c:3180:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dstx = putPARTfilter(Conn,fp,tc,&size) ){
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
httpd._.c:3180:12: note: place parentheses around the assignment to silence this warning
#
if( dstx = putPARTfilter(Conn,fp,tc,&size) ){
#
^
#
( )
#
httpd._.c:3180:12: note: use '==' to turn this assignment into an equality comparison
#
if( dstx = putPARTfilter(Conn,fp,tc,&size) ){
#
^
#
==
#
httpd._.c:3377:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp = fopen(a1,"r") ){
#
~~~^~~~~~~~~~~~~~~
#
httpd._.c:3377:10: note: place parentheses around the assignment to silence this warning
#
if( fp = fopen(a1,"r") ){
#
^
#
( )
#
httpd._.c:3377:10: note: use '==' to turn this assignment into an equality comparison
#
if( fp = fopen(a1,"r") ){
#
^
#
==
#
httpd._.c:3610:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( np = strchr(sp,'\n') )
#
~~~^~~~~~~~~~~~~~~~~
#
httpd._.c:3610:11: note: place parentheses around the assignment to silence this warning
#
if( np = strchr(sp,'\n') )
#
^
#
( )
#
httpd._.c:3610:11: note: use '==' to turn this assignment into an equality comparison
#
if( np = strchr(sp,'\n') )
#
^
#
==
#
httpd._.c:3682:24: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| exec_path != NULL && strcmp(exec_path,path) == 0){
#
~~ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
httpd._.c:3682:24: note: place parentheses around the '&&' expression to silence this warning
#
|| exec_path != NULL && strcmp(exec_path,path) == 0){
#
^
#
( )
#
httpd._.c:3738:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( pxp = strstr(url,ProxyControlMARK) ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
httpd._.c:3738:10: note: place parentheses around the assignment to silence this warning
#
if( pxp = strstr(url,ProxyControlMARK) ){
#
^
#
( )
#
httpd._.c:3738:10: note: use '==' to turn this assignment into an equality comparison
#
if( pxp = strstr(url,ProxyControlMARK) ){
#
^
#
==
#
50 warnings generated.
#
../mkcpp cgi.c cgi._.c
#
-- mkcpp set time: 1492117335 -> 1408282280 cgi._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c cgi._.c -o cgi.o
#
cgi._.c:77:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
while( np = strpbrk(fp,"\r\n") ){
#
~~~^~~~~~~~~~~~~~~~~~~~
#
cgi._.c:77:12: note: place parentheses around the assignment to silence this warning
#
while( np = strpbrk(fp,"\r\n") ){
#
^
#
( )
#
cgi._.c:77:12: note: use '==' to turn this assignment into an equality comparison
#
while( np = strpbrk(fp,"\r\n") ){
#
^
#
==
#
cgi._.c:142:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( ei = 0; es = environ[ei]; ei++ ){
#
~~~^~~~~~~~~~~~~
#
cgi._.c:142:18: note: place parentheses around the assignment to silence this warning
#
for( ei = 0; es = environ[ei]; ei++ ){
#
^
#
( )
#
cgi._.c:142:18: note: use '==' to turn this assignment into an equality comparison
#
for( ei = 0; es = environ[ei]; ei++ ){
#
^
#
==
#
cgi._.c:182:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( search = strchr(es,'?') )
#
~~~~~~~^~~~~~~~~~~~~~~~
#
cgi._.c:182:13: note: place parentheses around the assignment to silence this warning
#
if( search = strchr(es,'?') )
#
^
#
( )
#
cgi._.c:182:13: note: use '==' to turn this assignment into an equality comparison
#
if( search = strchr(es,'?') )
#
^
#
==
#
cgi._.c:190:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( search = strchr(vpath,'?') ){
#
~~~~~~~^~~~~~~~~~~~~~~~~~~
#
cgi._.c:190:13: note: place parentheses around the assignment to silence this warning
#
if( search = strchr(vpath,'?') ){
#
^
#
( )
#
cgi._.c:190:13: note: use '==' to turn this assignment into an equality comparison
#
if( search = strchr(vpath,'?') ){
#
^
#
==
#
cgi._.c:258:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( sva = gethostaddr(sv) )
#
~~~~^~~~~~~~~~~~~~~~~
#
cgi._.c:258:11: note: place parentheses around the assignment to silence this warning
#
if( sva = gethostaddr(sv) )
#
^
#
( )
#
cgi._.c:258:11: note: use '==' to turn this assignment into an equality comparison
#
if( sva = gethostaddr(sv) )
#
^
#
==
#
cgi._.c:271:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
while( np = strchr(fp,'+') ){
#
~~~^~~~~~~~~~~~~~~~
#
cgi._.c:271:14: note: place parentheses around the assignment to silence this warning
#
while( np = strchr(fp,'+') ){
#
^
#
( )
#
cgi._.c:271:14: note: use '==' to turn this assignment into an equality comparison
#
while( np = strchr(fp,'+') ){
#
^
#
==
#
cgi._.c:390:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( tp = strpbrk(line,"\r\n") )
#
~~~^~~~~~~~~~~~~~~~~~~~~~
#
cgi._.c:390:10: note: place parentheses around the assignment to silence this warning
#
if( tp = strpbrk(line,"\r\n") )
#
^
#
( )
#
cgi._.c:390:10: note: use '==' to turn this assignment into an equality comparison
#
if( tp = strpbrk(line,"\r\n") )
#
^
#
==
#
cgi._.c:506:16: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| 0 < cleng && file_size(fileno(in)) - ftell(in) == cleng ){
#
~~ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
cgi._.c:506:16: note: place parentheses around the '&&' expression to silence this warning
#
|| 0 < cleng && file_size(fileno(in)) - ftell(in) == cleng ){
#
^
#
( )
#
cgi._.c:583:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( env = getenv("PATH") )
#
~~~~^~~~~~~~~~~~~~~~
#
cgi._.c:583:10: note: place parentheses around the assignment to silence this warning
#
if( env = getenv("PATH") )
#
^
#
( )
#
cgi._.c:583:10: note: use '==' to turn this assignment into an equality comparison
#
if( env = getenv("PATH") )
#
^
#
==
#
cgi._.c:666:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( cfp = fopen(execpath,"r") ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~
#
cgi._.c:666:10: note: place parentheses around the assignment to silence this warning
#
if( cfp = fopen(execpath,"r") ){
#
^
#
( )
#
cgi._.c:666:10: note: use '==' to turn this assignment into an equality comparison
#
if( cfp = fopen(execpath,"r") ){
#
^
#
==
#
cgi._.c:777:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( tp = strrchr(workdir,'/') )
#
~~~^~~~~~~~~~~~~~~~~~~~~~
#
cgi._.c:777:9: note: place parentheses around the assignment to silence this warning
#
if( tp = strrchr(workdir,'/') )
#
^
#
( )
#
cgi._.c:777:9: note: use '==' to turn this assignment into an equality comparison
#
if( tp = strrchr(workdir,'/') )
#
^
#
==
#
cgi._.c:901:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( ei = 0; env = environ[ei]; ei++ )
#
~~~~^~~~~~~~~~~~~
#
cgi._.c:901:19: note: place parentheses around the assignment to silence this warning
#
for( ei = 0; env = environ[ei]; ei++ )
#
^
#
( )
#
cgi._.c:901:19: note: use '==' to turn this assignment into an equality comparison
#
for( ei = 0; env = environ[ei]; ei++ )
#
^
#
==
#
cgi._.c:1002:18: warning: '/*' within block comment [-Wcomment]
#
set_MOUNT(Conn,"/*",mount,"");
#
^
#
cgi._.c:1038:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( ei = 0; env = environ[ei]; ei++ ){
#
~~~~^~~~~~~~~~~~~
#
cgi._.c:1038:19: note: place parentheses around the assignment to silence this warning
#
for( ei = 0; env = environ[ei]; ei++ ){
#
^
#
( )
#
cgi._.c:1038:19: note: use '==' to turn this assignment into an equality comparison
#
for( ei = 0; env = environ[ei]; ei++ ){
#
^
#
==
#
cgi._.c:1071:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( type = getenv("CONTENT_TYPE") ){
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
#
cgi._.c:1071:12: note: place parentheses around the assignment to silence this warning
#
if( type = getenv("CONTENT_TYPE") ){
#
^
#
( )
#
cgi._.c:1071:12: note: use '==' to turn this assignment into an equality comparison
#
if( type = getenv("CONTENT_TYPE") ){
#
^
#
==
#
cgi._.c:1075:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( leng = getenv("CONTENT_LENGTH") ){
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
#
cgi._.c:1075:12: note: place parentheses around the assignment to silence this warning
#
if( leng = getenv("CONTENT_LENGTH") ){
#
^
#
( )
#
cgi._.c:1075:12: note: use '==' to turn this assignment into an equality comparison
#
if( leng = getenv("CONTENT_LENGTH") ){
#
^
#
==
#
cgi._.c:1108:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( rcode = strchr(stat,' ') ){
#
~~~~~~^~~~~~~~~~~~~~~~~~
#
cgi._.c:1108:16: note: place parentheses around the assignment to silence this warning
#
if( rcode = strchr(stat,' ') ){
#
^
#
( )
#
cgi._.c:1108:16: note: use '==' to turn this assignment into an equality comparison
#
if( rcode = strchr(stat,' ') ){
#
^
#
==
#
cgi._.c:1178:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(sp,'&') ){
#
~~~^~~~~~~~~~~~~~~~
#
cgi._.c:1178:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(sp,'&') ){
#
^
#
( )
#
cgi._.c:1178:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(sp,'&') ){
#
^
#
==
#
cgi._.c:1209:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( pp = strcasestr(ctype,"boundary=") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
cgi._.c:1209:9: note: place parentheses around the assignment to silence this warning
#
if( pp = strcasestr(ctype,"boundary=") ){
#
^
#
( )
#
cgi._.c:1209:9: note: use '==' to turn this assignment into an equality comparison
#
if( pp = strcasestr(ctype,"boundary=") ){
#
^
#
==
#
cgi._.c:1257:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fnlen = STRH(line,F_ContDisp) ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
#
cgi._.c:1257:14: note: place parentheses around the assignment to silence this warning
#
if( fnlen = STRH(line,F_ContDisp) ){
#
^
#
( )
#
cgi._.c:1257:14: note: use '==' to turn this assignment into an equality comparison
#
if( fnlen = STRH(line,F_ContDisp) ){
#
^
#
==
#
cgi._.c:1350:3: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
}else{
#
^
#
cgi._.c:1416:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( ei = 0; e1 = evp[ei]; ei++ ){
#
~~~^~~~~~~~~
#
cgi._.c:1416:18: note: place parentheses around the assignment to silence this warning
#
for( ei = 0; e1 = evp[ei]; ei++ ){
#
^
#
( )
#
cgi._.c:1416:18: note: use '==' to turn this assignment into an equality comparison
#
for( ei = 0; e1 = evp[ei]; ei++ ){
#
^
#
==
#
cgi._.c:1458:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( ei = 0; e1 = ev[ei]; ei++ ){
#
~~~^~~~~~~~
#
cgi._.c:1458:19: note: place parentheses around the assignment to silence this warning
#
for( ei = 0; e1 = ev[ei]; ei++ ){
#
^
#
( )
#
cgi._.c:1458:19: note: use '==' to turn this assignment into an equality comparison
#
for( ei = 0; e1 = ev[ei]; ei++ ){
#
^
#
==
#
cgi._.c:1468:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( ei = 0; e1 = ev[ei]; ei++ ){
#
~~~^~~~~~~~
#
cgi._.c:1468:18: note: place parentheses around the assignment to silence this warning
#
for( ei = 0; e1 = ev[ei]; ei++ ){
#
^
#
( )
#
cgi._.c:1468:18: note: use '==' to turn this assignment into an equality comparison
#
for( ei = 0; e1 = ev[ei]; ei++ ){
#
^
#
==
#
cgi._.c:1475:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( ei = 0; e1 = environ[ei]; ei++ ){
#
~~~^~~~~~~~~~~~~
#
cgi._.c:1475:20: note: place parentheses around the assignment to silence this warning
#
for( ei = 0; e1 = environ[ei]; ei++ ){
#
^
#
( )
#
cgi._.c:1475:20: note: use '==' to turn this assignment into an equality comparison
#
for( ei = 0; e1 = environ[ei]; ei++ ){
#
^
#
==
#
cgi._.c:1511:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( ei = 0; e1 = sv[ei]; ei++ ){
#
~~~^~~~~~~~
#
cgi._.c:1511:18: note: place parentheses around the assignment to silence this warning
#
for( ei = 0; e1 = sv[ei]; ei++ ){
#
^
#
( )
#
cgi._.c:1511:18: note: use '==' to turn this assignment into an equality comparison
#
for( ei = 0; e1 = sv[ei]; ei++ ){
#
^
#
==
#
cgi._.c:1614:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strstr(head,"\r\n\r\n") )
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~
#
cgi._.c:1614:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strstr(head,"\r\n\r\n") )
#
^
#
( )
#
cgi._.c:1614:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strstr(head,"\r\n\r\n") )
#
^
#
==
#
cgi._.c:1616:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strstr(head,"\n\n") )
#
~~~^~~~~~~~~~~~~~~~~~~~~
#
cgi._.c:1616:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strstr(head,"\n\n") )
#
^
#
( )
#
cgi._.c:1616:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strstr(head,"\n\n") )
#
^
#
==
#
28 warnings generated.
#
../mkcpp ssi.c ssi._.c
#
-- mkcpp set time: 1492117335 -> 1408325459 ssi._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c ssi._.c -o ssi.o
#
ssi._.c:169:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( lp = strrchr(lpath,'/') ){
#
~~~^~~~~~~~~~~~~~~~~~~~
#
ssi._.c:169:9: note: place parentheses around the assignment to silence this warning
#
if( lp = strrchr(lpath,'/') ){
#
^
#
( )
#
ssi._.c:169:9: note: use '==' to turn this assignment into an equality comparison
#
if( lp = strrchr(lpath,'/') ){
#
^
#
==
#
ssi._.c:190:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( xp = strrchr(xdir,'/') ){
#
~~~^~~~~~~~~~~~~~~~~~~
#
ssi._.c:190:9: note: place parentheses around the assignment to silence this warning
#
if( xp = strrchr(xdir,'/') ){
#
^
#
( )
#
ssi._.c:190:9: note: use '==' to turn this assignment into an equality comparison
#
if( xp = strrchr(xdir,'/') ){
#
^
#
==
#
ssi._.c:268:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( ap = strchr(mssg->h_url,'?') ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~
#
ssi._.c:268:9: note: place parentheses around the assignment to silence this warning
#
if( ap = strchr(mssg->h_url,'?') ){
#
^
#
( )
#
ssi._.c:268:9: note: use '==' to turn this assignment into an equality comparison
#
if( ap = strchr(mssg->h_url,'?') ){
#
^
#
==
#
ssi._.c:297:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( fp = fmt; fc = *fp; fp++ ){
#
~~~^~~~~
#
ssi._.c:297:20: note: place parentheses around the assignment to silence this warning
#
for( fp = fmt; fc = *fp; fp++ ){
#
^
#
( )
#
ssi._.c:297:20: note: use '==' to turn this assignment into an equality comparison
#
for( fp = fmt; fc = *fp; fp++ ){
#
^
#
==
#
ssi._.c:488:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( tp = tag; tc = *tp; tp++ ){
#
~~~^~~~~
#
ssi._.c:488:21: note: place parentheses around the assignment to silence this warning
#
for( tp = tag; tc = *tp; tp++ ){
#
^
#
( )
#
ssi._.c:488:21: note: use '==' to turn this assignment into an equality comparison
#
for( tp = tag; tc = *tp; tp++ ){
#
^
#
==
#
ssi._.c:523:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( val = getFav(arg) ){
#
~~~~^~~~~~~~~~~~~
#
ssi._.c:523:11: note: place parentheses around the assignment to silence this warning
#
if( val = getFav(arg) ){
#
^
#
( )
#
ssi._.c:523:11: note: use '==' to turn this assignment into an equality comparison
#
if( val = getFav(arg) ){
#
^
#
==
#
ssi._.c:620:25: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse]
#
const char *ver_sendFd();
#
^~
#
ssi._.c:620:25: note: replace parentheses with an initializer to declare a variable
#
const char *ver_sendFd();
#
^~
#
= NULL
#
ssi._.c:629:31: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse]
#
const char *DELEGATE_srcsign();
#
^~
#
ssi._.c:629:31: note: replace parentheses with an initializer to declare a variable
#
const char *DELEGATE_srcsign();
#
^~
#
= NULL
#
ssi._.c:630:31: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse]
#
const char *DELEGATE_bldsign();
#
^~
#
ssi._.c:630:31: note: replace parentheses with an initializer to declare a variable
#
const char *DELEGATE_bldsign();
#
^~
#
= NULL
#
ssi._.c:631:31: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse]
#
const char *DELEGATE_exesign();
#
^~
#
ssi._.c:631:31: note: replace parentheses with an initializer to declare a variable
#
const char *DELEGATE_exesign();
#
^~
#
= NULL
#
ssi._.c:704:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( eval = getv(ev,ename) ){
#
~~~~~^~~~~~~~~~~~~~~~
#
ssi._.c:704:11: note: place parentheses around the assignment to silence this warning
#
if( eval = getv(ev,ename) ){
#
^
#
( )
#
ssi._.c:704:11: note: use '==' to turn this assignment into an equality comparison
#
if( eval = getv(ev,ename) ){
#
^
#
==
#
ssi._.c:708:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( ni = 0; sname = cgi_equiv[ni].n_ssi; ni++ ){
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~
#
ssi._.c:708:22: note: place parentheses around the assignment to silence this warning
#
for( ni = 0; sname = cgi_equiv[ni].n_ssi; ni++ ){
#
^
#
( )
#
ssi._.c:708:22: note: use '==' to turn this assignment into an equality comparison
#
for( ni = 0; sname = cgi_equiv[ni].n_ssi; ni++ ){
#
^
#
==
#
ssi._.c:715:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( eval = getv(ev,cname) )
#
~~~~~^~~~~~~~~~~~~~~~
#
ssi._.c:715:13: note: place parentheses around the assignment to silence this warning
#
if( eval = getv(ev,cname) )
#
^
#
( )
#
ssi._.c:715:13: note: use '==' to turn this assignment into an equality comparison
#
if( eval = getv(ev,cname) )
#
^
#
==
#
ssi._.c:810:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( ei = 0; eval = ev[ei]; ei++ )
#
~~~~~^~~~~~~~
#
ssi._.c:810:21: note: place parentheses around the assignment to silence this warning
#
for( ei = 0; eval = ev[ei]; ei++ )
#
^
#
( )
#
ssi._.c:810:21: note: use '==' to turn this assignment into an equality comparison
#
for( ei = 0; eval = ev[ei]; ei++ )
#
^
#
==
#
ssi._.c:873:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( base = getv(ev,"SCRIPT_NAME") ){
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
#
ssi._.c:873:11: note: place parentheses around the assignment to silence this warning
#
if( base = getv(ev,"SCRIPT_NAME") ){
#
^
#
( )
#
ssi._.c:873:11: note: use '==' to turn this assignment into an equality comparison
#
if( base = getv(ev,"SCRIPT_NAME") ){
#
^
#
==
#
ssi._.c:876:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( base = getv(ev,"REQUEST_URI") ){
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
#
ssi._.c:876:11: note: place parentheses around the assignment to silence this warning
#
if( base = getv(ev,"REQUEST_URI") ){
#
^
#
( )
#
ssi._.c:876:11: note: use '==' to turn this assignment into an equality comparison
#
if( base = getv(ev,"REQUEST_URI") ){
#
^
#
==
#
ssi._.c:928:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
while( pp = strstr(url,pat) ){
#
~~~^~~~~~~~~~~~~~~~~
#
ssi._.c:928:12: note: place parentheses around the assignment to silence this warning
#
while( pp = strstr(url,pat) ){
#
^
#
( )
#
ssi._.c:928:12: note: use '==' to turn this assignment into an equality comparison
#
while( pp = strstr(url,pat) ){
#
^
#
==
#
ssi._.c:929:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( ep = strchr(pp,'}') ){
#
~~~^~~~~~~~~~~~~~~~
#
ssi._.c:929:10: note: place parentheses around the assignment to silence this warning
#
if( ep = strchr(pp,'}') ){
#
^
#
( )
#
ssi._.c:929:10: note: use '==' to turn this assignment into an equality comparison
#
if( ep = strchr(pp,'}') ){
#
^
#
==
#
ssi._.c:957:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( qurl = CTX_reqURL(ctx) ){
#
~~~~~^~~~~~~~~~~~~~~~~
#
ssi._.c:957:11: note: place parentheses around the assignment to silence this warning
#
if( qurl = CTX_reqURL(ctx) ){
#
^
#
( )
#
ssi._.c:957:11: note: use '==' to turn this assignment into an equality comparison
#
if( qurl = CTX_reqURL(ctx) ){
#
^
#
==
#
ssi._.c:958:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( qp = getv(ev,"QUERY_STRING") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~
#
ssi._.c:958:10: note: place parentheses around the assignment to silence this warning
#
if( qp = getv(ev,"QUERY_STRING") ){
#
^
#
( )
#
ssi._.c:958:10: note: use '==' to turn this assignment into an equality comparison
#
if( qp = getv(ev,"QUERY_STRING") ){
#
^
#
==
#
ssi._.c:961:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( qp = strchr(qurl,'?') ){
#
~~~^~~~~~~~~~~~~~~~~~
#
ssi._.c:961:10: note: place parentheses around the assignment to silence this warning
#
if( qp = strchr(qurl,'?') ){
#
^
#
( )
#
ssi._.c:961:10: note: use '==' to turn this assignment into an equality comparison
#
if( qp = strchr(qurl,'?') ){
#
^
#
==
#
ssi._.c:1000:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( up = strchr(url,'#') ){
#
~~~^~~~~~~~~~~~~~~~~
#
ssi._.c:1000:9: note: place parentheses around the assignment to silence this warning
#
if( up = strchr(url,'#') ){
#
^
#
( )
#
ssi._.c:1000:9: note: use '==' to turn this assignment into an equality comparison
#
if( up = strchr(url,'#') ){
#
^
#
==
#
ssi._.c:1006:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( base = getv(ev,"SCRIPT_NAME") ){
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
#
ssi._.c:1006:12: note: place parentheses around the assignment to silence this warning
#
if( base = getv(ev,"SCRIPT_NAME") ){
#
^
#
( )
#
ssi._.c:1006:12: note: use '==' to turn this assignment into an equality comparison
#
if( base = getv(ev,"SCRIPT_NAME") ){
#
^
#
==
#
ssi._.c:1010:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( base = getv(ev,"REQUEST_URI") ){
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
#
ssi._.c:1010:12: note: place parentheses around the assignment to silence this warning
#
if( base = getv(ev,"REQUEST_URI") ){
#
^
#
( )
#
ssi._.c:1010:12: note: use '==' to turn this assignment into an equality comparison
#
if( base = getv(ev,"REQUEST_URI") ){
#
^
#
==
#
ssi._.c:1039:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp = fopen(file,"r") ){
#
~~~^~~~~~~~~~~~~~~~~
#
ssi._.c:1039:9: note: place parentheses around the assignment to silence this warning
#
if( fp = fopen(file,"r") ){
#
^
#
( )
#
ssi._.c:1039:9: note: use '==' to turn this assignment into an equality comparison
#
if( fp = fopen(file,"r") ){
#
^
#
==
#
ssi._.c:1331:16: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse]
#
int NoHangWait();
#
^~
#
ssi._.c:1331:16: note: replace parentheses with an initializer to declare a variable
#
int NoHangWait();
#
^~
#
= 0
#
ssi._.c:1351:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strrpbrk(nwd,"/\\") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~
#
ssi._.c:1351:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strrpbrk(nwd,"/\\") ){
#
^
#
( )
#
ssi._.c:1351:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strrpbrk(nwd,"/\\") ){
#
^
#
==
#
ssi._.c:1464:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( cp = strcasestr(tagp,"content=") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
ssi._.c:1464:9: note: place parentheses around the assignment to silence this warning
#
if( cp = strcasestr(tagp,"content=") ){
#
^
#
( )
#
ssi._.c:1464:9: note: use '==' to turn this assignment into an equality comparison
#
if( cp = strcasestr(tagp,"content=") ){
#
^
#
==
#
ssi._.c:1477:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( sp = fvalue; fc = *sp; sp++ ){
#
~~~^~~~~
#
ssi._.c:1477:23: note: place parentheses around the assignment to silence this warning
#
for( sp = fvalue; fc = *sp; sp++ ){
#
^
#
( )
#
ssi._.c:1477:23: note: use '==' to turn this assignment into an equality comparison
#
for( sp = fvalue; fc = *sp; sp++ ){
#
^
#
==
#
ssi._.c:1494:8: warning: address of array 'cs' will always evaluate to 'true' [-Wpointer-bool-conversion]
#
if( cs ){
#
~~ ^~
#
ssi._.c:1535:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( ep = strpbrk(np,">") ) sp = ep + 1; else
#
~~~^~~~~~~~~~~~~~~~~
#
ssi._.c:1535:10: note: place parentheses around the assignment to silence this warning
#
if( ep = strpbrk(np,">") ) sp = ep + 1; else
#
^
#
( )
#
ssi._.c:1535:10: note: use '==' to turn this assignment into an equality comparison
#
if( ep = strpbrk(np,">") ) sp = ep + 1; else
#
^
#
==
#
ssi._.c:1536:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( ep = strpbrk(np," \t\r\n")) sp = ep + 1; else
#
~~~^~~~~~~~~~~~~~~~~~~~~~~
#
ssi._.c:1536:10: note: place parentheses around the assignment to silence this warning
#
if( ep = strpbrk(np," \t\r\n")) sp = ep + 1; else
#
^
#
( )
#
ssi._.c:1536:10: note: use '==' to turn this assignment into an equality comparison
#
if( ep = strpbrk(np," \t\r\n")) sp = ep + 1; else
#
^
#
==
#
ssi._.c:1544:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( cont = strcasestr(tag,"content=") )
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
ssi._.c:1544:12: note: place parentheses around the assignment to silence this warning
#
if( cont = strcasestr(tag,"content=") )
#
^
#
( )
#
ssi._.c:1544:12: note: use '==' to turn this assignment into an equality comparison
#
if( cont = strcasestr(tag,"content=") )
#
^
#
==
#
ssi._.c:1576:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( sp = np; sc = *sp; sp++ ){
#
~~~^~~~~
#
ssi._.c:1576:19: note: place parentheses around the assignment to silence this warning
#
for( sp = np; sc = *sp; sp++ ){
#
^
#
( )
#
ssi._.c:1576:19: note: use '==' to turn this assignment into an equality comparison
#
for( sp = np; sc = *sp; sp++ ){
#
^
#
==
#
ssi._.c:1669:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( och = CCXident(CCXtoCL(ctx)) ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~
#
ssi._.c:1669:13: note: place parentheses around the assignment to silence this warning
#
if( och = CCXident(CCXtoCL(ctx)) ){
#
^
#
( )
#
ssi._.c:1669:13: note: use '==' to turn this assignment into an equality comparison
#
if( och = CCXident(CCXtoCL(ctx)) ){
#
^
#
==
#
ssi._.c:1689:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fav1 = getFav("$DeleGate-Control-CCX") ){
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
ssi._.c:1689:12: note: place parentheses around the assignment to silence this warning
#
if( fav1 = getFav("$DeleGate-Control-CCX") ){
#
^
#
( )
#
ssi._.c:1689:12: note: use '==' to turn this assignment into an equality comparison
#
if( fav1 = getFav("$DeleGate-Control-CCX") ){
#
^
#
==
#
36 warnings generated.
#
../mkcpp htaccept.c htaccept._.c
#
-- mkcpp set time: 1492117335 -> 1414752137 htaccept._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c htaccept._.c -o htaccept.o
#
htaccept._.c:66:55: warning: '/*' within block comment [-Wcomment]
#
ACCEPT http://host:port/path -->> MOUNT="/path/* http://client/*"
#
^
#
htaccept._.c:66:71: warning: '/*' within block comment [-Wcomment]
#
ACCEPT http://host:port/path -->> MOUNT="/path/* http://client/*"
#
^
#
2 warnings generated.
#
../mkcpp htccx.c htccx._.c
#
-- mkcpp set time: 1492117335 -> 1264937353 htccx._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c htccx._.c -o htccx.o
#
htccx._.c:134:8: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
}else{
#
^
#
htccx._.c:198:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strpbrk(path,"=+&%") )
#
~~~^~~~~~~~~~~~~~~~~~~~~~
#
htccx._.c:198:11: note: place parentheses around the assignment to silence this warning
#
if( dp = strpbrk(path,"=+&%") )
#
^
#
( )
#
htccx._.c:198:11: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strpbrk(path,"=+&%") )
#
^
#
==
#
htccx._.c:200:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(path,'?') )
#
~~~^~~~~~~~~~~~~~~~~~
#
htccx._.c:200:11: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(path,'?') )
#
^
#
( )
#
htccx._.c:200:11: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(path,'?') )
#
^
#
==
#
htccx._.c:203:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(path+1,'/') ){
#
~~~^~~~~~~~~~~~~~~~~~~~
#
htccx._.c:203:11: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(path+1,'/') ){
#
^
#
( )
#
htccx._.c:203:11: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(path+1,'/') ){
#
^
#
==
#
htccx._.c:204:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( np = strchr(dp+1,'/') )
#
~~~^~~~~~~~~~~~~~~~~~
#
htccx._.c:204:12: note: place parentheses around the assignment to silence this warning
#
if( np = strchr(dp+1,'/') )
#
^
#
( )
#
htccx._.c:204:12: note: use '==' to turn this assignment into an equality comparison
#
if( np = strchr(dp+1,'/') )
#
^
#
==
#
htccx._.c:243:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( up = strchr(url,'?') ){
#
~~~^~~~~~~~~~~~~~~~~
#
htccx._.c:243:9: note: place parentheses around the assignment to silence this warning
#
if( up = strchr(url,'?') ){
#
^
#
( )
#
htccx._.c:243:9: note: use '==' to turn this assignment into an equality comparison
#
if( up = strchr(url,'?') ){
#
^
#
==
#
htccx._.c:372:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(dom,'/') )
#
~~~^~~~~~~~~~~~~~~~~
#
htccx._.c:372:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(dom,'/') )
#
^
#
( )
#
htccx._.c:372:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(dom,'/') )
#
^
#
==
#
htccx._.c:373:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(dp+1,'/') )
#
~~~^~~~~~~~~~~~~~~~~~
#
htccx._.c:373:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(dp+1,'/') )
#
^
#
( )
#
htccx._.c:373:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(dp+1,'/') )
#
^
#
==
#
htccx._.c:414:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( icset = CCXident(gccx) )
#
~~~~~~^~~~~~~~~~~~~~~~
#
htccx._.c:414:12: note: place parentheses around the assignment to silence this warning
#
if( icset = CCXident(gccx) )
#
^
#
( )
#
htccx._.c:414:12: note: use '==' to turn this assignment into an equality comparison
#
if( icset = CCXident(gccx) )
#
^
#
==
#
htccx._.c:489:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( xcharset = HTTP_outCharset(Conn) )
#
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
#
htccx._.c:489:15: note: place parentheses around the assignment to silence this warning
#
if( xcharset = HTTP_outCharset(Conn) )
#
^
#
( )
#
htccx._.c:489:15: note: use '==' to turn this assignment into an equality comparison
#
if( xcharset = HTTP_outCharset(Conn) )
#
^
#
==
#
htccx._.c:625:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fnlen = STRH(line,F_ContType) )
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
#
htccx._.c:625:12: note: place parentheses around the assignment to silence this warning
#
if( fnlen = STRH(line,F_ContType) )
#
^
#
( )
#
htccx._.c:625:12: note: use '==' to turn this assignment into an equality comparison
#
if( fnlen = STRH(line,F_ContType) )
#
^
#
==
#
htccx._.c:627:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( xcharset = CCXident(CCX_TOCL) ){
#
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
#
htccx._.c:627:16: note: place parentheses around the assignment to silence this warning
#
if( xcharset = CCXident(CCX_TOCL) ){
#
^
#
( )
#
htccx._.c:627:16: note: use '==' to turn this assignment into an equality comparison
#
if( xcharset = CCXident(CCX_TOCL) ){
#
^
#
==
#
htccx._.c:730:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( sp1 = strchr(url1,'?') ){
#
~~~~^~~~~~~~~~~~~~~~~~
#
htccx._.c:730:10: note: place parentheses around the assignment to silence this warning
#
if( sp1 = strchr(url1,'?') ){
#
^
#
( )
#
htccx._.c:730:10: note: use '==' to turn this assignment into an equality comparison
#
if( sp1 = strchr(url1,'?') ){
#
^
#
==
#
htccx._.c:764:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( sp2 = strstr(url2,"-_-_-") )
#
~~~~^~~~~~~~~~~~~~~~~~~~~~
#
htccx._.c:764:11: note: place parentheses around the assignment to silence this warning
#
if( sp2 = strstr(url2,"-_-_-") )
#
^
#
( )
#
htccx._.c:764:11: note: use '==' to turn this assignment into an equality comparison
#
if( sp2 = strstr(url2,"-_-_-") )
#
^
#
==
#
htccx._.c:858:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( ctp = findFieldValue(xfields,"Content-Type") )
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
htccx._.c:858:12: note: place parentheses around the assignment to silence this warning
#
if( ctp = findFieldValue(xfields,"Content-Type") )
#
^
#
( )
#
htccx._.c:858:12: note: use '==' to turn this assignment into an equality comparison
#
if( ctp = findFieldValue(xfields,"Content-Type") )
#
^
#
==
#
htccx._.c:934:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( occ = CCXexec(ccx,"",0,AVStr(xlin),sizeof(xlin)) ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
htccx._.c:934:10: note: place parentheses around the assignment to silence this warning
#
if( occ = CCXexec(ccx,"",0,AVStr(xlin),sizeof(xlin)) ){
#
^
#
( )
#
htccx._.c:934:10: note: use '==' to turn this assignment into an equality comparison
#
if( occ = CCXexec(ccx,"",0,AVStr(xlin),sizeof(xlin)) ){
#
^
#
==
#
htccx._.c:984:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( len = erase_charset_param(AVStr(cont),AVStr(cset)) ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
htccx._.c:984:10: note: place parentheses around the assignment to silence this warning
#
if( len = erase_charset_param(AVStr(cont),AVStr(cset)) ){
#
^
#
( )
#
htccx._.c:984:10: note: use '==' to turn this assignment into an equality comparison
#
if( len = erase_charset_param(AVStr(cont),AVStr(cset)) ){
#
^
#
==
#
htccx._.c:1043:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp = dirfopen("CCXMAP",AVStr(path),"w") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
htccx._.c:1043:10: note: place parentheses around the assignment to silence this warning
#
if( fp = dirfopen("CCXMAP",AVStr(path),"w") ){
#
^
#
( )
#
htccx._.c:1043:10: note: use '==' to turn this assignment into an equality comparison
#
if( fp = dirfopen("CCXMAP",AVStr(path),"w") ){
#
^
#
==
#
htccx._.c:1077:27: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( CCXcharset(CCX_TOCL) && CCXoutJP(CCX_TOCL)
#
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
#
htccx._.c:1077:27: note: place parentheses around the '&&' expression to silence this warning
#
if( CCXcharset(CCX_TOCL) && CCXoutJP(CCX_TOCL)
#
^
#
( )
#
htccx._.c:1135:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( fp = fopen("mlb.cnv","r") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~
#
htccx._.c:1135:10: note: place parentheses around the assignment to silence this warning
#
if( fp = fopen("mlb.cnv","r") ){
#
^
#
( )
#
htccx._.c:1135:10: note: use '==' to turn this assignment into an equality comparison
#
if( fp = fopen("mlb.cnv","r") ){
#
^
#
==
#
20 warnings generated.
#
../mkcpp htswitch.c htswitch._.c
#
-- mkcpp set time: 1492117335 -> 1250403944 htswitch._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c htswitch._.c -o htswitch.o
#
htswitch._.c:157:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strcasestr(cookie,label) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
#
htswitch._.c:157:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strcasestr(cookie,label) ){
#
^
#
( )
#
htswitch._.c:157:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strcasestr(cookie,label) ){
#
^
#
==
#
htswitch._.c:219:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strpbrk(postbody,"\r\n") )
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
#
htswitch._.c:219:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strpbrk(postbody,"\r\n") )
#
^
#
( )
#
htswitch._.c:219:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strpbrk(postbody,"\r\n") )
#
^
#
==
#
htswitch._.c:248:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( swi = 0; sw = swv[swi]; swi++ )
#
~~~^~~~~~~~~~
#
htswitch._.c:248:19: note: place parentheses around the assignment to silence this warning
#
for( swi = 0; sw = swv[swi]; swi++ )
#
^
#
( )
#
htswitch._.c:248:19: note: use '==' to turn this assignment into an equality comparison
#
for( swi = 0; sw = swv[swi]; swi++ )
#
^
#
==
#
htswitch._.c:254:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( swi = 1; sw = swv[swi]; swi++ ){
#
~~~^~~~~~~~~~
#
htswitch._.c:254:19: note: place parentheses around the assignment to silence this warning
#
for( swi = 1; sw = swv[swi]; swi++ ){
#
^
#
( )
#
htswitch._.c:254:19: note: use '==' to turn this assignment into an equality comparison
#
for( swi = 1; sw = swv[swi]; swi++ ){
#
^
#
==
#
htswitch._.c:263:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( swi = 1; sw = swv[swi]; swi++ )
#
~~~^~~~~~~~~~
#
htswitch._.c:263:19: note: place parentheses around the assignment to silence this warning
#
for( swi = 1; sw = swv[swi]; swi++ )
#
^
#
( )
#
htswitch._.c:263:19: note: use '==' to turn this assignment into an equality comparison
#
for( swi = 1; sw = swv[swi]; swi++ )
#
^
#
==
#
htswitch._.c:279:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( swi = 0; sw = swv[swi]; swi++ ){
#
~~~^~~~~~~~~~
#
htswitch._.c:279:19: note: place parentheses around the assignment to silence this warning
#
for( swi = 0; sw = swv[swi]; swi++ ){
#
^
#
( )
#
htswitch._.c:279:19: note: use '==' to turn this assignment into an equality comparison
#
for( swi = 0; sw = swv[swi]; swi++ ){
#
^
#
==
#
htswitch._.c:290:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( swi = 1; sw = swv[swi]; swi++ ){
#
~~~^~~~~~~~~~
#
htswitch._.c:290:19: note: place parentheses around the assignment to silence this warning
#
for( swi = 1; sw = swv[swi]; swi++ ){
#
^
#
( )
#
htswitch._.c:290:19: note: use '==' to turn this assignment into an equality comparison
#
for( swi = 1; sw = swv[swi]; swi++ ){
#
^
#
==
#
7 warnings generated.
#
../mkcpp htmlgen.c htmlgen._.c
#
-- mkcpp set time: 1492117335 -> 1399198432 htmlgen._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c htmlgen._.c -o htmlgen.o
#
htmlgen._.c:361:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( data = getMssgX(iurl,&rcc,date) ){
#
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
#
htmlgen._.c:361:12: note: place parentheses around the assignment to silence this warning
#
if( data = getMssgX(iurl,&rcc,date) ){
#
^
#
( )
#
htmlgen._.c:361:12: note: use '==' to turn this assignment into an equality comparison
#
if( data = getMssgX(iurl,&rcc,date) ){
#
^
#
==
#
htmlgen._.c:456:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dont_REWRITE = DONT_REWRITE ){
#
~~~~~~~~~~~~~^~~~~~~~~~~~~~
#
htmlgen._.c:456:20: note: place parentheses around the assignment to silence this warning
#
if( dont_REWRITE = DONT_REWRITE ){
#
^
#
( )
#
htmlgen._.c:456:20: note: use '==' to turn this assignment into an equality comparison
#
if( dont_REWRITE = DONT_REWRITE ){
#
^
#
==
#
htmlgen._.c:494:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( DONT_REWRITE = dont_REWRITE ){
#
~~~~~~~~~~~~~^~~~~~~~~~~~~~
#
htmlgen._.c:494:20: note: place parentheses around the assignment to silence this warning
#
if( DONT_REWRITE = dont_REWRITE ){
#
^
#
( )
#
htmlgen._.c:494:20: note: use '==' to turn this assignment into an equality comparison
#
if( DONT_REWRITE = dont_REWRITE ){
#
^
#
==
#
htmlgen._.c:646:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( sp = str; ch = *sp; sp++ ){
#
~~~^~~~~
#
htmlgen._.c:646:20: note: place parentheses around the assignment to silence this warning
#
for( sp = str; ch = *sp; sp++ ){
#
^
#
( )
#
htmlgen._.c:646:20: note: use '==' to turn this assignment into an equality comparison
#
for( sp = str; ch = *sp; sp++ ){
#
^
#
==
#
htmlgen._.c:670:27: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
if( lev < 0 || lev == 0 && ch == chr ){
#
~~ ~~~~~~~~~^~~~~~~~~~~~
#
htmlgen._.c:670:27: note: place parentheses around the '&&' expression to silence this warning
#
if( lev < 0 || lev == 0 && ch == chr ){
#
^
#
( )
#
htmlgen._.c:669:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
#
}else
#
^
#
htmlgen._.c:689:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( p = scanchr(itemexp,':',AVStr(name)) )
#
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
htmlgen._.c:689:8: note: place parentheses around the assignment to silence this warning
#
if( p = scanchr(itemexp,':',AVStr(name)) )
#
^
#
( )
#
htmlgen._.c:689:8: note: use '==' to turn this assignment into an equality comparison
#
if( p = scanchr(itemexp,':',AVStr(name)) )
#
^
#
==
#
htmlgen._.c:796:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strpbrk(arg1,"[=") )
#
~~~^~~~~~~~~~~~~~~~~~~~
#
htmlgen._.c:796:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strpbrk(arg1,"[=") )
#
^
#
( )
#
htmlgen._.c:796:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strpbrk(arg1,"[=") )
#
^
#
==
#
htmlgen._.c:799:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(dp+1,']') )
#
~~~^~~~~~~~~~~~~~~~~~
#
htmlgen._.c:799:11: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(dp+1,']') )
#
^
#
( )
#
htmlgen._.c:799:11: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(dp+1,']') )
#
^
#
==
#
htmlgen._.c:813:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( Not = strneq(item,"NOT.",4) ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~
#
htmlgen._.c:813:10: note: place parentheses around the assignment to silence this warning
#
if( Not = strneq(item,"NOT.",4) ){
#
^
#
( )
#
htmlgen._.c:813:10: note: use '==' to turn this assignment into an equality comparison
#
if( Not = strneq(item,"NOT.",4) ){
#
^
#
==
#
htmlgen._.c:816:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( Nil = strneq(item,"NIL.",4) ){
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~
#
htmlgen._.c:816:10: note: place parentheses around the assignment to silence this warning
#
if( Nil = strneq(item,"NIL.",4) ){
#
^
#
( )
#
htmlgen._.c:816:10: note: use '==' to turn this assignment into an equality comparison
#
if( Nil = strneq(item,"NIL.",4) ){
#
^
#
==
#
htmlgen._.c:850:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strrchr(curl,'/') )
#
~~~^~~~~~~~~~~~~~~~~~~
#
htmlgen._.c:850:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strrchr(curl,'/') )
#
^
#
( )
#
htmlgen._.c:850:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strrchr(curl,'/') )
#
^
#
==
#
htmlgen._.c:1027:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( p = scanchr(condexp,'?',AVStr(conds)) )
#
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
htmlgen._.c:1027:8: note: place parentheses around the assignment to silence this warning
#
if( p = scanchr(condexp,'?',AVStr(conds)) )
#
^
#
( )
#
htmlgen._.c:1027:8: note: use '==' to turn this assignment into an equality comparison
#
if( p = scanchr(condexp,'?',AVStr(conds)) )
#
^
#
==
#
htmlgen._.c:1028:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( p = scanchr(p,':',AVStr(trues)) )
#
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
htmlgen._.c:1028:8: note: place parentheses around the assignment to silence this warning
#
if( p = scanchr(p,':',AVStr(trues)) )
#
^
#
( )
#
htmlgen._.c:1028:8: note: use '==' to turn this assignment into an equality comparison
#
if( p = scanchr(p,':',AVStr(trues)) )
#
^
#
==
#
htmlgen._.c:1036:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( p = scanchr(exp,dch,AVStr(left)) )
#
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
htmlgen._.c:1036:8: note: place parentheses around the assignment to silence this warning
#
if( p = scanchr(exp,dch,AVStr(left)) )
#
^
#
( )
#
htmlgen._.c:1036:8: note: use '==' to turn this assignment into an equality comparison
#
if( p = scanchr(exp,dch,AVStr(left)) )
#
^
#
==
#
htmlgen._.c:1049:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strpbrk(conds,"<=&|") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~
#
htmlgen._.c:1049:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strpbrk(conds,"<=&|") ){
#
^
#
( )
#
htmlgen._.c:1049:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strpbrk(conds,"<=&|") ){
#
^
#
==
#
htmlgen._.c:1084:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = scanchr(item,'?',VStrNULL) ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
htmlgen._.c:1084:9: note: place parentheses around the assignment to silence this warning
#
if( dp = scanchr(item,'?',VStrNULL) ){
#
^
#
( )
#
htmlgen._.c:1084:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = scanchr(item,'?',VStrNULL) ){
#
^
#
==
#
htmlgen._.c:1177:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( sp = str; ch = *sp; sp++ ){
#
~~~^~~~~
#
htmlgen._.c:1177:20: note: place parentheses around the assignment to silence this warning
#
for( sp = str; ch = *sp; sp++ ){
#
^
#
( )
#
htmlgen._.c:1177:20: note: use '==' to turn this assignment into an equality comparison
#
for( sp = str; ch = *sp; sp++ ){
#
^
#
==
#
htmlgen._.c:1219:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = scanitem(sp+2) ){
#
~~~^~~~~~~~~~~~~~~~
#
htmlgen._.c:1219:14: note: place parentheses around the assignment to silence this warning
#
if( dp = scanitem(sp+2) ){
#
^
#
( )
#
htmlgen._.c:1219:14: note: use '==' to turn this assignment into an equality comparison
#
if( dp = scanitem(sp+2) ){
#
^
#
==
#
htmlgen._.c:1227:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( vp = Nvfind(sp+3) ){
#
~~~^~~~~~~~~~~~~~
#
htmlgen._.c:1227:12: note: place parentheses around the assignment to silence this warning
#
if( vp = Nvfind(sp+3) ){
#
^
#
( )
#
htmlgen._.c:1227:12: note: use '==' to turn this assignment into an equality comparison
#
if( vp = Nvfind(sp+3) ){
#
^
#
==
#
htmlgen._.c:1276:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(ctag,'>') ){
#
~~~^~~~~~~~~~~~~~~~~~
#
htmlgen._.c:1276:14: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(ctag,'>') ){
#
^
#
( )
#
htmlgen._.c:1276:14: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(ctag,'>') ){
#
^
#
==
#
htmlgen._.c:1279:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( ti = 0; tag = dhtml_tags[ti].tag; ti++ ){
#
~~~~^~~~~~~~~~~~~~~~~~~~
#
htmlgen._.c:1279:21: note: place parentheses around the assignment to silence this warning
#
for( ti = 0; tag = dhtml_tags[ti].tag; ti++ ){
#
^
#
( )
#
htmlgen._.c:1279:21: note: use '==' to turn this assignment into an equality comparison
#
for( ti = 0; tag = dhtml_tags[ti].tag; ti++ ){
#
^
#
==
#
htmlgen._.c:1284:7: warning: expression result unused [-Wunused-value]
#
*arg++;
#
^~~~~~
#
htmlgen._.c:1501:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( ouser = VA_getOriginatorIdent(Conn,&ident) )
#
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
htmlgen._.c:1501:14: note: place parentheses around the assignment to silence this warning
#
if( ouser = VA_getOriginatorIdent(Conn,&ident) )
#
^
#
( )
#
htmlgen._.c:1501:14: note: use '==' to turn this assignment into an equality comparison
#
if( ouser = VA_getOriginatorIdent(Conn,&ident) )
#
^
#
==
#
htmlgen._.c:1517:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strstr(url,"MSIE ") )
#
~~~^~~~~~~~~~~~~~~~~~~~~
#
htmlgen._.c:1517:11: note: place parentheses around the assignment to silence this warning
#
if( dp = strstr(url,"MSIE ") )
#
^
#
( )
#
htmlgen._.c:1517:11: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strstr(url,"MSIE ") )
#
^
#
==
#
htmlgen._.c:1520:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strrchr(url,')') )
#
~~~^~~~~~~~~~~~~~~~~~
#
htmlgen._.c:1520:12: note: place parentheses around the assignment to silence this warning
#
if( dp = strrchr(url,')') )
#
^
#
( )
#
htmlgen._.c:1520:12: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strrchr(url,')') )
#
^
#
==
#
htmlgen._.c:1683:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( up = strrchr(url,'/') )
#
~~~^~~~~~~~~~~~~~~~~~
#
htmlgen._.c:1683:11: note: place parentheses around the assignment to silence this warning
#
if( up = strrchr(url,'/') )
#
^
#
( )
#
htmlgen._.c:1683:11: note: use '==' to turn this assignment into an equality comparison
#
if( up = strrchr(url,'/') )
#
^
#
==
#
htmlgen._.c:1834:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( vp = Nvfind(arg) ){
#
~~~^~~~~~~~~~~~~
#
htmlgen._.c:1834:10: note: place parentheses around the assignment to silence this warning
#
if( vp = Nvfind(arg) ){
#
^
#
( )
#
htmlgen._.c:1834:10: note: use '==' to turn this assignment into an equality comparison
#
if( vp = Nvfind(arg) ){
#
^
#
==
#
htmlgen._.c:1881:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( rcc = fread(script,1,sizeof(script)-1,fp) )
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
htmlgen._.c:1881:11: note: place parentheses around the assignment to silence this warning
#
if( rcc = fread(script,1,sizeof(script)-1,fp) )
#
^
#
( )
#
htmlgen._.c:1881:11: note: use '==' to turn this assignment into an equality comparison
#
if( rcc = fread(script,1,sizeof(script)-1,fp) )
#
^
#
==
#
29 warnings generated.
#
../mkcpp htfilter.c htfilter._.c
#
-- mkcpp set time: 1492117335 -> 1411902331 htfilter._.c
#
clang -Wno-narrowing -x c++ -DQS -DNONC99=3 -I../gen -I../include -Wno-narrowing -c htfilter._.c -o htfilter.o
#
htfilter._.c:54:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( tp = strcasestr(tbuff,"TITLE=") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
htfilter._.c:54:9: note: place parentheses around the assignment to silence this warning
#
if( tp = strcasestr(tbuff,"TITLE=") ){
#
^
#
( )
#
htfilter._.c:54:9: note: use '==' to turn this assignment into an equality comparison
#
if( tp = strcasestr(tbuff,"TITLE=") ){
#
^
#
==
#
htfilter._.c:68:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( ep = strstr(hp,"-->") ){
#
~~~^~~~~~~~~~~~~~~~~~
#
htfilter._.c:68:10: note: place parentheses around the assignment to silence this warning
#
if( ep = strstr(hp,"-->") ){
#
^
#
( )
#
htfilter._.c:68:10: note: use '==' to turn this assignment into an equality comparison
#
if( ep = strstr(hp,"-->") ){
#
^
#
==
#
htfilter._.c:83:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( ep = strstr(hp+4,"-->") ){
#
~~~^~~~~~~~~~~~~~~~~~~~
#
htfilter._.c:83:12: note: place parentheses around the assignment to silence this warning
#
if( ep = strstr(hp+4,"-->") ){
#
^
#
( )
#
htfilter._.c:83:12: note: use '==' to turn this assignment into an equality comparison
#
if( ep = strstr(hp+4,"-->") ){
#
^
#
==
#
htfilter._.c:129:34: warning: '&&' within '||' [-Wlogical-op-parentheses]
#
|| nch == '<' && str[1] == '/' && (str[2] == 'K' || str[2] == 'I')
#
~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
htfilter._.c:129:34: note: place parentheses around the '&&' expression to silence this warning
#
|| nch == '<' && str[1] == '/' && (str[2] == 'K' || str[2] == 'I')
#
^
#
( )
#
htfilter._.c:145:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
for( sp = str; ch = *sp; sp++ ){
#
~~~^~~~~
#
htfilter._.c:145:20: note: place parentheses around the assignment to silence this warning
#
for( sp = str; ch = *sp; sp++ ){
#
^
#
( )
#
htfilter._.c:145:20: note: use '==' to turn this assignment into an equality comparison
#
for( sp = str; ch = *sp; sp++ ){
#
^
#
==
#
htfilter._.c:189:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( np = strpbrk(lp,"\r\n") ){
#
~~~^~~~~~~~~~~~~~~~~~~~
#
htfilter._.c:189:10: note: place parentheses around the assignment to silence this warning
#
if( np = strpbrk(lp,"\r\n") ){
#
^
#
( )
#
htfilter._.c:189:10: note: use '==' to turn this assignment into an equality comparison
#
if( np = strpbrk(lp,"\r\n") ){
#
^
#
==
#
htfilter._.c:230:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strcasestr(line,"") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
htfilter._.c:230:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strcasestr(line,"") ){
#
^
#
( )
#
htfilter._.c:230:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strcasestr(line,"") ){
#
^
#
==
#
htfilter._.c:235:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strcasestr(line,"") ){
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
htfilter._.c:235:9: note: place parentheses around the assignment to silence this warning
#
if( dp = strcasestr(line,"") ){
#
^
#
( )
#
htfilter._.c:235:9: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strcasestr(line,"") ){
#
^
#
==
#
htfilter._.c:251:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
while( tag = findTag(mp,"
#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
#
htfilter._.c:251:15: note: place parentheses around the assignment to silence this warning
#
while( tag = findTag(mp,"
#
^
#
( )
#
htfilter._.c:251:15: note: use '==' to turn this assignment into an equality comparison
#
while( tag = findTag(mp,"
#
^
#
==
#
htfilter._.c:252:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( mp = strchr(tag,'>') ){
#
~~~^~~~~~~~~~~~~~~~~
#
htfilter._.c:252:12: note: place parentheses around the assignment to silence this warning
#
if( mp = strchr(tag,'>') ){
#
^
#
( )
#
htfilter._.c:252:12: note: use '==' to turn this assignment into an equality comparison
#
if( mp = strchr(tag,'>') ){
#
^
#
==
#
htfilter._.c:266:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( stylebegin = findTag(lp,"
#
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
htfilter._.c:268:18: note: place parentheses around the assignment to silence this warning
#
if( styleend = findTag(stylebegin,"
#
^
#
( )
#
htfilter._.c:268:18: note: use '==' to turn this assignment into an equality comparison
#
if( styleend = findTag(stylebegin,"
#
^
#
==
#
htfilter._.c:269:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( styleend = strchr(styleend,'>') ){
#
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
#
htfilter._.c:269:20: note: place parentheses around the assignment to silence this warning
#
if( styleend = strchr(styleend,'>') ){
#
^
#
( )
#
htfilter._.c:269:20: note: use '==' to turn this assignment into an equality comparison
#
if( styleend = strchr(styleend,'>') ){
#
^
#
==
#
htfilter._.c:291:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
while( tag = findTag(lp,"#
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
htfilter._.c:291:14: note: place parentheses around the assignment to silence this warning
#
while( tag = findTag(lp,"#
^
#
( )
#
htfilter._.c:291:14: note: use '==' to turn this assignment into an equality comparison
#
while( tag = findTag(lp,"#
^
#
==
#
htfilter._.c:309:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( lp = strchr(tag,'>') )
#
~~~^~~~~~~~~~~~~~~~~
#
htfilter._.c:309:12: note: place parentheses around the assignment to silence this warning
#
if( lp = strchr(tag,'>') )
#
^
#
( )
#
htfilter._.c:309:12: note: use '==' to turn this assignment into an equality comparison
#
if( lp = strchr(tag,'>') )
#
^
#
==
#
htfilter._.c:349:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strchr(Pf->p_Base,'?') )
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~
#
htfilter._.c:349:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strchr(Pf->p_Base,'?') )
#
^
#
( )
#
htfilter._.c:349:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strchr(Pf->p_Base,'?') )
#
^
#
==
#
htfilter._.c:351:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( dp = strrchr(Pf->p_Base,'/') )
#
~~~^~~~~~~~~~~~~~~~~~~~~~~~~
#
htfilter._.c:351:10: note: place parentheses around the assignment to silence this warning
#
if( dp = strrchr(Pf->p_Base,'/') )
#
^
#
( )
#
htfilter._.c:351:10: note: use '==' to turn this assignment into an equality comparison
#
if( dp = strrchr(Pf->p_Base,'/') )
#
^
#
==
#
htfilter._.c:483:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( lp = strchr(lp,'>') )
#
~~~^~~~~~~~~~~~~~~~
#
htfilter._.c:483:11: note: place parentheses around the assignment to silence this warning
#
if( lp = strchr(lp,'>') )
#
^
#
( )
#
htfilter._.c:483:11: note: use '==' to turn this assignment into an equality comparison
#
if( lp = strchr(lp,'>') )
#
^
#
==
#
htfilter._.c:489:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
#
if( tag = findTag(lp,"