=>> Building net/delegate build started at Thu Mar 12 06:28:41 EDT 2026 port directory: /usr/ports/net/delegate package name: delegate-9.9.13_3 building for: FreeBSD pkg.DaveG.ca 14.4-RELEASE FreeBSD 14.4-RELEASE 1404000 amd64 maintained by: mew14930xvi@inbox.lv Makefile datestamp: -rw-r--r-- 1 root wheel 2005 Nov 22 2024 /usr/ports/net/delegate/Makefile Ports top last git commit: 26b198eb3ee3 Ports top unclean checkout: no Port dir last git commit: fa00a8245951 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1404000 Job Id: 12 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1404000 UNAME_v=FreeBSD 14.4-RELEASE 1404000 UNAME_r=14.4-RELEASE BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_14_4_x64-HEAD-ALL/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/freebsd_14_4_x64-HEAD-ALL/12/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_14_4_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_14_4_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for delegate-9.9.13_3: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- mew14930xvi@inbox.lv --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=/usr/local/bin/gmake XDG_DATA_HOME=/wrkdirs/usr/ports/net/delegate/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/delegate/work XDG_CACHE_HOME=/wrkdirs/usr/ports/net/delegate/work/.cache HOME=/wrkdirs/usr/ports/net/delegate/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/delegate/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net/delegate/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/net/delegate/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/delegate/work XDG_CACHE_HOME=/wrkdirs/usr/ports/net/delegate/work/.cache HOME=/wrkdirs/usr/ports/net/delegate/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/delegate/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net/delegate/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -x c++ -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" OSREL=14.4 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/delegate" EXAMPLESDIR="share/examples/delegate" DATADIR="share/delegate" WWWDIR="www/delegate" ETCDIR="etc/delegate" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/delegate DOCSDIR=/usr/local/share/doc/delegate EXAMPLESDIR=/usr/local/share/examples/delegate WWWDIR=/usr/local/www/delegate ETCDIR=/usr/local/etc/delegate --End SUB_LIST-- ---Begin make.conf--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited pipebuf (-y) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> delegate-9.9.13_3 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.6.2.pkg [pkg.DaveG.ca] Installing pkg-2.6.2... [pkg.DaveG.ca] Extracting pkg-2.6.2: .......... done ===> delegate-9.9.13_3 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of delegate-9.9.13_3 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by delegate-9.9.13_3 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by delegate-9.9.13_3 for building => SHA256 Checksum OK for delegate9.9.13.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by delegate-9.9.13_3 for building ===> Extracting for delegate-9.9.13_3 => SHA256 Checksum OK for delegate9.9.13.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for delegate-9.9.13_3 ===> Applying FreeBSD patches for delegate-9.9.13_3 from /usr/ports/net/delegate/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> delegate-9.9.13_3 depends on package: gmake>=4.4.1 - not found ===> Installing existing package /packages/All/gmake-4.4.1.pkg [pkg.DaveG.ca] Installing gmake-4.4.1... [pkg.DaveG.ca] `-- Installing gettext-runtime-0.26... [pkg.DaveG.ca] | `-- Installing indexinfo-0.3.1_1... [pkg.DaveG.ca] | `-- Extracting indexinfo-0.3.1_1: . done [pkg.DaveG.ca] `-- Extracting gettext-runtime-0.26: .......... done [pkg.DaveG.ca] Extracting gmake-4.4.1: .......... done ===> delegate-9.9.13_3 depends on package: gmake>=4.4.1 - found ===> Returning to build of delegate-9.9.13_3 ===> delegate-9.9.13_3 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg.DaveG.ca] Installing ccache-3.7.12_8... [pkg.DaveG.ca] Extracting ccache-3.7.12_8: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> delegate-9.9.13_3 depends on file: /usr/local/bin/ccache - found ===> Returning to build of delegate-9.9.13_3 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for delegate-9.9.13_3 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for delegate-9.9.13_3 sh link-libs.sh cc -DMKMKMK -DDEFCC=\"cc\" -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -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] 237 | else | ^ ./maker/mkmake.c:246:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 246 | else | ^ ./maker/mkmake.c:365:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 365 | if( fp = fopen(path,"r+") ){ | ~~~^~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:365:10: note: place parentheses around the assignment to silence this warning 365 | if( fp = fopen(path,"r+") ){ | ^ | ( ) ./maker/mkmake.c:365:10: note: use '==' to turn this assignment into an equality comparison 365 | if( fp = fopen(path,"r+") ){ | ^ | == ./maker/mkmake.c:424:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 424 | if( err = fopen("mkmake.err","a") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:424:10: note: place parentheses around the assignment to silence this warning 424 | if( err = fopen("mkmake.err","a") ){ | ^ | ( ) ./maker/mkmake.c:424:10: note: use '==' to turn this assignment into an equality comparison 424 | if( err = fopen("mkmake.err","a") ){ | ^ | == ./maker/mkmake.c:604:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 604 | if( fp = fopen(CONF,"w") ){ | ~~~^~~~~~~~~~~~~~~~~ ./maker/mkmake.c:604:9: note: place parentheses around the assignment to silence this warning 604 | if( fp = fopen(CONF,"w") ){ | ^ | ( ) ./maker/mkmake.c:604:9: note: use '==' to turn this assignment into an equality comparison 604 | if( fp = fopen(CONF,"w") ){ | ^ | == ./maker/mkmake.c:725:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 725 | if( dp = strchr(a1+3,')') ){ | ~~~^~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:725:12: note: place parentheses around the assignment to silence this warning 725 | if( dp = strchr(a1+3,')') ){ | ^ | ( ) ./maker/mkmake.c:725:12: note: use '==' to turn this assignment into an equality comparison 725 | if( dp = strchr(a1+3,')') ){ | ^ | == ./maker/mkmake.c:769:21: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] 769 | CFLAGS = noncplus("mkmake",CFLAGS,cflags); | ^ ./maker/mkmake.c:770:25: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] 770 | CFLAGSPLUS = noncplus("mkmake",CFLAGSPLUS,cflagsplus); | ^ ./maker/mkmake.c:789:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 789 | if( env = getenv("MAKEFLAGS") ) *env = 0; | ~~~~^~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:789:11: note: place parentheses around the assignment to silence this warning 789 | if( env = getenv("MAKEFLAGS") ) *env = 0; | ^ | ( ) ./maker/mkmake.c:789:11: note: use '==' to turn this assignment into an equality comparison 789 | if( env = getenv("MAKEFLAGS") ) *env = 0; | ^ | == ./maker/mkmake.c:790:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 790 | if( env = getenv("MFLAGS") ) *env = 0; | ~~~~^~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:790:11: note: place parentheses around the assignment to silence this warning 790 | if( env = getenv("MFLAGS") ) *env = 0; | ^ | ( ) ./maker/mkmake.c:790:11: note: use '==' to turn this assignment into an equality comparison 790 | if( env = getenv("MFLAGS") ) *env = 0; | ^ | == ./maker/mkmake.c:1052:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1052 | if( fp = fopen(file,"r") ){ | ~~~^~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1052:10: note: place parentheses around the assignment to silence this warning 1052 | if( fp = fopen(file,"r") ){ | ^ | ( ) ./maker/mkmake.c:1052:10: note: use '==' to turn this assignment into an equality comparison 1052 | if( fp = fopen(file,"r") ){ | ^ | == ./maker/mkmake.c:1157:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1157 | if( dp = strpbrk(ans,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1157:10: note: place parentheses around the assignment to silence this warning 1157 | if( dp = strpbrk(ans,"\r\n") ) | ^ | ( ) ./maker/mkmake.c:1157:10: note: use '==' to turn this assignment into an equality comparison 1157 | if( dp = strpbrk(ans,"\r\n") ) | ^ | == ./maker/mkmake.c:1168:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1168 | if( dp = strpbrk(ans,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1168:10: note: place parentheses around the assignment to silence this warning 1168 | if( dp = strpbrk(ans,"\r\n") ) | ^ | ( ) ./maker/mkmake.c:1168:10: note: use '==' to turn this assignment into an equality comparison 1168 | if( dp = strpbrk(ans,"\r\n") ) | ^ | == ./maker/mkmake.c:1195:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1195 | if( conf = fopen(CONF,"a") ){ | ~~~~~^~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1195:12: note: place parentheses around the assignment to silence this warning 1195 | if( conf = fopen(CONF,"a") ){ | ^ | ( ) ./maker/mkmake.c:1195:12: note: use '==' to turn this assignment into an equality comparison 1195 | if( conf = fopen(CONF,"a") ){ | ^ | == ./maker/mkmake.c:1201:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1201 | if( okfp = fopen(MAKEFILE_OK,"w") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1201:11: note: place parentheses around the assignment to silence this warning 1201 | if( okfp = fopen(MAKEFILE_OK,"w") ){ | ^ | ( ) ./maker/mkmake.c:1201:11: note: use '==' to turn this assignment into an equality comparison 1201 | if( okfp = fopen(MAKEFILE_OK,"w") ){ | ^ | == ./maker/mkmake.c:1322:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] 1322 | CFLAGS = noncplus("makeat",CFLAGS,cflags1); | ^ ./maker/mkmake.c:1357:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1357 | if( rcode = EXECVPR(nav[0],nav) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1357:12: note: place parentheses around the assignment to silence this warning 1357 | if( rcode = EXECVPR(nav[0],nav) ){ | ^ | ( ) ./maker/mkmake.c:1357:12: note: use '==' to turn this assignment into an equality comparison 1357 | if( rcode = EXECVPR(nav[0],nav) ){ | ^ | == ./maker/mkmake.c:1405:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1405 | if( dp = strrchr(src,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1405:10: note: place parentheses around the assignment to silence this warning 1405 | if( dp = strrchr(src,'/') ){ | ^ | ( ) ./maker/mkmake.c:1405:10: note: use '==' to turn this assignment into an equality comparison 1405 | if( dp = strrchr(src,'/') ){ | ^ | == ./maker/mkmake.c:1449:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1449 | while( rcc = fread(buf,1,sizeof(buf),ifp) ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1449:14: note: place parentheses around the assignment to silence this warning 1449 | while( rcc = fread(buf,1,sizeof(buf),ifp) ) | ^ | ( ) ./maker/mkmake.c:1449:14: note: use '==' to turn this assignment into an equality comparison 1449 | while( rcc = fread(buf,1,sizeof(buf),ifp) ) | ^ | == ./maker/mkmake.c:1558:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1558 | for( ep = wp; ec = *ep; ep++ ){ | ~~~^~~~~ ./maker/mkmake.c:1558:19: note: place parentheses around the assignment to silence this warning 1558 | for( ep = wp; ec = *ep; ep++ ){ | ^ | ( ) ./maker/mkmake.c:1558:19: note: use '==' to turn this assignment into an equality comparison 1558 | for( ep = wp; ec = *ep; ep++ ){ | ^ | == ./maker/mkmake.c:1589:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1589 | if( pe = getenv("PATH") ) | ~~~^~~~~~~~~~~~~~~~ ./maker/mkmake.c:1589:9: note: place parentheses around the assignment to silence this warning 1589 | if( pe = getenv("PATH") ) | ^ | ( ) ./maker/mkmake.c:1589:9: note: use '==' to turn this assignment into an equality comparison 1589 | if( pe = getenv("PATH") ) | ^ | == ./maker/mkmake.c:1595:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1595 | if( np = (char*)strchr(dir+1,':') ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1595:10: note: place parentheses around the assignment to silence this warning 1595 | if( np = (char*)strchr(dir+1,':') ) | ^ | ( ) ./maker/mkmake.c:1595:10: note: use '==' to turn this assignment into an equality comparison 1595 | if( np = (char*)strchr(dir+1,':') ) | ^ | == ./maker/mkmake.c:1599:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1599 | if( fp = fopen(path,"r") ){ | ~~~^~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1599:10: note: place parentheses around the assignment to silence this warning 1599 | if( fp = fopen(path,"r") ){ | ^ | ( ) ./maker/mkmake.c:1599:10: note: use '==' to turn this assignment into an equality comparison 1599 | if( fp = fopen(path,"r") ){ | ^ | == ./maker/mkmake.c:1716:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1716 | if( dp = (char*)strrchr(file,'.') ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1716:9: note: place parentheses around the assignment to silence this warning 1716 | if( dp = (char*)strrchr(file,'.') ) | ^ | ( ) ./maker/mkmake.c:1716:9: note: use '==' to turn this assignment into an equality comparison 1716 | if( dp = (char*)strrchr(file,'.') ) | ^ | == ./maker/mkmake.c:1742:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1742 | for( si = 0; src1 = srcv[si]; si++ ) | ~~~~~^~~~~~~~~~ ./maker/mkmake.c:1742:20: note: place parentheses around the assignment to silence this warning 1742 | for( si = 0; src1 = srcv[si]; si++ ) | ^ | ( ) ./maker/mkmake.c:1742:20: note: use '==' to turn this assignment into an equality comparison 1742 | 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] 1769 | if( fp = fopen(manifest,"r") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1769:9: note: place parentheses around the assignment to silence this warning 1769 | if( fp = fopen(manifest,"r") ){ | ^ | ( ) ./maker/mkmake.c:1769:9: note: use '==' to turn this assignment into an equality comparison 1769 | if( fp = fopen(manifest,"r") ){ | ^ | == ./maker/mkmake.c:1797:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1797 | if( fp = fopen(manifest,"w") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1797:9: note: place parentheses around the assignment to silence this warning 1797 | if( fp = fopen(manifest,"w") ){ | ^ | ( ) ./maker/mkmake.c:1797:9: note: use '==' to turn this assignment into an equality comparison 1797 | if( fp = fopen(manifest,"w") ){ | ^ | == ./maker/mkmake.c:1922:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1922 | if( sfp = fopen(substlist,"r") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1922:10: note: place parentheses around the assignment to silence this warning 1922 | if( sfp = fopen(substlist,"r") ){ | ^ | ( ) ./maker/mkmake.c:1922:10: note: use '==' to turn this assignment into an equality comparison 1922 | if( sfp = fopen(substlist,"r") ){ | ^ | == ./maker/mkmake.c:1930:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1930 | if( dp = strpbrk(buf,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1930:11: note: place parentheses around the assignment to silence this warning 1930 | if( dp = strpbrk(buf,"\r\n") ) | ^ | ( ) ./maker/mkmake.c:1930:11: note: use '==' to turn this assignment into an equality comparison 1930 | if( dp = strpbrk(buf,"\r\n") ) | ^ | == ./maker/mkmake.c:1939:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1939 | if( sfp = fopen(substlist,"w") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1939:11: note: place parentheses around the assignment to silence this warning 1939 | if( sfp = fopen(substlist,"w") ){ | ^ | ( ) ./maker/mkmake.c:1939:11: note: use '==' to turn this assignment into an equality comparison 1939 | if( sfp = fopen(substlist,"w") ){ | ^ | == ./maker/mkmake.c:2044:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2044 | if( rcode = (*func)(file,fv,fcp) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:2044:13: note: place parentheses around the assignment to silence this warning 2044 | if( rcode = (*func)(file,fv,fcp) ) | ^ | ( ) ./maker/mkmake.c:2044:13: note: use '==' to turn this assignment into an equality comparison 2044 | if( rcode = (*func)(file,fv,fcp) ) | ^ | == ./maker/mkmake.c:2404:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2404 | if( fp = fopen(HOSTNAME_FILE,"r") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:2404:10: note: place parentheses around the assignment to silence this warning 2404 | if( fp = fopen(HOSTNAME_FILE,"r") ){ | ^ | ( ) ./maker/mkmake.c:2404:10: note: use '==' to turn this assignment into an equality comparison 2404 | if( fp = fopen(HOSTNAME_FILE,"r") ){ | ^ | == ./maker/mkmake.c:2412:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2412 | if( fp = popen(HOSTNAME_COM,"r") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:2412:10: note: place parentheses around the assignment to silence this warning 2412 | if( fp = popen(HOSTNAME_COM,"r") ){ | ^ | ( ) ./maker/mkmake.c:2412:10: note: use '==' to turn this assignment into an equality comparison 2412 | 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] 60 | 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] 107 | if( fp = fopen(file,"r") ){ | ~~~^~~~~~~~~~~~~~~~~ ./maker/../rary/cksum.c:107:9: note: place parentheses around the assignment to silence this warning 107 | if( fp = fopen(file,"r") ){ | ^ | ( ) ./maker/../rary/cksum.c:107:9: note: use '==' to turn this assignment into an equality comparison 107 | if( fp = fopen(file,"r") ){ | ^ | == ./maker/../rary/cksum.c:115:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 115 | if( sum = fopen(sumfile,"w") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~ ./maker/../rary/cksum.c:115:11: note: place parentheses around the assignment to silence this warning 115 | if( sum = fopen(sumfile,"w") ){ | ^ | ( ) ./maker/../rary/cksum.c:115:11: note: use '==' to turn this assignment into an equality comparison 115 | if( sum = fopen(sumfile,"w") ){ | ^ | == ./maker/../rary/cksum.c:142:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 142 | for( ci = 0; ch = line[ci]; ci++ ){ | ~~~^~~~~~~~~~ ./maker/../rary/cksum.c:142:20: note: place parentheses around the assignment to silence this warning 142 | for( ci = 0; ch = line[ci]; ci++ ){ | ^ | ( ) ./maker/../rary/cksum.c:142:20: note: use '==' to turn this assignment into an equality comparison 142 | 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] 207 | if( fp = fopen(file,"r") ){ | ~~~^~~~~~~~~~~~~~~~~ ./maker/../rary/cksum.c:207:12: note: place parentheses around the assignment to silence this warning 207 | if( fp = fopen(file,"r") ){ | ^ | ( ) ./maker/../rary/cksum.c:207:12: note: use '==' to turn this assignment into an equality comparison 207 | if( fp = fopen(file,"r") ){ | ^ | == ./maker/../rary/cksum.c:263:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 263 | if( fp = fopen(av[ai],"r") ){ | ~~~^~~~~~~~~~~~~~~~~~~ ./maker/../rary/cksum.c:263:11: note: place parentheses around the assignment to silence this warning 263 | if( fp = fopen(av[ai],"r") ){ | ^ | ( ) ./maker/../rary/cksum.c:263:11: note: use '==' to turn this assignment into an equality comparison 263 | 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] 265 | if( dp = strpbrk(line,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ ./maker/../rary/cksum.c:265:13: note: place parentheses around the assignment to silence this warning 265 | if( dp = strpbrk(line,"\r\n") ) | ^ | ( ) ./maker/../rary/cksum.c:265:13: note: use '==' to turn this assignment into an equality comparison 265 | if( dp = strpbrk(line,"\r\n") ) | ^ | == 40 warnings generated. "./mkmkmk.exe" -mkmkmk "cc" -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -Llib maker/mkmake.c -o mkmake.exe maker/mkmake.c:237:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 237 | else | ^ maker/mkmake.c:246:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 246 | else | ^ maker/mkmake.c:365:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 365 | if( fp = fopen(path,"r+") ){ | ~~~^~~~~~~~~~~~~~~~~~ maker/mkmake.c:365:10: note: place parentheses around the assignment to silence this warning 365 | if( fp = fopen(path,"r+") ){ | ^ | ( ) maker/mkmake.c:365:10: note: use '==' to turn this assignment into an equality comparison 365 | if( fp = fopen(path,"r+") ){ | ^ | == maker/mkmake.c:424:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 424 | if( err = fopen("mkmake.err","a") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:424:10: note: place parentheses around the assignment to silence this warning 424 | if( err = fopen("mkmake.err","a") ){ | ^ | ( ) maker/mkmake.c:424:10: note: use '==' to turn this assignment into an equality comparison 424 | if( err = fopen("mkmake.err","a") ){ | ^ | == maker/mkmake.c:604:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 604 | if( fp = fopen(CONF,"w") ){ | ~~~^~~~~~~~~~~~~~~~~ maker/mkmake.c:604:9: note: place parentheses around the assignment to silence this warning 604 | if( fp = fopen(CONF,"w") ){ | ^ | ( ) maker/mkmake.c:604:9: note: use '==' to turn this assignment into an equality comparison 604 | if( fp = fopen(CONF,"w") ){ | ^ | == maker/mkmake.c:725:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 725 | if( dp = strchr(a1+3,')') ){ | ~~~^~~~~~~~~~~~~~~~~~ maker/mkmake.c:725:12: note: place parentheses around the assignment to silence this warning 725 | if( dp = strchr(a1+3,')') ){ | ^ | ( ) maker/mkmake.c:725:12: note: use '==' to turn this assignment into an equality comparison 725 | if( dp = strchr(a1+3,')') ){ | ^ | == maker/mkmake.c:769:21: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] 769 | CFLAGS = noncplus("mkmake",CFLAGS,cflags); | ^ maker/mkmake.c:770:25: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] 770 | CFLAGSPLUS = noncplus("mkmake",CFLAGSPLUS,cflagsplus); | ^ maker/mkmake.c:789:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 789 | if( env = getenv("MAKEFLAGS") ) *env = 0; | ~~~~^~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:789:11: note: place parentheses around the assignment to silence this warning 789 | if( env = getenv("MAKEFLAGS") ) *env = 0; | ^ | ( ) maker/mkmake.c:789:11: note: use '==' to turn this assignment into an equality comparison 789 | if( env = getenv("MAKEFLAGS") ) *env = 0; | ^ | == maker/mkmake.c:790:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 790 | if( env = getenv("MFLAGS") ) *env = 0; | ~~~~^~~~~~~~~~~~~~~~~~ maker/mkmake.c:790:11: note: place parentheses around the assignment to silence this warning 790 | if( env = getenv("MFLAGS") ) *env = 0; | ^ | ( ) maker/mkmake.c:790:11: note: use '==' to turn this assignment into an equality comparison 790 | if( env = getenv("MFLAGS") ) *env = 0; | ^ | == maker/mkmake.c:1052:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1052 | if( fp = fopen(file,"r") ){ | ~~~^~~~~~~~~~~~~~~~~ maker/mkmake.c:1052:10: note: place parentheses around the assignment to silence this warning 1052 | if( fp = fopen(file,"r") ){ | ^ | ( ) maker/mkmake.c:1052:10: note: use '==' to turn this assignment into an equality comparison 1052 | if( fp = fopen(file,"r") ){ | ^ | == maker/mkmake.c:1157:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1157 | if( dp = strpbrk(ans,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:1157:10: note: place parentheses around the assignment to silence this warning 1157 | if( dp = strpbrk(ans,"\r\n") ) | ^ | ( ) maker/mkmake.c:1157:10: note: use '==' to turn this assignment into an equality comparison 1157 | if( dp = strpbrk(ans,"\r\n") ) | ^ | == maker/mkmake.c:1168:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1168 | if( dp = strpbrk(ans,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:1168:10: note: place parentheses around the assignment to silence this warning 1168 | if( dp = strpbrk(ans,"\r\n") ) | ^ | ( ) maker/mkmake.c:1168:10: note: use '==' to turn this assignment into an equality comparison 1168 | if( dp = strpbrk(ans,"\r\n") ) | ^ | == maker/mkmake.c:1195:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1195 | if( conf = fopen(CONF,"a") ){ | ~~~~~^~~~~~~~~~~~~~~~~ maker/mkmake.c:1195:12: note: place parentheses around the assignment to silence this warning 1195 | if( conf = fopen(CONF,"a") ){ | ^ | ( ) maker/mkmake.c:1195:12: note: use '==' to turn this assignment into an equality comparison 1195 | if( conf = fopen(CONF,"a") ){ | ^ | == maker/mkmake.c:1201:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1201 | if( okfp = fopen(MAKEFILE_OK,"w") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:1201:11: note: place parentheses around the assignment to silence this warning 1201 | if( okfp = fopen(MAKEFILE_OK,"w") ){ | ^ | ( ) maker/mkmake.c:1201:11: note: use '==' to turn this assignment into an equality comparison 1201 | if( okfp = fopen(MAKEFILE_OK,"w") ){ | ^ | == maker/mkmake.c:1322:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] 1322 | CFLAGS = noncplus("makeat",CFLAGS,cflags1); | ^ maker/mkmake.c:1357:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1357 | if( rcode = EXECVPR(nav[0],nav) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:1357:12: note: place parentheses around the assignment to silence this warning 1357 | if( rcode = EXECVPR(nav[0],nav) ){ | ^ | ( ) maker/mkmake.c:1357:12: note: use '==' to turn this assignment into an equality comparison 1357 | if( rcode = EXECVPR(nav[0],nav) ){ | ^ | == maker/mkmake.c:1405:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1405 | if( dp = strrchr(src,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~ maker/mkmake.c:1405:10: note: place parentheses around the assignment to silence this warning 1405 | if( dp = strrchr(src,'/') ){ | ^ | ( ) maker/mkmake.c:1405:10: note: use '==' to turn this assignment into an equality comparison 1405 | if( dp = strrchr(src,'/') ){ | ^ | == maker/mkmake.c:1449:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1449 | while( rcc = fread(buf,1,sizeof(buf),ifp) ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:1449:14: note: place parentheses around the assignment to silence this warning 1449 | while( rcc = fread(buf,1,sizeof(buf),ifp) ) | ^ | ( ) maker/mkmake.c:1449:14: note: use '==' to turn this assignment into an equality comparison 1449 | while( rcc = fread(buf,1,sizeof(buf),ifp) ) | ^ | == maker/mkmake.c:1558:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1558 | for( ep = wp; ec = *ep; ep++ ){ | ~~~^~~~~ maker/mkmake.c:1558:19: note: place parentheses around the assignment to silence this warning 1558 | for( ep = wp; ec = *ep; ep++ ){ | ^ | ( ) maker/mkmake.c:1558:19: note: use '==' to turn this assignment into an equality comparison 1558 | for( ep = wp; ec = *ep; ep++ ){ | ^ | == maker/mkmake.c:1589:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1589 | if( pe = getenv("PATH") ) | ~~~^~~~~~~~~~~~~~~~ maker/mkmake.c:1589:9: note: place parentheses around the assignment to silence this warning 1589 | if( pe = getenv("PATH") ) | ^ | ( ) maker/mkmake.c:1589:9: note: use '==' to turn this assignment into an equality comparison 1589 | if( pe = getenv("PATH") ) | ^ | == maker/mkmake.c:1595:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1595 | if( np = (char*)strchr(dir+1,':') ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:1595:10: note: place parentheses around the assignment to silence this warning 1595 | if( np = (char*)strchr(dir+1,':') ) | ^ | ( ) maker/mkmake.c:1595:10: note: use '==' to turn this assignment into an equality comparison 1595 | if( np = (char*)strchr(dir+1,':') ) | ^ | == maker/mkmake.c:1599:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1599 | if( fp = fopen(path,"r") ){ | ~~~^~~~~~~~~~~~~~~~~ maker/mkmake.c:1599:10: note: place parentheses around the assignment to silence this warning 1599 | if( fp = fopen(path,"r") ){ | ^ | ( ) maker/mkmake.c:1599:10: note: use '==' to turn this assignment into an equality comparison 1599 | if( fp = fopen(path,"r") ){ | ^ | == maker/mkmake.c:1716:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1716 | if( dp = (char*)strrchr(file,'.') ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:1716:9: note: place parentheses around the assignment to silence this warning 1716 | if( dp = (char*)strrchr(file,'.') ) | ^ | ( ) maker/mkmake.c:1716:9: note: use '==' to turn this assignment into an equality comparison 1716 | if( dp = (char*)strrchr(file,'.') ) | ^ | == maker/mkmake.c:1742:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1742 | for( si = 0; src1 = srcv[si]; si++ ) | ~~~~~^~~~~~~~~~ maker/mkmake.c:1742:20: note: place parentheses around the assignment to silence this warning 1742 | for( si = 0; src1 = srcv[si]; si++ ) | ^ | ( ) maker/mkmake.c:1742:20: note: use '==' to turn this assignment into an equality comparison 1742 | 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] 1769 | if( fp = fopen(manifest,"r") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:1769:9: note: place parentheses around the assignment to silence this warning 1769 | if( fp = fopen(manifest,"r") ){ | ^ | ( ) maker/mkmake.c:1769:9: note: use '==' to turn this assignment into an equality comparison 1769 | if( fp = fopen(manifest,"r") ){ | ^ | == maker/mkmake.c:1797:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1797 | if( fp = fopen(manifest,"w") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:1797:9: note: place parentheses around the assignment to silence this warning 1797 | if( fp = fopen(manifest,"w") ){ | ^ | ( ) maker/mkmake.c:1797:9: note: use '==' to turn this assignment into an equality comparison 1797 | if( fp = fopen(manifest,"w") ){ | ^ | == maker/mkmake.c:1922:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1922 | if( sfp = fopen(substlist,"r") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:1922:10: note: place parentheses around the assignment to silence this warning 1922 | if( sfp = fopen(substlist,"r") ){ | ^ | ( ) maker/mkmake.c:1922:10: note: use '==' to turn this assignment into an equality comparison 1922 | if( sfp = fopen(substlist,"r") ){ | ^ | == maker/mkmake.c:1930:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1930 | if( dp = strpbrk(buf,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:1930:11: note: place parentheses around the assignment to silence this warning 1930 | if( dp = strpbrk(buf,"\r\n") ) | ^ | ( ) maker/mkmake.c:1930:11: note: use '==' to turn this assignment into an equality comparison 1930 | if( dp = strpbrk(buf,"\r\n") ) | ^ | == maker/mkmake.c:1939:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1939 | if( sfp = fopen(substlist,"w") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:1939:11: note: place parentheses around the assignment to silence this warning 1939 | if( sfp = fopen(substlist,"w") ){ | ^ | ( ) maker/mkmake.c:1939:11: note: use '==' to turn this assignment into an equality comparison 1939 | if( sfp = fopen(substlist,"w") ){ | ^ | == maker/mkmake.c:2044:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2044 | if( rcode = (*func)(file,fv,fcp) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:2044:13: note: place parentheses around the assignment to silence this warning 2044 | if( rcode = (*func)(file,fv,fcp) ) | ^ | ( ) maker/mkmake.c:2044:13: note: use '==' to turn this assignment into an equality comparison 2044 | if( rcode = (*func)(file,fv,fcp) ) | ^ | == maker/mkmake.c:2404:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2404 | if( fp = fopen(HOSTNAME_FILE,"r") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:2404:10: note: place parentheses around the assignment to silence this warning 2404 | if( fp = fopen(HOSTNAME_FILE,"r") ){ | ^ | ( ) maker/mkmake.c:2404:10: note: use '==' to turn this assignment into an equality comparison 2404 | if( fp = fopen(HOSTNAME_FILE,"r") ){ | ^ | == maker/mkmake.c:2412:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2412 | if( fp = popen(HOSTNAME_COM,"r") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:2412:10: note: place parentheses around the assignment to silence this warning 2412 | if( fp = popen(HOSTNAME_COM,"r") ){ | ^ | ( ) maker/mkmake.c:2412:10: note: use '==' to turn this assignment into an equality comparison 2412 | 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] 60 | 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] 107 | if( fp = fopen(file,"r") ){ | ~~~^~~~~~~~~~~~~~~~~ maker/../rary/cksum.c:107:9: note: place parentheses around the assignment to silence this warning 107 | if( fp = fopen(file,"r") ){ | ^ | ( ) maker/../rary/cksum.c:107:9: note: use '==' to turn this assignment into an equality comparison 107 | if( fp = fopen(file,"r") ){ | ^ | == maker/../rary/cksum.c:115:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 115 | if( sum = fopen(sumfile,"w") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~ maker/../rary/cksum.c:115:11: note: place parentheses around the assignment to silence this warning 115 | if( sum = fopen(sumfile,"w") ){ | ^ | ( ) maker/../rary/cksum.c:115:11: note: use '==' to turn this assignment into an equality comparison 115 | if( sum = fopen(sumfile,"w") ){ | ^ | == maker/../rary/cksum.c:142:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 142 | for( ci = 0; ch = line[ci]; ci++ ){ | ~~~^~~~~~~~~~ maker/../rary/cksum.c:142:20: note: place parentheses around the assignment to silence this warning 142 | for( ci = 0; ch = line[ci]; ci++ ){ | ^ | ( ) maker/../rary/cksum.c:142:20: note: use '==' to turn this assignment into an equality comparison 142 | 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] 207 | if( fp = fopen(file,"r") ){ | ~~~^~~~~~~~~~~~~~~~~ maker/../rary/cksum.c:207:12: note: place parentheses around the assignment to silence this warning 207 | if( fp = fopen(file,"r") ){ | ^ | ( ) maker/../rary/cksum.c:207:12: note: use '==' to turn this assignment into an equality comparison 207 | if( fp = fopen(file,"r") ){ | ^ | == maker/../rary/cksum.c:263:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 263 | if( fp = fopen(av[ai],"r") ){ | ~~~^~~~~~~~~~~~~~~~~~~ maker/../rary/cksum.c:263:11: note: place parentheses around the assignment to silence this warning 263 | if( fp = fopen(av[ai],"r") ){ | ^ | ( ) maker/../rary/cksum.c:263:11: note: use '==' to turn this assignment into an equality comparison 263 | 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] 265 | if( dp = strpbrk(line,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ maker/../rary/cksum.c:265:13: note: place parentheses around the assignment to silence this warning 265 | if( dp = strpbrk(line,"\r\n") ) | ^ | ( ) maker/../rary/cksum.c:265:13: note: use '==' to turn this assignment into an equality comparison 265 | if( dp = strpbrk(line,"\r\n") ) | ^ | == 40 warnings generated. rm srcsign.o rm: srcsign.o: No such file or directory gmake: [Makefile:75: all] Error 1 (ignored) sh make-init.sh ####### -makeat: /wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/src @pkg.DaveG.ca gmake[1]: Entering directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/src' searching DELEGATE_CONF ... "/wrkdirs/usr/ports/net/delegate/work/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 #### looking for ../../../../../../../DELEGATE_CONF #### looking for ../../../../../../../../DELEGATE_CONF #### looking for ../../../../../../../../../DELEGATE_CONF created /wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/src/DELEGATE_CONF echo "GOT by MKMAKE=/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe" > CONF_IS_GOT creating Makefile.tst ... "/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe" -mkmake "/usr/local/bin/gmake" Makefile.tst "cc" "if(UNIX,OS2EMX) -O2" "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[4] 'if(UNIX,OS2EMX) -O2' ==> '-O2' av[5] 'if(WITHCPLUS,UNIX,OS2EMX) -x c++ -DQS' ==> '-x c++ -DQS' ---- testing CC capability [cc][-O2][-x c++ -DQS] ... *** cc -c -o _.o -c -O2 -x c++ -DQS _.c _.c:3:1: error: a type specifier is required for all declarations 3 | main(){ } | ^ 1 error generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS _.c ---- LD exit(256) cc _.o -lstdc++ *** cc -c -o _.o -c -O2 -x c++ -DQS _.c _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 1 error generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS _.c ---- LD exit(256) cc _.o -lstdc++ *** cc -c -o _.o -c -O2 -x c++ -DQS _.c _.c:1:16: error: flexible array member 'A' with type 'char[]' is not at the end of struct 1 | struct _S{char A[]; char B[1];}S; | ^ _.c:1:26: note: next field declaration is here 1 | struct _S{char A[]; char B[1];}S; | ^ _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 2 errors generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS _.c ---- LD exit(256) cc _.o -lstdc++ *** cc -c -o _.o -c -O2 -x c++ -DQS _.c _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 1 error generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS _.c ---- LD exit(256) cc _.o -lstdc++ mkmake: cpyfile DELEGATE_CONF[1-0][0-0] > _.QSC.conf [cc -c -O2 -x c++ -DQS] NONC99=3, NONAZ0=6 @pkg.DaveG.ca #### [/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/src] creating Makefile.tst cpyfile Makefile[1-0][0-20183e] > Makefile.tst #ifdef UNIX ####################################################### #ifdef UNIX,OS2EMX ################################################ [SET] MKMAKE=/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe [SET] RANLIB=/usr/bin/ranlib - checking availability of -lnsl [] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of -lsocket [] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of -ldl [] cpyfile DELEGATE_CONF[1-0][0-0] > _make - checking availability of -lutil [-ldl] cpyfile DELEGATE_CONF[1-0][0-0] > _make - checking availability of -lpthread [-ldl -lutil] cpyfile DELEGATE_CONF[1-0][0-0] > _make - checking availability of -lunalign [-ldl -lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of WS2_32.LIB [-ldl -lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of ADVAPI32.LIB [-ldl -lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of OLE32.LIB [-ldl -lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of SHELL32.LIB [-ldl -lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of UUID.LIB [-ldl -lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of USER32.LIB [-ldl -lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of GDI32.LIB [-ldl -lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of -MT [-ldl -lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of -lpam [-ldl -lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make - checking availability of -lstdc++ [-ldl -lutil -lpthread -lpam] cpyfile DELEGATE_CONF[1-0][0-0] > _make [SET] NETLIB=-ldl -lutil -lpthread -lpam -lstdc++ - checking availability of ../../SSL/libcrypto.a [] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of ../../SSL/libssl.a [] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of -lcrypto [] cpyfile DELEGATE_CONF[1-0][0-0] > _make - 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][2026f4-0] > Makefile.tst #ifdef UNIX ####################################################### #ifdef UNIX,OS2EMX ################################################ "/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe" -touch Makefile "/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe" -makeit "/usr/local/bin/gmake" -f Makefile.tst check_conf SHELL="/bin/sh" gmake[2]: Entering directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/src' "/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe" +r -ckconf Makefile.chk Makefile.tst DELEGATE_CONF "ar" "admin@example.com" "" ckconf: ADMIN = 'admin@example.com' gmake[2]: Leaving directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/src' "/wrkdirs/usr/ports/net/delegate/work/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 "/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe" -mkmake "/usr/local/bin/gmake" Makefile.go "cc" "if(UNIX,OS2EMX) -O2" "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[4] 'if(UNIX,OS2EMX) -O2' ==> '-O2' av[5] 'if(WITHCPLUS,UNIX,OS2EMX) -x c++ -DQS' ==> '-x c++ -DQS' ---- testing CC capability [cc][-O2][-x c++ -DQS] ... *** cc -c -o _.o -c -O2 -x c++ -DQS _.c _.c:3:1: error: a type specifier is required for all declarations 3 | main(){ } | ^ 1 error generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS _.c ---- LD exit(256) cc _.o -lstdc++ *** cc -c -o _.o -c -O2 -x c++ -DQS _.c _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 1 error generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS _.c ---- LD exit(256) cc _.o -lstdc++ *** cc -c -o _.o -c -O2 -x c++ -DQS _.c _.c:1:16: error: flexible array member 'A' with type 'char[]' is not at the end of struct 1 | struct _S{char A[]; char B[1];}S; | ^ _.c:1:26: note: next field declaration is here 1 | struct _S{char A[]; char B[1];}S; | ^ _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 2 errors generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS _.c ---- LD exit(256) cc _.o -lstdc++ *** cc -c -o _.o -c -O2 -x c++ -DQS _.c _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 1 error generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS _.c ---- LD exit(256) cc _.o -lstdc++ mkmake: cpyfile DELEGATE_CONF[1-0][0-0] > _.QSC.conf [cc -c -O2 -x c++ -DQS] NONC99=3, NONAZ0=6 @pkg.DaveG.ca 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 #### [/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/src] creating Makefile.go cpyfile Makefile[1-0][0-20183e] > Makefile.go #ifdef UNIX ####################################################### #ifdef UNIX,OS2EMX ################################################ [SET] MKMAKE=/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe [SET] RANLIB=/usr/bin/ranlib - checking availability of -lnsl [] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of -lsocket [] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of -ldl [] cpyfile DELEGATE_CONF[1-0][0-0] > _make - checking availability of -lutil [-ldl] cpyfile DELEGATE_CONF[1-0][0-0] > _make - checking availability of -lpthread [-ldl -lutil] cpyfile DELEGATE_CONF[1-0][0-0] > _make - checking availability of -lunalign [-ldl -lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of WS2_32.LIB [-ldl -lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of ADVAPI32.LIB [-ldl -lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of OLE32.LIB [-ldl -lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of SHELL32.LIB [-ldl -lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of UUID.LIB [-ldl -lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of USER32.LIB [-ldl -lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of GDI32.LIB [-ldl -lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of -MT [-ldl -lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of -lpam [-ldl -lutil -lpthread] cpyfile DELEGATE_CONF[1-0][0-0] > _make - checking availability of -lstdc++ [-ldl -lutil -lpthread -lpam] cpyfile DELEGATE_CONF[1-0][0-0] > _make [SET] NETLIB=-ldl -lutil -lpthread -lpam -lstdc++ - checking availability of ../../SSL/libcrypto.a [] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of ../../SSL/libssl.a [] cpyfile DELEGATE_CONF[1-0][0-0] > _make *** -mkmake exit(-1) - checking availability of -lcrypto [] cpyfile DELEGATE_CONF[1-0][0-0] > _make - 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][2026f4-0] > Makefile.go #ifdef UNIX ####################################################### #ifdef UNIX,OS2EMX ################################################ gmake[2]: Entering directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/src' cc -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] 97 | if( fp = fopen(file,"r") ){ | ~~~^~~~~~~~~~~~~~~~~ ../include/mkcpp.c:97:9: note: place parentheses around the assignment to silence this warning 97 | if( fp = fopen(file,"r") ){ | ^ | ( ) ../include/mkcpp.c:97:9: note: use '==' to turn this assignment into an equality comparison 97 | if( fp = fopen(file,"r") ){ | ^ | == ../include/mkcpp.c:190:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 190 | if( in1 = include_inline(out,line) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/mkcpp.c:190:12: note: place parentheses around the assignment to silence this warning 190 | if( in1 = include_inline(out,line) ){ | ^ | ( ) ../include/mkcpp.c:190:12: note: use '==' to turn this assignment into an equality comparison 190 | if( in1 = include_inline(out,line) ){ | ^ | == ../include/mkcpp.c:207:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 207 | if( nlen = strheq(lp,"MStr(") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~ ../include/mkcpp.c:207:13: note: place parentheses around the assignment to silence this warning 207 | if( nlen = strheq(lp,"MStr(") ){ | ^ | ( ) ../include/mkcpp.c:207:13: note: use '==' to turn this assignment into an equality comparison 207 | if( nlen = strheq(lp,"MStr(") ){ | ^ | == ../include/mkcpp.c:217:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 217 | if( nlen = strheq(lp,"sprintf(") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ../include/mkcpp.c:217:13: note: place parentheses around the assignment to silence this warning 217 | if( nlen = strheq(lp,"sprintf(") ){ | ^ | ( ) ../include/mkcpp.c:217:13: note: use '==' to turn this assignment into an equality comparison 217 | if( nlen = strheq(lp,"sprintf(") ){ | ^ | == ../include/mkcpp.c:222:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 222 | if( nlen = strheq(lp,"Rsprintf(") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../include/mkcpp.c:222:13: note: place parentheses around the assignment to silence this warning 222 | if( nlen = strheq(lp,"Rsprintf(") ){ | ^ | ( ) ../include/mkcpp.c:222:13: note: use '==' to turn this assignment into an equality comparison 222 | if( nlen = strheq(lp,"Rsprintf(") ){ | ^ | == ../include/mkcpp.c:251:17: warning: '/*' within block comment [-Wcomment] 251 | /* making gen/*.h (depending mkcpp) later than mkcpp */ | ^ 6 warnings generated. ../mkcpp ../include/dglib.h ../gen/dglib.h -- mkcpp set time: 1773311343 -> 1411904544 ../gen/dglib.h ../mkcpp ../include/delegate.h ../gen/delegate.h -- mkcpp set time: 1773311343 -> 1409100207 ../gen/delegate.h ../mkcpp ../include/htswitch.h ../gen/htswitch.h -- mkcpp set time: 1773311343 -> 1250403944 ../gen/htswitch.h ../mkcpp ../include/ystrvec.h ../gen/ystrvec.h -- mkcpp set time: 1773311343 -> 1264936957 ../gen/ystrvec.h ../mkcpp ../include/vaddr.h ../gen/vaddr.h -- mkcpp set time: 1773311343 -> 1398938735 ../gen/vaddr.h ../mkcpp ../include/http.h ../gen/http.h -- mkcpp set time: 1773311343 -> 1411902220 ../gen/http.h ../mkcpp ../include/url.h ../gen/url.h -- mkcpp set time: 1773311343 -> 1407833903 ../gen/url.h ../mkcpp ../include/mime.h ../gen/mime.h -- mkcpp set time: 1773311343 -> 1258620620 ../gen/mime.h ../mkcpp ../include/htadmin.h ../gen/htadmin.h -- mkcpp set time: 1773311343 -> 1250403944 ../gen/htadmin.h "/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe" -makeat ../lib/libteleport.a ../teleport libteleport.a "/usr/local/bin/gmake" libx MAKE="/usr/local/bin/gmake" SHELL="/bin/sh" CC="cc" HDRDIR="-I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing " RANLIB="/usr/bin/ranlib" LDFLAGS=" -L../lib" LIBDIR="-L../lib" NETLIB="-ldl -lutil -lpthread -lpam -lstdc++" AR="ar" TAR="tar" CFLAGS="-O2 -x c++ -DQS -DNONC99=3 " ---- testing CC capability [cc][-O2 -x c++ -DQS -DNONC99=3 ][] ... *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 1 error generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c ---- LD exit(256) cc _.o -lstdc++ *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c _.c:1:16: error: flexible array member 'A' with type 'char[]' is not at the end of struct 1 | struct _S{char A[]; char B[1];}S; | ^ _.c:1:26: note: next field declaration is here 1 | struct _S{char A[]; char B[1];}S; | ^ _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 2 errors generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c ---- LD exit(256) cc _.o -lstdc++ *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 1 error generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c ---- LD exit(256) cc _.o -lstdc++ [cc -c -O2 -x c++ -DQS -DNONC99=3 ] NONC99=2, NONAZ0=6 @pkg.DaveG.ca ####### -makeat: /wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/teleport @pkg.DaveG.ca gmake[3]: Entering directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/teleport' "/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe" -cksum README Makefile teleport.h teleportd.c vehicle.c qzcode.c qz.c "/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe" -mkmake "/usr/local/bin/gmake" Makefile.go "cc" "-O2 -x c++ -DQS -DNONC99=3 -Dm64 " "" "-L../lib" "/usr/bin/ranlib" "-ldl -lutil -lpthread -lpam -lstdc++" NETLIB ---- testing CC capability [cc][-O2 -x c++ -DQS -DNONC99=3 -Dm64 ][] ... *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 1 error generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c ---- LD exit(256) cc _.o -lstdc++ *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c _.c:1:16: error: flexible array member 'A' with type 'char[]' is not at the end of struct 1 | struct _S{char A[]; char B[1];}S; | ^ _.c:1:26: note: next field declaration is here 1 | struct _S{char A[]; char B[1];}S; | ^ _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 2 errors generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c ---- LD exit(256) cc _.o -lstdc++ *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 1 error generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c ---- LD exit(256) cc _.o -lstdc++ mkmake: cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/teleport]: cannot read 'DELEGATE_CONF' [cc -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 ] NONC99=2, NONAZ0=6 @pkg.DaveG.ca #### [/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/teleport] creating Makefile.go cpyfile Makefile[1-0][0-20183e] > Makefile.go #ifdef UNIX,OS2EMX ################################################ [SET] MKMAKE=/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe [SET] RANLIB=/usr/bin/ranlib - checking availability of -ldl [] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/teleport]: cannot read 'DELEGATE_CONF' - checking availability of -lutil [-ldl] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/teleport]: cannot read 'DELEGATE_CONF' - checking availability of -lpthread [-ldl -lutil] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/teleport]: cannot read 'DELEGATE_CONF' - checking availability of -lpam [-ldl -lutil -lpthread] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/teleport]: cannot read 'DELEGATE_CONF' - checking availability of -lstdc++ [-ldl -lutil -lpthread -lpam] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/teleport]: cannot read 'DELEGATE_CONF' [SET] NETLIB=-ldl -lutil -lpthread -lpam -lstdc++ cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/teleport]: cannot read 'DELEGATE_CONF' cpyfile Makefile[0-0][2026f4-0] > Makefile.go #ifdef UNIX,OS2EMX ################################################ /usr/local/bin/gmake -f Makefile.go libteleport.a SHELL="/bin/sh" HDRDIR="-I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing " gmake[4]: Entering directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/teleport' ../mkcpp teleportd.c teleportd._.c -- mkcpp set time: 1773311345 -> 1252611728 teleportd._.c cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c teleportd._.c -o teleportd.o teleportd._.c:442:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 442 | for( pp = msg; ch = *pp; pp++ ){ | ~~~^~~~~ teleportd._.c:442:22: note: place parentheses around the assignment to silence this warning 442 | for( pp = msg; ch = *pp; pp++ ){ | ^ | ( ) teleportd._.c:442:22: note: use '==' to turn this assignment into an equality comparison 442 | for( pp = msg; ch = *pp; pp++ ){ | ^ | == teleportd._.c:722:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 722 | if( dp = strrchr(arg,'/') ) | ~~~^~~~~~~~~~~~~~~~~~ teleportd._.c:722:10: note: place parentheses around the assignment to silence this warning 722 | if( dp = strrchr(arg,'/') ) | ^ | ( ) teleportd._.c:722:10: note: use '==' to turn this assignment into an equality comparison 722 | if( dp = strrchr(arg,'/') ) | ^ | == 2 warnings generated. ../mkcpp vehicle.c vehicle._.c -- mkcpp set time: 1773311347 -> 1264833102 vehicle._.c cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c vehicle._.c -o vehicle.o vehicle._.c:377:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 377 | if( pp = strchr(ap->a_path,'!') ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ vehicle._.c:377:11: note: place parentheses around the assignment to silence this warning 377 | if( pp = strchr(ap->a_path,'!') ) | ^ | ( ) vehicle._.c:377:11: note: use '==' to turn this assignment into an equality comparison 377 | if( pp = strchr(ap->a_path,'!') ) | ^ | == vehicle._.c:341:3: warning: expression result unused [-Wunused-value] 341 | *path++; | ^~~~~~~ vehicle._.c:346:3: warning: expression result unused [-Wunused-value] 346 | *path++; | ^~~~~~~ vehicle._.c:565:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 565 | if( np = strpbrk(msghead,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ vehicle._.c:565:9: note: place parentheses around the assignment to silence this warning 565 | if( np = strpbrk(msghead,"\r\n") ) | ^ | ( ) vehicle._.c:565:9: note: use '==' to turn this assignment into an equality comparison 565 | if( np = strpbrk(msghead,"\r\n") ) | ^ | == vehicle._.c:567:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 567 | for( np = msghead; ch = *np; np++ ) | ~~~^~~~~ vehicle._.c:567:24: note: place parentheses around the assignment to silence this warning 567 | for( np = msghead; ch = *np; np++ ) | ^ | ( ) vehicle._.c:567:24: note: use '==' to turn this assignment into an equality comparison 567 | for( np = msghead; ch = *np; np++ ) | ^ | == 5 warnings generated. ../mkcpp qzcode.c qzcode._.c -- mkcpp set time: 1773311348 -> 1264833132 qzcode._.c cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c qzcode._.c -o qzcode.o qzcode._.c:144:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 144 | for( cj = 0; ch = QZM[cj]; cj++ ) | ~~~^~~~~~~~~ qzcode._.c:144:20: note: place parentheses around the assignment to silence this warning 144 | for( cj = 0; ch = QZM[cj]; cj++ ) | ^ | ( ) qzcode._.c:144:20: note: use '==' to turn this assignment into an equality comparison 144 | for( cj = 0; ch = QZM[cj]; cj++ ) | ^ | == qzcode._.c:150:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 150 | for( cj = 0; ch = QZM[cj]; cj++ ) | ~~~^~~~~~~~~ qzcode._.c:150:18: note: place parentheses around the assignment to silence this warning 150 | for( cj = 0; ch = QZM[cj]; cj++ ) | ^ | ( ) qzcode._.c:150:18: note: use '==' to turn this assignment into an equality comparison 150 | for( cj = 0; ch = QZM[cj]; cj++ ) | ^ | == qzcode._.c:178:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 178 | for( ci = 0; ch = QZM[ci]; ci++ ) | ~~~^~~~~~~~~ qzcode._.c:178:18: note: place parentheses around the assignment to silence this warning 178 | for( ci = 0; ch = QZM[ci]; ci++ ) | ^ | ( ) qzcode._.c:178:18: note: use '==' to turn this assignment into an equality comparison 178 | for( ci = 0; ch = QZM[ci]; ci++ ) | ^ | == 3 warnings generated. rm -f libteleport.a ar cr libteleport.a teleportd.o vehicle.o qzcode.o /usr/bin/ranlib libteleport.a gmake[4]: Leaving directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/teleport' gmake[3]: Leaving directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/teleport' **[0] move ../teleport/libteleport.a to ../lib/libteleport.a "/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe" -makeat ../lib/libresolvy.a ../resolvy libresolvy.a "/usr/local/bin/gmake" libx MAKE="/usr/local/bin/gmake" SHELL="/bin/sh" CC="cc" HDRDIR="-I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing " RANLIB="/usr/bin/ranlib" LDFLAGS=" -L../lib" LIBDIR="-L../lib" NETLIB="-ldl -lutil -lpthread -lpam -lstdc++" AR="ar" TAR="tar" CFLAGS="-O2 -x c++ -DQS -DNONC99=3 " ---- testing CC capability [cc][-O2 -x c++ -DQS -DNONC99=3 ][] ... *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 1 error generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c ---- LD exit(256) cc _.o -lstdc++ *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c _.c:1:16: error: flexible array member 'A' with type 'char[]' is not at the end of struct 1 | struct _S{char A[]; char B[1];}S; | ^ _.c:1:26: note: next field declaration is here 1 | struct _S{char A[]; char B[1];}S; | ^ _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 2 errors generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c ---- LD exit(256) cc _.o -lstdc++ *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 1 error generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c ---- LD exit(256) cc _.o -lstdc++ [cc -c -O2 -x c++ -DQS -DNONC99=3 ] NONC99=2, NONAZ0=6 @pkg.DaveG.ca ####### -makeat: /wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/resolvy @pkg.DaveG.ca gmake[3]: Entering directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/resolvy' "/wrkdirs/usr/ports/net/delegate/work/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 "/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe" -mkmake "/usr/local/bin/gmake" Makefile.go "cc" "-O2 -x c++ -DQS -DNONC99=3 -Dm64 " "" "-L../lib" "/usr/bin/ranlib" "-ldl -lutil -lpthread -lpam -lstdc++" NETLIB ---- testing CC capability [cc][-O2 -x c++ -DQS -DNONC99=3 -Dm64 ][] ... *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 1 error generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c ---- LD exit(256) cc _.o -lstdc++ *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c _.c:1:16: error: flexible array member 'A' with type 'char[]' is not at the end of struct 1 | struct _S{char A[]; char B[1];}S; | ^ _.c:1:26: note: next field declaration is here 1 | struct _S{char A[]; char B[1];}S; | ^ _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 2 errors generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c ---- LD exit(256) cc _.o -lstdc++ *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 1 error generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c ---- LD exit(256) cc _.o -lstdc++ mkmake: cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/resolvy]: cannot read 'DELEGATE_CONF' [cc -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 ] NONC99=2, NONAZ0=6 @pkg.DaveG.ca #### [/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/resolvy] creating Makefile.go cpyfile Makefile[1-0][0-20183e] > Makefile.go #ifdef UNIX,OS2EMX ################################################ #ifdef UNIX ####################################################### [SET] MKMAKE=/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe [SET] RANLIB=/usr/bin/ranlib - checking availability of -ldl [] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/resolvy]: cannot read 'DELEGATE_CONF' - checking availability of -lutil [-ldl] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/resolvy]: cannot read 'DELEGATE_CONF' - checking availability of -lpthread [-ldl -lutil] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/resolvy]: cannot read 'DELEGATE_CONF' - checking availability of -lpam [-ldl -lutil -lpthread] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/resolvy]: cannot read 'DELEGATE_CONF' - checking availability of -lstdc++ [-ldl -lutil -lpthread -lpam] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/resolvy]: cannot read 'DELEGATE_CONF' [SET] NETLIB=-ldl -lutil -lpthread -lpam -lstdc++ cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/resolvy]: cannot read 'DELEGATE_CONF' cpyfile Makefile[0-0][2026f4-0] > Makefile.go #ifdef UNIX,OS2EMX ################################################ #ifdef UNIX ####################################################### /usr/local/bin/gmake -f Makefile.go libresolvy.a XOBJS="" MKMAKE="/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe" SHELL="/bin/sh" HDRDIR="-I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing " gmake[4]: Entering directory '/wrkdirs/usr/ports/net/delegate/work/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: 1773311363 -> 1280703524 dnsnode._.c cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c dnsnode._.c -o dnsnode.o dnsnode._.c:163:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 163 | while( oct = *np ){ | ~~~~^~~~~ dnsnode._.c:163:14: note: place parentheses around the assignment to silence this warning 163 | while( oct = *np ){ | ^ | ( ) dnsnode._.c:163:14: note: use '==' to turn this assignment into an equality comparison 163 | while( oct = *np ){ | ^ | == dnsnode._.c:271:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 271 | if( Pp = Np->n_parent ) | ~~~^~~~~~~~~~~~~~ dnsnode._.c:271:9: note: place parentheses around the assignment to silence this warning 271 | if( Pp = Np->n_parent ) | ^ | ( ) dnsnode._.c:271:9: note: use '==' to turn this assignment into an equality comparison 271 | if( Pp = Np->n_parent ) | ^ | == 2 warnings generated. ../mkcpp resolv.c resolv._.c -- mkcpp set time: 1773311363 -> 1282448561 resolv._.c cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c resolv._.c -o resolv.o resolv._.c:270:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 270 | while( len = *sp++ ){ | ~~~~^~~~~~~ resolv._.c:270:13: note: place parentheses around the assignment to silence this warning 270 | while( len = *sp++ ){ | ^ | ( ) resolv._.c:270:13: note: use '==' to turn this assignment into an equality comparison 270 | while( len = *sp++ ){ | ^ | == resolv._.c:829:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 829 | 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 829 | 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 829 | 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] 964 | if( rs = getrs(ns) ){ | ~~~^~~~~~~~~~~ resolv._.c:964:9: note: place parentheses around the assignment to silence this warning 964 | if( rs = getrs(ns) ){ | ^ | ( ) resolv._.c:964:9: note: use '==' to turn this assignment into an equality comparison 964 | if( rs = getrs(ns) ){ | ^ | == resolv._.c:1030:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1030 | if( nqd = hp->qdcount ){ | ~~~~^~~~~~~~~~~~~ resolv._.c:1030:10: note: place parentheses around the assignment to silence this warning 1030 | if( nqd = hp->qdcount ){ | ^ | ( ) resolv._.c:1030:10: note: use '==' to turn this assignment into an equality comparison 1030 | if( nqd = hp->qdcount ){ | ^ | == resolv._.c:1229:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1229 | if( nhit = lookupCache(nid,qtype,0,rrc,rrv) ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resolv._.c:1229:11: note: place parentheses around the assignment to silence this warning 1229 | if( nhit = lookupCache(nid,qtype,0,rrc,rrv) ) | ^ | ( ) resolv._.c:1229:11: note: use '==' to turn this assignment into an equality comparison 1229 | 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] 1312 | if( nhit = lookupCache(nid,qtype,0,rrc,rrv) ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resolv._.c:1312:12: note: place parentheses around the assignment to silence this warning 1312 | if( nhit = lookupCache(nid,qtype,0,rrc,rrv) ) | ^ | ( ) resolv._.c:1312:12: note: use '==' to turn this assignment into an equality comparison 1312 | if( nhit = lookupCache(nid,qtype,0,rrc,rrv) ) | ^ | == resolv._.c:1514:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1514 | if( nhit = lookupCache(nid,qtype,0,rrc,rrv) ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resolv._.c:1514:14: note: place parentheses around the assignment to silence this warning 1514 | if( nhit = lookupCache(nid,qtype,0,rrc,rrv) ) | ^ | ( ) resolv._.c:1514:14: note: use '==' to turn this assignment into an equality comparison 1514 | 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] 1735 | if( dp = strcasestr(name,DNS_DOMAIN) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resolv._.c:1735:9: note: place parentheses around the assignment to silence this warning 1735 | if( dp = strcasestr(name,DNS_DOMAIN) ) | ^ | ( ) resolv._.c:1735:9: note: use '==' to turn this assignment into an equality comparison 1735 | if( dp = strcasestr(name,DNS_DOMAIN) ) | ^ | == resolv._.c:1959:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1959 | if( nid = DNS_getbyname(name) ) | ~~~~^~~~~~~~~~~~~~~~~~~~~ resolv._.c:1959:10: note: place parentheses around the assignment to silence this warning 1959 | if( nid = DNS_getbyname(name) ) | ^ | ( ) resolv._.c:1959:10: note: use '==' to turn this assignment into an equality comparison 1959 | if( nid = DNS_getbyname(name) ) | ^ | == resolv._.c:1960:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1960 | if( ac = DNS_getattr(nid,typemask(qtype),0,8,av) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resolv._.c:1960:9: note: place parentheses around the assignment to silence this warning 1960 | if( ac = DNS_getattr(nid,typemask(qtype),0,8,av) ) | ^ | ( ) resolv._.c:1960:9: note: use '==' to turn this assignment into an equality comparison 1960 | 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] 2014 | if( dp = strchr(hp,'.') ) | ~~~^~~~~~~~~~~~~~~~ resolv._.c:2014:12: note: place parentheses around the assignment to silence this warning 2014 | if( dp = strchr(hp,'.') ) | ^ | ( ) resolv._.c:2014:12: note: use '==' to turn this assignment into an equality comparison 2014 | if( dp = strchr(hp,'.') ) | ^ | == resolv._.c:2067:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2067 | if( anc = relay_cachedRR(AVStr(rrb),rrpp,name,TY_MX) ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resolv._.c:2067:10: note: place parentheses around the assignment to silence this warning 2067 | if( anc = relay_cachedRR(AVStr(rrb),rrpp,name,TY_MX) ) | ^ | ( ) resolv._.c:2067:10: note: use '==' to turn this assignment into an equality comparison 2067 | if( anc = relay_cachedRR(AVStr(rrb),rrpp,name,TY_MX) ) | ^ | == 12 warnings generated. ../mkcpp reshost.c reshost._.c -- mkcpp set time: 1773311364 -> 1399582068 reshost._.c cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c reshost._.c -o reshost.o reshost._.c:127:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 127 | for( ac = 0; ap = ht->h_addr_list[ac]; ac++ ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ reshost._.c:127:19: note: place parentheses around the assignment to silence this warning 127 | for( ac = 0; ap = ht->h_addr_list[ac]; ac++ ){ | ^ | ( ) reshost._.c:127:19: note: use '==' to turn this assignment into an equality comparison 127 | 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] 149 | for( ax = 0; ap = ht->h_aliases[ax]; ax++ ){ | ~~~^~~~~~~~~~~~~~~~~~~ reshost._.c:149:19: note: place parentheses around the assignment to silence this warning 149 | for( ax = 0; ap = ht->h_aliases[ax]; ax++ ){ | ^ | ( ) reshost._.c:149:19: note: use '==' to turn this assignment into an equality comparison 149 | 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] 224 | 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 224 | 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 224 | 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] 279 | if( dnsrch = res_DNSRCH() ){ | ~~~~~~~^~~~~~~~~~~~~~ reshost._.c:279:13: note: place parentheses around the assignment to silence this warning 279 | if( dnsrch = res_DNSRCH() ){ | ^ | ( ) reshost._.c:279:13: note: use '==' to turn this assignment into an equality comparison 279 | if( dnsrch = res_DNSRCH() ){ | ^ | == reshost._.c:280:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 280 | for( si = 0; dname = dnsrch[si]; si++ ){ | ~~~~~~^~~~~~~~~~~~ reshost._.c:280:25: note: place parentheses around the assignment to silence this warning 280 | for( si = 0; dname = dnsrch[si]; si++ ){ | ^ | ( ) reshost._.c:280:25: note: use '==' to turn this assignment into an equality comparison 280 | for( si = 0; dname = dnsrch[si]; si++ ){ | ^ | == reshost._.c:288:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 288 | if( dname = res_DEFDNAME() ){ | ~~~~~~^~~~~~~~~~~~~~~~ reshost._.c:288:12: note: place parentheses around the assignment to silence this warning 288 | if( dname = res_DEFDNAME() ){ | ^ | ( ) reshost._.c:288:12: note: use '==' to turn this assignment into an equality comparison 288 | if( dname = res_DEFDNAME() ){ | ^ | == reshost._.c:384:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 384 | for( ri = 0; ri = RES_next_res(where,ri,AVStr(res1),AVStr(arg)); ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ reshost._.c:384:18: note: place parentheses around the assignment to silence this warning 384 | for( ri = 0; ri = RES_next_res(where,ri,AVStr(res1),AVStr(arg)); ){ | ^ | ( ) reshost._.c:384:18: note: use '==' to turn this assignment into an equality comparison 384 | for( ri = 0; ri = RES_next_res(where,ri,AVStr(res1),AVStr(arg)); ){ | ^ | == reshost._.c:454:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 454 | else | ^ reshost._.c:523:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 523 | for( ri = 0; ri = RES_next_res(where,ri,AVStr(res1),AVStr(arg)); ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ reshost._.c:523:18: note: place parentheses around the assignment to silence this warning 523 | for( ri = 0; ri = RES_next_res(where,ri,AVStr(res1),AVStr(arg)); ){ | ^ | ( ) reshost._.c:523:18: note: use '==' to turn this assignment into an equality comparison 523 | for( ri = 0; ri = RES_next_res(where,ri,AVStr(res1),AVStr(arg)); ){ | ^ | == reshost._.c:589:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 589 | else | ^ reshost._.c:631:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 631 | if( tp = strchr(name+2,'.') ){ | ~~~^~~~~~~~~~~~~~~~~~~~ reshost._.c:631:10: note: place parentheses around the assignment to silence this warning 631 | if( tp = strchr(name+2,'.') ){ | ^ | ( ) reshost._.c:631:10: note: use '==' to turn this assignment into an equality comparison 631 | if( tp = strchr(name+2,'.') ){ | ^ | == reshost._.c:761:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 761 | if( lp = strchr(line,'#') ){ | ~~~^~~~~~~~~~~~~~~~~~ reshost._.c:761:9: note: place parentheses around the assignment to silence this warning 761 | if( lp = strchr(line,'#') ){ | ^ | ( ) reshost._.c:761:9: note: use '==' to turn this assignment into an equality comparison 761 | if( lp = strchr(line,'#') ){ | ^ | == reshost._.c:766:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 766 | if( lp = strchr(line,'\n') ) | ~~~^~~~~~~~~~~~~~~~~~~ reshost._.c:766:9: note: place parentheses around the assignment to silence this warning 766 | if( lp = strchr(line,'\n') ) | ^ | ( ) reshost._.c:766:9: note: use '==' to turn this assignment into an equality comparison 766 | if( lp = strchr(line,'\n') ) | ^ | == reshost._.c:866:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 866 | if( cp = strpbrk(datap,"#\r\n") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ reshost._.c:866:10: note: place parentheses around the assignment to silence this warning 866 | if( cp = strpbrk(datap,"#\r\n") ){ | ^ | ( ) reshost._.c:866:10: note: use '==' to turn this assignment into an equality comparison 866 | if( cp = strpbrk(datap,"#\r\n") ){ | ^ | == reshost._.c:927:29: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 927 | 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 927 | 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 927 | 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] 997 | if( lp = strchr(lp,'\n') ) | ~~~^~~~~~~~~~~~~~~~~ reshost._.c:997:10: note: place parentheses around the assignment to silence this warning 997 | if( lp = strchr(lp,'\n') ) | ^ | ( ) reshost._.c:997:10: note: use '==' to turn this assignment into an equality comparison 997 | if( lp = strchr(lp,'\n') ) | ^ | == 16 warnings generated. ../mkcpp rescache.c rescache._.c -- mkcpp set time: 1773311366 -> 1408789860 rescache._.c cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c rescache._.c -o rescache.o rescache._.c:209:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 209 | if( cache = hosts_cache(byname,name,"r",AVStr(cpath)) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rescache._.c:209:12: note: place parentheses around the assignment to silence this warning 209 | if( cache = hosts_cache(byname,name,"r",AVStr(cpath)) ){ | ^ | ( ) rescache._.c:209:12: note: use '==' to turn this assignment into an equality comparison 209 | 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] 213 | if( ncache = fopen(newpath,"w") ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~ rescache._.c:213:14: note: place parentheses around the assignment to silence this warning 213 | if( ncache = fopen(newpath,"w") ){ | ^ | ( ) rescache._.c:213:14: note: use '==' to turn this assignment into an equality comparison 213 | if( ncache = fopen(newpath,"w") ){ | ^ | == rescache._.c:280:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 280 | for( ai = 0; a1 = (unsigned char *)rv[ai]; ai++ ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ rescache._.c:280:22: note: place parentheses around the assignment to silence this warning 280 | for( ai = 0; a1 = (unsigned char *)rv[ai]; ai++ ){ | ^ | ( ) rescache._.c:280:22: note: use '==' to turn this assignment into an equality comparison 280 | 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] 299 | for( ai = 0; n1 = rv[ai]; ai++ ) | ~~~^~~~~~~~ rescache._.c:299:19: note: place parentheses around the assignment to silence this warning 299 | for( ai = 0; n1 = rv[ai]; ai++ ) | ^ | ( ) rescache._.c:299:19: note: use '==' to turn this assignment into an equality comparison 299 | for( ai = 0; n1 = rv[ai]; ai++ ) | ^ | == rescache._.c:316:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 316 | for( ai = 0; n1 = rv[ai]; ai++ ){ | ~~~^~~~~~~~ rescache._.c:316:18: note: place parentheses around the assignment to silence this warning 316 | for( ai = 0; n1 = rv[ai]; ai++ ){ | ^ | ( ) rescache._.c:316:18: note: use '==' to turn this assignment into an equality comparison 316 | for( ai = 0; n1 = rv[ai]; ai++ ){ | ^ | == 5 warnings generated. ../mkcpp hostent.c hostent._.c -- mkcpp set time: 1773311366 -> 1250403944 hostent._.c cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c hostent._.c -o hostent.o ../mkcpp resconf.c resconf._.c -- mkcpp set time: 1773311367 -> 1283661799 resconf._.c /bin/sh ./ccres cc -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing resconf._.c -o resconf.o cc -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing resconf._.c -o resconf.o resconf._.c:152:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 152 | if( pushed = PushedResolvers[tix] ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ resconf._.c:152:14: note: place parentheses around the assignment to silence this warning 152 | if( pushed = PushedResolvers[tix] ){ | ^ | ( ) resconf._.c:152:14: note: use '==' to turn this assignment into an equality comparison 152 | if( pushed = PushedResolvers[tix] ){ | ^ | == resconf._.c:220:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 220 | for( si = 0; dom = _RES.dnsrch[si]; si++ ){ | ~~~~^~~~~~~~~~~~~~~~~ resconf._.c:220:19: note: place parentheses around the assignment to silence this warning 220 | for( si = 0; dom = _RES.dnsrch[si]; si++ ){ | ^ | ( ) resconf._.c:220:19: note: use '==' to turn this assignment into an equality comparison 220 | 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] 305 | if( hp = _GethostByname(myname) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ resconf._.c:305:9: note: place parentheses around the assignment to silence this warning 305 | if( hp = _GethostByname(myname) ) | ^ | ( ) resconf._.c:305:9: note: use '==' to turn this assignment into an equality comparison 305 | if( hp = _GethostByname(myname) ) | ^ | == resconf._.c:394:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 394 | if( np = strstr(nsb,"..") ){ | ~~~^~~~~~~~~~~~~~~~~~ resconf._.c:394:10: note: place parentheses around the assignment to silence this warning 394 | if( np = strstr(nsb,"..") ){ | ^ | ( ) resconf._.c:394:10: note: use '==' to turn this assignment into an equality comparison 394 | if( np = strstr(nsb,"..") ){ | ^ | == resconf._.c:453:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 453 | if( socks = strstr(ns,VIA_SOCKS) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ resconf._.c:453:12: note: place parentheses around the assignment to silence this warning 453 | if( socks = strstr(ns,VIA_SOCKS) ){ | ^ | ( ) resconf._.c:453:12: note: use '==' to turn this assignment into an equality comparison 453 | if( socks = strstr(ns,VIA_SOCKS) ){ | ^ | == resconf._.c:458:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 458 | if( cp = strpbrk(ns,"# \t") ) | ~~~^~~~~~~~~~~~~~~~~~~~ resconf._.c:458:10: note: place parentheses around the assignment to silence this warning 458 | if( cp = strpbrk(ns,"# \t") ) | ^ | ( ) resconf._.c:458:10: note: use '==' to turn this assignment into an equality comparison 458 | if( cp = strpbrk(ns,"# \t") ) | ^ | == resconf._.c:478:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 478 | if( hp = _GethostByname(ns) ) | ~~~^~~~~~~~~~~~~~~~~~~~ resconf._.c:478:9: note: place parentheses around the assignment to silence this warning 478 | if( hp = _GethostByname(ns) ) | ^ | ( ) resconf._.c:478:9: note: use '==' to turn this assignment into an equality comparison 478 | if( hp = _GethostByname(ns) ) | ^ | == resconf._.c:481:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 481 | if( hp = _GETHOSTBYNAME(ns) ) | ~~~^~~~~~~~~~~~~~~~~~~~ resconf._.c:481:9: note: place parentheses around the assignment to silence this warning 481 | if( hp = _GETHOSTBYNAME(ns) ) | ^ | ( ) resconf._.c:481:9: note: use '==' to turn this assignment into an equality comparison 481 | if( hp = _GETHOSTBYNAME(ns) ) | ^ | == resconf._.c:559:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 559 | if( addr = VSA_ntoa(&sin) ){ | ~~~~~^~~~~~~~~~~~~~~~ resconf._.c:559:13: note: place parentheses around the assignment to silence this warning 559 | if( addr = VSA_ntoa(&sin) ){ | ^ | ( ) resconf._.c:559:13: note: use '==' to turn this assignment into an equality comparison 559 | if( addr = VSA_ntoa(&sin) ){ | ^ | == resconf._.c:638:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 638 | if( dp = strpbrk(line,"#;") ) | ~~~^~~~~~~~~~~~~~~~~~~~ resconf._.c:638:13: note: place parentheses around the assignment to silence this warning 638 | if( dp = strpbrk(line,"#;") ) | ^ | ( ) resconf._.c:638:13: note: use '==' to turn this assignment into an equality comparison 638 | if( dp = strpbrk(line,"#;") ) | ^ | == resconf._.c:694:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 694 | if( domain = strchr(nameb,'/') ) | ~~~~~~~^~~~~~~~~~~~~~~~~~~ resconf._.c:694:13: note: place parentheses around the assignment to silence this warning 694 | if( domain = strchr(nameb,'/') ) | ^ | ( ) resconf._.c:694:13: note: use '==' to turn this assignment into an equality comparison 694 | if( domain = strchr(nameb,'/') ) | ^ | == resconf._.c:730:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 730 | if( sp = RES_VERIFY ){ | ~~~^~~~~~~~~~~~ resconf._.c:730:9: note: place parentheses around the assignment to silence this warning 730 | if( sp = RES_VERIFY ){ | ^ | ( ) resconf._.c:730:9: note: use '==' to turn this assignment into an equality comparison 730 | if( sp = RES_VERIFY ){ | ^ | == resconf._.c:731:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 731 | for( ; sc = *sp; sp++ ){ | ~~~^~~~~ resconf._.c:731:13: note: place parentheses around the assignment to silence this warning 731 | for( ; sc = *sp; sp++ ){ | ^ | ( ) resconf._.c:731:13: note: use '==' to turn this assignment into an equality comparison 731 | for( ; sc = *sp; sp++ ){ | ^ | == resconf._.c:822:15: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] 822 | mask[ai] = 255; | ~ ^~~ resconf._.c:886:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 886 | for( sn = 0; saddrs[sn] = addrs[sn]; sn++ ){ | ~~~~~~~~~~~^~~~~~~~~~~ resconf._.c:886:27: note: place parentheses around the assignment to silence this warning 886 | for( sn = 0; saddrs[sn] = addrs[sn]; sn++ ){ | ^ | ( ) resconf._.c:886:27: note: use '==' to turn this assignment into an equality comparison 886 | 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] 931 | for( sx = 0; cap = addrs[sx]; sx++ ){ | ~~~~^~~~~~~~~~~ resconf._.c:931:19: note: place parentheses around the assignment to silence this warning 931 | for( sx = 0; cap = addrs[sx]; sx++ ){ | ^ | ( ) resconf._.c:931:19: note: use '==' to turn this assignment into an equality comparison 931 | for( sx = 0; cap = addrs[sx]; sx++ ){ | ^ | == resconf._.c:979:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 979 | if( env = getenv("RES_DEBUG") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~ resconf._.c:979:10: note: place parentheses around the assignment to silence this warning 979 | if( env = getenv("RES_DEBUG") ) | ^ | ( ) resconf._.c:979:10: note: use '==' to turn this assignment into an equality comparison 979 | if( env = getenv("RES_DEBUG") ) | ^ | == resconf._.c:991:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 991 | if( env = getenv("RES_ORDER") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~ resconf._.c:991:10: note: place parentheses around the assignment to silence this warning 991 | if( env = getenv("RES_ORDER") ) | ^ | ( ) resconf._.c:991:10: note: use '==' to turn this assignment into an equality comparison 991 | if( env = getenv("RES_ORDER") ) | ^ | == resconf._.c:995:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 995 | 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 995 | 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 995 | 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] 1000 | if( env = getenv("RES_NS") ) | ~~~~^~~~~~~~~~~~~~~~~~ resconf._.c:1000:10: note: place parentheses around the assignment to silence this warning 1000 | if( env = getenv("RES_NS") ) | ^ | ( ) resconf._.c:1000:10: note: use '==' to turn this assignment into an equality comparison 1000 | if( env = getenv("RES_NS") ) | ^ | == resconf._.c:1002:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1002 | if( env = getenv("RES_VRFY") ) | ~~~~^~~~~~~~~~~~~~~~~~~~ resconf._.c:1002:10: note: place parentheses around the assignment to silence this warning 1002 | if( env = getenv("RES_VRFY") ) | ^ | ( ) resconf._.c:1002:10: note: use '==' to turn this assignment into an equality comparison 1002 | if( env = getenv("RES_VRFY") ) | ^ | == resconf._.c:1013:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1013 | if( env = getenv("RES_HOSTS") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~ resconf._.c:1013:10: note: place parentheses around the assignment to silence this warning 1013 | if( env = getenv("RES_HOSTS") ) | ^ | ( ) resconf._.c:1013:10: note: use '==' to turn this assignment into an equality comparison 1013 | if( env = getenv("RES_HOSTS") ) | ^ | == resconf._.c:1017:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1017 | if( hp = getmyhost() ) | ~~~^~~~~~~~~~~~~ resconf._.c:1017:9: note: place parentheses around the assignment to silence this warning 1017 | if( hp = getmyhost() ) | ^ | ( ) resconf._.c:1017:9: note: use '==' to turn this assignment into an equality comparison 1017 | if( hp = getmyhost() ) | ^ | == resconf._.c:1022:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1022 | if( hp = getmyhost() ){ | ~~~^~~~~~~~~~~~~ resconf._.c:1022:9: note: place parentheses around the assignment to silence this warning 1022 | if( hp = getmyhost() ){ | ^ | ( ) resconf._.c:1022:9: note: use '==' to turn this assignment into an equality comparison 1022 | if( hp = getmyhost() ){ | ^ | == resconf._.c:1132:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1132 | if( hp = RES_gethost(arg) ){ | ~~~^~~~~~~~~~~~~~~~~~ resconf._.c:1132:11: note: place parentheses around the assignment to silence this warning 1132 | if( hp = RES_gethost(arg) ){ | ^ | ( ) resconf._.c:1132:11: note: use '==' to turn this assignment into an equality comparison 1132 | if( hp = RES_gethost(arg) ){ | ^ | == resconf._.c:1160:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1160 | if( hp = RES_gethost(addrhost) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~ resconf._.c:1160:9: note: place parentheses around the assignment to silence this warning 1160 | if( hp = RES_gethost(addrhost) ){ | ^ | ( ) resconf._.c:1160:9: note: use '==' to turn this assignment into an equality comparison 1160 | if( hp = RES_gethost(addrhost) ){ | ^ | == resconf._.c:1278:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1278 | if( dp = strchr(arg+2,'.') ) | ~~~^~~~~~~~~~~~~~~~~~~ resconf._.c:1278:10: note: place parentheses around the assignment to silence this warning 1278 | if( dp = strchr(arg+2,'.') ) | ^ | ( ) resconf._.c:1278:10: note: use '==' to turn this assignment into an equality comparison 1278 | 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 gmake[4]: Leaving directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/resolvy' gmake[3]: Leaving directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/resolvy' **[0] move ../resolvy/libresolvy.a to ../lib/libresolvy.a "/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe" -makeat ../lib/libmimekit.a ../mimekit libmimekit.a "/usr/local/bin/gmake" libx MAKE="/usr/local/bin/gmake" SHELL="/bin/sh" CC="cc" HDRDIR="-I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing " RANLIB="/usr/bin/ranlib" LDFLAGS=" -L../lib" LIBDIR="-L../lib" NETLIB="-ldl -lutil -lpthread -lpam -lstdc++" AR="ar" TAR="tar" CFLAGS="-O2 -x c++ -DQS -DNONC99=3 " ---- testing CC capability [cc][-O2 -x c++ -DQS -DNONC99=3 ][] ... *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 1 error generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c ---- LD exit(256) cc _.o -lstdc++ *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c _.c:1:16: error: flexible array member 'A' with type 'char[]' is not at the end of struct 1 | struct _S{char A[]; char B[1];}S; | ^ _.c:1:26: note: next field declaration is here 1 | struct _S{char A[]; char B[1];}S; | ^ _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 2 errors generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c ---- LD exit(256) cc _.o -lstdc++ *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 1 error generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c ---- LD exit(256) cc _.o -lstdc++ [cc -c -O2 -x c++ -DQS -DNONC99=3 ] NONC99=2, NONAZ0=6 @pkg.DaveG.ca ####### -makeat: /wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mimekit @pkg.DaveG.ca gmake[3]: Entering directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mimekit' "/wrkdirs/usr/ports/net/delegate/work/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 "/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe" -mkmake "/usr/local/bin/gmake" Makefile.go "cc" "-O2 -x c++ -DQS -DNONC99=3 -Dm64 " "" "-L../lib" "/usr/bin/ranlib" "-ldl -lutil -lpthread -lpam -lstdc++" NETLIB ---- testing CC capability [cc][-O2 -x c++ -DQS -DNONC99=3 -Dm64 ][] ... *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 1 error generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c ---- LD exit(256) cc _.o -lstdc++ *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c _.c:1:16: error: flexible array member 'A' with type 'char[]' is not at the end of struct 1 | struct _S{char A[]; char B[1];}S; | ^ _.c:1:26: note: next field declaration is here 1 | struct _S{char A[]; char B[1];}S; | ^ _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 2 errors generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c ---- LD exit(256) cc _.o -lstdc++ *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 1 error generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c ---- LD exit(256) cc _.o -lstdc++ mkmake: cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mimekit]: cannot read 'DELEGATE_CONF' [cc -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 ] NONC99=2, NONAZ0=6 @pkg.DaveG.ca #### [/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mimekit] creating Makefile.go cpyfile Makefile[1-0][0-20183e] > Makefile.go #ifdef UNIX ####################################################### #ifdef UNIX,OS2EMX ################################################ [SET] MKMAKE=/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe [SET] RANLIB=/usr/bin/ranlib - checking availability of -ldl [] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mimekit]: cannot read 'DELEGATE_CONF' - checking availability of -lutil [-ldl] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mimekit]: cannot read 'DELEGATE_CONF' - checking availability of -lpthread [-ldl -lutil] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mimekit]: cannot read 'DELEGATE_CONF' - checking availability of -lpam [-ldl -lutil -lpthread] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mimekit]: cannot read 'DELEGATE_CONF' - checking availability of -lstdc++ [-ldl -lutil -lpthread -lpam] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mimekit]: cannot read 'DELEGATE_CONF' [SET] NETLIB=-ldl -lutil -lpthread -lpam -lstdc++ cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mimekit]: cannot read 'DELEGATE_CONF' cpyfile Makefile[0-0][2026f4-0] > Makefile.go #ifdef UNIX ####################################################### #ifdef UNIX,OS2EMX ################################################ /usr/local/bin/gmake -f Makefile.go libmimekit.a XOBJS="" MKMAKE="/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe" SHELL="/bin/sh" HDRDIR="-I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing " RANLIB="/usr/bin/ranlib" gmake[4]: Entering directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mimekit' ../mkcpp mimeconv.c mimeconv.cc -- mkcpp set time: 1773311370 -> 1250403944 mimeconv.cc rm -f mimeconv.o cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -I. mimeconv.cc -c -DMIMEKIT ../mkcpp mimecodes.c mimecodes.cc -- mkcpp set time: 1773311370 -> 1258619693 mimecodes.cc rm -f mimecodes.o cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -I. mimecodes.cc -c -DMIMEKIT mimecodes.cc:67:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 67 | while( ch = *qpchars++ ) | ~~~^~~~~~~~~~~~ mimecodes.cc:67:12: note: place parentheses around the assignment to silence this warning 67 | while( ch = *qpchars++ ) | ^ | ( ) mimecodes.cc:67:12: note: use '==' to turn this assignment into an equality comparison 67 | while( ch = *qpchars++ ) | ^ | == 1 warning generated. ../mkcpp mime.c mime.cc -- mkcpp set time: 1773311370 -> 1402844469 mime.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -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] 132 | for( ci = 0; ctype1 = textorso[ci]; ci++ ) | ~~~~~~~^~~~~~~~~~~~~~ mime.cc:132:22: note: place parentheses around the assignment to silence this warning 132 | for( ci = 0; ctype1 = textorso[ci]; ci++ ) | ^ | ( ) mime.cc:132:22: note: use '==' to turn this assignment into an equality comparison 132 | for( ci = 0; ctype1 = textorso[ci]; ci++ ) | ^ | == mime.cc:354:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 354 | if( dp = strchr(MIME_transAddrSpec,':') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mime.cc:354:11: note: place parentheses around the assignment to silence this warning 354 | if( dp = strchr(MIME_transAddrSpec,':') ){ | ^ | ( ) mime.cc:354:11: note: use '==' to turn this assignment into an equality comparison 354 | if( dp = strchr(MIME_transAddrSpec,':') ){ | ^ | == mime.cc:456:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 456 | if( bp = strcasestr(hp,"boundary=") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ mime.cc:456:9: note: place parentheses around the assignment to silence this warning 456 | if( bp = strcasestr(hp,"boundary=") ){ | ^ | ( ) mime.cc:456:9: note: use '==' to turn this assignment into an equality comparison 456 | if( bp = strcasestr(hp,"boundary=") ){ | ^ | == mime.cc:485:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 485 | for( bi = 0; b1 = boundaries[bi]; bi++ ){ | ~~~^~~~~~~~~~~~~~~~ mime.cc:485:19: note: place parentheses around the assignment to silence this warning 485 | for( bi = 0; b1 = boundaries[bi]; bi++ ){ | ^ | ( ) mime.cc:485:19: note: use '==' to turn this assignment into an equality comparison 485 | for( bi = 0; b1 = boundaries[bi]; bi++ ){ | ^ | == mime.cc:491:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 491 | if( tp = strheadstrX(line+2,b1,0) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ mime.cc:491:11: note: place parentheses around the assignment to silence this warning 491 | if( tp = strheadstrX(line+2,b1,0) ){ | ^ | ( ) mime.cc:491:11: note: use '==' to turn this assignment into an equality comparison 491 | if( tp = strheadstrX(line+2,b1,0) ){ | ^ | == mime.cc:510:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 510 | if( sw = strstr(text,"\033$") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ mime.cc:510:9: note: place parentheses around the assignment to silence this warning 510 | if( sw = strstr(text,"\033$") ) | ^ | ( ) mime.cc:510:9: note: use '==' to turn this assignment into an equality comparison 510 | if( sw = strstr(text,"\033$") ) | ^ | == mime.cc:513:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 513 | if( sw = strstr(text,"\033(") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ mime.cc:513:9: note: place parentheses around the assignment to silence this warning 513 | if( sw = strstr(text,"\033(") ) | ^ | ( ) mime.cc:513:9: note: use '==' to turn this assignment into an equality comparison 513 | if( sw = strstr(text,"\033(") ) | ^ | == mime.cc:595:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 595 | if( dp = strchr(ctype,';') ) | ~~~^~~~~~~~~~~~~~~~~~~ mime.cc:595:10: note: place parentheses around the assignment to silence this warning 595 | if( dp = strchr(ctype,';') ) | ^ | ( ) mime.cc:595:10: note: use '==' to turn this assignment into an equality comparison 595 | if( dp = strchr(ctype,';') ) | ^ | == mime.cc:631:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 631 | if( got_EOR = isEOR(hp) ){ | ~~~~~~~~^~~~~~~~~~~ mime.cc:631:15: note: place parentheses around the assignment to silence this warning 631 | if( got_EOR = isEOR(hp) ){ | ^ | ( ) mime.cc:631:15: note: use '==' to turn this assignment into an equality comparison 631 | if( got_EOR = isEOR(hp) ){ | ^ | == mime.cc:687:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 687 | for(hs = buf; hc = *hs; hs++ ){ | ~~~^~~~~ mime.cc:687:20: note: place parentheses around the assignment to silence this warning 687 | for(hs = buf; hc = *hs; hs++ ){ | ^ | ( ) mime.cc:687:20: note: use '==' to turn this assignment into an equality comparison 687 | for(hs = buf; hc = *hs; hs++ ){ | ^ | == mime.cc:767:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 767 | }else | ^ mime.cc:769:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 769 | if( rcode = pop_boundary(boundaries,line) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mime.cc:769:13: note: place parentheses around the assignment to silence this warning 769 | if( rcode = pop_boundary(boundaries,line) ) | ^ | ( ) mime.cc:769:13: note: use '==' to turn this assignment into an equality comparison 769 | if( rcode = pop_boundary(boundaries,line) ) | ^ | == mime.cc:794:34: warning: '/*' within block comment [-Wcomment] 794 | /* only if the part is of text/* ? */ | ^ mime.cc:875:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 875 | if( rcode = pop_boundary(boundaries,bp) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mime.cc:875:13: note: place parentheses around the assignment to silence this warning 875 | if( rcode = pop_boundary(boundaries,bp) ){ | ^ | ( ) mime.cc:875:13: note: use '==' to turn this assignment into an equality comparison 875 | if( rcode = pop_boundary(boundaries,bp) ){ | ^ | == mime.cc:902:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 902 | if( rcode = pop_boundary(boundaries,line) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mime.cc:902:13: note: place parentheses around the assignment to silence this warning 902 | if( rcode = pop_boundary(boundaries,line) ) | ^ | ( ) mime.cc:902:13: note: use '==' to turn this assignment into an equality comparison 902 | if( rcode = pop_boundary(boundaries,line) ) | ^ | == mime.cc:941:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 941 | if( m17n = Mcv->c_m17n ){ | ~~~~~^~~~~~~~~~~~~ mime.cc:941:12: note: place parentheses around the assignment to silence this warning 941 | if( m17n = Mcv->c_m17n ){ | ^ | ( ) mime.cc:941:12: note: use '==' to turn this assignment into an equality comparison 941 | if( m17n = Mcv->c_m17n ){ | ^ | == mime.cc:959:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 959 | if( cp = strcasestr(header,"charset=") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mime.cc:959:9: note: place parentheses around the assignment to silence this warning 959 | if( cp = strcasestr(header,"charset=") ) | ^ | ( ) mime.cc:959:9: note: use '==' to turn this assignment into an equality comparison 959 | if( cp = strcasestr(header,"charset=") ) | ^ | == mime.cc:1032:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1032 | if( charset = guess_charset(tmpc) ) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ mime.cc:1032:15: note: place parentheses around the assignment to silence this warning 1032 | if( charset = guess_charset(tmpc) ) | ^ | ( ) mime.cc:1032:15: note: use '==' to turn this assignment into an equality comparison 1032 | if( charset = guess_charset(tmpc) ) | ^ | == mime.cc:1139:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1139 | if( beol = strpbrk(tmpa,"\r\n") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ mime.cc:1139:11: note: place parentheses around the assignment to silence this warning 1139 | if( beol = strpbrk(tmpa,"\r\n") ){ | ^ | ( ) mime.cc:1139:11: note: use '==' to turn this assignment into an equality comparison 1139 | if( beol = strpbrk(tmpa,"\r\n") ){ | ^ | == mime.cc:1202:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1202 | if( len = strlen(tmpa) ) | ~~~~^~~~~~~~~~~~~~ mime.cc:1202:10: note: place parentheses around the assignment to silence this warning 1202 | if( len = strlen(tmpa) ) | ^ | ( ) mime.cc:1202:10: note: use '==' to turn this assignment into an equality comparison 1202 | if( len = strlen(tmpa) ) | ^ | == mime.cc:1246:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1246 | if( dp = strSeekEOH(head) ) | ~~~^~~~~~~~~~~~~~~~~~ mime.cc:1246:11: note: place parentheses around the assignment to silence this warning 1246 | if( dp = strSeekEOH(head) ) | ^ | ( ) mime.cc:1246:11: note: use '==' to turn this assignment into an equality comparison 1246 | if( dp = strSeekEOH(head) ) | ^ | == mime.cc:1342:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1342 | }else | ^ mime.cc:1374:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1374 | }else | ^ mime.cc:1563:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1563 | for( bp = str; ch = *bp; bp++ ){ | ~~~^~~~~ mime.cc:1563:20: note: place parentheses around the assignment to silence this warning 1563 | for( bp = str; ch = *bp; bp++ ){ | ^ | ( ) mime.cc:1563:20: note: use '==' to turn this assignment into an equality comparison 1563 | for( bp = str; ch = *bp; bp++ ){ | ^ | == mime.cc:1718:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1718 | }else | ^ mime.cc:1751:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1751 | for( sp = str; ch = *sp; sp++ ){ | ~~~^~~~~ mime.cc:1751:20: note: place parentheses around the assignment to silence this warning 1751 | for( sp = str; ch = *sp; sp++ ){ | ^ | ( ) mime.cc:1751:20: note: use '==' to turn this assignment into an equality comparison 1751 | for( sp = str; ch = *sp; sp++ ){ | ^ | == mime.cc:1775:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1775 | if( np = strpbrk(tp,"\t\r\n") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ mime.cc:1775:10: note: place parentheses around the assignment to silence this warning 1775 | if( np = strpbrk(tp,"\t\r\n") ){ | ^ | ( ) mime.cc:1775:10: note: use '==' to turn this assignment into an equality comparison 1775 | if( np = strpbrk(tp,"\t\r\n") ){ | ^ | == 27 warnings generated. ../mkcpp pgp.c pgp.cc -- mkcpp set time: 1773311371 -> 1264938166 pgp.cc rm -f pgp.o cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -I. pgp.cc -c -DMIMEKIT pgp.cc:216:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 216 | if( EOH = line[0] == '\r' || line[0] == '\n' ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp.cc:216:11: note: place parentheses around the assignment to silence this warning 216 | if( EOH = line[0] == '\r' || line[0] == '\n' ){ | ^ | ( ) pgp.cc:216:11: note: use '==' to turn this assignment into an equality comparison 216 | if( EOH = line[0] == '\r' || line[0] == '\n' ){ | ^ | == pgp.cc:359:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 359 | if( np = strpbrk(line,CRLF) ) | ~~~^~~~~~~~~~~~~~~~~~~~ pgp.cc:359:10: note: place parentheses around the assignment to silence this warning 359 | if( np = strpbrk(line,CRLF) ) | ^ | ( ) pgp.cc:359:10: note: use '==' to turn this assignment into an equality comparison 359 | if( np = strpbrk(line,CRLF) ) | ^ | == 2 warnings generated. ../mkcpp rfc822.c rfc822.cc -- mkcpp set time: 1773311371 -> 1402308705 rfc822.cc rm -f rfc822.o cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -I. rfc822.cc -c -DMIMEKIT rfc822.cc:63:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 63 | if( nsp = strchr(csp,'\n') ) | ~~~~^~~~~~~~~~~~~~~~~~ rfc822.cc:63:11: note: place parentheses around the assignment to silence this warning 63 | if( nsp = strchr(csp,'\n') ) | ^ | ( ) rfc822.cc:63:11: note: use '==' to turn this assignment into an equality comparison 63 | if( nsp = strchr(csp,'\n') ) | ^ | == rfc822.cc:76:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 76 | while( fp = findField(head,field,NULL) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ rfc822.cc:76:12: note: place parentheses around the assignment to silence this warning 76 | while( fp = findField(head,field,NULL) ){ | ^ | ( ) rfc822.cc:76:12: note: use '==' to turn this assignment into an equality comparison 76 | while( fp = findField(head,field,NULL) ){ | ^ | == rfc822.cc:77:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 77 | if( np = strchr(fp,'\n') ) | ~~~^~~~~~~~~~~~~~~~~ rfc822.cc:77:10: note: place parentheses around the assignment to silence this warning 77 | if( np = strchr(fp,'\n') ) | ^ | ( ) rfc822.cc:77:10: note: use '==' to turn this assignment into an equality comparison 77 | if( np = strchr(fp,'\n') ) | ^ | == rfc822.cc:125:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 125 | if( vp = findFieldValue(head,field) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ rfc822.cc:125:9: note: place parentheses around the assignment to silence this warning 125 | if( vp = findFieldValue(head,field) ){ | ^ | ( ) rfc822.cc:125:9: note: use '==' to turn this assignment into an equality comparison 125 | if( vp = findFieldValue(head,field) ){ | ^ | == rfc822.cc:252:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 252 | if( ep = strpbrk(dp,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~ rfc822.cc:252:10: note: place parentheses around the assignment to silence this warning 252 | if( ep = strpbrk(dp,"\r\n") ) | ^ | ( ) rfc822.cc:252:10: note: use '==' to turn this assignment into an equality comparison 252 | if( ep = strpbrk(dp,"\r\n") ) | ^ | == rfc822.cc:277:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 277 | while( ch = *sp ){ | ~~~^~~~~ rfc822.cc:277:12: note: place parentheses around the assignment to silence this warning 277 | while( ch = *sp ){ | ^ | ( ) rfc822.cc:277:12: note: use '==' to turn this assignment into an equality comparison 277 | while( ch = *sp ){ | ^ | == rfc822.cc:281:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 281 | if( xp = strchr(sp,':') ){ | ~~~^~~~~~~~~~~~~~~~ rfc822.cc:281:11: note: place parentheses around the assignment to silence this warning 281 | if( xp = strchr(sp,':') ){ | ^ | ( ) rfc822.cc:281:11: note: use '==' to turn this assignment into an equality comparison 281 | if( xp = strchr(sp,':') ){ | ^ | == rfc822.cc:288:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 288 | while( ch = *sp ){ | ~~~^~~~~ rfc822.cc:288:13: note: place parentheses around the assignment to silence this warning 288 | while( ch = *sp ){ | ^ | ( ) rfc822.cc:288:13: note: use '==' to turn this assignment into an equality comparison 288 | while( ch = *sp ){ | ^ | == rfc822.cc:346:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 346 | if( dp = strpbrk(line,"\r\n\f") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ rfc822.cc:346:12: note: place parentheses around the assignment to silence this warning 346 | if( dp = strpbrk(line,"\r\n\f") ) | ^ | ( ) rfc822.cc:346:12: note: use '==' to turn this assignment into an equality comparison 346 | if( dp = strpbrk(line,"\r\n\f") ) | ^ | == rfc822.cc:441:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 441 | for( np = name; nc = *np; np++ ) | ~~~^~~~~ rfc822.cc:441:21: note: place parentheses around the assignment to silence this warning 441 | for( np = name; nc = *np; np++ ) | ^ | ( ) rfc822.cc:441:21: note: use '==' to turn this assignment into an equality comparison 441 | for( np = name; nc = *np; np++ ) | ^ | == rfc822.cc:459:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 459 | while( ch = *sp++ ){ | ~~~^~~~~~~ rfc822.cc:459:12: note: place parentheses around the assignment to silence this warning 459 | while( ch = *sp++ ){ | ^ | ( ) rfc822.cc:459:12: note: use '==' to turn this assignment into an equality comparison 459 | while( ch = *sp++ ){ | ^ | == rfc822.cc:464:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 464 | while( ch = *sp ){ | ~~~^~~~~ rfc822.cc:464:13: note: place parentheses around the assignment to silence this warning 464 | while( ch = *sp ){ | ^ | ( ) rfc822.cc:464:13: note: use '==' to turn this assignment into an equality comparison 464 | while( ch = *sp ){ | ^ | == rfc822.cc:490:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 490 | for( hp = head; ch = *hp; hp++ ){ | ~~~^~~~~ rfc822.cc:490:21: note: place parentheses around the assignment to silence this warning 490 | for( hp = head; ch = *hp; hp++ ){ | ^ | ( ) rfc822.cc:490:21: note: use '==' to turn this assignment into an equality comparison 490 | for( hp = head; ch = *hp; hp++ ){ | ^ | == rfc822.cc:531:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 531 | if( csp = strcasestr(ctype,"charset=") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rfc822.cc:531:10: note: place parentheses around the assignment to silence this warning 531 | if( csp = strcasestr(ctype,"charset=") ){ | ^ | ( ) rfc822.cc:531:10: note: use '==' to turn this assignment into an equality comparison 531 | if( csp = strcasestr(ctype,"charset=") ){ | ^ | == rfc822.cc:564:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 564 | if( csp = strcasestr(ctype,"charset=") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rfc822.cc:564:10: note: place parentheses around the assignment to silence this warning 564 | if( csp = strcasestr(ctype,"charset=") ){ | ^ | ( ) rfc822.cc:564:10: note: use '==' to turn this assignment into an equality comparison 564 | if( csp = strcasestr(ctype,"charset=") ){ | ^ | == rfc822.cc:748:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 748 | for( np = field; nc = *np; np++ ){ | ~~~^~~~~ rfc822.cc:748:22: note: place parentheses around the assignment to silence this warning 748 | for( np = field; nc = *np; np++ ){ | ^ | ( ) rfc822.cc:748:22: note: use '==' to turn this assignment into an equality comparison 748 | for( np = field; nc = *np; np++ ){ | ^ | == rfc822.cc:841:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 841 | if( fi2 = nextField(fi1,0) ){ | ~~~~^~~~~~~~~~~~~~~~~~ rfc822.cc:841:10: note: place parentheses around the assignment to silence this warning 841 | if( fi2 = nextField(fi1,0) ){ | ^ | ( ) rfc822.cc:841:10: note: use '==' to turn this assignment into an equality comparison 841 | if( fi2 = nextField(fi1,0) ){ | ^ | == rfc822.cc:857:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 857 | for( sp = head; ch = *sp; sp++ ){ | ~~~^~~~~ rfc822.cc:857:21: note: place parentheses around the assignment to silence this warning 857 | for( sp = head; ch = *sp; sp++ ){ | ^ | ( ) rfc822.cc:857:21: note: use '==' to turn this assignment into an equality comparison 857 | for( sp = head; ch = *sp; sp++ ){ | ^ | == rfc822.cc:895:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 895 | if( tail = strncmp(afield,"Tail/",5) == 0 ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rfc822.cc:895:12: note: place parentheses around the assignment to silence this warning 895 | if( tail = strncmp(afield,"Tail/",5) == 0 ) | ^ | ( ) rfc822.cc:895:12: note: use '==' to turn this assignment into an equality comparison 895 | if( tail = strncmp(afield,"Tail/",5) == 0 ) | ^ | == rfc822.cc:906:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 906 | } while( afield = findField(afield+1,field,&avalue) ); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rfc822.cc:906:18: note: place parentheses around the assignment to silence this warning 906 | } while( afield = findField(afield+1,field,&avalue) ); | ^ | ( ) rfc822.cc:906:18: note: use '==' to turn this assignment into an equality comparison 906 | } while( afield = findField(afield+1,field,&avalue) ); | ^ | == rfc822.cc:935:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 935 | for( sp = src; sc = *sp; sp++ ){ | ~~~^~~~~ rfc822.cc:935:20: note: place parentheses around the assignment to silence this warning 935 | for( sp = src; sc = *sp; sp++ ){ | ^ | ( ) rfc822.cc:935:20: note: use '==' to turn this assignment into an equality comparison 935 | for( sp = src; sc = *sp; sp++ ){ | ^ | == rfc822.cc:971:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 971 | for( sp = in; sc = *sp; sp++ ){ | ~~~^~~~~ rfc822.cc:971:19: note: place parentheses around the assignment to silence this warning 971 | for( sp = in; sc = *sp; sp++ ){ | ^ | ( ) rfc822.cc:971:19: note: use '==' to turn this assignment into an equality comparison 971 | for( sp = in; sc = *sp; sp++ ){ | ^ | == rfc822.cc:1006:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1006 | for( sp = buff; sc = *sp; sp++ ){ | ~~~^~~~~ rfc822.cc:1006:21: note: place parentheses around the assignment to silence this warning 1006 | for( sp = buff; sc = *sp; sp++ ){ | ^ | ( ) rfc822.cc:1006:21: note: use '==' to turn this assignment into an equality comparison 1006 | for( sp = buff; sc = *sp; sp++ ){ | ^ | == rfc822.cc:1011:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1011 | for( sp += 1; sc = *sp; sp++ ){ | ~~~^~~~~ rfc822.cc:1011:21: note: place parentheses around the assignment to silence this warning 1011 | for( sp += 1; sc = *sp; sp++ ){ | ^ | ( ) rfc822.cc:1011:21: note: use '==' to turn this assignment into an equality comparison 1011 | for( sp += 1; sc = *sp; sp++ ){ | ^ | == rfc822.cc:1170:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1170 | if( dp = strstr(ohost,ogdom) ) | ~~~^~~~~~~~~~~~~~~~~~~~~ rfc822.cc:1170:10: note: place parentheses around the assignment to silence this warning 1170 | if( dp = strstr(ohost,ogdom) ) | ^ | ( ) rfc822.cc:1170:10: note: use '==' to turn this assignment into an equality comparison 1170 | if( dp = strstr(ohost,ogdom) ) | ^ | == rfc822.cc:1172:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1172 | if( dp = strrchr(ohost,'.') ){ | ~~~^~~~~~~~~~~~~~~~~~~~ rfc822.cc:1172:10: note: place parentheses around the assignment to silence this warning 1172 | if( dp = strrchr(ohost,'.') ){ | ^ | ( ) rfc822.cc:1172:10: note: use '==' to turn this assignment into an equality comparison 1172 | if( dp = strrchr(ohost,'.') ){ | ^ | == rfc822.cc:1176:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1176 | if( dp = strchr(ogdom,'.') ) | ~~~^~~~~~~~~~~~~~~~~~~ rfc822.cc:1176:10: note: place parentheses around the assignment to silence this warning 1176 | if( dp = strchr(ogdom,'.') ) | ^ | ( ) rfc822.cc:1176:10: note: use '==' to turn this assignment into an equality comparison 1176 | if( dp = strchr(ogdom,'.') ) | ^ | == rfc822.cc:1178:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1178 | if( dp = strrchr(ogdom,'.') ) | ~~~^~~~~~~~~~~~~~~~~~~~ rfc822.cc:1178:10: note: place parentheses around the assignment to silence this warning 1178 | if( dp = strrchr(ogdom,'.') ) | ^ | ( ) rfc822.cc:1178:10: note: use '==' to turn this assignment into an equality comparison 1178 | if( dp = strrchr(ogdom,'.') ) | ^ | == rfc822.cc:1189:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1189 | for( fp = spec; fc = *fp; fp++ ){ | ~~~^~~~~ rfc822.cc:1189:21: note: place parentheses around the assignment to silence this warning 1189 | for( fp = spec; fc = *fp; fp++ ){ | ^ | ( ) rfc822.cc:1189:21: note: use '==' to turn this assignment into an equality comparison 1189 | for( fp = spec; fc = *fp; fp++ ){ | ^ | == rfc822.cc:1338:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1338 | if( dp = strstr(from,addr) ){ | ~~~^~~~~~~~~~~~~~~~~~~ rfc822.cc:1338:9: note: place parentheses around the assignment to silence this warning 1338 | if( dp = strstr(from,addr) ){ | ^ | ( ) rfc822.cc:1338:9: note: use '==' to turn this assignment into an equality comparison 1338 | if( dp = strstr(from,addr) ){ | ^ | == rfc822.cc:1376:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1376 | for( sp = str; ch1 = *sp; sp++ ){ | ~~~~^~~~~ rfc822.cc:1376:21: note: place parentheses around the assignment to silence this warning 1376 | for( sp = str; ch1 = *sp; sp++ ){ | ^ | ( ) rfc822.cc:1376:21: note: use '==' to turn this assignment into an equality comparison 1376 | for( sp = str; ch1 = *sp; sp++ ){ | ^ | == rfc822.cc:1425:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1425 | for( endp = atp+1; ch = *endp; endp++ ){ | ~~~^~~~~~~ rfc822.cc:1425:25: note: place parentheses around the assignment to silence this warning 1425 | for( endp = atp+1; ch = *endp; endp++ ){ | ^ | ( ) rfc822.cc:1425:25: note: use '==' to turn this assignment into an equality comparison 1425 | for( endp = atp+1; ch = *endp; endp++ ){ | ^ | == rfc822.cc:2086:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2086 | for(; ch = *sp; sp++ ){ | ~~~^~~~~ rfc822.cc:2086:11: note: place parentheses around the assignment to silence this warning 2086 | for(; ch = *sp; sp++ ){ | ^ | ( ) rfc822.cc:2086:11: note: use '==' to turn this assignment into an equality comparison 2086 | for(; ch = *sp; sp++ ){ | ^ | == 33 warnings generated. ../mkcpp mimehead.c mimehead.cc -- mkcpp set time: 1773311372 -> 1409135323 mimehead.cc rm -f mimehead.o cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -I. mimehead.cc -c -DMIMEKIT mimehead.cc:248:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 248 | for(csi = 0; cs = Codes1[csi].mcharset; csi++) | ~~~^~~~~~~~~~~~~~~~~~~~~~ mimehead.cc:248:18: note: place parentheses around the assignment to silence this warning 248 | for(csi = 0; cs = Codes1[csi].mcharset; csi++) | ^ | ( ) mimehead.cc:248:18: note: use '==' to turn this assignment into an equality comparison 248 | 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] 252 | for(csi = 0; cs = Codes2[csi].mcharset; csi++) | ~~~^~~~~~~~~~~~~~~~~~~~~~ mimehead.cc:252:18: note: place parentheses around the assignment to silence this warning 252 | for(csi = 0; cs = Codes2[csi].mcharset; csi++) | ^ | ( ) mimehead.cc:252:18: note: use '==' to turn this assignment into an equality comparison 252 | 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] 492 | for( ci = 0; mcharset = csw[ci].mcharset; ci++ ){ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~ mimehead.cc:492:24: note: place parentheses around the assignment to silence this warning 492 | for( ci = 0; mcharset = csw[ci].mcharset; ci++ ){ | ^ | ( ) mimehead.cc:492:24: note: use '==' to turn this assignment into an equality comparison 492 | 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] 617 | if( lwsp = io->PENDING_LWSP ) | ~~~~~^~~~~~~~~~~~~~~~~~ mimehead.cc:617:12: note: place parentheses around the assignment to silence this warning 617 | if( lwsp = io->PENDING_LWSP ) | ^ | ( ) mimehead.cc:617:12: note: use '==' to turn this assignment into an equality comparison 617 | if( lwsp = io->PENDING_LWSP ) | ^ | == mimehead.cc:626:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 626 | if( lwsp = io->PENDING_LWSP ){ | ~~~~~^~~~~~~~~~~~~~~~~~ mimehead.cc:626:12: note: place parentheses around the assignment to silence this warning 626 | if( lwsp = io->PENDING_LWSP ){ | ^ | ( ) mimehead.cc:626:12: note: use '==' to turn this assignment into an equality comparison 626 | if( lwsp = io->PENDING_LWSP ){ | ^ | == mimehead.cc:687:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 687 | for( ci = 0; ch = line[ci]; ci++ ) | ~~~^~~~~~~~~~ mimehead.cc:687:19: note: place parentheses around the assignment to silence this warning 687 | for( ci = 0; ch = line[ci]; ci++ ) | ^ | ( ) mimehead.cc:687:19: note: use '==' to turn this assignment into an equality comparison 687 | for( ci = 0; ch = line[ci]; ci++ ) | ^ | == mimehead.cc:1427:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1427 | }else | ^ 7 warnings generated. ../mkcpp mimeh_ovw.c mimeh_ovw.cc -- mkcpp set time: 1773311373 -> 1250403944 mimeh_ovw.cc rm -f mimeh_ovw.o cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -I. mimeh_ovw.cc -c -DMIMEKIT ../mkcpp str_codes.c str_codes.cc -- mkcpp set time: 1773311373 -> 1258670906 str_codes.cc rm -f str_codes.o cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -I. str_codes.cc -c -DMIMEKIT In file included from str_codes.cc:123: ./mimecodes.c:67:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 67 | while( ch = *qpchars++ ) | ~~~^~~~~~~~~~~~ ./mimecodes.c:67:12: note: place parentheses around the assignment to silence this warning 67 | while( ch = *qpchars++ ) | ^ | ( ) ./mimecodes.c:67:12: note: use '==' to turn this assignment into an equality comparison 67 | while( ch = *qpchars++ ) | ^ | == str_codes.cc:140:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 140 | for( sp = str; ch = *sp; sp++ ){ | ~~~^~~~~ str_codes.cc:140:20: note: place parentheses around the assignment to silence this warning 140 | for( sp = str; ch = *sp; sp++ ){ | ^ | ( ) str_codes.cc:140:20: note: use '==' to turn this assignment into an equality comparison 140 | for( sp = str; ch = *sp; sp++ ){ | ^ | == str_codes.cc:152:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 152 | for( fp = fmt; ch = *fp; fp++ ){ | ~~~^~~~~ str_codes.cc:152:20: note: place parentheses around the assignment to silence this warning 152 | for( fp = fmt; ch = *fp; fp++ ){ | ^ | ( ) str_codes.cc:152:20: note: use '==' to turn this assignment into an equality comparison 152 | for( fp = fmt; ch = *fp; fp++ ){ | ^ | == 3 warnings generated. ../mkcpp gendom.c gendom.cc -- mkcpp set time: 1773311374 -> 1413956957 gendom.cc rm -f gendom.o cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -I. gendom.cc -c -DMIMEKIT gendom.cc:354:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 354 | for( ai = 0; ap = attrs[ai]; ai++ ){ | ~~~^~~~~~~~~~~ gendom.cc:354:19: note: place parentheses around the assignment to silence this warning 354 | for( ai = 0; ap = attrs[ai]; ai++ ){ | ^ | ( ) gendom.cc:354:19: note: use '==' to turn this assignment into an equality comparison 354 | for( ai = 0; ap = attrs[ai]; ai++ ){ | ^ | == gendom.cc:359:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 359 | for( ai = 0; ap = rattrs[ai]; ai++ ){ | ~~~^~~~~~~~~~~~ gendom.cc:359:18: note: place parentheses around the assignment to silence this warning 359 | for( ai = 0; ap = rattrs[ai]; ai++ ){ | ^ | ( ) gendom.cc:359:18: note: use '==' to turn this assignment into an equality comparison 359 | for( ai = 0; ap = rattrs[ai]; ai++ ){ | ^ | == gendom.cc:383:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 383 | for( hi = 0; dn = domlev[hi].d_name; hi++ ){ | ~~~^~~~~~~~~~~~~~~~~~~ gendom.cc:383:19: note: place parentheses around the assignment to silence this warning 383 | for( hi = 0; dn = domlev[hi].d_name; hi++ ){ | ^ | ( ) gendom.cc:383:19: note: use '==' to turn this assignment into an equality comparison 383 | 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] 388 | for( hi = 0; dn = domlev[hi].d_rev; hi++ ){ | ~~~^~~~~~~~~~~~~~~~~~ gendom.cc:388:18: note: place parentheses around the assignment to silence this warning 388 | for( hi = 0; dn = domlev[hi].d_rev; hi++ ){ | ^ | ( ) gendom.cc:388:18: note: use '==' to turn this assignment into an equality comparison 388 | 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] 403 | if( alen = isattr(qn-1) ){ | ~~~~~^~~~~~~~~~~~~~ gendom.cc:403:14: note: place parentheses around the assignment to silence this warning 403 | if( alen = isattr(qn-1) ){ | ^ | ( ) gendom.cc:403:14: note: use '==' to turn this assignment into an equality comparison 403 | if( alen = isattr(qn-1) ){ | ^ | == gendom.cc:437:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 437 | for( dp++; dc = *dp; dp++ ) | ~~~^~~~~ gendom.cc:437:17: note: place parentheses around the assignment to silence this warning 437 | for( dp++; dc = *dp; dp++ ) | ^ | ( ) gendom.cc:437:17: note: use '==' to turn this assignment into an equality comparison 437 | for( dp++; dc = *dp; dp++ ) | ^ | == gendom.cc:462:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 462 | if( dom = strchr(gendom,'@') ){ | ~~~~^~~~~~~~~~~~~~~~~~~~ gendom.cc:462:10: note: place parentheses around the assignment to silence this warning 462 | if( dom = strchr(gendom,'@') ){ | ^ | ( ) gendom.cc:462:10: note: use '==' to turn this assignment into an equality comparison 462 | 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 gmake[4]: Leaving directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mimekit' gmake[3]: Leaving directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mimekit' **[0] move ../mimekit/libmimekit.a to ../lib/libmimekit.a "/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe" -makeat ../lib/libmd5.a ../pds/md5 libmd5.a "/usr/local/bin/gmake" libx MAKE="/usr/local/bin/gmake" SHELL="/bin/sh" CC="cc" HDRDIR="-I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing " RANLIB="/usr/bin/ranlib" LDFLAGS=" -L../lib" LIBDIR="-L../lib" NETLIB="-ldl -lutil -lpthread -lpam -lstdc++" AR="ar" TAR="tar" CFLAGS="-O2 -x c++ -DQS -DNONC99=3 " ---- testing CC capability [cc][-O2 -x c++ -DQS -DNONC99=3 ][] ... *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 1 error generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c ---- LD exit(256) cc _.o -lstdc++ *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c _.c:1:16: error: flexible array member 'A' with type 'char[]' is not at the end of struct 1 | struct _S{char A[]; char B[1];}S; | ^ _.c:1:26: note: next field declaration is here 1 | struct _S{char A[]; char B[1];}S; | ^ _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 2 errors generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c ---- LD exit(256) cc _.o -lstdc++ *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 1 error generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c ---- LD exit(256) cc _.o -lstdc++ [cc -c -O2 -x c++ -DQS -DNONC99=3 ] NONC99=2, NONAZ0=6 @pkg.DaveG.ca ####### -makeat: /wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/pds/md5 @pkg.DaveG.ca gmake[3]: Entering directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/pds/md5' "/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe" -mkmake "/usr/local/bin/gmake" Makefile.go "cc" "-O2 -x c++ -DQS -DNONC99=3 -Dm64 " "" "-L../lib" "/usr/bin/ranlib" "-ldl -lutil -lpthread -lpam -lstdc++" NETLIB ---- testing CC capability [cc][-O2 -x c++ -DQS -DNONC99=3 -Dm64 ][] ... *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 1 error generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c ---- LD exit(256) cc _.o -lstdc++ *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c _.c:1:16: error: flexible array member 'A' with type 'char[]' is not at the end of struct 1 | struct _S{char A[]; char B[1];}S; | ^ _.c:1:26: note: next field declaration is here 1 | struct _S{char A[]; char B[1];}S; | ^ _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 2 errors generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c ---- LD exit(256) cc _.o -lstdc++ *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 1 error generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c ---- LD exit(256) cc _.o -lstdc++ mkmake: cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/pds/md5]: cannot read 'DELEGATE_CONF' [cc -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 ] NONC99=2, NONAZ0=6 @pkg.DaveG.ca #### [/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/pds/md5] creating Makefile.go cpyfile Makefile[1-0][0-20183e] > Makefile.go #ifdef UNIX,OS2EMX ################################################ [SET] MKMAKE=/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe [SET] RANLIB=/usr/bin/ranlib - checking availability of -ldl [] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/pds/md5]: cannot read 'DELEGATE_CONF' - checking availability of -lutil [-ldl] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/pds/md5]: cannot read 'DELEGATE_CONF' - checking availability of -lpthread [-ldl -lutil] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/pds/md5]: cannot read 'DELEGATE_CONF' - checking availability of -lpam [-ldl -lutil -lpthread] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/pds/md5]: cannot read 'DELEGATE_CONF' - checking availability of -lstdc++ [-ldl -lutil -lpthread -lpam] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/pds/md5]: cannot read 'DELEGATE_CONF' [SET] NETLIB=-ldl -lutil -lpthread -lpam -lstdc++ cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/pds/md5]: cannot read 'DELEGATE_CONF' cpyfile Makefile[0-0][2026f4-0] > Makefile.go #ifdef UNIX,OS2EMX ################################################ /usr/local/bin/gmake -f Makefile.go CFLAGS="-O2 -x c++ -DQS -DNONC99=3 -Dm64 " libmd5.a SHELL="/bin/sh" gmake[4]: Entering directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/pds/md5' ../../mkcpp md5c.c md5c.cc -- mkcpp set time: 1773311380 -> 1096679002 md5c.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -c md5c.cc ../../mkcpp md5cb.c md5cb.cc -- mkcpp set time: 1773311381 -> 1098398831 md5cb.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -c md5cb.cc ../../mkcpp md5lib.c md5lib.cc -- mkcpp set time: 1773311381 -> 1399199680 md5lib.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -c md5lib.cc ../../mkcpp md5main.c md5main.cc -- mkcpp set time: 1773311381 -> 953668454 md5main.cc cc -O2 -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] 158 | while (len = fread (buffer, 1, 1024, file)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mddriver.c:158:13: note: place parentheses around the assignment to silence this warning 158 | while (len = fread (buffer, 1, 1024, file)) | ^ | ( ) ./mddriver.c:158:13: note: use '==' to turn this assignment into an equality comparison 158 | while (len = fread (buffer, 1, 1024, file)) | ^ | == ./mddriver.c:175:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 175 | while (len = fread (buffer, 1, 16, stdin)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mddriver.c:175:14: note: place parentheses around the assignment to silence this warning 175 | while (len = fread (buffer, 1, 16, stdin)) | ^ | ( ) ./mddriver.c:175:14: note: use '==' to turn this assignment into an equality comparison 175 | while (len = fread (buffer, 1, 16, stdin)) | ^ | == 2 warnings generated. rm -f libmd5.a ar cr libmd5.a md5c.o md5cb.o md5lib.o md5main.o /usr/bin/ranlib libmd5.a gmake[4]: Leaving directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/pds/md5' gmake[3]: Leaving directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/pds/md5' **[0] move ../pds/md5/libmd5.a to ../lib/libmd5.a "/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe" -makeat ../lib/libregex.a ../pds/regex libregex.a "/usr/local/bin/gmake" libx MAKE="/usr/local/bin/gmake" SHELL="/bin/sh" CC="cc" HDRDIR="-I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing " RANLIB="/usr/bin/ranlib" LDFLAGS=" -L../lib" LIBDIR="-L../lib" NETLIB="-ldl -lutil -lpthread -lpam -lstdc++" AR="ar" TAR="tar" CFLAGS="-O2" ---- testing CC capability [cc][-O2][] ... [cc -c -O2 ] NONC99=0, NONAZ0=0 @pkg.DaveG.ca ####### -makeat: /wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/pds/regex @pkg.DaveG.ca gmake[3]: Entering directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/pds/regex' "/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe" -mkmake "/usr/local/bin/gmake" Makefile.go "cc" "-O2 -Dm64 " \ "" "-L../lib" "/usr/bin/ranlib" "-ldl -lutil -lpthread -lpam -lstdc++" NETLIB ---- testing CC capability [cc][-O2 -Dm64 ][] ... mkmake: cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/pds/regex]: cannot read 'DELEGATE_CONF' [cc -c -O2 -Dm64 ] NONC99=0, NONAZ0=0 @pkg.DaveG.ca #### [/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/pds/regex] creating Makefile.go cpyfile Makefile[1-0][0-20183e] > Makefile.go #ifdef UNIX [SET] MKMAKE=/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe [SET] RANLIB=/usr/bin/ranlib - checking availability of -ldl [] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/pds/regex]: cannot read 'DELEGATE_CONF' - checking availability of -lutil [-ldl] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/pds/regex]: cannot read 'DELEGATE_CONF' - checking availability of -lpthread [-ldl -lutil] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/pds/regex]: cannot read 'DELEGATE_CONF' - checking availability of -lpam [-ldl -lutil -lpthread] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/pds/regex]: cannot read 'DELEGATE_CONF' - checking availability of -lstdc++ [-ldl -lutil -lpthread -lpam] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/pds/regex]: cannot read 'DELEGATE_CONF' [SET] NETLIB=-ldl -lutil -lpthread -lpam -lstdc++ cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/pds/regex]: cannot read 'DELEGATE_CONF' cpyfile Makefile[0-0][2026f4-0] > Makefile.go #ifdef UNIX /usr/local/bin/gmake -f Makefile.go CFLAGS="-O2 -Dm64 " \ SHELL="/bin/sh" all gmake[4]: Entering directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/pds/regex' sh ./mkh -i _REGEX_H_ regex2.h regcomp.c regerror.c regexec.c regfree.c >regex.h cc -O2 -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 cc -O2 -Dm64 -c -I. regcomp.c -o regcomp.o regcomp.c:86:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | regcomp(preg, pattern, cflags) | ^ regcomp.c:190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | p_ere(p, stop) | ^ regcomp.c:236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | p_ere_exp(p) | ^ regcomp.c:385:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | p_str(p) | ^ regcomp.c:406:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 406 | p_bre(p, end1, end2) | ^ regcomp.c:439:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | p_simp_re(p, starordinary) | ^ regcomp.c:557:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 557 | p_count(p) | ^ regcomp.c:580:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 580 | p_bracket(p) | ^ regcomp.c:654:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 654 | p_b_term(p, cs) | ^ regcomp.c:720:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 720 | p_b_cclass(p, cs) | ^ regcomp.c:756:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 756 | p_b_eclass(p, cs) | ^ regcomp.c:771:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 771 | p_b_symbol(p) | ^ regcomp.c:791:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 791 | p_b_coll_elem(p, endc) | ^ regcomp.c:820:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 820 | othercase(ch) | ^ regcomp.c:839:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 839 | bothcases(p, ch) | ^ regcomp.c:864:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 864 | ordinary(p, ch) | ^ regcomp.c:886:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 886 | nonnewline(p) | ^ regcomp.c:910:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 910 | repeat(p, start, from, to) | ^ regcomp.c:982:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 982 | seterr(p, e) | ^ regcomp.c:998:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 998 | allocset(p) | ^ regcomp.c:1053:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1053 | freeset(p, cs) | ^ regcomp.c:1078:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1078 | freezeset(p, cs) | ^ regcomp.c:1112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1112 | firstch(p, cs) | ^ regcomp.c:1131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1131 | nch(p, cs) | ^ regcomp.c:1151:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1151 | mcadd(p, cs, cp) | ^ regcomp.c:1177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1177 | mcsub(cs, cp) | ^ regcomp.c:1204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1204 | mcin(cs, cp) | ^ regcomp.c:1216:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1216 | mcfind(cs, cp) | ^ regcomp.c:1238:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1238 | mcinvert(p, cs) | ^ regcomp.c:1253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1253 | mccase(p, cs) | ^ regcomp.c:1265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1265 | isinsets(g, c) | ^ regcomp.c:1285:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1285 | samesets(g, c1, c2) | ^ regcomp.c:1307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1307 | categorize(p, g) | ^ regcomp.c:1335:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1335 | dupl(p, start, finish) | ^ regcomp.c:1363:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1363 | doemit(p, op, opnd) | ^ regcomp.c:1389:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1389 | doinsert(p, op, opnd, pos) | ^ regcomp.c:1429:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1429 | dofwd(p, pos, value) | ^ regcomp.c:1447:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1447 | enlarge(p, size) | ^ regcomp.c:1470:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1470 | stripsnug(p, g) | ^ regcomp.c:1493:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1493 | findmust(p, g) | ^ regcomp.c:1574:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1574 | pluscount(p, g) | ^ 41 warnings generated. sh ./mkh -p engine.c > engine.ih cc -O2 -Dm64 -c -I. regexec.c -o regexec.o In file included from regexec.c:46: ./engine.c:66:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | matcher(g, string, nmatch, pmatch, eflags) | ^ ./engine.c:9:17: note: expanded from macro 'matcher' 9 | #define matcher smatcher | ^ ./engine.c:232:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | dissect(m, start, stop, startst, stopst) | ^ ./engine.c:12:17: note: expanded from macro 'dissect' 12 | #define dissect sdissect | ^ ./engine.c:420:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | backref(m, start, stop, startst, stopst, lev) | ^ ./engine.c:13:17: note: expanded from macro 'backref' 13 | #define backref sbackref | ^ ./engine.c:625:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 625 | fast(m, start, stop, startst, stopst) | ^ ./engine.c:10:14: note: expanded from macro 'fast' 10 | #define fast sfast | ^ ./engine.c:716:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 716 | slow(m, start, stop, startst, stopst) | ^ ./engine.c:11:14: note: expanded from macro 'slow' 11 | #define slow sslow | ^ ./engine.c:812:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 812 | step(g, start, stop, bef, ch, aft) | ^ ./engine.c:14:14: note: expanded from macro 'step' 14 | #define step sstep | ^ In file included from regexec.c:95: ./engine.c:66:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | matcher(g, string, nmatch, pmatch, eflags) | ^ ./engine.c:20:17: note: expanded from macro 'matcher' 20 | #define matcher lmatcher | ^ ./engine.c:232:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | dissect(m, start, stop, startst, stopst) | ^ ./engine.c:23:17: note: expanded from macro 'dissect' 23 | #define dissect ldissect | ^ ./engine.c:420:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | backref(m, start, stop, startst, stopst, lev) | ^ ./engine.c:24:17: note: expanded from macro 'backref' 24 | #define backref lbackref | ^ ./engine.c:625:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 625 | fast(m, start, stop, startst, stopst) | ^ ./engine.c:21:14: note: expanded from macro 'fast' 21 | #define fast lfast | ^ ./engine.c:716:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 716 | slow(m, start, stop, startst, stopst) | ^ ./engine.c:22:14: note: expanded from macro 'slow' 22 | #define slow lslow | ^ ./engine.c:812:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 812 | step(g, start, stop, bef, ch, aft) | ^ ./engine.c:25:14: note: expanded from macro 'step' 25 | #define step lstep | ^ regexec.c:113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | regexec(preg, string, nmatch, pmatch, eflags) | ^ 13 warnings generated. sh ./mkh -p regerror.c > regerror.ih cc -O2 -Dm64 -c -I. regerror.c -o regerror.o regerror.c:116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | regatoi(preg, localbuf) | ^ 1 warning generated. cc -O2 -Dm64 -c -I. regfree.c -o regfree.o regfree.c:14:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | regfree(preg) | ^ 1 warning generated. ar cr libregex.a regcomp.o regexec.o regerror.o regfree.o #### DONE #### -rw-r--r-- 1 root wheel 69290 Mar 12 10:29 libregex.a #### #### #### gmake[4]: Leaving directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/pds/regex' gmake[3]: Leaving directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/pds/regex' **[0] move ../pds/regex/libregex.a to ../lib/libregex.a cp -p ../pds/regex/libregex.a ../lib cp: ../pds/regex/libregex.a: No such file or directory gmake[2]: [Makefile.go:1122: ../lib/libregex.a] Error 1 (ignored) cp -p ../pds/regex/regex.h ../gen "/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe" -makeat ../lib/library.a ../rary library.a "/usr/local/bin/gmake" libx MAKE="/usr/local/bin/gmake" SHELL="/bin/sh" CC="cc" HDRDIR="-I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing " RANLIB="/usr/bin/ranlib" LDFLAGS=" -L../lib" LIBDIR="-L../lib" NETLIB="-ldl -lutil -lpthread -lpam -lstdc++" AR="ar" TAR="tar" CFLAGS="-O2 -x c++ -DQS -DNONC99=3 " ---- testing CC capability [cc][-O2 -x c++ -DQS -DNONC99=3 ][] ... *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 1 error generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c ---- LD exit(256) cc _.o -lstdc++ *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c _.c:1:16: error: flexible array member 'A' with type 'char[]' is not at the end of struct 1 | struct _S{char A[]; char B[1];}S; | ^ _.c:1:26: note: next field declaration is here 1 | struct _S{char A[]; char B[1];}S; | ^ _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 2 errors generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c ---- LD exit(256) cc _.o -lstdc++ *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 1 error generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c ---- LD exit(256) cc _.o -lstdc++ [cc -c -O2 -x c++ -DQS -DNONC99=3 ] NONC99=2, NONAZ0=6 @pkg.DaveG.ca ####### -makeat: /wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/rary @pkg.DaveG.ca gmake[3]: Entering directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/rary' "/wrkdirs/usr/ports/net/delegate/work/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 "/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe" -mkmake "/usr/local/bin/gmake" Makefile.go "cc" "-O2 -x c++ -DQS -DNONC99=3 -Dm64 " "" "-L../lib" "/usr/bin/ranlib" "-ldl -lutil -lpthread -lpam -lstdc++" NETLIB ---- testing CC capability [cc][-O2 -x c++ -DQS -DNONC99=3 -Dm64 ][] ... *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 1 error generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c ---- LD exit(256) cc _.o -lstdc++ *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c _.c:1:16: error: flexible array member 'A' with type 'char[]' is not at the end of struct 1 | struct _S{char A[]; char B[1];}S; | ^ _.c:1:26: note: next field declaration is here 1 | struct _S{char A[]; char B[1];}S; | ^ _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 2 errors generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c ---- LD exit(256) cc _.o -lstdc++ *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 1 error generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c ---- LD exit(256) cc _.o -lstdc++ mkmake: cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/rary]: cannot read 'DELEGATE_CONF' [cc -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 ] NONC99=2, NONAZ0=6 @pkg.DaveG.ca #### [/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/rary] creating Makefile.go cpyfile Makefile[1-0][0-20183e] > Makefile.go #ifdef UNIX,OS2EMX ################################################ [SET] MKMAKE=/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe [SET] RANLIB=/usr/bin/ranlib - checking availability of -ldl [] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/rary]: cannot read 'DELEGATE_CONF' - checking availability of -lutil [-ldl] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/rary]: cannot read 'DELEGATE_CONF' - checking availability of -lpthread [-ldl -lutil] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/rary]: cannot read 'DELEGATE_CONF' - checking availability of -lpam [-ldl -lutil -lpthread] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/rary]: cannot read 'DELEGATE_CONF' - checking availability of -lstdc++ [-ldl -lutil -lpthread -lpam] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/rary]: cannot read 'DELEGATE_CONF' [SET] NETLIB=-ldl -lutil -lpthread -lpam -lstdc++ cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/rary]: cannot read 'DELEGATE_CONF' cpyfile Makefile[0-0][2026f4-0] > Makefile.go #ifdef UNIX,OS2EMX ################################################ "/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe" -randtext randtext.c /usr/local/bin/gmake -f Makefile.go CFLAGS="-O2 -x c++ -DQS -DNONC99=3 -Dm64 " library.a SHELL="/bin/sh" HDRDIR="-I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing " gmake[4]: Entering directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/rary' ../mkcpp SLL.c SLL.cc -- mkcpp set time: 1773311387 -> 1250403944 SLL.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c SLL.cc SLL.cc:63:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 63 | if( ch = *src ){ | ~~~^~~~~~ SLL.cc:63:11: note: place parentheses around the assignment to silence this warning 63 | if( ch = *src ){ | ^ | ( ) SLL.cc:63:11: note: use '==' to turn this assignment into an equality comparison 63 | if( ch = *src ){ | ^ | == 1 warning generated. ../mkcpp String.c String.cc -- mkcpp set time: 1773311388 -> 1399011522 String.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c String.cc String.cc:40:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 40 | for( sp = str; ch = *sp; sp++ ) | ~~~^~~~~ String.cc:40:20: note: place parentheses around the assignment to silence this warning 40 | for( sp = str; ch = *sp; sp++ ) | ^ | ( ) String.cc:40:20: note: use '==' to turn this assignment into an equality comparison 40 | for( sp = str; ch = *sp; sp++ ) | ^ | == String.cc:69:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 69 | if( dp = Isnumber(ai) ){ | ~~~^~~~~~~~~~~~~~ String.cc:69:9: note: place parentheses around the assignment to silence this warning 69 | if( dp = Isnumber(ai) ){ | ^ | ( ) String.cc:69:9: note: use '==' to turn this assignment into an equality comparison 69 | if( dp = Isnumber(ai) ){ | ^ | == String.cc:119:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 119 | for( sp = str; sc = *sp; sp++ ) | ~~~^~~~~ String.cc:119:20: note: place parentheses around the assignment to silence this warning 119 | for( sp = str; sc = *sp; sp++ ) | ^ | ( ) String.cc:119:20: note: use '==' to turn this assignment into an equality comparison 119 | for( sp = str; sc = *sp; sp++ ) | ^ | == String.cc:128:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 128 | for( sp = str; sc = *sp; sp++ ) | ~~~^~~~~ String.cc:128:20: note: place parentheses around the assignment to silence this warning 128 | for( sp = str; sc = *sp; sp++ ) | ^ | ( ) String.cc:128:20: note: use '==' to turn this assignment into an equality comparison 128 | for( sp = str; sc = *sp; sp++ ) | ^ | == String.cc:138:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 138 | for( sp = src; sc = *sp; sp++ ){ | ~~~^~~~~ String.cc:138:20: note: place parentheses around the assignment to silence this warning 138 | for( sp = src; sc = *sp; sp++ ){ | ^ | ( ) String.cc:138:20: note: use '==' to turn this assignment into an equality comparison 138 | for( sp = src; sc = *sp; sp++ ){ | ^ | == String.cc:155:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 155 | for( sp = src; sc = *sp; sp++ ){ | ~~~^~~~~ String.cc:155:20: note: place parentheses around the assignment to silence this warning 155 | for( sp = src; sc = *sp; sp++ ){ | ^ | ( ) String.cc:155:20: note: use '==' to turn this assignment into an equality comparison 155 | for( sp = src; sc = *sp; sp++ ){ | ^ | == String.cc:241:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 241 | for(; rch1 = *rp; rp++ ){ | ~~~~~^~~~~ String.cc:241:15: note: place parentheses around the assignment to silence this warning 241 | for(; rch1 = *rp; rp++ ){ | ^ | ( ) String.cc:241:15: note: use '==' to turn this assignment into an equality comparison 241 | for(; rch1 = *rp; rp++ ){ | ^ | == String.cc:266:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 266 | for(ac = 0; a1 = av[ac]; ac++){ | ~~~^~~~~~~~ String.cc:266:17: note: place parentheses around the assignment to silence this warning 266 | for(ac = 0; a1 = av[ac]; ac++){ | ^ | ( ) String.cc:266:17: note: use '==' to turn this assignment into an equality comparison 266 | for(ac = 0; a1 = av[ac]; ac++){ | ^ | == String.cc:284:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 284 | for( sp = str; ch = *sp; sp++ ){ | ~~~^~~~~ String.cc:284:20: note: place parentheses around the assignment to silence this warning 284 | for( sp = str; ch = *sp; sp++ ){ | ^ | ( ) String.cc:284:20: note: use '==' to turn this assignment into an equality comparison 284 | for( sp = str; ch = *sp; sp++ ){ | ^ | == String.cc:306:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 306 | for( sp = str; ch = *sp; sp++ ){ | ~~~^~~~~ String.cc:306:20: note: place parentheses around the assignment to silence this warning 306 | for( sp = str; ch = *sp; sp++ ){ | ^ | ( ) String.cc:306:20: note: use '==' to turn this assignment into an equality comparison 306 | for( sp = str; ch = *sp; sp++ ){ | ^ | == String.cc:364:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 364 | for( ei = 0; e1 = ev[ei]; ei++ ){ | ~~~^~~~~~~~ String.cc:364:18: note: place parentheses around the assignment to silence this warning 364 | for( ei = 0; e1 = ev[ei]; ei++ ){ | ^ | ( ) String.cc:364:18: note: use '==' to turn this assignment into an equality comparison 364 | for( ei = 0; e1 = ev[ei]; ei++ ){ | ^ | == String.cc:371:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 371 | for( ei = 0; e1 = ev[ei]; ei++ ){ | ~~~^~~~~~~~ String.cc:371:18: note: place parentheses around the assignment to silence this warning 371 | for( ei = 0; e1 = ev[ei]; ei++ ){ | ^ | ( ) String.cc:371:18: note: use '==' to turn this assignment into an equality comparison 371 | for( ei = 0; e1 = ev[ei]; ei++ ){ | ^ | == String.cc:445:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 445 | for(ai = 0; val = av[ai]; ai++) | ~~~~^~~~~~~~ String.cc:445:18: note: place parentheses around the assignment to silence this warning 445 | for(ai = 0; val = av[ai]; ai++) | ^ | ( ) String.cc:445:18: note: use '==' to turn this assignment into an equality comparison 445 | for(ai = 0; val = av[ai]; ai++) | ^ | == String.cc:462:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 462 | for( ai = 0; val = av[ai]; ai++ ){ | ~~~~^~~~~~~~ String.cc:462:19: note: place parentheses around the assignment to silence this warning 462 | for( ai = 0; val = av[ai]; ai++ ){ | ^ | ( ) String.cc:462:19: note: use '==' to turn this assignment into an equality comparison 462 | for( ai = 0; val = av[ai]; ai++ ){ | ^ | == String.cc:494:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 494 | if( env = getenv("STRBUFDEBUG") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ String.cc:494:11: note: place parentheses around the assignment to silence this warning 494 | if( env = getenv("STRBUFDEBUG") ){ | ^ | ( ) String.cc:494:11: note: use '==' to turn this assignment into an equality comparison 494 | if( env = getenv("STRBUFDEBUG") ){ | ^ | == String.cc:553:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 553 | if( odd = top % al ) | ~~~~^~~~~~~~~~ String.cc:553:11: note: place parentheses around the assignment to silence this warning 553 | if( odd = top % al ) | ^ | ( ) String.cc:553:11: note: use '==' to turn this assignment into an equality comparison 553 | if( odd = top % al ) | ^ | == String.cc:575:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 575 | if( sp = getStrBuffer(1,size,PTRALIGN) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ String.cc:575:9: note: place parentheses around the assignment to silence this warning 575 | if( sp = getStrBuffer(1,size,PTRALIGN) ){ | ^ | ( ) String.cc:575:9: note: use '==' to turn this assignment into an equality comparison 575 | if( sp = getStrBuffer(1,size,PTRALIGN) ){ | ^ | == String.cc:585:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 585 | if( ep = getStrBuffer(1,len,1) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~ String.cc:585:9: note: place parentheses around the assignment to silence this warning 585 | if( ep = getStrBuffer(1,len,1) ){ | ^ | ( ) String.cc:585:9: note: use '==' to turn this assignment into an equality comparison 585 | if( ep = getStrBuffer(1,len,1) ){ | ^ | == String.cc:596:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 596 | if( sp = getStrBuffer(1,strlen(str)+1,1) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ String.cc:596:9: note: place parentheses around the assignment to silence this warning 596 | if( sp = getStrBuffer(1,strlen(str)+1,1) ){ | ^ | ( ) String.cc:596:9: note: use '==' to turn this assignment into an equality comparison 596 | if( sp = getStrBuffer(1,strlen(str)+1,1) ){ | ^ | == String.cc:626:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 626 | if( ds = *dst ){ | ~~~^~~~~~ String.cc:626:9: note: place parentheses around the assignment to silence this warning 626 | if( ds = *dst ){ | ^ | ( ) String.cc:626:9: note: use '==' to turn this assignment into an equality comparison 626 | if( ds = *dst ){ | ^ | == String.cc:754:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 754 | for( sp = str; ch = *sp; sp++ ){ | ~~~^~~~~ String.cc:754:20: note: place parentheses around the assignment to silence this warning 754 | for( sp = str; ch = *sp; sp++ ){ | ^ | ( ) String.cc:754:20: note: use '==' to turn this assignment into an equality comparison 754 | for( sp = str; ch = *sp; sp++ ){ | ^ | == String.cc:765:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 765 | for(; ch = *s; s++){ | ~~~^~~~ String.cc:765:11: note: place parentheses around the assignment to silence this warning 765 | for(; ch = *s; s++){ | ^ | ( ) String.cc:765:11: note: use '==' to turn this assignment into an equality comparison 765 | for(; ch = *s; s++){ | ^ | == String.cc:787:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 787 | for(; ch = *s; s++){ | ~~~^~~~ String.cc:787:11: note: place parentheses around the assignment to silence this warning 787 | for(; ch = *s; s++){ | ^ | ( ) String.cc:787:11: note: use '==' to turn this assignment into an equality comparison 787 | for(; ch = *s; s++){ | ^ | == String.cc:804:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 804 | for( sp = src; sc = *sp; sp++ ){ | ~~~^~~~~ String.cc:804:20: note: place parentheses around the assignment to silence this warning 804 | for( sp = src; sc = *sp; sp++ ){ | ^ | ( ) String.cc:804:20: note: use '==' to turn this assignment into an equality comparison 804 | for( sp = src; sc = *sp; sp++ ){ | ^ | == String.cc:877:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 877 | for(; ch = *sp; sp++ ) | ~~~^~~~~ String.cc:877:12: note: place parentheses around the assignment to silence this warning 877 | for(; ch = *sp; sp++ ) | ^ | ( ) String.cc:877:12: note: use '==' to turn this assignment into an equality comparison 877 | for(; ch = *sp; sp++ ) | ^ | == String.cc:882:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 882 | for(; ch = *sp; sp++ ){ | ~~~^~~~~ String.cc:882:12: note: place parentheses around the assignment to silence this warning 882 | for(; ch = *sp; sp++ ){ | ^ | ( ) String.cc:882:12: note: use '==' to turn this assignment into an equality comparison 882 | for(; ch = *sp; sp++ ){ | ^ | == String.cc:935:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 935 | if( care_quote = (allocm & STR_QUOTE) ){ | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ String.cc:935:17: note: place parentheses around the assignment to silence this warning 935 | if( care_quote = (allocm & STR_QUOTE) ){ | ^ | ( ) String.cc:935:17: note: use '==' to turn this assignment into an equality comparison 935 | if( care_quote = (allocm & STR_QUOTE) ){ | ^ | == String.cc:948:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 948 | }else | ^ String.cc:956:28: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 956 | for( np = (char*)lp; cch = *np; ){ | ~~~~^~~~~ String.cc:956:28: note: place parentheses around the assignment to silence this warning 956 | for( np = (char*)lp; cch = *np; ){ | ^ | ( ) String.cc:956:28: note: use '==' to turn this assignment into an equality comparison 956 | for( np = (char*)lp; cch = *np; ){ | ^ | == String.cc:1082:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1082 | if( tp = strchr(list,'}') ){ | ~~~^~~~~~~~~~~~~~~~~~ String.cc:1082:11: note: place parentheses around the assignment to silence this warning 1082 | if( tp = strchr(list,'}') ){ | ^ | ( ) String.cc:1082:11: note: use '==' to turn this assignment into an equality comparison 1082 | if( tp = strchr(list,'}') ){ | ^ | == String.cc:1191:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1191 | while( dp = strstr(sp,pat) ){ | ~~~^~~~~~~~~~~~~~~~ String.cc:1191:12: note: place parentheses around the assignment to silence this warning 1191 | while( dp = strstr(sp,pat) ){ | ^ | ( ) String.cc:1191:12: note: use '==' to turn this assignment into an equality comparison 1191 | while( dp = strstr(sp,pat) ){ | ^ | == String.cc:1281:43: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1281 | for( ks = (unsigned char*)key; kc = *ks++; ){ | ~~~^~~~~~~ String.cc:1281:43: note: place parentheses around the assignment to silence this warning 1281 | for( ks = (unsigned char*)key; kc = *ks++; ){ | ^ | ( ) String.cc:1281:43: note: use '==' to turn this assignment into an equality comparison 1281 | for( ks = (unsigned char*)key; kc = *ks++; ){ | ^ | == String.cc:1325:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1325 | for( dp = str; ch = *dp; dp++ ) | ~~~^~~~~ String.cc:1325:20: note: place parentheses around the assignment to silence this warning 1325 | for( dp = str; ch = *dp; dp++ ) | ^ | ( ) String.cc:1325:20: note: use '==' to turn this assignment into an equality comparison 1325 | for( dp = str; ch = *dp; dp++ ) | ^ | == String.cc:1375:45: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1375 | for( sp = pat0 = strip_spaces(pattern); sc = *sp; sp++ ){ | ~~~^~~~~ String.cc:1375:45: note: place parentheses around the assignment to silence this warning 1375 | for( sp = pat0 = strip_spaces(pattern); sc = *sp; sp++ ){ | ^ | ( ) String.cc:1375:45: note: use '==' to turn this assignment into an equality comparison 1375 | 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] 1471 | for( si = 0; sp = sv[si]; si++ ){ | ~~~^~~~~~~~ String.cc:1471:18: note: place parentheses around the assignment to silence this warning 1471 | for( si = 0; sp = sv[si]; si++ ){ | ^ | ( ) String.cc:1471:18: note: use '==' to turn this assignment into an equality comparison 1471 | for( si = 0; sp = sv[si]; si++ ){ | ^ | == String.cc:1473:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1473 | while( sc = *sp++ ) | ~~~^~~~~~~ String.cc:1473:13: note: place parentheses around the assignment to silence this warning 1473 | while( sc = *sp++ ) | ^ | ( ) String.cc:1473:13: note: use '==' to turn this assignment into an equality comparison 1473 | while( sc = *sp++ ) | ^ | == String.cc:1664:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1664 | for( a1 = av[ai]; ch = *a1; a1++ ){ | ~~~^~~~~ String.cc:1664:24: note: place parentheses around the assignment to silence this warning 1664 | for( a1 = av[ai]; ch = *a1; a1++ ){ | ^ | ( ) String.cc:1664:24: note: use '==' to turn this assignment into an equality comparison 1664 | for( a1 = av[ai]; ch = *a1; a1++ ){ | ^ | == String.cc:1685:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1685 | for( sp = args; ch = *sp; sp++ ){ | ~~~^~~~~ String.cc:1685:21: note: place parentheses around the assignment to silence this warning 1685 | for( sp = args; ch = *sp; sp++ ){ | ^ | ( ) String.cc:1685:21: note: use '==' to turn this assignment into an equality comparison 1685 | for( sp = args; ch = *sp; sp++ ){ | ^ | == String.cc:1972:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1972 | for( sp = src; sc = *sp; sp++ ){ | ~~~^~~~~ String.cc:1972:20: note: place parentheses around the assignment to silence this warning 1972 | for( sp = src; sc = *sp; sp++ ){ | ^ | ( ) String.cc:1972:20: note: use '==' to turn this assignment into an equality comparison 1972 | for( sp = src; sc = *sp; sp++ ){ | ^ | == String.cc:1977:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1977 | for( bp = brk; bc = *bp; bp++ ){ | ~~~^~~~~ String.cc:1977:21: note: place parentheses around the assignment to silence this warning 1977 | for( bp = brk; bc = *bp; bp++ ){ | ^ | ( ) String.cc:1977:21: note: use '==' to turn this assignment into an equality comparison 1977 | for( bp = brk; bc = *bp; bp++ ){ | ^ | == String.cc:2112:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2112 | for( ip = dst; ic = *ip; ){ | ~~~^~~~~ String.cc:2112:20: note: place parentheses around the assignment to silence this warning 2112 | for( ip = dst; ic = *ip; ){ | ^ | ( ) String.cc:2112:20: note: use '==' to turn this assignment into an equality comparison 2112 | for( ip = dst; ic = *ip; ){ | ^ | == String.cc:2131:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2131 | }else{ | ^ String.cc:2154:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2154 | for( ip = src; ic = *ip; ){ | ~~~^~~~~ String.cc:2154:20: note: place parentheses around the assignment to silence this warning 2154 | for( ip = src; ic = *ip; ){ | ^ | ( ) String.cc:2154:20: note: use '==' to turn this assignment into an equality comparison 2154 | for( ip = src; ic = *ip; ){ | ^ | == String.cc:2199:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2199 | for( fp = fmt; fc = *fp; fp++ ){ | ~~~^~~~~ String.cc:2199:20: note: place parentheses around the assignment to silence this warning 2199 | for( fp = fmt; fc = *fp; fp++ ){ | ^ | ( ) String.cc:2199:20: note: use '==' to turn this assignment into an equality comparison 2199 | for( fp = fmt; fc = *fp; fp++ ){ | ^ | == String.cc:2331:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2331 | for( fp++; fc = *fp; fp++ ){ | ~~~^~~~~ String.cc:2331:18: note: place parentheses around the assignment to silence this warning 2331 | for( fp++; fc = *fp; fp++ ){ | ^ | ( ) String.cc:2331:18: note: use '==' to turn this assignment into an equality comparison 2331 | for( fp++; fc = *fp; fp++ ){ | ^ | == String.cc:2377:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2377 | for( fp++; ec = *fp; fp++ ){ | ~~~^~~~~ String.cc:2377:19: note: place parentheses around the assignment to silence this warning 2377 | for( fp++; ec = *fp; fp++ ){ | ^ | ( ) String.cc:2377:19: note: use '==' to turn this assignment into an equality comparison 2377 | for( fp++; ec = *fp; fp++ ){ | ^ | == String.cc:2428:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2428 | if( neg = *fp == '^' ) | ~~~~^~~~~~~~~~~~ String.cc:2428:12: note: place parentheses around the assignment to silence this warning 2428 | if( neg = *fp == '^' ) | ^ | ( ) String.cc:2428:12: note: use '==' to turn this assignment into an equality comparison 2428 | if( neg = *fp == '^' ) | ^ | == String.cc:2434:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2434 | while( sc = *sp ){ | ~~~^~~~~ String.cc:2434:14: note: place parentheses around the assignment to silence this warning 2434 | while( sc = *sp ){ | ^ | ( ) String.cc:2434:14: note: use '==' to turn this assignment into an equality comparison 2434 | while( sc = *sp ){ | ^ | == String.cc:2488:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2488 | if( bp = getStrBuffer(lev,size,algn) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ String.cc:2488:9: note: place parentheses around the assignment to silence this warning 2488 | if( bp = getStrBuffer(lev,size,algn) ) | ^ | ( ) String.cc:2488:9: note: use '==' to turn this assignment into an equality comparison 2488 | if( bp = getStrBuffer(lev,size,algn) ) | ^ | == String.cc:2572:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2572 | while( dp = strrchr(dombuf,dlm) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ String.cc:2572:12: note: place parentheses around the assignment to silence this warning 2572 | while( dp = strrchr(dombuf,dlm) ){ | ^ | ( ) String.cc:2572:12: note: use '==' to turn this assignment into an equality comparison 2572 | while( dp = strrchr(dombuf,dlm) ){ | ^ | == String.cc:2635:42: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2635 | for( sp = (const unsigned char*)str; ch = *sp; sp++ ){ | ~~~^~~~~ String.cc:2635:42: note: place parentheses around the assignment to silence this warning 2635 | for( sp = (const unsigned char*)str; ch = *sp; sp++ ){ | ^ | ( ) String.cc:2635:42: note: use '==' to turn this assignment into an equality comparison 2635 | for( sp = (const unsigned char*)str; ch = *sp; sp++ ){ | ^ | == 51 warnings generated. ../mkcpp ystring.c ystring.cc -- mkcpp set time: 1773311389 -> 1276437468 ystring.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c ystring.cc ystring.cc:459:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 459 | for( fp = fmt; fc = *fp; fp++ ){ | ~~~^~~~~ ystring.cc:459:20: note: place parentheses around the assignment to silence this warning 459 | for( fp = fmt; fc = *fp; fp++ ){ | ^ | ( ) ystring.cc:459:20: note: use '==' to turn this assignment into an equality comparison 459 | for( fp = fmt; fc = *fp; fp++ ){ | ^ | == ystring.cc:643:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 643 | if( env = getenv("DEBUG_VSTR") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~ ystring.cc:643:10: note: place parentheses around the assignment to silence this warning 643 | if( env = getenv("DEBUG_VSTR") ){ | ^ | ( ) ystring.cc:643:10: note: use '==' to turn this assignment into an equality comparison 643 | if( env = getenv("DEBUG_VSTR") ){ | ^ | == ystring.cc:982:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 982 | for(p = s; ch = *p; p++){ | ~~~^~~~ ystring.cc:982:16: note: place parentheses around the assignment to silence this warning 982 | for(p = s; ch = *p; p++){ | ^ | ( ) ystring.cc:982:16: note: use '==' to turn this assignment into an equality comparison 982 | for(p = s; ch = *p; p++){ | ^ | == ystring.cc:1110:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1110 | for(f = fmt; fc = *f; f++){ | ~~~^~~~ ystring.cc:1110:18: note: place parentheses around the assignment to silence this warning 1110 | for(f = fmt; fc = *f; f++){ | ^ | ( ) ystring.cc:1110:18: note: use '==' to turn this assignment into an equality comparison 1110 | for(f = fmt; fc = *f; f++){ | ^ | == ystring.cc:1365:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1365 | for( fp = fmt; fc = *fp; fp++ ){ | ~~~^~~~~ ystring.cc:1365:20: note: place parentheses around the assignment to silence this warning 1365 | for( fp = fmt; fc = *fp; fp++ ){ | ^ | ( ) ystring.cc:1365:20: note: use '==' to turn this assignment into an equality comparison 1365 | for( fp = fmt; fc = *fp; fp++ ){ | ^ | == ystring.cc:1369:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1369 | while( fc = *++fp ){ | ~~~^~~~~~~ ystring.cc:1369:14: note: place parentheses around the assignment to silence this warning 1369 | while( fc = *++fp ){ | ^ | ( ) ystring.cc:1369:14: note: use '==' to turn this assignment into an equality comparison 1369 | while( fc = *++fp ){ | ^ | == 6 warnings generated. ../mkcpp modfmt.c modfmt.cc -- mkcpp set time: 1773311390 -> 1264824053 modfmt.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c modfmt.cc modfmt.cc:71:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 71 | for( fp = fmt; fc = *fp; ){ | ~~~^~~~~ modfmt.cc:71:20: note: place parentheses around the assignment to silence this warning 71 | for( fp = fmt; fc = *fp; ){ | ^ | ( ) modfmt.cc:71:20: note: use '==' to turn this assignment into an equality comparison 71 | for( fp = fmt; fc = *fp; ){ | ^ | == modfmt.cc:77:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 77 | for( fp++; fc = *fp; fp++ ){ | ~~~^~~~~ modfmt.cc:77:18: note: place parentheses around the assignment to silence this warning 77 | for( fp++; fc = *fp; fp++ ){ | ^ | ( ) modfmt.cc:77:18: note: use '==' to turn this assignment into an equality comparison 77 | for( fp++; fc = *fp; fp++ ){ | ^ | == 2 warnings generated. ../mkcpp TLEX.c TLEX.cc -- mkcpp set time: 1773311390 -> 1264837521 TLEX.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c TLEX.cc TLEX.cc:90:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 90 | if( nfsp = fsp->Nstat->nvec[ch] ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ TLEX.cc:90:12: note: place parentheses around the assignment to silence this warning 90 | if( nfsp = fsp->Nstat->nvec[ch] ) | ^ | ( ) TLEX.cc:90:12: note: use '==' to turn this assignment into an equality comparison 90 | if( nfsp = fsp->Nstat->nvec[ch] ) | ^ | == TLEX.cc:106:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 106 | if( nfsp = next1(fsp,ch) ) | ~~~~~^~~~~~~~~~~~~~~ TLEX.cc:106:11: note: place parentheses around the assignment to silence this warning 106 | if( nfsp = next1(fsp,ch) ) | ^ | ( ) TLEX.cc:106:11: note: use '==' to turn this assignment into an equality comparison 106 | if( nfsp = next1(fsp,ch) ) | ^ | == TLEX.cc:109:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 109 | if( nfsp = fsp->other ){ | ~~~~~^~~~~~~~~~~~ TLEX.cc:109:11: note: place parentheses around the assignment to silence this warning 109 | if( nfsp = fsp->other ){ | ^ | ( ) TLEX.cc:109:11: note: use '==' to turn this assignment into an equality comparison 109 | if( nfsp = fsp->other ){ | ^ | == TLEX.cc:110:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 110 | if( xfsp = next1(nfsp,ch) ){ | ~~~~~^~~~~~~~~~~~~~~~ TLEX.cc:110:12: note: place parentheses around the assignment to silence this warning 110 | if( xfsp = next1(nfsp,ch) ){ | ^ | ( ) TLEX.cc:110:12: note: use '==' to turn this assignment into an equality comparison 110 | if( xfsp = next1(nfsp,ch) ){ | ^ | == TLEX.cc:189:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 189 | if( fa_root = fsp ) | ~~~~~~~~^~~~~ TLEX.cc:189:14: note: place parentheses around the assignment to silence this warning 189 | if( fa_root = fsp ) | ^ | ( ) TLEX.cc:189:14: note: use '==' to turn this assignment into an equality comparison 189 | if( fa_root = fsp ) | ^ | == TLEX.cc:295:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 295 | for( ss = input; cc = *ss; ss++ ){ | ~~~^~~~~ TLEX.cc:295:22: note: place parentheses around the assignment to silence this warning 295 | for( ss = input; cc = *ss; ss++ ){ | ^ | ( ) TLEX.cc:295:22: note: use '==' to turn this assignment into an equality comparison 295 | for( ss = input; cc = *ss; ss++ ){ | ^ | == TLEX.cc:418:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 418 | if( tp = (unsigned char*)strchr((char*)sp,'>') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TLEX.cc:418:10: note: place parentheses around the assignment to silence this warning 418 | if( tp = (unsigned char*)strchr((char*)sp,'>') ){ | ^ | ( ) TLEX.cc:418:10: note: use '==' to turn this assignment into an equality comparison 418 | if( tp = (unsigned char*)strchr((char*)sp,'>') ){ | ^ | == TLEX.cc:573:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 573 | for( sp = rexp; ch = *sp; sp++ ){ | ~~~^~~~~ TLEX.cc:573:21: note: place parentheses around the assignment to silence this warning 573 | for( sp = rexp; ch = *sp; sp++ ){ | ^ | ( ) TLEX.cc:573:21: note: use '==' to turn this assignment into an equality comparison 573 | for( sp = rexp; ch = *sp; sp++ ){ | ^ | == 8 warnings generated. ../mkcpp JIS.c JIS.cc -- mkcpp set time: 1773311390 -> 1409099988 JIS.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c JIS.cc JIS.cc:121:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 121 | for( ci = 1; n1 = charsets[ci].cs_formname; ci++ ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:121:18: note: place parentheses around the assignment to silence this warning 121 | for( ci = 1; n1 = charsets[ci].cs_formname; ci++ ){ | ^ | ( ) JIS.cc:121:18: note: use '==' to turn this assignment into an equality comparison 121 | for( ci = 1; n1 = charsets[ci].cs_formname; ci++ ){ | ^ | == JIS.cc:362:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 362 | while( ch = *s++ ){ | ~~~^~~~~~ JIS.cc:362:12: note: place parentheses around the assignment to silence this warning 362 | while( ch = *s++ ){ | ^ | ( ) JIS.cc:362:12: note: use '==' to turn this assignment into an equality comparison 362 | while( ch = *s++ ){ | ^ | == JIS.cc:474:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 474 | for( s = str; ch = *s; s++ ){ | ~~~^~~~ JIS.cc:474:19: note: place parentheses around the assignment to silence this warning 474 | for( s = str; ch = *s; s++ ){ | ^ | ( ) JIS.cc:474:19: note: use '==' to turn this assignment into an equality comparison 474 | for( s = str; ch = *s; s++ ){ | ^ | == JIS.cc:497:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 497 | while( ch1 = *sp++ ){ | ~~~~^~~~~~~ JIS.cc:497:13: note: place parentheses around the assignment to silence this warning 497 | while( ch1 = *sp++ ){ | ^ | ( ) JIS.cc:497:13: note: use '==' to turn this assignment into an equality comparison 497 | while( ch1 = *sp++ ){ | ^ | == JIS.cc:536:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 536 | if( len = isHTMLentity(sp,&ech) ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:536:12: note: place parentheses around the assignment to silence this warning 536 | if( len = isHTMLentity(sp,&ech) ) | ^ | ( ) JIS.cc:536:12: note: use '==' to turn this assignment into an equality comparison 536 | if( len = isHTMLentity(sp,&ech) ) | ^ | == JIS.cc:546:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 546 | if( len = isHTMLentity(sp,&ech) ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:546:12: note: place parentheses around the assignment to silence this warning 546 | if( len = isHTMLentity(sp,&ech) ) | ^ | ( ) JIS.cc:546:12: note: use '==' to turn this assignment into an equality comparison 546 | if( len = isHTMLentity(sp,&ech) ) | ^ | == JIS.cc:567:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 567 | for( cp = euc; ch1 = *cp & 0xFF; cp++ ){ | ~~~~^~~~~~~~~~~~ JIS.cc:567:21: note: place parentheses around the assignment to silence this warning 567 | for( cp = euc; ch1 = *cp & 0xFF; cp++ ){ | ^ | ( ) JIS.cc:567:21: note: use '==' to turn this assignment into an equality comparison 567 | for( cp = euc; ch1 = *cp & 0xFF; cp++ ){ | ^ | == JIS.cc:646:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 646 | if( cs = csx2name(ccx->cc_incc1) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:646:10: note: place parentheses around the assignment to silence this warning 646 | if( cs = csx2name(ccx->cc_incc1) ){ | ^ | ( ) JIS.cc:646:10: note: use '==' to turn this assignment into an equality comparison 646 | if( cs = csx2name(ccx->cc_incc1) ){ | ^ | == JIS.cc:657:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 657 | if( cs = csx2name(ccx->cc_incc1) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:657:10: note: place parentheses around the assignment to silence this warning 657 | if( cs = csx2name(ccx->cc_incc1) ){ | ^ | ( ) JIS.cc:657:10: note: use '==' to turn this assignment into an equality comparison 657 | if( cs = csx2name(ccx->cc_incc1) ){ | ^ | == JIS.cc:816:13: warning: & has lower precedence than ==; == will be evaluated first [-Wparentheses] 816 | if( ch2 & 0x80 == 0 | ^~~~~~~~~~~ JIS.cc:816:13: note: place parentheses around the '==' expression to silence this warning 816 | if( ch2 & 0x80 == 0 | ^ | ( ) JIS.cc:816:13: note: place parentheses around the & expression to evaluate it first 816 | if( ch2 & 0x80 == 0 | ^ | ( ) JIS.cc:1170:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1170 | if( cs = csx2name(ccx->cc_incc1) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:1170:10: note: place parentheses around the assignment to silence this warning 1170 | if( cs = csx2name(ccx->cc_incc1) ){ | ^ | ( ) JIS.cc:1170:10: note: use '==' to turn this assignment into an equality comparison 1170 | if( cs = csx2name(ccx->cc_incc1) ){ | ^ | == JIS.cc:1189:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1189 | if( cs = csx2name(ccx->cc_indef) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:1189:10: note: place parentheses around the assignment to silence this warning 1189 | if( cs = csx2name(ccx->cc_indef) ) | ^ | ( ) JIS.cc:1189:10: note: use '==' to turn this assignment into an equality comparison 1189 | if( cs = csx2name(ccx->cc_indef) ) | ^ | == JIS.cc:1230:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1230 | for( cx = 1; name = charsets[cx].cs_name; cx++ ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ JIS.cc:1230:20: note: place parentheses around the assignment to silence this warning 1230 | for( cx = 1; name = charsets[cx].cs_name; cx++ ){ | ^ | ( ) JIS.cc:1230:20: note: use '==' to turn this assignment into an equality comparison 1230 | 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] 1465 | if( size = CCXcreate(from,to,&ccxbuf) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:1465:11: note: place parentheses around the assignment to silence this warning 1465 | if( size = CCXcreate(from,to,&ccxbuf) ){ | ^ | ( ) JIS.cc:1465:11: note: use '==' to turn this assignment into an equality comparison 1465 | if( size = CCXcreate(from,to,&ccxbuf) ){ | ^ | == JIS.cc:1866:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1866 | if( ucs = ANSItoUCS(ch1) ){ | ~~~~^~~~~~~~~~~~~~~~ JIS.cc:1866:12: note: place parentheses around the assignment to silence this warning 1866 | if( ucs = ANSItoUCS(ch1) ){ | ^ | ( ) JIS.cc:1866:12: note: use '==' to turn this assignment into an equality comparison 1866 | if( ucs = ANSItoUCS(ch1) ){ | ^ | == JIS.cc:2661:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2661 | if( fromURL = 0 <= CH3b ){ | ~~~~~~~~^~~~~~~~~~~ JIS.cc:2661:16: note: place parentheses around the assignment to silence this warning 2661 | if( fromURL = 0 <= CH3b ){ | ^ | ( ) JIS.cc:2661:16: note: use '==' to turn this assignment into an equality comparison 2661 | if( fromURL = 0 <= CH3b ){ | ^ | == JIS.cc:2719:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2719 | else | ^ JIS.cc:2739:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2739 | if( cx = JIS_dakuten(c1,c2,ucs1) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:2739:19: note: place parentheses around the assignment to silence this warning 2739 | if( cx = JIS_dakuten(c1,c2,ucs1) ){ | ^ | ( ) JIS.cc:2739:19: note: use '==' to turn this assignment into an equality comparison 2739 | if( cx = JIS_dakuten(c1,c2,ucs1) ){ | ^ | == JIS.cc:2751:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2751 | if( op[0] = isUTF8_HANKAKU(ch1,ch2,ch3) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:2751:18: note: place parentheses around the assignment to silence this warning 2751 | if( op[0] = isUTF8_HANKAKU(ch1,ch2,ch3) ){ | ^ | ( ) JIS.cc:2751:18: note: use '==' to turn this assignment into an equality comparison 2751 | if( op[0] = isUTF8_HANKAKU(ch1,ch2,ch3) ){ | ^ | == JIS.cc:2884:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2884 | }else | ^ JIS.cc:2880:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2880 | }else | ^ JIS.cc:2967:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2967 | }else | ^ JIS.cc:3033:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 3033 | }else | ^ JIS.cc:3156:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 3156 | }else | ^ JIS.cc:3227:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 3227 | }else | ^ JIS.cc:3299:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 3299 | }else | ^ JIS.cc:2855:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2855 | }else | ^ JIS.cc:3419:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3419 | for( sp = str; ch = *sp++; ){ | ~~~^~~~~~~ JIS.cc:3419:20: note: place parentheses around the assignment to silence this warning 3419 | for( sp = str; ch = *sp++; ){ | ^ | ( ) JIS.cc:3419:20: note: use '==' to turn this assignment into an equality comparison 3419 | for( sp = str; ch = *sp++; ){ | ^ | == JIS.cc:3870:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3870 | if( len = UTF8toSJISX(ccx,op,ox,ucs) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:3870:14: note: place parentheses around the assignment to silence this warning 3870 | if( len = UTF8toSJISX(ccx,op,ox,ucs) ){ | ^ | ( ) JIS.cc:3870:14: note: use '==' to turn this assignment into an equality comparison 3870 | if( len = UTF8toSJISX(ccx,op,ox,ucs) ){ | ^ | == JIS.cc:3899:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3899 | if( len = UTF8toSJISX(ccx,op,ox,ucs) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:3899:14: note: place parentheses around the assignment to silence this warning 3899 | if( len = UTF8toSJISX(ccx,op,ox,ucs) ){ | ^ | ( ) JIS.cc:3899:14: note: use '==' to turn this assignment into an equality comparison 3899 | if( len = UTF8toSJISX(ccx,op,ox,ucs) ){ | ^ | == JIS.cc:3915:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3915 | if( len = UTF8toSJISX(ccx,op,ox,ucs) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:3915:14: note: place parentheses around the assignment to silence this warning 3915 | if( len = UTF8toSJISX(ccx,op,ox,ucs) ){ | ^ | ( ) JIS.cc:3915:14: note: use '==' to turn this assignment into an equality comparison 3915 | if( len = UTF8toSJISX(ccx,op,ox,ucs) ){ | ^ | == JIS.cc:4069:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4069 | if( mfp = fopen(file,"w") ){ | ~~~~^~~~~~~~~~~~~~~~~ JIS.cc:4069:10: note: place parentheses around the assignment to silence this warning 4069 | if( mfp = fopen(file,"w") ){ | ^ | ( ) JIS.cc:4069:10: note: use '==' to turn this assignment into an equality comparison 4069 | if( mfp = fopen(file,"w") ){ | ^ | == JIS.cc:4072:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4072 | if( uch = L2Umap[lch] ){ | ~~~~^~~~~~~~~~~~~ JIS.cc:4072:11: note: place parentheses around the assignment to silence this warning 4072 | if( uch = L2Umap[lch] ){ | ^ | ( ) JIS.cc:4072:11: note: use '==' to turn this assignment into an equality comparison 4072 | if( uch = L2Umap[lch] ){ | ^ | == JIS.cc:4090:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4090 | if( mfp = fopen_LIBPATH(file,"r",AVStr(xpath)) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:4090:10: note: place parentheses around the assignment to silence this warning 4090 | if( mfp = fopen_LIBPATH(file,"r",AVStr(xpath)) ){ | ^ | ( ) JIS.cc:4090:10: note: use '==' to turn this assignment into an equality comparison 4090 | 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] 4144 | if( desc = strstr(line,"Column #") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:4144:12: note: place parentheses around the assignment to silence this warning 4144 | if( desc = strstr(line,"Column #") ){ | ^ | ( ) JIS.cc:4144:12: note: use '==' to turn this assignment into an equality comparison 4144 | if( desc = strstr(line,"Column #") ){ | ^ | == JIS.cc:4232:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4232 | if( fp = fopen_LIBPATH(xfile,"r",AVStr(xpath)) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:4232:9: note: place parentheses around the assignment to silence this warning 4232 | if( fp = fopen_LIBPATH(xfile,"r",AVStr(xpath)) ){ | ^ | ( ) JIS.cc:4232:9: note: use '==' to turn this assignment into an equality comparison 4232 | 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] 4253 | if( map = getenv("MAPUNICODE") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~ JIS.cc:4253:10: note: place parentheses around the assignment to silence this warning 4253 | if( map = getenv("MAPUNICODE") ) | ^ | ( ) JIS.cc:4253:10: note: use '==' to turn this assignment into an equality comparison 4253 | if( map = getenv("MAPUNICODE") ) | ^ | == 37 warnings generated. ../mkcpp codeconv.c codeconv.cc -- mkcpp set time: 1773311394 -> 1250403944 codeconv.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c codeconv.cc ../mkcpp pilsner.c pilsner.cc -- mkcpp set time: 1773311394 -> 1414752137 pilsner.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c pilsner.cc ../mkcpp str_stdio.c str_stdio.cc -- mkcpp set time: 1773311394 -> 1264938141 str_stdio.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c str_stdio.cc str_stdio.cc:225:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 225 | for( fp = fmt; fc = *fp; fp++ ){ | ~~~^~~~~ str_stdio.cc:225:20: note: place parentheses around the assignment to silence this warning 225 | for( fp = fmt; fc = *fp; fp++ ){ | ^ | ( ) str_stdio.cc:225:20: note: use '==' to turn this assignment into an equality comparison 225 | for( fp = fmt; fc = *fp; fp++ ){ | ^ | == str_stdio.cc:252:28: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 252 | for( fp = (Uchar*)fmt; fc = *fp; fp++ ){ | ~~~^~~~~ str_stdio.cc:252:28: note: place parentheses around the assignment to silence this warning 252 | for( fp = (Uchar*)fmt; fc = *fp; fp++ ){ | ^ | ( ) str_stdio.cc:252:28: note: use '==' to turn this assignment into an equality comparison 252 | for( fp = (Uchar*)fmt; fc = *fp; fp++ ){ | ^ | == 2 warnings generated. ../mkcpp ccx.c ccx.cc -- mkcpp set time: 1773311395 -> 1252611547 ccx.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c ccx.cc ../mkcpp html.c html.cc -- mkcpp set time: 1773311395 -> 1264838915 html.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c html.cc html.cc:162:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 162 | for( sp = sym; sc = *sp; sp++ ) | ~~~^~~~~ html.cc:162:20: note: place parentheses around the assignment to silence this warning 162 | for( sp = sym; sc = *sp; sp++ ) | ^ | ( ) html.cc:162:20: note: use '==' to turn this assignment into an equality comparison 162 | for( sp = sym; sc = *sp; sp++ ) | ^ | == html.cc:167:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 167 | for( ai = 0; sym1 = tab[ai]._sym; ai++ ){ | ~~~~~^~~~~~~~~~~~~~ html.cc:167:20: note: place parentheses around the assignment to silence this warning 167 | for( ai = 0; sym1 = tab[ai]._sym; ai++ ){ | ^ | ( ) html.cc:167:20: note: use '==' to turn this assignment into an equality comparison 167 | for( ai = 0; sym1 = tab[ai]._sym; ai++ ){ | ^ | == html.cc:206:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 206 | for( ai = 0; sym1 = tab[ai]._sym; ai++ ) | ~~~~~^~~~~~~~~~~~~~ html.cc:206:20: note: place parentheses around the assignment to silence this warning 206 | for( ai = 0; sym1 = tab[ai]._sym; ai++ ) | ^ | ( ) html.cc:206:20: note: use '==' to turn this assignment into an equality comparison 206 | for( ai = 0; sym1 = tab[ai]._sym; ai++ ) | ^ | == html.cc:217:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 217 | for( ai = 0; id1 = tab[ai]._id; ai++ ) | ~~~~^~~~~~~~~~~~~ html.cc:217:19: note: place parentheses around the assignment to silence this warning 217 | for( ai = 0; id1 = tab[ai]._id; ai++ ) | ^ | ( ) html.cc:217:19: note: use '==' to turn this assignment into an equality comparison 217 | for( ai = 0; id1 = tab[ai]._id; ai++ ) | ^ | == html.cc:228:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 228 | if( sym = id2sym0(tab,id) ) | ~~~~^~~~~~~~~~~~~~~~~ html.cc:228:10: note: place parentheses around the assignment to silence this warning 228 | if( sym = id2sym0(tab,id) ) | ^ | ( ) html.cc:228:10: note: use '==' to turn this assignment into an equality comparison 228 | if( sym = id2sym0(tab,id) ) | ^ | == html.cc:256:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 256 | for( ai = 0; ap = tab[ai]._sym; ai++ ){ | ~~~^~~~~~~~~~~~~~ html.cc:256:18: note: place parentheses around the assignment to silence this warning 256 | for( ai = 0; ap = tab[ai]._sym; ai++ ){ | ^ | ( ) html.cc:256:18: note: use '==' to turn this assignment into an equality comparison 256 | for( ai = 0; ap = tab[ai]._sym; ai++ ){ | ^ | == html.cc:976:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 976 | for( si = 2; sym = elemsym[si]._sym; si++ ){ | ~~~~^~~~~~~~~~~~~~~~~~ html.cc:976:19: note: place parentheses around the assignment to silence this warning 976 | for( si = 2; sym = elemsym[si]._sym; si++ ){ | ^ | ( ) html.cc:976:19: note: use '==' to turn this assignment into an equality comparison 976 | for( si = 2; sym = elemsym[si]._sym; si++ ){ | ^ | == html.cc:983:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 983 | for( si = 2; sym = attrsym[si]._sym; si++ ){ | ~~~~^~~~~~~~~~~~~~~~~~ html.cc:983:19: note: place parentheses around the assignment to silence this warning 983 | for( si = 2; sym = attrsym[si]._sym; si++ ){ | ^ | ( ) html.cc:983:19: note: use '==' to turn this assignment into an equality comparison 983 | for( si = 2; sym = attrsym[si]._sym; si++ ){ | ^ | == html.cc:1052:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1052 | for( ei = 0; es = entities[ei].ee; ei++ ){ | ~~~^~~~~~~~~~~~~~~~~ html.cc:1052:18: note: place parentheses around the assignment to silence this warning 1052 | for( ei = 0; es = entities[ei].ee; ei++ ){ | ^ | ( ) html.cc:1052:18: note: use '==' to turn this assignment into an equality comparison 1052 | for( ei = 0; es = entities[ei].ee; ei++ ){ | ^ | == html.cc:1053:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1053 | for( ej = 0; ec = es[off+ej]; ej++ ){ | ~~~^~~~~~~~~~~~ html.cc:1053:19: note: place parentheses around the assignment to silence this warning 1053 | for( ej = 0; ec = es[off+ej]; ej++ ){ | ^ | ( ) html.cc:1053:19: note: use '==' to turn this assignment into an equality comparison 1053 | for( ej = 0; ec = es[off+ej]; ej++ ){ | ^ | == html.cc:1102:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1102 | for( ei = 0; ee = entities[ei].ee; ei++ ){ | ~~~^~~~~~~~~~~~~~~~~ html.cc:1102:20: note: place parentheses around the assignment to silence this warning 1102 | for( ei = 0; ee = entities[ei].ee; ei++ ){ | ^ | ( ) html.cc:1102:20: note: use '==' to turn this assignment into an equality comparison 1102 | for( ei = 0; ee = entities[ei].ee; ei++ ){ | ^ | == html.cc:1153:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1153 | for( ei = 0; de = entities[ei].de; ei++ ){ | ~~~^~~~~~~~~~~~~~~~~ html.cc:1153:19: note: place parentheses around the assignment to silence this warning 1153 | for( ei = 0; de = entities[ei].de; ei++ ){ | ^ | ( ) html.cc:1153:19: note: use '==' to turn this assignment into an equality comparison 1153 | for( ei = 0; de = entities[ei].de; ei++ ){ | ^ | == html.cc:1158:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1158 | for( sp = src; sc = *sp; sp++ ){ | ~~~^~~~~ html.cc:1158:20: note: place parentheses around the assignment to silence this warning 1158 | for( sp = src; sc = *sp; sp++ ){ | ^ | ( ) html.cc:1158:20: note: use '==' to turn this assignment into an equality comparison 1158 | for( sp = src; sc = *sp; sp++ ){ | ^ | == html.cc:1244:28: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1244 | for( sp = (char*)src; sch = *sp; ){ | ~~~~^~~~~ html.cc:1244:28: note: place parentheses around the assignment to silence this warning 1244 | for( sp = (char*)src; sch = *sp; ){ | ^ | ( ) html.cc:1244:28: note: use '==' to turn this assignment into an equality comparison 1244 | for( sp = (char*)src; sch = *sp; ){ | ^ | == html.cc:1257:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1257 | for( bi = 0; bch = brks[bi]; bi++ ) | ~~~~^~~~~~~~~~ html.cc:1257:21: note: place parentheses around the assignment to silence this warning 1257 | for( bi = 0; bch = brks[bi]; bi++ ) | ^ | ( ) html.cc:1257:21: note: use '==' to turn this assignment into an equality comparison 1257 | for( bi = 0; bch = brks[bi]; bi++ ) | ^ | == html.cc:1522:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1522 | }else{ | ^ 16 warnings generated. ../mkcpp urlesc.c urlesc.cc -- mkcpp set time: 1773311396 -> 1258754832 urlesc.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c urlesc.cc urlesc.cc:34:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 34 | if( ep = strchr(str,'%') ){ | ~~~^~~~~~~~~~~~~~~~~ urlesc.cc:34:9: note: place parentheses around the assignment to silence this warning 34 | if( ep = strchr(str,'%') ){ | ^ | ( ) urlesc.cc:34:9: note: use '==' to turn this assignment into an equality comparison 34 | if( ep = strchr(str,'%') ){ | ^ | == urlesc.cc:62:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 62 | for( sp = url; ch = *sp; sp++ ){ | ~~~^~~~~ urlesc.cc:62:20: note: place parentheses around the assignment to silence this warning 62 | for( sp = url; ch = *sp; sp++ ){ | ^ | ( ) urlesc.cc:62:20: note: use '==' to turn this assignment into an equality comparison 62 | for( sp = url; ch = *sp; sp++ ){ | ^ | == urlesc.cc:106:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 106 | for( cp = dst; ch = *cp; cp++ ) | ~~~^~~~~ urlesc.cc:106:20: note: place parentheses around the assignment to silence this warning 106 | for( cp = dst; ch = *cp; cp++ ) | ^ | ( ) urlesc.cc:106:20: note: use '==' to turn this assignment into an equality comparison 106 | for( cp = dst; ch = *cp; cp++ ) | ^ | == urlesc.cc:156:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 156 | for( sp = src; ch = *sp; sp++ ){ | ~~~^~~~~ urlesc.cc:156:20: note: place parentheses around the assignment to silence this warning 156 | for( sp = src; ch = *sp; sp++ ){ | ^ | ( ) urlesc.cc:156:20: note: use '==' to turn this assignment into an equality comparison 156 | for( sp = src; ch = *sp; sp++ ){ | ^ | == urlesc.cc:283:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 283 | for( plen = 0; pch = pat[plen]; plen++ ){ | ~~~~^~~~~~~~~~~ urlesc.cc:283:21: note: place parentheses around the assignment to silence this warning 283 | for( plen = 0; pch = pat[plen]; plen++ ){ | ^ | ( ) urlesc.cc:283:21: note: use '==' to turn this assignment into an equality comparison 283 | for( plen = 0; pch = pat[plen]; plen++ ){ | ^ | == urlesc.cc:362:42: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 362 | for( sp = (const unsigned char*)src; ch = *sp; sp++ ){ | ~~~^~~~~ urlesc.cc:362:42: note: place parentheses around the assignment to silence this warning 362 | for( sp = (const unsigned char*)src; ch = *sp; sp++ ){ | ^ | ( ) urlesc.cc:362:42: note: use '==' to turn this assignment into an equality comparison 362 | for( sp = (const unsigned char*)src; ch = *sp; sp++ ){ | ^ | == urlesc.cc:417:42: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 417 | for( sp = (const unsigned char*)src; ch = *sp; sp++ ){ | ~~~^~~~~ urlesc.cc:417:42: note: place parentheses around the assignment to silence this warning 417 | for( sp = (const unsigned char*)src; ch = *sp; sp++ ){ | ^ | ( ) urlesc.cc:417:42: note: use '==' to turn this assignment into an equality comparison 417 | for( sp = (const unsigned char*)src; ch = *sp; sp++ ){ | ^ | == urlesc.cc:465:42: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 465 | for( sp = (const unsigned char*)src; ch = *sp; sp++ ){ | ~~~^~~~~ urlesc.cc:465:42: note: place parentheses around the assignment to silence this warning 465 | for( sp = (const unsigned char*)src; ch = *sp; sp++ ){ | ^ | ( ) urlesc.cc:465:42: note: use '==' to turn this assignment into an equality comparison 465 | for( sp = (const unsigned char*)src; ch = *sp; sp++ ){ | ^ | == urlesc.cc:485:42: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 485 | for( sp = (const unsigned char*)src; ch = *sp; sp++ ){ | ~~~^~~~~ urlesc.cc:485:42: note: place parentheses around the assignment to silence this warning 485 | for( sp = (const unsigned char*)src; ch = *sp; sp++ ){ | ^ | ( ) urlesc.cc:485:42: note: use '==' to turn this assignment into an equality comparison 485 | for( sp = (const unsigned char*)src; ch = *sp; sp++ ){ | ^ | == 9 warnings generated. ../mkcpp Strftime.c Strftime.cc -- mkcpp set time: 1773311396 -> 1408282068 Strftime.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c Strftime.cc Strftime.cc:318:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 318 | for( i = 0; mo = Month[i]; i++ ) | ~~~^~~~~~~~~~ Strftime.cc:318:17: note: place parentheses around the assignment to silence this warning 318 | for( i = 0; mo = Month[i]; i++ ) | ^ | ( ) Strftime.cc:318:17: note: use '==' to turn this assignment into an equality comparison 318 | for( i = 0; mo = Month[i]; i++ ) | ^ | == Strftime.cc:327:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 327 | for( i = 0; mo = Month[i]; i++ ) | ~~~^~~~~~~~~~ Strftime.cc:327:17: note: place parentheses around the assignment to silence this warning 327 | for( i = 0; mo = Month[i]; i++ ) | ^ | ( ) Strftime.cc:327:17: note: use '==' to turn this assignment into an equality comparison 327 | for( i = 0; mo = Month[i]; i++ ) | ^ | == Strftime.cc:338:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 338 | for( i = 0; wd = Wdays[i]; i++ ) | ~~~^~~~~~~~~~ Strftime.cc:338:17: note: place parentheses around the assignment to silence this warning 338 | for( i = 0; wd = Wdays[i]; i++ ) | ^ | ( ) Strftime.cc:338:17: note: use '==' to turn this assignment into an equality comparison 338 | for( i = 0; wd = Wdays[i]; i++ ) | ^ | == Strftime.cc:342:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 342 | for( i = 0; wd = Wdays[i]; i++ ) | ~~~^~~~~~~~~~ Strftime.cc:342:17: note: place parentheses around the assignment to silence this warning 342 | for( i = 0; wd = Wdays[i]; i++ ) | ^ | ( ) Strftime.cc:342:17: note: use '==' to turn this assignment into an equality comparison 342 | for( i = 0; wd = Wdays[i]; i++ ) | ^ | == Strftime.cc:345:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 345 | for( i = 0; wd = WDays[i]; i++ ) | ~~~^~~~~~~~~~ Strftime.cc:345:17: note: place parentheses around the assignment to silence this warning 345 | for( i = 0; wd = WDays[i]; i++ ) | ^ | ( ) Strftime.cc:345:17: note: use '==' to turn this assignment into an equality comparison 345 | for( i = 0; wd = WDays[i]; i++ ) | ^ | == Strftime.cc:597:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 597 | for( fp = fmt; ch = *fp; fp++ ){ | ~~~^~~~~ Strftime.cc:597:20: note: place parentheses around the assignment to silence this warning 597 | for( fp = fmt; ch = *fp; fp++ ){ | ^ | ( ) Strftime.cc:597:20: note: use '==' to turn this assignment into an equality comparison 597 | for( fp = fmt; ch = *fp; fp++ ){ | ^ | == Strftime.cc:752:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 752 | for( fp = fmt; ch = *fp; fp++ ){ | ~~~^~~~~ Strftime.cc:752:20: note: place parentheses around the assignment to silence this warning 752 | for( fp = fmt; ch = *fp; fp++ ){ | ^ | ( ) Strftime.cc:752:20: note: use '==' to turn this assignment into an equality comparison 752 | for( fp = fmt; ch = *fp; fp++ ){ | ^ | == 7 warnings generated. ../mkcpp Timeofday.c Timeofday.cc -- mkcpp set time: 1773311397 -> 1283650447 Timeofday.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c Timeofday.cc ../mkcpp strid.c strid.cc -- mkcpp set time: 1773311397 -> 1250403944 strid.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c strid.cc ../mkcpp hash.c hash.cc -- mkcpp set time: 1773311397 -> 1253526336 hash.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c hash.cc hash.cc:112:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 112 | for( ks = key; kc = *ks++; ) | ~~~^~~~~~~ hash.cc:112:20: note: place parentheses around the assignment to silence this warning 112 | for( ks = key; kc = *ks++; ) | ^ | ( ) hash.cc:112:20: note: use '==' to turn this assignment into an equality comparison 112 | for( ks = key; kc = *ks++; ) | ^ | == 1 warning generated. ../mkcpp bsort.c bsort.cc -- mkcpp set time: 1773311398 -> 1250403944 bsort.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c bsort.cc ../mkcpp codec.c codec.cc -- mkcpp set time: 1773311398 -> 1250403944 codec.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c codec.cc codec.cc:96:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 96 | for( ep = encs+1; ec1 = *ep; ep += 2 ){ | ~~~~^~~~~ codec.cc:96:25: note: place parentheses around the assignment to silence this warning 96 | for( ep = encs+1; ec1 = *ep; ep += 2 ){ | ^ | ( ) codec.cc:96:25: note: use '==' to turn this assignment into an equality comparison 96 | for( ep = encs+1; ec1 = *ep; ep += 2 ){ | ^ | == codec.cc:108:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 108 | if( dp = strpbrk(srcs,"\r\n") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ codec.cc:108:11: note: place parentheses around the assignment to silence this warning 108 | if( dp = strpbrk(srcs,"\r\n") ){ | ^ | ( ) codec.cc:108:11: note: use '==' to turn this assignment into an equality comparison 108 | if( dp = strpbrk(srcs,"\r\n") ){ | ^ | == 2 warnings generated. ../mkcpp uu.c uu.cc -- mkcpp set time: 1773311398 -> 1250403944 uu.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c uu.cc ../mkcpp pstitle.c pstitle.cc -- mkcpp set time: 1773311398 -> 1264933172 pstitle.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c pstitle.cc ../mkcpp signal.c signal.cc -- mkcpp set time: 1773311398 -> 1264840009 signal.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c signal.cc ../mkcpp IsSolaris.c IsSolaris.cc -- mkcpp set time: 1773311399 -> 1250403944 IsSolaris.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c IsSolaris.cc ../mkcpp sched.c sched.cc -- mkcpp set time: 1773311399 -> 1264837771 sched.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c sched.cc sched.cc:340:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 340 | if( action = strpbrk(cronspecb,": \t") ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ sched.cc:340:13: note: place parentheses around the assignment to silence this warning 340 | if( action = strpbrk(cronspecb,": \t") ){ | ^ | ( ) sched.cc:340:13: note: use '==' to turn this assignment into an equality comparison 340 | if( action = strpbrk(cronspecb,": \t") ){ | ^ | == sched.cc:472:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 472 | if( d = v1[i] - v2[i] ) | ~~^~~~~~~~~~~~~~~ sched.cc:472:9: note: place parentheses around the assignment to silence this warning 472 | if( d = v1[i] - v2[i] ) | ^ | ( ) sched.cc:472:9: note: use '==' to turn this assignment into an equality comparison 472 | if( d = v1[i] - v2[i] ) | ^ | == 2 warnings generated. ../mkcpp readycc.c readycc.cc -- mkcpp set time: 1773311400 -> 1250403944 readycc.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c readycc.cc ../mkcpp fpoll.c fpoll.cc -- mkcpp set time: 1773311400 -> 1264769084 fpoll.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c fpoll.cc ../mkcpp fpolls.c fpolls.cc -- mkcpp set time: 1773311401 -> 1264769096 fpolls.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c fpolls.cc ../mkcpp frelay.c frelay.cc -- mkcpp set time: 1773311401 -> 1252611602 frelay.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c frelay.cc ../mkcpp timer.c timer.cc -- mkcpp set time: 1773311401 -> 1273998439 timer.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c timer.cc timer.cc:120:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 120 | if( oa = alarm(intvl) ) | ~~~^~~~~~~~~~~~~~ timer.cc:120:9: note: place parentheses around the assignment to silence this warning 120 | if( oa = alarm(intvl) ) | ^ | ( ) timer.cc:120:9: note: use '==' to turn this assignment into an equality comparison 120 | if( oa = alarm(intvl) ) | ^ | == timer.cc:141:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 141 | if( oa = tp->time ){ | ~~~^~~~~~~~~~ timer.cc:141:9: note: place parentheses around the assignment to silence this warning 141 | if( oa = tp->time ){ | ^ | ( ) timer.cc:141:9: note: use '==' to turn this assignment into an equality comparison 141 | if( oa = tp->time ){ | ^ | == timer.cc:204:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 204 | if( sec = msec / 1000 ) | ~~~~^~~~~~~~~~~~~ timer.cc:204:10: note: place parentheses around the assignment to silence this warning 204 | if( sec = msec / 1000 ) | ^ | ( ) timer.cc:204:10: note: use '==' to turn this assignment into an equality comparison 204 | if( sec = msec / 1000 ) | ^ | == timer.cc:207:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 207 | if( usec = (msec % 1000)*1000 ) | ~~~~~^~~~~~~~~~~~~~~~~~~~ timer.cc:207:11: note: place parentheses around the assignment to silence this warning 207 | if( usec = (msec % 1000)*1000 ) | ^ | ( ) timer.cc:207:11: note: use '==' to turn this assignment into an equality comparison 207 | if( usec = (msec % 1000)*1000 ) | ^ | == 4 warnings generated. ../mkcpp tar.c tar.cc -- mkcpp set time: 1773311402 -> 1264837647 tar.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c tar.cc tar.cc:166:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 166 | for( fi = 0; file1 = files[fi]; fi++ ){ | ~~~~~~^~~~~~~~~~~ tar.cc:166:21: note: place parentheses around the assignment to silence this warning 166 | for( fi = 0; file1 = files[fi]; fi++ ){ | ^ | ( ) tar.cc:166:21: note: use '==' to turn this assignment into an equality comparison 166 | for( fi = 0; file1 = files[fi]; fi++ ){ | ^ | == tar.cc:290:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 290 | for( fi = 0; file1 = files[fi]; fi++ ){ | ~~~~~~^~~~~~~~~~~ tar.cc:290:21: note: place parentheses around the assignment to silence this warning 290 | for( fi = 0; file1 = files[fi]; fi++ ){ | ^ | ( ) tar.cc:290:21: note: use '==' to turn this assignment into an equality comparison 290 | for( fi = 0; file1 = files[fi]; fi++ ){ | ^ | == tar.cc:524:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 524 | if( tfp = fopen(arg,"r+") ) | ~~~~^~~~~~~~~~~~~~~~~ tar.cc:524:15: note: place parentheses around the assignment to silence this warning 524 | if( tfp = fopen(arg,"r+") ) | ^ | ( ) tar.cc:524:15: note: use '==' to turn this assignment into an equality comparison 524 | if( tfp = fopen(arg,"r+") ) | ^ | == 3 warnings generated. ../mkcpp sed.c sed.cc -- mkcpp set time: 1773311402 -> 1250403944 sed.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c sed.cc sed.cc:79:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 79 | for(; sc = *sp; sp++ ){ | ~~~^~~~~ sed.cc:79:11: note: place parentheses around the assignment to silence this warning 79 | for(; sc = *sp; sp++ ){ | ^ | ( ) sed.cc:79:11: note: use '==' to turn this assignment into an equality comparison 79 | for(; sc = *sp; sp++ ){ | ^ | == sed.cc:95:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 95 | for( sp = (char*)str; sc = *sp; sp++ ){ | ~~~^~~~~ sed.cc:95:27: note: place parentheses around the assignment to silence this warning 95 | for( sp = (char*)str; sc = *sp; sp++ ){ | ^ | ( ) sed.cc:95:27: note: use '==' to turn this assignment into an equality comparison 95 | for( sp = (char*)str; sc = *sp; sp++ ){ | ^ | == sed.cc:148:29: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 148 | for( fp = sc->c_outpat; fc = *fp; fp++ ){ | ~~~^~~~~ sed.cc:148:29: note: place parentheses around the assignment to silence this warning 148 | for( fp = sc->c_outpat; fc = *fp; fp++ ){ | ^ | ( ) sed.cc:148:29: note: use '==' to turn this assignment into an equality comparison 148 | for( fp = sc->c_outpat; fc = *fp; fp++ ){ | ^ | == sed.cc:172:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 172 | if( next = frex_matchX(sc->c_matchrex,iline,&start) ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sed.cc:172:13: note: place parentheses around the assignment to silence this warning 172 | if( next = frex_matchX(sc->c_matchrex,iline,&start) ) | ^ | ( ) sed.cc:172:13: note: use '==' to turn this assignment into an equality comparison 172 | if( next = frex_matchX(sc->c_matchrex,iline,&start) ) | ^ | == sed.cc:191:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 191 | while( next = frex_matchX(sc->c_srcrex,ip,&start) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sed.cc:191:16: note: place parentheses around the assignment to silence this warning 191 | while( next = frex_matchX(sc->c_srcrex,ip,&start) ){ | ^ | ( ) sed.cc:191:16: note: use '==' to turn this assignment into an equality comparison 191 | while( next = frex_matchX(sc->c_srcrex,ip,&start) ){ | ^ | == sed.cc:226:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 226 | if( crp = strpbrk(iline,"\r\n") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ sed.cc:226:11: note: place parentheses around the assignment to silence this warning 226 | if( crp = strpbrk(iline,"\r\n") ){ | ^ | ( ) sed.cc:226:11: note: use '==' to turn this assignment into an equality comparison 226 | if( crp = strpbrk(iline,"\r\n") ){ | ^ | == 6 warnings generated. ../mkcpp nbio.c nbio.cc -- mkcpp set time: 1773311403 -> 1410312792 nbio.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c nbio.cc nbio.cc:670:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 670 | if( nready = PollIn(in,1) ) | ~~~~~~~^~~~~~~~~~~~~~ nbio.cc:670:14: note: place parentheses around the assignment to silence this warning 670 | if( nready = PollIn(in,1) ) | ^ | ( ) nbio.cc:670:14: note: use '==' to turn this assignment into an equality comparison 670 | if( nready = PollIn(in,1) ) | ^ | == nbio.cc:1060:43: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] 1060 | double Lastin[32],Now,Timeout,Idlest,Time(); | ^~ nbio.cc:1060:43: note: replace parentheses with an initializer to declare a variable 1060 | 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] 1178 | if( cb = RELAY_idle_cb ){ | ~~~^~~~~~~~~~~~~~~ nbio.cc:1178:10: note: place parentheses around the assignment to silence this warning 1178 | if( cb = RELAY_idle_cb ){ | ^ | ( ) nbio.cc:1178:10: note: use '==' to turn this assignment into an equality comparison 1178 | if( cb = RELAY_idle_cb ){ | ^ | == nbio.cc:1192:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1192 | if( cb = RELAY_idle_cb ){ | ~~~^~~~~~~~~~~~~~~ nbio.cc:1192:11: note: place parentheses around the assignment to silence this warning 1192 | if( cb = RELAY_idle_cb ){ | ^ | ( ) nbio.cc:1192:11: note: use '==' to turn this assignment into an equality comparison 1192 | if( cb = RELAY_idle_cb ){ | ^ | == nbio.cc:1905:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1905 | if( rdy1 = exceptionReady(sock) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ nbio.cc:1905:13: note: place parentheses around the assignment to silence this warning 1905 | if( rdy1 = exceptionReady(sock) ){ | ^ | ( ) nbio.cc:1905:13: note: use '==' to turn this assignment into an equality comparison 1905 | if( rdy1 = exceptionReady(sock) ){ | ^ | == 5 warnings generated. ../mkcpp vsaddr.c vsaddr.cc -- mkcpp set time: 1773311404 -> 1283590592 vsaddr.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c vsaddr.cc vsaddr.cc:55:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 55 | else | ^ vsaddr.cc:165:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 165 | if( root = VSA_afunixroot ){ | ~~~~~^~~~~~~~~~~~~~~~ vsaddr.cc:165:11: note: place parentheses around the assignment to silence this warning 165 | if( root = VSA_afunixroot ){ | ^ | ( ) vsaddr.cc:165:11: note: use '==' to turn this assignment into an equality comparison 165 | if( root = VSA_afunixroot ){ | ^ | == vsaddr.cc:206:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 206 | for( sp = path; ch = *sp; sp++ ){ | ~~~^~~~~ vsaddr.cc:206:21: note: place parentheses around the assignment to silence this warning 206 | for( sp = path; ch = *sp; sp++ ){ | ^ | ( ) vsaddr.cc:206:21: note: use '==' to turn this assignment into an equality comparison 206 | for( sp = path; ch = *sp; sp++ ){ | ^ | == vsaddr.cc:334:9: warning: 'inet_ntoa' macro redefined [-Wmacro-redefined] 334 | #define inet_ntoa(in) inet_ntoaX(in) | ^ /usr/include/arpa/inet.h:129:9: note: previous definition is here 129 | #define inet_ntoa __inet_ntoa | ^ vsaddr.cc:353:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 353 | }else{ | ^ vsaddr.cc:413:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 413 | 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] 462 | if( addr = VSA_ntoa(&vsa) ){ | ~~~~~^~~~~~~~~~~~~~~~ vsaddr.cc:462:12: note: place parentheses around the assignment to silence this warning 462 | if( addr = VSA_ntoa(&vsa) ){ | ^ | ( ) vsaddr.cc:462:12: note: use '==' to turn this assignment into an equality comparison 462 | if( addr = VSA_ntoa(&vsa) ){ | ^ | == vsaddr.cc:558:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 558 | if( ap = strtailstr(dst,".ipv6") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ vsaddr.cc:558:9: note: place parentheses around the assignment to silence this warning 558 | if( ap = strtailstr(dst,".ipv6") ){ | ^ | ( ) vsaddr.cc:558:9: note: use '==' to turn this assignment into an equality comparison 558 | if( ap = strtailstr(dst,".ipv6") ){ | ^ | == vsaddr.cc:614:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 614 | for( np = name; nc = *np; np++ ){ | ~~~^~~~~ vsaddr.cc:614:21: note: place parentheses around the assignment to silence this warning 614 | for( np = name; nc = *np; np++ ){ | ^ | ( ) vsaddr.cc:614:21: note: use '==' to turn this assignment into an equality comparison 614 | for( np = name; nc = *np; np++ ){ | ^ | == vsaddr.cc:636:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 636 | for( ap = addr; ac = *ap; ap++ ){ | ~~~^~~~~ vsaddr.cc:636:21: note: place parentheses around the assignment to silence this warning 636 | for( ap = addr; ac = *ap; ap++ ){ | ^ | ( ) vsaddr.cc:636:21: note: use '==' to turn this assignment into an equality comparison 636 | for( ap = addr; ac = *ap; ap++ ){ | ^ | == vsaddr.cc:902:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 902 | if( pp = strchr(addr,':') ){ | ~~~^~~~~~~~~~~~~~~~~~ vsaddr.cc:902:10: note: place parentheses around the assignment to silence this warning 902 | if( pp = strchr(addr,':') ){ | ^ | ( ) vsaddr.cc:902:10: note: use '==' to turn this assignment into an equality comparison 902 | if( pp = strchr(addr,':') ){ | ^ | == vsaddr.cc:911:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 911 | if( addr = VSA_ntoa(sa) ){ | ~~~~~^~~~~~~~~~~~~~ vsaddr.cc:911:11: note: place parentheses around the assignment to silence this warning 911 | if( addr = VSA_ntoa(sa) ){ | ^ | ( ) vsaddr.cc:911:11: note: use '==' to turn this assignment into an equality comparison 911 | if( addr = VSA_ntoa(sa) ){ | ^ | == 12 warnings generated. ../mkcpp pelcgb.c pelcgb.cc -- mkcpp set time: 1773311405 -> 1250403944 pelcgb.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c pelcgb.cc pelcgb.cc:253:11: warning: unsequenced modification and access to 'ox' [-Wunsequenced] 253 | out[ox++] = (out[oi++] + ox) + crc; | ^ ~~ pelcgb.cc:539:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 539 | if( env = getenv("CCRYMAP") ) map = atoi(env); | ~~~~^~~~~~~~~~~~~~~~~~~ pelcgb.cc:539:10: note: place parentheses around the assignment to silence this warning 539 | if( env = getenv("CCRYMAP") ) map = atoi(env); | ^ | ( ) pelcgb.cc:539:10: note: use '==' to turn this assignment into an equality comparison 539 | if( env = getenv("CCRYMAP") ) map = atoi(env); | ^ | == pelcgb.cc:540:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 540 | if( env = getenv("CCRYLEN") ) bklen = atoi(env); | ~~~~^~~~~~~~~~~~~~~~~~~ pelcgb.cc:540:10: note: place parentheses around the assignment to silence this warning 540 | if( env = getenv("CCRYLEN") ) bklen = atoi(env); | ^ | ( ) pelcgb.cc:540:10: note: use '==' to turn this assignment into an equality comparison 540 | if( env = getenv("CCRYLEN") ) bklen = atoi(env); | ^ | == pelcgb.cc:541:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 541 | if( env = getenv("CCRYDEBUG") ) debug = atoi(env); | ~~~~^~~~~~~~~~~~~~~~~~~~~ pelcgb.cc:541:10: note: place parentheses around the assignment to silence this warning 541 | if( env = getenv("CCRYDEBUG") ) debug = atoi(env); | ^ | ( ) pelcgb.cc:541:10: note: use '==' to turn this assignment into an equality comparison 541 | if( env = getenv("CCRYDEBUG") ) debug = atoi(env); | ^ | == pelcgb.cc:609:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 609 | for( s = str; ch = *s; s++ ){ | ~~~^~~~ pelcgb.cc:609:19: note: place parentheses around the assignment to silence this warning 609 | for( s = str; ch = *s; s++ ){ | ^ | ( ) pelcgb.cc:609:19: note: use '==' to turn this assignment into an equality comparison 609 | for( s = str; ch = *s; s++ ){ | ^ | == 5 warnings generated. ../mkcpp credhy.c credhy.cc -- mkcpp set time: 1773311406 -> 1300439508 credhy.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c credhy.cc credhy.cc:539:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 539 | if( fp = fopen(CREDHY_CACHE,"r") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ credhy.cc:539:9: note: place parentheses around the assignment to silence this warning 539 | if( fp = fopen(CREDHY_CACHE,"r") ){ | ^ | ( ) credhy.cc:539:9: note: use '==' to turn this assignment into an equality comparison 539 | if( fp = fopen(CREDHY_CACHE,"r") ){ | ^ | == credhy.cc:732:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 732 | if( on1 |= N[i] ){ | ~~~~^~~~~~~ credhy.cc:732:11: note: place parentheses around the assignment to silence this warning 732 | if( on1 |= N[i] ){ | ^ | ( ) credhy.cc:732:11: note: use '!=' to turn this compound assignment into an inequality comparison 732 | if( on1 |= N[i] ){ | ^~ | != credhy.cc:789:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 789 | if( on |= M[i] ){ | ~~~^~~~~~~ credhy.cc:789:10: note: place parentheses around the assignment to silence this warning 789 | if( on |= M[i] ){ | ^ | ( ) credhy.cc:789:10: note: use '!=' to turn this compound assignment into an inequality comparison 789 | if( on |= M[i] ){ | ^~ | != credhy.cc:1839:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1839 | if( strenc = (strchr(opts,CTYPEB) != 0) ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ credhy.cc:1839:13: note: place parentheses around the assignment to silence this warning 1839 | if( strenc = (strchr(opts,CTYPEB) != 0) ){ | ^ | ( ) credhy.cc:1839:13: note: use '==' to turn this assignment into an equality comparison 1839 | if( strenc = (strchr(opts,CTYPEB) != 0) ){ | ^ | == credhy.cc:1842:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1842 | if( b64enc = (strchr(opts,CTYPE64) != 0) ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ credhy.cc:1842:13: note: place parentheses around the assignment to silence this warning 1842 | if( b64enc = (strchr(opts,CTYPE64) != 0) ){ | ^ | ( ) credhy.cc:1842:13: note: use '==' to turn this assignment into an equality comparison 1842 | if( b64enc = (strchr(opts,CTYPE64) != 0) ){ | ^ | == credhy.cc:1845:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1845 | if( msprea = (strchr(opts,COPTSTS) != 0) ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ credhy.cc:1845:13: note: place parentheses around the assignment to silence this warning 1845 | if( msprea = (strchr(opts,COPTSTS) != 0) ){ | ^ | ( ) credhy.cc:1845:13: note: use '==' to turn this assignment into an equality comparison 1845 | if( msprea = (strchr(opts,COPTSTS) != 0) ){ | ^ | == credhy.cc:2043:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2043 | for( sp = src; schr = *sp; sp++ ){ | ~~~~~^~~~~ credhy.cc:2043:22: note: place parentheses around the assignment to silence this warning 2043 | for( sp = src; schr = *sp; sp++ ){ | ^ | ( ) credhy.cc:2043:22: note: use '==' to turn this assignment into an equality comparison 2043 | for( sp = src; schr = *sp; sp++ ){ | ^ | == 7 warnings generated. ../mkcpp cksum.c cksum.cc -- mkcpp set time: 1773311407 -> 1402279035 cksum.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c cksum.cc cksum.cc:60:23: warning: expression result unused [-Wunused-value] 60 | for( li = 0; li < 4; li ){ | ^~ cksum.cc:107:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 107 | if( fp = fopen(file,"r") ){ | ~~~^~~~~~~~~~~~~~~~~ cksum.cc:107:9: note: place parentheses around the assignment to silence this warning 107 | if( fp = fopen(file,"r") ){ | ^ | ( ) cksum.cc:107:9: note: use '==' to turn this assignment into an equality comparison 107 | if( fp = fopen(file,"r") ){ | ^ | == cksum.cc:115:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 115 | if( sum = fopen(sumfile,"w") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~ cksum.cc:115:11: note: place parentheses around the assignment to silence this warning 115 | if( sum = fopen(sumfile,"w") ){ | ^ | ( ) cksum.cc:115:11: note: use '==' to turn this assignment into an equality comparison 115 | if( sum = fopen(sumfile,"w") ){ | ^ | == cksum.cc:142:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 142 | for( ci = 0; ch = line[ci]; ci++ ){ | ~~~^~~~~~~~~~ cksum.cc:142:20: note: place parentheses around the assignment to silence this warning 142 | for( ci = 0; ch = line[ci]; ci++ ){ | ^ | ( ) cksum.cc:142:20: note: use '==' to turn this assignment into an equality comparison 142 | for( ci = 0; ch = line[ci]; ci++ ){ | ^ | == cksum.cc:207:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 207 | if( fp = fopen(file,"r") ){ | ~~~^~~~~~~~~~~~~~~~~ cksum.cc:207:12: note: place parentheses around the assignment to silence this warning 207 | if( fp = fopen(file,"r") ){ | ^ | ( ) cksum.cc:207:12: note: use '==' to turn this assignment into an equality comparison 207 | if( fp = fopen(file,"r") ){ | ^ | == cksum.cc:263:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 263 | if( fp = fopen(av[ai],"r") ){ | ~~~^~~~~~~~~~~~~~~~~~~ cksum.cc:263:11: note: place parentheses around the assignment to silence this warning 263 | if( fp = fopen(av[ai],"r") ){ | ^ | ( ) cksum.cc:263:11: note: use '==' to turn this assignment into an equality comparison 263 | if( fp = fopen(av[ai],"r") ){ | ^ | == cksum.cc:265:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 265 | if( dp = strpbrk(line,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ cksum.cc:265:13: note: place parentheses around the assignment to silence this warning 265 | if( dp = strpbrk(line,"\r\n") ) | ^ | ( ) cksum.cc:265:13: note: use '==' to turn this assignment into an equality comparison 265 | if( dp = strpbrk(line,"\r\n") ) | ^ | == 7 warnings generated. ../mkcpp asock.c asock.cc -- mkcpp set time: 1773311408 -> 1263848973 asock.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c asock.cc ../mkcpp lsock.c lsock.cc -- mkcpp set time: 1773311408 -> 1264742499 lsock.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c lsock.cc ../mkcpp setutimes.c setutimes.cc -- mkcpp set time: 1773311408 -> 1260867796 setutimes.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c setutimes.cc setutimes.cc:152:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 152 | if( fp = fopen(path,"a") ){ | ~~~^~~~~~~~~~~~~~~~~ setutimes.cc:152:9: note: place parentheses around the assignment to silence this warning 152 | if( fp = fopen(path,"a") ){ | ^ | ( ) setutimes.cc:152:9: note: use '==' to turn this assignment into an equality comparison 152 | if( fp = fopen(path,"a") ){ | ^ | == 1 warning generated. ../mkcpp file.c file.cc -- mkcpp set time: 1773311409 -> 1277079765 file.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c file.cc file.cc:283:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 283 | if( fp = fopen(path,"w") ){ | ~~~^~~~~~~~~~~~~~~~~ file.cc:283:11: note: place parentheses around the assignment to silence this warning 283 | if( fp = fopen(path,"w") ){ | ^ | ( ) file.cc:283:11: note: use '==' to turn this assignment into an equality comparison 283 | if( fp = fopen(path,"w") ){ | ^ | == file.cc:840:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 840 | for( sp = buff; sc = *sp; sp++ ){ | ~~~^~~~~ file.cc:840:21: note: place parentheses around the assignment to silence this warning 840 | for( sp = buff; sc = *sp; sp++ ){ | ^ | ( ) file.cc:840:21: note: use '==' to turn this assignment into an equality comparison 840 | for( sp = buff; sc = *sp; sp++ ){ | ^ | == file.cc:946:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 946 | if( size = *sizep ){ | ~~~~~^~~~~~~~ file.cc:946:11: note: place parentheses around the assignment to silence this warning 946 | if( size = *sizep ){ | ^ | ( ) file.cc:946:11: note: use '==' to turn this assignment into an equality comparison 946 | if( size = *sizep ){ | ^ | == file.cc:969:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 969 | if( dp = strpbrk(str,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~ file.cc:969:10: note: place parentheses around the assignment to silence this warning 969 | if( dp = strpbrk(str,"\r\n") ) | ^ | ( ) file.cc:969:10: note: use '==' to turn this assignment into an equality comparison 969 | if( dp = strpbrk(str,"\r\n") ) | ^ | == file.cc:1131:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1131 | for( li = 0; dir1 = pathv[li]; li++ ){ | ~~~~~^~~~~~~~~~~ file.cc:1131:20: note: place parentheses around the assignment to silence this warning 1131 | for( li = 0; dir1 = pathv[li]; li++ ){ | ^ | ( ) file.cc:1131:20: note: use '==' to turn this assignment into an equality comparison 1131 | for( li = 0; dir1 = pathv[li]; li++ ){ | ^ | == file.cc:1208:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1208 | if( fp = fopen(file,mode) ) | ~~~^~~~~~~~~~~~~~~~~~ file.cc:1208:10: note: place parentheses around the assignment to silence this warning 1208 | if( fp = fopen(file,mode) ) | ^ | ( ) file.cc:1208:10: note: use '==' to turn this assignment into an equality comparison 1208 | if( fp = fopen(file,mode) ) | ^ | == file.cc:1212:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1212 | if( libpath = getenv("LIBPATH") ) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~ file.cc:1212:14: note: place parentheses around the assignment to silence this warning 1212 | if( libpath = getenv("LIBPATH") ) | ^ | ( ) file.cc:1212:14: note: use '==' to turn this assignment into an equality comparison 1212 | if( libpath = getenv("LIBPATH") ) | ^ | == file.cc:1238:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1238 | if( fp = fopen_LIBPATH(file,"r",AVStr(xfile)) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file.cc:1238:9: note: place parentheses around the assignment to silence this warning 1238 | if( fp = fopen_LIBPATH(file,"r",AVStr(xfile)) ){ | ^ | ( ) file.cc:1238:9: note: use '==' to turn this assignment into an equality comparison 1238 | if( fp = fopen_LIBPATH(file,"r",AVStr(xfile)) ){ | ^ | == file.cc:1480:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1480 | }else | ^ file.cc:1618:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1618 | if( len = isFullpath(go) ){ | ~~~~^~~~~~~~~~~~~~~~ file.cc:1618:10: note: place parentheses around the assignment to silence this warning 1618 | if( len = isFullpath(go) ){ | ^ | ( ) file.cc:1618:10: note: use '==' to turn this assignment into an equality comparison 1618 | if( len = isFullpath(go) ){ | ^ | == file.cc:1648:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1648 | if( cp = FindRDirSep(cwd) ){ | ~~~^~~~~~~~~~~~~~~~~~ file.cc:1648:12: note: place parentheses around the assignment to silence this warning 1648 | if( cp = FindRDirSep(cwd) ){ | ^ | ( ) file.cc:1648:12: note: use '==' to turn this assignment into an equality comparison 1648 | if( cp = FindRDirSep(cwd) ){ | ^ | == file.cc:1656:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1656 | if( cp = FindDirSep(go) ) | ~~~^~~~~~~~~~~~~~~~ file.cc:1656:11: note: place parentheses around the assignment to silence this warning 1656 | if( cp = FindDirSep(go) ) | ^ | ( ) file.cc:1656:11: note: use '==' to turn this assignment into an equality comparison 1656 | if( cp = FindDirSep(go) ) | ^ | == 12 warnings generated. ../mkcpp fstat.c fstat.cc -- mkcpp set time: 1773311410 -> 1400042620 fstat.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c fstat.cc fstat.cc:574:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 574 | if( vp = strrpbrk(vdir,"/\\") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ fstat.cc:574:9: note: place parentheses around the assignment to silence this warning 574 | if( vp = strrpbrk(vdir,"/\\") ){ | ^ | ( ) fstat.cc:574:9: note: use '==' to turn this assignment into an equality comparison 574 | if( vp = strrpbrk(vdir,"/\\") ){ | ^ | == fstat.cc:668:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 668 | if( ep = strrchr(name,'.') ) | ~~~^~~~~~~~~~~~~~~~~~~ fstat.cc:668:10: note: place parentheses around the assignment to silence this warning 668 | if( ep = strrchr(name,'.') ) | ^ | ( ) fstat.cc:668:10: note: use '==' to turn this assignment into an equality comparison 668 | if( ep = strrchr(name,'.') ) | ^ | == fstat.cc:683:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 683 | if( f1 = strpbrk(fact1,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~ fstat.cc:683:10: note: place parentheses around the assignment to silence this warning 683 | if( f1 = strpbrk(fact1,"\r\n") ) | ^ | ( ) fstat.cc:683:10: note: use '==' to turn this assignment into an equality comparison 683 | if( f1 = strpbrk(fact1,"\r\n") ) | ^ | == fstat.cc:692:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 692 | if( xp = strrpbrk(xpath,"/\\") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~ fstat.cc:692:11: note: place parentheses around the assignment to silence this warning 692 | if( xp = strrpbrk(xpath,"/\\") ){ | ^ | ( ) fstat.cc:692:11: note: use '==' to turn this assignment into an equality comparison 692 | if( xp = strrpbrk(xpath,"/\\") ){ | ^ | == fstat.cc:781:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 781 | for( sp = fmt; sc = *sp; sp++ ){ | ~~~^~~~~ fstat.cc:781:20: note: place parentheses around the assignment to silence this warning 781 | for( sp = fmt; sc = *sp; sp++ ){ | ^ | ( ) fstat.cc:781:20: note: use '==' to turn this assignment into an equality comparison 781 | for( sp = fmt; sc = *sp; sp++ ){ | ^ | == fstat.cc:893:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 893 | if( fp = fopen(path,"r") ){ | ~~~^~~~~~~~~~~~~~~~~ fstat.cc:893:12: note: place parentheses around the assignment to silence this warning 893 | if( fp = fopen(path,"r") ){ | ^ | ( ) fstat.cc:893:12: note: use '==' to turn this assignment into an equality comparison 893 | if( fp = fopen(path,"r") ){ | ^ | == fstat.cc:956:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 956 | if( diff = e2->s_ikey - e1->s_ikey ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ fstat.cc:956:11: note: place parentheses around the assignment to silence this warning 956 | if( diff = e2->s_ikey - e1->s_ikey ) | ^ | ( ) fstat.cc:956:11: note: use '==' to turn this assignment into an equality comparison 956 | if( diff = e2->s_ikey - e1->s_ikey ) | ^ | == fstat.cc:1061:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1061 | if( dp = strrchr(vbase,'/') ) | ~~~^~~~~~~~~~~~~~~~~~~~ fstat.cc:1061:13: note: place parentheses around the assignment to silence this warning 1061 | if( dp = strrchr(vbase,'/') ) | ^ | ( ) fstat.cc:1061:13: note: use '==' to turn this assignment into an equality comparison 1061 | if( dp = strrchr(vbase,'/') ) | ^ | == fstat.cc:1071:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1071 | if( dp = strrchr(dirpath,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ fstat.cc:1071:10: note: place parentheses around the assignment to silence this warning 1071 | if( dp = strrchr(dirpath,'/') ){ | ^ | ( ) fstat.cc:1071:10: note: use '==' to turn this assignment into an equality comparison 1071 | if( dp = strrchr(dirpath,'/') ){ | ^ | == fstat.cc:1111:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1111 | if( dp = strstr(fmt,"%D") ) | ~~~^~~~~~~~~~~~~~~~~~ fstat.cc:1111:10: note: place parentheses around the assignment to silence this warning 1111 | if( dp = strstr(fmt,"%D") ) | ^ | ( ) fstat.cc:1111:10: note: use '==' to turn this assignment into an equality comparison 1111 | if( dp = strstr(fmt,"%D") ) | ^ | == fstat.cc:1056:20: warning: expression result unused [-Wunused-value] 1056 | while( op[1] ) *op++; /* skip remaining */ | ^~~~~ fstat.cc:1177:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1177 | if( tail = strpbrk(ls,"\r\n") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~ fstat.cc:1177:11: note: place parentheses around the assignment to silence this warning 1177 | if( tail = strpbrk(ls,"\r\n") ){ | ^ | ( ) fstat.cc:1177:11: note: use '==' to turn this assignment into an equality comparison 1177 | if( tail = strpbrk(ls,"\r\n") ){ | ^ | == 12 warnings generated. ../mkcpp pam.c pam.cc -- mkcpp set time: 1773311410 -> 1258592341 pam.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c pam.cc cc -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] 76 | if( sp = strstr(line,"/*BEGIN_STAB") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../filters/mkstab.c:76:10: note: place parentheses around the assignment to silence this warning 76 | if( sp = strstr(line,"/*BEGIN_STAB") ){ | ^ | ( ) ../filters/mkstab.c:76:10: note: use '==' to turn this assignment into an equality comparison 76 | if( sp = strstr(line,"/*BEGIN_STAB") ){ | ^ | == ../filters/mkstab.c:102:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 102 | for( sp = line; ch = *sp; sp++ ){ | ~~~^~~~~ ../filters/mkstab.c:102:22: note: place parentheses around the assignment to silence this warning 102 | for( sp = line; ch = *sp; sp++ ){ | ^ | ( ) ../filters/mkstab.c:102:22: note: use '==' to turn this assignment into an equality comparison 102 | for( sp = line; ch = *sp; sp++ ){ | ^ | == ../filters/mkstab.c:106:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 106 | while( ch = *sp ){ | ~~~^~~~~ ../filters/mkstab.c:106:13: note: place parentheses around the assignment to silence this warning 106 | while( ch = *sp ){ | ^ | ( ) ../filters/mkstab.c:106:13: note: use '==' to turn this assignment into an equality comparison 106 | while( ch = *sp ){ | ^ | == ../filters/mkstab.c:156:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 156 | if( op = strstr(line,"/*OPT(") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~ ../filters/mkstab.c:156:10: note: place parentheses around the assignment to silence this warning 156 | if( op = strstr(line,"/*OPT(") ){ | ^ | ( ) ../filters/mkstab.c:156:10: note: use '==' to turn this assignment into an equality comparison 156 | if( op = strstr(line,"/*OPT(") ){ | ^ | == 4 warnings generated. ../filters/mkstab < libpam.c > libpam_dl.c ../mkcpp libpam_dl.c libpam_dl.cc -- mkcpp set time: 1773311411 -> 1773311411 libpam_dl.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c libpam_dl.cc ../mkcpp passwd.c passwd.cc -- mkcpp set time: 1773311411 -> 1265007243 passwd.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c passwd.cc passwd.cc:87:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 87 | if( passwd = GETpwuid(uid) ) | ~~~~~~~^~~~~~~~~~~~~~~ passwd.cc:87:13: note: place parentheses around the assignment to silence this warning 87 | if( passwd = GETpwuid(uid) ) | ^ | ( ) passwd.cc:87:13: note: use '==' to turn this assignment into an equality comparison 87 | if( passwd = GETpwuid(uid) ) | ^ | == passwd.cc:126:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 126 | if( passwd = GETpwuid(uid) ) | ~~~~~~~^~~~~~~~~~~~~~~ passwd.cc:126:13: note: place parentheses around the assignment to silence this warning 126 | if( passwd = GETpwuid(uid) ) | ^ | ( ) passwd.cc:126:13: note: use '==' to turn this assignment into an equality comparison 126 | if( passwd = GETpwuid(uid) ) | ^ | == passwd.cc:133:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 133 | if( passwd = GETpwuid(uid) ){ | ~~~~~~~^~~~~~~~~~~~~~~ passwd.cc:133:13: note: place parentheses around the assignment to silence this warning 133 | if( passwd = GETpwuid(uid) ){ | ^ | ( ) passwd.cc:133:13: note: use '==' to turn this assignment into an equality comparison 133 | if( passwd = GETpwuid(uid) ){ | ^ | == passwd.cc:142:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 142 | if( group = GETgrgid(gid) ) | ~~~~~~^~~~~~~~~~~~~~~ passwd.cc:142:12: note: place parentheses around the assignment to silence this warning 142 | if( group = GETgrgid(gid) ) | ^ | ( ) passwd.cc:142:12: note: use '==' to turn this assignment into an equality comparison 142 | if( group = GETgrgid(gid) ) | ^ | == passwd.cc:168:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 168 | if( passwd = GETpwnam(user) ) | ~~~~~~~^~~~~~~~~~~~~~~~ passwd.cc:168:13: note: place parentheses around the assignment to silence this warning 168 | if( passwd = GETpwnam(user) ) | ^ | ( ) passwd.cc:168:13: note: use '==' to turn this assignment into an equality comparison 168 | if( passwd = GETpwnam(user) ) | ^ | == passwd.cc:175:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 175 | if( group = GETgrnam(gname) ) | ~~~~~~^~~~~~~~~~~~~~~~~ passwd.cc:175:12: note: place parentheses around the assignment to silence this warning 175 | if( group = GETgrnam(gname) ) | ^ | ( ) passwd.cc:175:12: note: use '==' to turn this assignment into an equality comparison 175 | if( group = GETgrnam(gname) ) | ^ | == passwd.cc:217:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 217 | if( dp = strchr(user_group,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ passwd.cc:217:9: note: place parentheses around the assignment to silence this warning 217 | if( dp = strchr(user_group,'/') ){ | ^ | ( ) passwd.cc:217:9: note: use '==' to turn this assignment into an equality comparison 217 | if( dp = strchr(user_group,'/') ){ | ^ | == passwd.cc:218:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 218 | if( len = dp - user_group ){ | ~~~~^~~~~~~~~~~~~~~~~ passwd.cc:218:11: note: place parentheses around the assignment to silence this warning 218 | if( len = dp - user_group ){ | ^ | ( ) passwd.cc:218:11: note: use '==' to turn this assignment into an equality comparison 218 | if( len = dp - user_group ){ | ^ | == passwd.cc:231:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 231 | if( pw = GETpwuid(uid) ) | ~~~^~~~~~~~~~~~~~~ passwd.cc:231:10: note: place parentheses around the assignment to silence this warning 231 | if( pw = GETpwuid(uid) ) | ^ | ( ) passwd.cc:231:10: note: use '==' to turn this assignment into an equality comparison 231 | if( pw = GETpwuid(uid) ) | ^ | == passwd.cc:234:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 234 | if( pw = GETpwnam(user) ){ | ~~~^~~~~~~~~~~~~~~~ passwd.cc:234:9: note: place parentheses around the assignment to silence this warning 234 | if( pw = GETpwnam(user) ){ | ^ | ( ) passwd.cc:234:9: note: use '==' to turn this assignment into an equality comparison 234 | if( pw = GETpwnam(user) ){ | ^ | == passwd.cc:242:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 242 | if( gr = GETgrnam(group) ) | ~~~^~~~~~~~~~~~~~~~~ passwd.cc:242:9: note: place parentheses around the assignment to silence this warning 242 | if( gr = GETgrnam(group) ) | ^ | ( ) passwd.cc:242:9: note: use '==' to turn this assignment into an equality comparison 242 | if( gr = GETgrnam(group) ) | ^ | == passwd.cc:294:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 294 | if( vp = strchr(vp,':') ){ | ~~~^~~~~~~~~~~~~~~~ passwd.cc:294:9: note: place parentheses around the assignment to silence this warning 294 | if( vp = strchr(vp,':') ){ | ^ | ( ) passwd.cc:294:9: note: use '==' to turn this assignment into an equality comparison 294 | if( vp = strchr(vp,':') ){ | ^ | == passwd.cc:297:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 297 | if( vp = strchr(vp,':') ){ | ~~~^~~~~~~~~~~~~~~~ passwd.cc:297:9: note: place parentheses around the assignment to silence this warning 297 | if( vp = strchr(vp,':') ){ | ^ | ( ) passwd.cc:297:9: note: use '==' to turn this assignment into an equality comparison 297 | if( vp = strchr(vp,':') ){ | ^ | == passwd.cc:300:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 300 | if( vp = strchr(vp,':') ){ | ~~~^~~~~~~~~~~~~~~~ passwd.cc:300:9: note: place parentheses around the assignment to silence this warning 300 | if( vp = strchr(vp,':') ){ | ^ | ( ) passwd.cc:300:9: note: use '==' to turn this assignment into an equality comparison 300 | if( vp = strchr(vp,':') ){ | ^ | == passwd.cc:303:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 303 | if( vp = strchr(vp,':') ){ | ~~~^~~~~~~~~~~~~~~~ passwd.cc:303:9: note: place parentheses around the assignment to silence this warning 303 | if( vp = strchr(vp,':') ){ | ^ | ( ) passwd.cc:303:9: note: use '==' to turn this assignment into an equality comparison 303 | if( vp = strchr(vp,':') ){ | ^ | == passwd.cc:306:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 306 | if( vp = strchr(vp,':') ){ | ~~~^~~~~~~~~~~~~~~~ passwd.cc:306:9: note: place parentheses around the assignment to silence this warning 306 | if( vp = strchr(vp,':') ){ | ^ | ( ) passwd.cc:306:9: note: use '==' to turn this assignment into an equality comparison 306 | if( vp = strchr(vp,':') ){ | ^ | == passwd.cc:309:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 309 | if( vp = strchr(vp,':') ){ | ~~~^~~~~~~~~~~~~~~~ passwd.cc:309:9: note: place parentheses around the assignment to silence this warning 309 | if( vp = strchr(vp,':') ){ | ^ | ( ) passwd.cc:309:9: note: use '==' to turn this assignment into an equality comparison 309 | if( vp = strchr(vp,':') ){ | ^ | == passwd.cc:319:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 319 | if( pw = getpwuid(uid) ) | ~~~^~~~~~~~~~~~~~~ passwd.cc:319:9: note: place parentheses around the assignment to silence this warning 319 | if( pw = getpwuid(uid) ) | ^ | ( ) passwd.cc:319:9: note: use '==' to turn this assignment into an equality comparison 319 | if( pw = getpwuid(uid) ) | ^ | == 18 warnings generated. ../mkcpp syslog.c syslog.cc -- mkcpp set time: 1773311411 -> 1275003850 syslog.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c syslog.cc ../mkcpp lock.c lock.cc -- mkcpp set time: 1773311412 -> 1264767923 lock.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c lock.cc ../mkcpp dglibs.c dglibs.cc -- mkcpp set time: 1773311412 -> 1276216052 dglibs.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c dglibs.cc dglibs.cc:32:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 32 | if( val = getv(MAIN_argv,name) ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~ dglibs.cc:32:11: note: place parentheses around the assignment to silence this warning 32 | if( val = getv(MAIN_argv,name) ) | ^ | ( ) dglibs.cc:32:11: note: use '==' to turn this assignment into an equality comparison 32 | if( val = getv(MAIN_argv,name) ) | ^ | == 1 warning generated. ../mkcpp forkspawn.c forkspawn.cc -- mkcpp set time: 1773311412 -> 1268455252 forkspawn.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c forkspawn.cc forkspawn.cc:480:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 480 | if( env = getenv("PATH") ) | ~~~~^~~~~~~~~~~~~~~~ forkspawn.cc:480:10: note: place parentheses around the assignment to silence this warning 480 | if( env = getenv("PATH") ) | ^ | ( ) forkspawn.cc:480:10: note: use '==' to turn this assignment into an equality comparison 480 | if( env = getenv("PATH") ) | ^ | == 1 warning generated. ../mkcpp Thread.c Thread.cc -- mkcpp set time: 1773311413 -> 1278220257 Thread.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c Thread.cc Thread.cc:320:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 320 | if( tid = tp->t_id ){ | ~~~~^~~~~~~~~~ Thread.cc:320:11: note: place parentheses around the assignment to silence this warning 320 | if( tid = tp->t_id ){ | ^ | ( ) Thread.cc:320:11: note: use '==' to turn this assignment into an equality comparison 320 | if( tid = tp->t_id ){ | ^ | == Thread.cc:344:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 344 | if( tid = tp->t_id ){ | ~~~~^~~~~~~~~~ Thread.cc:344:11: note: place parentheses around the assignment to silence this warning 344 | if( tid = tp->t_id ){ | ^ | ( ) Thread.cc:344:11: note: use '==' to turn this assignment into an equality comparison 344 | if( tid = tp->t_id ){ | ^ | == Thread.cc:438:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 438 | if( gid = getthreadgid(tid) ){ | ~~~~^~~~~~~~~~~~~~~~~~~ Thread.cc:438:10: note: place parentheses around the assignment to silence this warning 438 | if( gid = getthreadgid(tid) ){ | ^ | ( ) Thread.cc:438:10: note: use '==' to turn this assignment into an equality comparison 438 | if( gid = getthreadgid(tid) ){ | ^ | == Thread.cc:786:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 786 | if( tid = threads[ix].t_id ){ | ~~~~^~~~~~~~~~~~~~~~~~ Thread.cc:786:11: note: place parentheses around the assignment to silence this warning 786 | if( tid = threads[ix].t_id ){ | ^ | ( ) Thread.cc:786:11: note: use '==' to turn this assignment into an equality comparison 786 | if( tid = threads[ix].t_id ){ | ^ | == Thread.cc:803:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 803 | if( tid = threads[ix].t_id ){ | ~~~~^~~~~~~~~~~~~~~~~~ Thread.cc:803:11: note: place parentheses around the assignment to silence this warning 803 | if( tid = threads[ix].t_id ){ | ^ | ( ) Thread.cc:803:11: note: use '==' to turn this assignment into an equality comparison 803 | if( tid = threads[ix].t_id ){ | ^ | == 5 warnings generated. ../mkcpp randstack.c randstack.cc -- mkcpp set time: 1773311413 -> 1250403944 randstack.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c randstack.cc randstack.cc:286:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 286 | for( ei = 0; es = environ[ei]; ei++ ); | ~~~^~~~~~~~~~~~~ randstack.cc:286:18: note: place parentheses around the assignment to silence this warning 286 | for( ei = 0; es = environ[ei]; ei++ ); | ^ | ( ) randstack.cc:286:18: note: use '==' to turn this assignment into an equality comparison 286 | for( ei = 0; es = environ[ei]; ei++ ); | ^ | == randstack.cc:289:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 289 | for( ei = 0; es = environ[ei]; ei++ ){ | ~~~^~~~~~~~~~~~~ randstack.cc:289:18: note: place parentheses around the assignment to silence this warning 289 | for( ei = 0; es = environ[ei]; ei++ ){ | ^ | ( ) randstack.cc:289:18: note: use '==' to turn this assignment into an equality comparison 289 | for( ei = 0; es = environ[ei]; ei++ ){ | ^ | == 2 warnings generated. ../mkcpp rawcopy.c rawcopy.cc -- mkcpp set time: 1773311413 -> 1250403944 rawcopy.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c rawcopy.cc ../mkcpp hostaddr.c hostaddr.cc -- mkcpp set time: 1773311414 -> 1250403944 hostaddr.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c hostaddr.cc ../mkcpp socks5.c socks5.cc -- mkcpp set time: 1773311414 -> 1282453717 socks5.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c socks5.cc socks5.cc:134:16: warning: unsequenced modification and access to 'pi' [-Wunsequenced] 134 | PK->p_port = (GETPC() << 8) | GETPC(); | ^ ~~~~~~~ socks5.cc:99:40: note: expanded from macro 'GETPC' 99 | #define GETPC() ((rcc <= pi)?-1:pack[pi++]) | ^ socks5.cc:995:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 995 | if( clport = VSA_port(&clnt) ) | ~~~~~~~^~~~~~~~~~~~~~~~~ socks5.cc:995:15: note: place parentheses around the assignment to silence this warning 995 | if( clport = VSA_port(&clnt) ) | ^ | ( ) socks5.cc:995:15: note: use '==' to turn this assignment into an equality comparison 995 | if( clport = VSA_port(&clnt) ) | ^ | == socks5.cc:1018:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1018 | if( viaSocks = selectSockServ(ctx,&PK,&viaSocksb) ){ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ socks5.cc:1018:17: note: place parentheses around the assignment to silence this warning 1018 | if( viaSocks = selectSockServ(ctx,&PK,&viaSocksb) ){ | ^ | ( ) socks5.cc:1018:17: note: use '==' to turn this assignment into an equality comparison 1018 | if( viaSocks = selectSockServ(ctx,&PK,&viaSocksb) ){ | ^ | == socks5.cc:1127:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1127 | if( bp = strrchr(bhost,':') ){ | ~~~^~~~~~~~~~~~~~~~~~~~ socks5.cc:1127:9: note: place parentheses around the assignment to silence this warning 1127 | if( bp = strrchr(bhost,':') ){ | ^ | ( ) socks5.cc:1127:9: note: use '==' to turn this assignment into an equality comparison 1127 | if( bp = strrchr(bhost,':') ){ | ^ | == socks5.cc:1166:17: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] 1166 | int idlethreads(); | ^~ socks5.cc:1166:17: note: replace parentheses with an initializer to declare a variable 1166 | int idlethreads(); | ^~ | = 0 socks5.cc:1191:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1191 | if( lp = strtailstr(local,ACCONN) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ socks5.cc:1191:9: note: place parentheses around the assignment to silence this warning 1191 | if( lp = strtailstr(local,ACCONN) ){ | ^ | ( ) socks5.cc:1191:9: note: use '==' to turn this assignment into an equality comparison 1191 | if( lp = strtailstr(local,ACCONN) ){ | ^ | == socks5.cc:1455:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1455 | if( viasocks = GetViaSocks(ctx,host,port) ){ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ socks5.cc:1455:16: note: place parentheses around the assignment to silence this warning 1455 | if( viasocks = GetViaSocks(ctx,host,port) ){ | ^ | ( ) socks5.cc:1455:16: note: use '==' to turn this assignment into an equality comparison 1455 | if( viasocks = GetViaSocks(ctx,host,port) ){ | ^ | == socks5.cc:1463:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1463 | if( sifset = CTX_VSA_SRCIFfor(ctx,"socks-udp-tocl",&sif) ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ socks5.cc:1463:14: note: place parentheses around the assignment to silence this warning 1463 | if( sifset = CTX_VSA_SRCIFfor(ctx,"socks-udp-tocl",&sif) ){ | ^ | ( ) socks5.cc:1463:14: note: use '==' to turn this assignment into an equality comparison 1463 | if( sifset = CTX_VSA_SRCIFfor(ctx,"socks-udp-tocl",&sif) ){ | ^ | == 8 warnings generated. ../mkcpp cfilib.c cfilib.cc -- mkcpp set time: 1773311415 -> 1250403944 cfilib.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c cfilib.cc cfilib.cc:43:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 43 | if( env = getenv(name) ) | ~~~~^~~~~~~~~~~~~~ cfilib.cc:43:10: note: place parentheses around the assignment to silence this warning 43 | if( env = getenv(name) ) | ^ | ( ) cfilib.cc:43:10: note: use '==' to turn this assignment into an equality comparison 43 | if( env = getenv(name) ) | ^ | == cfilib.cc:82:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 82 | if( env = getenv("CFI_SHARED_LOCK") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ cfilib.cc:82:11: note: place parentheses around the assignment to silence this warning 82 | if( env = getenv("CFI_SHARED_LOCK") ){ | ^ | ( ) cfilib.cc:82:11: note: use '==' to turn this assignment into an equality comparison 82 | if( env = getenv("CFI_SHARED_LOCK") ){ | ^ | == cfilib.cc:83:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 83 | if( fp = fopen(env,"r+") ){ | ~~~^~~~~~~~~~~~~~~~~ cfilib.cc:83:11: note: place parentheses around the assignment to silence this warning 83 | if( fp = fopen(env,"r+") ){ | ^ | ( ) cfilib.cc:83:11: note: use '==' to turn this assignment into an equality comparison 83 | if( fp = fopen(env,"r+") ){ | ^ | == cfilib.cc:128:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 128 | if( env = getenv("CFI_FILTER_ID") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ cfilib.cc:128:10: note: place parentheses around the assignment to silence this warning 128 | if( env = getenv("CFI_FILTER_ID") ){ | ^ | ( ) cfilib.cc:128:10: note: use '==' to turn this assignment into an equality comparison 128 | if( env = getenv("CFI_FILTER_ID") ){ | ^ | == cfilib.cc:135:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 135 | if( env = getenv("CFI_SHARED_FD") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ cfilib.cc:135:10: note: place parentheses around the assignment to silence this warning 135 | if( env = getenv("CFI_SHARED_FD") ){ | ^ | ( ) cfilib.cc:135:10: note: use '==' to turn this assignment into an equality comparison 135 | if( env = getenv("CFI_SHARED_FD") ){ | ^ | == 5 warnings generated. ../mkcpp netsh.c netsh.cc -- mkcpp set time: 1773311415 -> 1414752137 netsh.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c netsh.cc netsh.cc:288:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 288 | if( env = getenv("LINES") ){ | ~~~~^~~~~~~~~~~~~~~~~ netsh.cc:288:10: note: place parentheses around the assignment to silence this warning 288 | if( env = getenv("LINES") ){ | ^ | ( ) netsh.cc:288:10: note: use '==' to turn this assignment into an equality comparison 288 | if( env = getenv("LINES") ){ | ^ | == netsh.cc:291:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 291 | if( env = getenv("COLUMNS") ){ | ~~~~^~~~~~~~~~~~~~~~~~~ netsh.cc:291:10: note: place parentheses around the assignment to silence this warning 291 | if( env = getenv("COLUMNS") ){ | ^ | ( ) netsh.cc:291:10: note: use '==' to turn this assignment into an equality comparison 291 | if( env = getenv("COLUMNS") ){ | ^ | == netsh.cc:409:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 409 | if( fp = fopen(dstdesc,"a") ){ | ~~~^~~~~~~~~~~~~~~~~~~~ netsh.cc:409:10: note: place parentheses around the assignment to silence this warning 409 | if( fp = fopen(dstdesc,"a") ){ | ^ | ( ) netsh.cc:409:10: note: use '==' to turn this assignment into an equality comparison 409 | if( fp = fopen(dstdesc,"a") ){ | ^ | == netsh.cc:737:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 737 | if( rdy = PollIns(0,2,fdv,rdv) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~ netsh.cc:737:12: note: place parentheses around the assignment to silence this warning 737 | if( rdy = PollIns(0,2,fdv,rdv) ){ | ^ | ( ) netsh.cc:737:12: note: use '==' to turn this assignment into an equality comparison 737 | if( rdy = PollIns(0,2,fdv,rdv) ){ | ^ | == netsh.cc:830:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 830 | if( rdy = PollIns(0,2,fdv,rdv) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~ netsh.cc:830:12: note: place parentheses around the assignment to silence this warning 830 | if( rdy = PollIns(0,2,fdv,rdv) ){ | ^ | ( ) netsh.cc:830:12: note: use '==' to turn this assignment into an equality comparison 830 | if( rdy = PollIns(0,2,fdv,rdv) ){ | ^ | == netsh.cc:1402:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1402 | if( fp = fopen("C:/DeleGate/dgpty.log","a") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netsh.cc:1402:10: note: place parentheses around the assignment to silence this warning 1402 | if( fp = fopen("C:/DeleGate/dgpty.log","a") ){ | ^ | ( ) netsh.cc:1402:10: note: use '==' to turn this assignment into an equality comparison 1402 | if( fp = fopen("C:/DeleGate/dgpty.log","a") ){ | ^ | == 6 warnings generated. ../mkcpp wince.c wince.cc -- mkcpp set time: 1773311415 -> 1414752137 wince.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c wince.cc wince.cc:292:18: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] 292 | int WCE_DEBUGS = flDBG(DBG_ERR); | ^~~~~~~~~~~~~~ wince.cc:274:27: note: expanded from macro 'flDBG' 274 | #define flDBG(f) (1 << (f)-'A') | ~~ ~~~^~~~ wince.cc:292:18: note: place parentheses around the '-' expression to silence this warning 292 | int WCE_DEBUGS = flDBG(DBG_ERR); | ^~~~~~~~~~~~~~ wince.cc:274:27: note: expanded from macro 'flDBG' 274 | #define flDBG(f) (1 << (f)-'A') | ~~~^~~~ wince.cc:293:26: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] 293 | int WCE_sDEBUG(){ return inDBG(DBG_SOCK); } | ^~~~~~~~~~~~~~~ wince.cc:275:32: note: expanded from macro 'inDBG' 275 | #define inDBG(f) (WCE_DEBUGS & flDBG(f)) | ^~~~~~~~ wince.cc:274:27: note: expanded from macro 'flDBG' 274 | #define flDBG(f) (1 << (f)-'A') | ~~ ~~~^~~~ wince.cc:293:26: note: place parentheses around the '-' expression to silence this warning 293 | int WCE_sDEBUG(){ return inDBG(DBG_SOCK); } | ^~~~~~~~~~~~~~~ wince.cc:275:32: note: expanded from macro 'inDBG' 275 | #define inDBG(f) (WCE_DEBUGS & flDBG(f)) | ^~~~~~~~ wince.cc:274:27: note: expanded from macro 'flDBG' 274 | #define flDBG(f) (1 << (f)-'A') | ~~~^~~~ 2 warnings generated. ../mkcpp winmo.c winmo.cc -- mkcpp set time: 1773311416 -> 1414752137 winmo.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c winmo.cc ../mkcpp winsspi.c winsspi.cc -- mkcpp set time: 1773311416 -> 1414752137 winsspi.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c winsspi.cc ../mkcpp winnat.c winnat.cc -- mkcpp set time: 1773311416 -> 1414752137 winnat.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c winnat.cc ../mkcpp winmisc.c winmisc.cc -- mkcpp set time: 1773311416 -> 1403841860 winmisc.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c winmisc.cc ../mkcpp unix.c unix.cc -- mkcpp set time: 1773311416 -> 1408963012 unix.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c unix.cc unix.cc:390:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 390 | if( name = ttyname(fd) ){ | ~~~~~^~~~~~~~~~~~~ unix.cc:390:12: note: place parentheses around the assignment to silence this warning 390 | if( name = ttyname(fd) ){ | ^ | ( ) unix.cc:390:12: note: use '==' to turn this assignment into an equality comparison 390 | 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] 100 | if( path = tmpfiles[ti] ){ | ~~~~~^~~~~~~~~~~~~~ ./windows0.c:100:15: note: place parentheses around the assignment to silence this warning 100 | if( path = tmpfiles[ti] ){ | ^ | ( ) ./windows0.c:100:15: note: use '==' to turn this assignment into an equality comparison 100 | if( path = tmpfiles[ti] ){ | ^ | == ./windows0.c:128:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 128 | if( opath = tmpfiles[fd] ){ | ~~~~~~^~~~~~~~~~~~~~ ./windows0.c:128:12: note: place parentheses around the assignment to silence this warning 128 | if( opath = tmpfiles[fd] ){ | ^ | ( ) ./windows0.c:128:12: note: use '==' to turn this assignment into an equality comparison 128 | if( opath = tmpfiles[fd] ){ | ^ | == ./windows0.c:144:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 144 | if( fp = fopen(path,"w+") ){ | ~~~^~~~~~~~~~~~~~~~~~ ./windows0.c:144:9: note: place parentheses around the assignment to silence this warning 144 | if( fp = fopen(path,"w+") ){ | ^ | ( ) ./windows0.c:144:9: note: use '==' to turn this assignment into an equality comparison 144 | if( fp = fopen(path,"w+") ){ | ^ | == ./windows0.c:160:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 160 | if( fp = fopen(path,FOPEN_RWB) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~ ./windows0.c:160:10: note: place parentheses around the assignment to silence this warning 160 | if( fp = fopen(path,FOPEN_RWB) ) | ^ | ( ) ./windows0.c:160:10: note: use '==' to turn this assignment into an equality comparison 160 | if( fp = fopen(path,FOPEN_RWB) ) | ^ | == ./windows0.c:166:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 166 | if( fp = fdopen(fd,FOPEN_RWB) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ ./windows0.c:166:11: note: place parentheses around the assignment to silence this warning 166 | if( fp = fdopen(fd,FOPEN_RWB) ){ | ^ | ( ) ./windows0.c:166:11: note: use '==' to turn this assignment into an equality comparison 166 | if( fp = fdopen(fd,FOPEN_RWB) ){ | ^ | == 6 warnings generated. ../mkcpp windows.c windows.cc -- mkcpp set time: 1773311417 -> 1414752137 windows.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c windows.cc ../mkcpp Finish.c Finish.cc -- mkcpp set time: 1773311417 -> 1250403944 Finish.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -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 gmake[4]: Leaving directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/rary' gmake[3]: Leaving directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/rary' **[0] move ../rary/library.a to ../lib/library.a "/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe" -makeat ../lib/libgates.a ../gates libgates.a "/usr/local/bin/gmake" libx MAKE="/usr/local/bin/gmake" SHELL="/bin/sh" CC="cc" HDRDIR="-I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing " RANLIB="/usr/bin/ranlib" LDFLAGS=" -L../lib" LIBDIR="-L../lib" NETLIB="-ldl -lutil -lpthread -lpam -lstdc++" AR="ar" TAR="tar" CFLAGS="-O2 -x c++ -DQS -DNONC99=3 " ---- testing CC capability [cc][-O2 -x c++ -DQS -DNONC99=3 ][] ... *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 1 error generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c ---- LD exit(256) cc _.o -lstdc++ *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c _.c:1:16: error: flexible array member 'A' with type 'char[]' is not at the end of struct 1 | struct _S{char A[]; char B[1];}S; | ^ _.c:1:26: note: next field declaration is here 1 | struct _S{char A[]; char B[1];}S; | ^ _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 2 errors generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c ---- LD exit(256) cc _.o -lstdc++ *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 1 error generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c ---- LD exit(256) cc _.o -lstdc++ [cc -c -O2 -x c++ -DQS -DNONC99=3 ] NONC99=2, NONAZ0=6 @pkg.DaveG.ca ####### -makeat: /wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/gates @pkg.DaveG.ca gmake[3]: Entering directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/gates' "/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe" -cksum "/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe" -mkmake "/usr/local/bin/gmake" Makefile.go "cc" "-O2 -x c++ -DQS -DNONC99=3 -Dm64 " "" "-L../lib" "/usr/bin/ranlib" "-ldl -lutil -lpthread -lpam -lstdc++" NETLIB ---- testing CC capability [cc][-O2 -x c++ -DQS -DNONC99=3 -Dm64 ][] ... *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 1 error generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c ---- LD exit(256) cc _.o -lstdc++ *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c _.c:1:16: error: flexible array member 'A' with type 'char[]' is not at the end of struct 1 | struct _S{char A[]; char B[1];}S; | ^ _.c:1:26: note: next field declaration is here 1 | struct _S{char A[]; char B[1];}S; | ^ _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 2 errors generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c ---- LD exit(256) cc _.o -lstdc++ *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 1 error generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c ---- LD exit(256) cc _.o -lstdc++ mkmake: cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/gates]: cannot read 'DELEGATE_CONF' [cc -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 ] NONC99=2, NONAZ0=6 @pkg.DaveG.ca #### [/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/gates] creating Makefile.go cpyfile Makefile[1-0][0-20183e] > Makefile.go #ifdef UNIX,OS2EMX ################################################ [SET] MKMAKE=/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe [SET] RANLIB=/usr/bin/ranlib - checking availability of -ldl [] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/gates]: cannot read 'DELEGATE_CONF' - checking availability of -lutil [-ldl] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/gates]: cannot read 'DELEGATE_CONF' - checking availability of -lpthread [-ldl -lutil] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/gates]: cannot read 'DELEGATE_CONF' - checking availability of -lpam [-ldl -lutil -lpthread] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/gates]: cannot read 'DELEGATE_CONF' - checking availability of -lstdc++ [-ldl -lutil -lpthread -lpam] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/gates]: cannot read 'DELEGATE_CONF' [SET] NETLIB=-ldl -lutil -lpthread -lpam -lstdc++ cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/gates]: cannot read 'DELEGATE_CONF' cpyfile Makefile[0-0][2026f4-0] > Makefile.go #ifdef UNIX,OS2EMX ################################################ /usr/local/bin/gmake -f Makefile.go CFLAGS="-O2 -x c++ -DQS -DNONC99=3 -Dm64 " libgates.a SHELL="/bin/sh" HDRDIR="-I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing " gmake[4]: Entering directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/gates' cc -o ./b2x.exe b2x.c -L../lib ../mkcpp Gates_Win32.c Gates_Win32.cc -- mkcpp set time: 1773311419 -> 1414752137 Gates_Win32.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -fno-exceptions -I../gen -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -I../include -I../src -c Gates_Win32.cc ar cr libgates.a Gates_Win32.o /usr/bin/ranlib libgates.a gmake[4]: Leaving directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/gates' gmake[3]: Leaving directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/gates' **[0] move ../gates/libgates.a to ../lib/libgates.a "/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe" -makeat ../lib/libcfi.a ../filters libcfi.a "/usr/local/bin/gmake" libx MAKE="/usr/local/bin/gmake" SHELL="/bin/sh" CC="cc" HDRDIR="-I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing " RANLIB="/usr/bin/ranlib" LDFLAGS=" -L../lib" LIBDIR="-L../lib" NETLIB="-ldl -lutil -lpthread -lpam -lstdc++" AR="ar" TAR="tar" CFLAGS="-O2 -x c++ -DQS -DNONC99=3 " SSLLIB="-lcrypto -lssl" ---- testing CC capability [cc][-O2 -x c++ -DQS -DNONC99=3 ][] ... *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 1 error generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c ---- LD exit(256) cc _.o -lstdc++ *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c _.c:1:16: error: flexible array member 'A' with type 'char[]' is not at the end of struct 1 | struct _S{char A[]; char B[1];}S; | ^ _.c:1:26: note: next field declaration is here 1 | struct _S{char A[]; char B[1];}S; | ^ _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 2 errors generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c ---- LD exit(256) cc _.o -lstdc++ *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 1 error generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c ---- LD exit(256) cc _.o -lstdc++ [cc -c -O2 -x c++ -DQS -DNONC99=3 ] NONC99=2, NONAZ0=6 @pkg.DaveG.ca ####### -makeat: /wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/filters @pkg.DaveG.ca gmake[3]: Entering directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/filters' "/wrkdirs/usr/ports/net/delegate/work/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 "/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe" -mkmake "/usr/local/bin/gmake" Makefile.go "cc" "-O2 -x c++ -DQS -DNONC99=3 -Dm64 " "" "-L../lib" "/usr/bin/ranlib" "-ldl -lutil -lpthread -lpam -lstdc++" NETLIB "" "../../SSL/libssl.a ../../SSL/libcrypto.a -lcrypto -lssl -lcrypt -lkssl -lcrypto -lssl" @LIBSSL ---- testing CC capability [cc][-O2 -x c++ -DQS -DNONC99=3 -Dm64 ][] ... *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 1 error generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c ---- LD exit(256) cc _.o -lstdc++ *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c _.c:1:16: error: flexible array member 'A' with type 'char[]' is not at the end of struct 1 | struct _S{char A[]; char B[1];}S; | ^ _.c:1:26: note: next field declaration is here 1 | struct _S{char A[]; char B[1];}S; | ^ _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 2 errors generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c ---- LD exit(256) cc _.o -lstdc++ *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 1 error generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c ---- LD exit(256) cc _.o -lstdc++ mkmake: cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/filters]: cannot read 'DELEGATE_CONF' [cc -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 ] NONC99=2, NONAZ0=6 @pkg.DaveG.ca #### [/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/filters] creating Makefile.go cpyfile Makefile[1-0][0-20183e] > Makefile.go #ifdef UNIX,OS2EMX ################################################ [SET] MKMAKE=/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe [SET] RANLIB=/usr/bin/ranlib - checking availability of -ldl [] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/filters]: cannot read 'DELEGATE_CONF' - checking availability of -lutil [-ldl] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/filters]: cannot read 'DELEGATE_CONF' - checking availability of -lpthread [-ldl -lutil] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/filters]: cannot read 'DELEGATE_CONF' - checking availability of -lpam [-ldl -lutil -lpthread] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/filters]: cannot read 'DELEGATE_CONF' - checking availability of -lstdc++ [-ldl -lutil -lpthread -lpam] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/filters]: cannot read 'DELEGATE_CONF' [SET] NETLIB=-ldl -lutil -lpthread -lpam -lstdc++ - checking availability of ../../SSL/libssl.a [] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/filters]: cannot read 'DELEGATE_CONF' *** -mkmake exit(-1) - checking availability of ../../SSL/libcrypto.a [] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/filters]: cannot read 'DELEGATE_CONF' *** -mkmake exit(-1) - checking availability of -lcrypto [] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/filters]: cannot read 'DELEGATE_CONF' - checking availability of -lssl [-lcrypto] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/filters]: cannot read 'DELEGATE_CONF' - checking availability of -lcrypt [-lcrypto -lssl] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/filters]: cannot read 'DELEGATE_CONF' - checking availability of -lkssl [-lcrypto -lssl -lcrypt] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/filters]: cannot read 'DELEGATE_CONF' *** -mkmake exit(-1) - checking availability of -lcrypto [-lcrypto -lssl -lcrypt] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/filters]: cannot read 'DELEGATE_CONF' - checking availability of -lssl [-lcrypto -lssl -lcrypt -lcrypto] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/filters]: cannot read 'DELEGATE_CONF' [SET] LIBSSL=-lcrypto -lssl -lcrypt -lcrypto -lssl cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/filters]: cannot read 'DELEGATE_CONF' cpyfile Makefile[0-0][2026f4-0] > Makefile.go #ifdef UNIX,OS2EMX ################################################ /usr/local/bin/gmake -f Makefile.go libcfi.a SHELL="/bin/sh" HDRDIR="-I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing " gmake[4]: Entering directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/filters' ../mkcpp dl.c dl.cc -- mkcpp set time: 1773311449 -> 1404404007 dl.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c dl.cc dl.cc:124:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 124 | if( p1 = strrchr(pat1,'*') ) | ~~~^~~~~~~~~~~~~~~~~~~ dl.cc:124:10: note: place parentheses around the assignment to silence this warning 124 | if( p1 = strrchr(pat1,'*') ) | ^ | ( ) dl.cc:124:10: note: use '==' to turn this assignment into an equality comparison 124 | if( p1 = strrchr(pat1,'*') ) | ^ | == dl.cc:154:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 154 | if( ldpath = getenv(LDPATHENV) ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~ dl.cc:154:13: note: place parentheses around the assignment to silence this warning 154 | if( ldpath = getenv(LDPATHENV) ){ | ^ | ( ) dl.cc:154:13: note: use '==' to turn this assignment into an equality comparison 154 | if( ldpath = getenv(LDPATHENV) ){ | ^ | == dl.cc:228:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 228 | for( i = 0; pat1 = libpat[i]; i++ ){ | ~~~~~^~~~~~~~~~~ dl.cc:228:20: note: place parentheses around the assignment to silence this warning 228 | for( i = 0; pat1 = libpat[i]; i++ ){ | ^ | ( ) dl.cc:228:20: note: use '==' to turn this assignment into an equality comparison 228 | for( i = 0; pat1 = libpat[i]; i++ ){ | ^ | == dl.cc:242:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 242 | if( pat1 = getenv(dlpathe) ){ | ~~~~~^~~~~~~~~~~~~~~~~ dl.cc:242:11: note: place parentheses around the assignment to silence this warning 242 | if( pat1 = getenv(dlpathe) ){ | ^ | ( ) dl.cc:242:11: note: use '==' to turn this assignment into an equality comparison 242 | if( pat1 = getenv(dlpathe) ){ | ^ | == dl.cc:258:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 258 | for( i = 0; pat1 = libpat[i]; i++ ){ | ~~~~~^~~~~~~~~~~ dl.cc:258:19: note: place parentheses around the assignment to silence this warning 258 | for( i = 0; pat1 = libpat[i]; i++ ){ | ^ | ( ) dl.cc:258:19: note: use '==' to turn this assignment into an equality comparison 258 | for( i = 0; pat1 = libpat[i]; i++ ){ | ^ | == dl.cc:287:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 287 | if( handle = dlopen(xpath,RTLD_NOW) ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ dl.cc:287:15: note: place parentheses around the assignment to silence this warning 287 | if( handle = dlopen(xpath,RTLD_NOW) ){ | ^ | ( ) dl.cc:287:15: note: use '==' to turn this assignment into an equality comparison 287 | if( handle = dlopen(xpath,RTLD_NOW) ){ | ^ | == dl.cc:303:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 303 | if( err = dlerror() ){ | ~~~~^~~~~~~~~~~ dl.cc:303:12: note: place parentheses around the assignment to silence this warning 303 | if( err = dlerror() ){ | ^ | ( ) dl.cc:303:12: note: use '==' to turn this assignment into an equality comparison 303 | if( err = dlerror() ){ | ^ | == dl.cc:325:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 325 | for( i = 0; name= dl[i].name; i++ ){ | ~~~~^~~~~~~~~~~~ dl.cc:325:18: note: place parentheses around the assignment to silence this warning 325 | for( i = 0; name= dl[i].name; i++ ){ | ^ | ( ) dl.cc:325:18: note: use '==' to turn this assignment into an equality comparison 325 | for( i = 0; name= dl[i].name; i++ ){ | ^ | == 8 warnings generated. ../mkcpp cfi.c cfi.cc -- mkcpp set time: 1773311457 -> 1402308712 cfi.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c cfi.cc cfi.cc:255:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 255 | for( np = name; ch = *np; np++ ){ | ~~~^~~~~ cfi.cc:255:21: note: place parentheses around the assignment to silence this warning 255 | for( np = name; ch = *np; np++ ){ | ^ | ( ) cfi.cc:255:21: note: use '==' to turn this assignment into an equality comparison 255 | for( np = name; ch = *np; np++ ){ | ^ | == cfi.cc:269:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 269 | for( sp = spec; sc = *sp; ){ | ~~~^~~~~ cfi.cc:269:21: note: place parentheses around the assignment to silence this warning 269 | for( sp = spec; sc = *sp; ){ | ^ | ( ) cfi.cc:269:21: note: use '==' to turn this assignment into an equality comparison 269 | for( sp = spec; sc = *sp; ){ | ^ | == cfi.cc:446:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 446 | if( vp = getFieldValue(spec,field,value,size) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cfi.cc:446:9: note: place parentheses around the assignment to silence this warning 446 | if( vp = getFieldValue(spec,field,value,size) ) | ^ | ( ) cfi.cc:446:9: note: use '==' to turn this assignment into an equality comparison 446 | if( vp = getFieldValue(spec,field,value,size) ) | ^ | == cfi.cc:450:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 450 | if( vp = getFieldValue(spec,field,value,size) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cfi.cc:450:9: note: place parentheses around the assignment to silence this warning 450 | if( vp = getFieldValue(spec,field,value,size) ) | ^ | ( ) cfi.cc:450:9: note: use '==' to turn this assignment into an equality comparison 450 | if( vp = getFieldValue(spec,field,value,size) ) | ^ | == cfi.cc:466:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 466 | for( sp = fvalue; sc = *sp; sp++ ){ | ~~~^~~~~ cfi.cc:466:23: note: place parentheses around the assignment to silence this warning 466 | for( sp = fvalue; sc = *sp; sp++ ){ | ^ | ( ) cfi.cc:466:23: note: use '==' to turn this assignment into an equality comparison 466 | for( sp = fvalue; sc = *sp; sp++ ){ | ^ | == cfi.cc:667:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 667 | if( crlf = strpbrk(statline,"\r\n") ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ cfi.cc:667:14: note: place parentheses around the assignment to silence this warning 667 | if( crlf = strpbrk(statline,"\r\n") ) | ^ | ( ) cfi.cc:667:14: note: use '==' to turn this assignment into an equality comparison 667 | if( crlf = strpbrk(statline,"\r\n") ) | ^ | == 6 warnings generated. ../mkcpp cafe.c cafe.cc -- mkcpp set time: 1773311460 -> 1264837825 cafe.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c cafe.cc cafe.cc:158:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 158 | for( dp = dir; dc = *dp; dp++ ){ | ~~~^~~~~ cafe.cc:158:21: note: place parentheses around the assignment to silence this warning 158 | for( dp = dir; dc = *dp; dp++ ){ | ^ | ( ) cafe.cc:158:21: note: use '==' to turn this assignment into an equality comparison 158 | for( dp = dir; dc = *dp; dp++ ){ | ^ | == cafe.cc:189:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 189 | if( dp = strrchr(xpath,'/') ) | ~~~^~~~~~~~~~~~~~~~~~~~ cafe.cc:189:10: note: place parentheses around the assignment to silence this warning 189 | if( dp = strrchr(xpath,'/') ) | ^ | ( ) cafe.cc:189:10: note: use '==' to turn this assignment into an equality comparison 189 | if( dp = strrchr(xpath,'/') ) | ^ | == cafe.cc:294:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 294 | for( ix = 0; dev1 = ICs[ix].ic_dev; ix++ ){ | ~~~~~^~~~~~~~~~~~~~~~ cafe.cc:294:20: note: place parentheses around the assignment to silence this warning 294 | for( ix = 0; dev1 = ICs[ix].ic_dev; ix++ ){ | ^ | ( ) cafe.cc:294:20: note: use '==' to turn this assignment into an equality comparison 294 | for( ix = 0; dev1 = ICs[ix].ic_dev; ix++ ){ | ^ | == cafe.cc:420:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 420 | if( diff = (*i1)->i_atime - (*i2)->i_atime ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cafe.cc:420:11: note: place parentheses around the assignment to silence this warning 420 | if( diff = (*i1)->i_atime - (*i2)->i_atime ) | ^ | ( ) cafe.cc:420:11: note: use '==' to turn this assignment into an equality comparison 420 | if( diff = (*i1)->i_atime - (*i2)->i_atime ) | ^ | == cafe.cc:422:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 422 | if( diff = (*i2)->i_blks - (*i1)->i_blks ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cafe.cc:422:11: note: place parentheses around the assignment to silence this warning 422 | if( diff = (*i2)->i_blks - (*i1)->i_blks ) | ^ | ( ) cafe.cc:422:11: note: use '==' to turn this assignment into an equality comparison 422 | if( diff = (*i2)->i_blks - (*i1)->i_blks ) | ^ | == cafe.cc:612:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 612 | else match = 0; | ^ cafe.cc:629:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 629 | if( np = strrpbrk(file,"/") ){ | ~~~^~~~~~~~~~~~~~~~~~~~ cafe.cc:629:10: note: place parentheses around the assignment to silence this warning 629 | if( np = strrpbrk(file,"/") ){ | ^ | ( ) cafe.cc:629:10: note: use '==' to turn this assignment into an equality comparison 629 | if( np = strrpbrk(file,"/") ){ | ^ | == 7 warnings generated. ../mkcpp backup.c backup.cc -- mkcpp set time: 1773311464 -> 1250403944 backup.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c backup.cc backup.cc:99:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 99 | if( sfp = fopen(src,"r") ){ | ~~~~^~~~~~~~~~~~~~~~ backup.cc:99:11: note: place parentheses around the assignment to silence this warning 99 | if( sfp = fopen(src,"r") ){ | ^ | ( ) backup.cc:99:11: note: use '==' to turn this assignment into an equality comparison 99 | if( sfp = fopen(src,"r") ){ | ^ | == backup.cc:134:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 134 | if( sp = strpbrk(src1,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ backup.cc:134:10: note: place parentheses around the assignment to silence this warning 134 | if( sp = strpbrk(src1,"\r\n") ) | ^ | ( ) backup.cc:134:10: note: use '==' to turn this assignment into an equality comparison 134 | if( sp = strpbrk(src1,"\r\n") ) | ^ | == 2 warnings generated. ../mkcpp dping.c dping.cc -- mkcpp set time: 1773311471 -> 1252611850 dping.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c dping.cc dping.cc:28:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 28 | for( oi = 0; oc = outstr[oi]; oi++ ){ | ~~~^~~~~~~~~~~~ dping.cc:28:18: note: place parentheses around the assignment to silence this warning 28 | for( oi = 0; oc = outstr[oi]; oi++ ){ | ^ | ( ) dping.cc:28:18: note: use '==' to turn this assignment into an equality comparison 28 | for( oi = 0; oc = outstr[oi]; oi++ ){ | ^ | == 1 warning generated. ../mkcpp swft.c swft.cc -- mkcpp set time: 1773311474 -> 1275003927 swft.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c swft.cc swft.cc:109:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 109 | if( rp = swf->s_path_base ){ | ~~~^~~~~~~~~~~~~~~~~~ swft.cc:109:10: note: place parentheses around the assignment to silence this warning 109 | if( rp = swf->s_path_base ){ | ^ | ( ) swft.cc:109:10: note: use '==' to turn this assignment into an equality comparison 109 | if( rp = swf->s_path_base ){ | ^ | == 1 warning generated. ../mkcpp pdft.c pdft.cc -- mkcpp set time: 1773311481 -> 1264838187 pdft.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c pdft.cc pdft.cc:507:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 507 | for( sp = str; ch = *sp; sp++ ){ | ~~~^~~~~ pdft.cc:507:20: note: place parentheses around the assignment to silence this warning 507 | for( sp = str; ch = *sp; sp++ ){ | ^ | ( ) pdft.cc:507:20: note: use '==' to turn this assignment into an equality comparison 507 | for( sp = str; ch = *sp; sp++ ){ | ^ | == pdft.cc:603:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 603 | for( sp = str; ch = *sp; sp++ ) | ~~~^~~~~ pdft.cc:603:20: note: place parentheses around the assignment to silence this warning 603 | for( sp = str; ch = *sp; sp++ ) | ^ | ( ) pdft.cc:603:20: note: use '==' to turn this assignment into an equality comparison 603 | for( sp = str; ch = *sp; sp++ ) | ^ | == pdft.cc:792:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 792 | if( sp = strstr(line,"/P ") ){ | ~~~^~~~~~~~~~~~~~~~~~~~ pdft.cc:792:10: note: place parentheses around the assignment to silence this warning 792 | if( sp = strstr(line,"/P ") ){ | ^ | ( ) pdft.cc:792:10: note: use '==' to turn this assignment into an equality comparison 792 | if( sp = strstr(line,"/P ") ){ | ^ | == pdft.cc:794:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 794 | if( sp = strstr(line,"/ID[<") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ pdft.cc:794:10: note: place parentheses around the assignment to silence this warning 794 | if( sp = strstr(line,"/ID[<") ){ | ^ | ( ) pdft.cc:794:10: note: use '==' to turn this assignment into an equality comparison 794 | if( sp = strstr(line,"/ID[<") ){ | ^ | == pdft.cc:814:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 814 | if( sp = strstr(pdf->p_objsrc,"/O") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdft.cc:814:9: note: place parentheses around the assignment to silence this warning 814 | if( sp = strstr(pdf->p_objsrc,"/O") ){ | ^ | ( ) pdft.cc:814:9: note: use '==' to turn this assignment into an equality comparison 814 | if( sp = strstr(pdf->p_objsrc,"/O") ){ | ^ | == pdft.cc:821:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 821 | if( sp = strstr(pdf->p_objsrc,"/U") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdft.cc:821:9: note: place parentheses around the assignment to silence this warning 821 | if( sp = strstr(pdf->p_objsrc,"/U") ){ | ^ | ( ) pdft.cc:821:9: note: use '==' to turn this assignment into an equality comparison 821 | if( sp = strstr(pdf->p_objsrc,"/U") ){ | ^ | == pdft.cc:827:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 827 | if( sp = strstr(pdf->p_objsrc,"/V") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdft.cc:827:9: note: place parentheses around the assignment to silence this warning 827 | if( sp = strstr(pdf->p_objsrc,"/V") ){ | ^ | ( ) pdft.cc:827:9: note: use '==' to turn this assignment into an equality comparison 827 | if( sp = strstr(pdf->p_objsrc,"/V") ){ | ^ | == pdft.cc:830:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 830 | if( sp = strstr(pdf->p_objsrc,"/R") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdft.cc:830:9: note: place parentheses around the assignment to silence this warning 830 | if( sp = strstr(pdf->p_objsrc,"/R") ){ | ^ | ( ) pdft.cc:830:9: note: use '==' to turn this assignment into an equality comparison 830 | if( sp = strstr(pdf->p_objsrc,"/R") ){ | ^ | == pdft.cc:833:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 833 | if( sp = strstr(pdf->p_objsrc,"/P") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdft.cc:833:9: note: place parentheses around the assignment to silence this warning 833 | if( sp = strstr(pdf->p_objsrc,"/P") ){ | ^ | ( ) pdft.cc:833:9: note: use '==' to turn this assignment into an equality comparison 833 | if( sp = strstr(pdf->p_objsrc,"/P") ){ | ^ | == pdft.cc:836:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 836 | if( sp = strstr(pdf->p_objsrc,"/Length") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdft.cc:836:9: note: place parentheses around the assignment to silence this warning 836 | if( sp = strstr(pdf->p_objsrc,"/Length") ){ | ^ | ( ) pdft.cc:836:9: note: use '==' to turn this assignment into an equality comparison 836 | if( sp = strstr(pdf->p_objsrc,"/Length") ){ | ^ | == pdft.cc:1042:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1042 | if( sp = strstr(token,"/FlateDecode") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdft.cc:1042:10: note: place parentheses around the assignment to silence this warning 1042 | if( sp = strstr(token,"/FlateDecode") ){ | ^ | ( ) pdft.cc:1042:10: note: use '==' to turn this assignment into an equality comparison 1042 | if( sp = strstr(token,"/FlateDecode") ){ | ^ | == pdft.cc:1088:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1088 | if( sp = strstr(token,"stream") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ pdft.cc:1088:10: note: place parentheses around the assignment to silence this warning 1088 | if( sp = strstr(token,"stream") ){ | ^ | ( ) pdft.cc:1088:10: note: use '==' to turn this assignment into an equality comparison 1088 | if( sp = strstr(token,"stream") ){ | ^ | == 12 warnings generated. ./mkstab < sslway.c > sslway_dl.c ../mkcpp sslway_dl.c sslway_dl.cc -- mkcpp set time: 1773311489 -> 1773311489 sslway_dl.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c sslway_dl.cc sslway_dl.cc:680:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 680 | if( op = strstr(val,"wait") ){ | ~~~^~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:680:10: note: place parentheses around the assignment to silence this warning 680 | if( op = strstr(val,"wait") ){ | ^ | ( ) sslway_dl.cc:680:10: note: use '==' to turn this assignment into an equality comparison 680 | if( op = strstr(val,"wait") ){ | ^ | == sslway_dl.cc:851:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 851 | if( env = getenv("CFI_IDENT") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:851:10: note: place parentheses around the assignment to silence this warning 851 | if( env = getenv("CFI_IDENT") ){ | ^ | ( ) sslway_dl.cc:851:10: note: use '==' to turn this assignment into an equality comparison 851 | if( env = getenv("CFI_IDENT") ){ | ^ | == sslway_dl.cc:854:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 854 | if( fp = fdopen(dup(fd),"w") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:854:11: note: place parentheses around the assignment to silence this warning 854 | if( fp = fdopen(dup(fd),"w") ){ | ^ | ( ) sslway_dl.cc:854:11: note: use '==' to turn this assignment into an equality comparison 854 | if( fp = fdopen(dup(fd),"w") ){ | ^ | == sslway_dl.cc:873:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 873 | if( peer = SSL_get_peer_certificate(ssl) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:873:11: note: place parentheses around the assignment to silence this warning 873 | if( peer = SSL_get_peer_certificate(ssl) ){ | ^ | ( ) sslway_dl.cc:873:11: note: use '==' to turn this assignment into an equality comparison 873 | 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] 883 | if( dp = (char*)strcasestr(sb,"/emailAddress=") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:883:10: note: place parentheses around the assignment to silence this warning 883 | if( dp = (char*)strcasestr(sb,"/emailAddress=") ) | ^ | ( ) sslway_dl.cc:883:10: note: use '==' to turn this assignment into an equality comparison 883 | if( dp = (char*)strcasestr(sb,"/emailAddress=") ) | ^ | == sslway_dl.cc:886:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 886 | if( dp = (char*)strcasestr(sb,"/email=") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:886:10: note: place parentheses around the assignment to silence this warning 886 | if( dp = (char*)strcasestr(sb,"/email=") ) | ^ | ( ) sslway_dl.cc:886:10: note: use '==' to turn this assignment into an equality comparison 886 | if( dp = (char*)strcasestr(sb,"/email=") ) | ^ | == sslway_dl.cc:913:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 913 | while( code = ERR_get_error() ){ | ~~~~~^~~~~~~~~~~~~~~~~ sslway_dl.cc:913:15: note: place parentheses around the assignment to silence this warning 913 | while( code = ERR_get_error() ){ | ^ | ( ) sslway_dl.cc:913:15: note: use '==' to turn this assignment into an equality comparison 913 | while( code = ERR_get_error() ){ | ^ | == sslway_dl.cc:934:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 934 | if( sc = SSL_get_current_cipher(ssl) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:934:9: note: place parentheses around the assignment to silence this warning 934 | if( sc = SSL_get_current_cipher(ssl) ){ | ^ | ( ) sslway_dl.cc:934:9: note: use '==' to turn this assignment into an equality comparison 934 | 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] 935 | if( descp = SSL_CIPHER_description(sc,desc,sizeof(desc)) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:935:13: note: place parentheses around the assignment to silence this warning 935 | if( descp = SSL_CIPHER_description(sc,desc,sizeof(desc)) ){ | ^ | ( ) sslway_dl.cc:935:13: note: use '==' to turn this assignment into an equality comparison 935 | 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] 1018 | if( dp = strtailstr(xpath,".pem") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:1018:10: note: place parentheses around the assignment to silence this warning 1018 | if( dp = strtailstr(xpath,".pem") ){ | ^ | ( ) sslway_dl.cc:1018:10: note: use '==' to turn this assignment into an equality comparison 1018 | if( dp = strtailstr(xpath,".pem") ){ | ^ | == sslway_dl.cc:1184:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1184 | if( sslver = serv ? cl_sslver : sv_sslver ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:1184:13: note: place parentheses around the assignment to silence this warning 1184 | if( sslver = serv ? cl_sslver : sv_sslver ){ | ^ | ( ) sslway_dl.cc:1184:13: note: use '==' to turn this assignment into an equality comparison 1184 | 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] 1219 | if( sslnover = serv ? cl_sslnover : sv_sslnover ){ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:1219:15: note: place parentheses around the assignment to silence this warning 1219 | if( sslnover = serv ? cl_sslnover : sv_sslnover ){ | ^ | ( ) sslway_dl.cc:1219:15: note: use '==' to turn this assignment into an equality comparison 1219 | 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] 1237 | if( dp = strrpbrk(passfile,"/\\") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:1237:10: note: place parentheses around the assignment to silence this warning 1237 | if( dp = strrpbrk(passfile,"/\\") ) | ^ | ( ) sslway_dl.cc:1237:10: note: use '==' to turn this assignment into an equality comparison 1237 | if( dp = strrpbrk(passfile,"/\\") ) | ^ | == sslway_dl.cc:1256:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1256 | if( dp = strpbrk(line,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:1256:9: note: place parentheses around the assignment to silence this warning 1256 | if( dp = strpbrk(line,"\r\n") ) | ^ | ( ) sslway_dl.cc:1256:9: note: use '==' to turn this assignment into an equality comparison 1256 | if( dp = strpbrk(line,"\r\n") ) | ^ | == sslway_dl.cc:1290:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1290 | if( env = getenv("REMOTE_ADDR") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:1290:10: note: place parentheses around the assignment to silence this warning 1290 | if( env = getenv("REMOTE_ADDR") ){ | ^ | ( ) sslway_dl.cc:1290:10: note: use '==' to turn this assignment into an equality comparison 1290 | if( env = getenv("REMOTE_ADDR") ){ | ^ | == sslway_dl.cc:1293:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1293 | if( env = getenv("SERVER_ADDR") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:1293:10: note: place parentheses around the assignment to silence this warning 1293 | if( env = getenv("SERVER_ADDR") ){ | ^ | ( ) sslway_dl.cc:1293:10: note: use '==' to turn this assignment into an equality comparison 1293 | if( env = getenv("SERVER_ADDR") ){ | ^ | == sslway_dl.cc:1333:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1333 | if( cert = SSL_get_certificate(ssl) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:1333:11: note: place parentheses around the assignment to silence this warning 1333 | if( cert = SSL_get_certificate(ssl) ){ | ^ | ( ) sslway_dl.cc:1333:11: note: use '==' to turn this assignment into an equality comparison 1333 | if( cert = SSL_get_certificate(ssl) ){ | ^ | == sslway_dl.cc:1405:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1405 | if( dp = strchr(fid,'\n') ) | ~~~^~~~~~~~~~~~~~~~~~ sslway_dl.cc:1405:9: note: place parentheses around the assignment to silence this warning 1405 | if( dp = strchr(fid,'\n') ) | ^ | ( ) sslway_dl.cc:1405:9: note: use '==' to turn this assignment into an equality comparison 1405 | if( dp = strchr(fid,'\n') ) | ^ | == sslway_dl.cc:1636:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1636 | if( lkfp = CFI_LockFp() ){ | ~~~~~^~~~~~~~~~~~~~ sslway_dl.cc:1636:11: note: place parentheses around the assignment to silence this warning 1636 | if( lkfp = CFI_LockFp() ){ | ^ | ( ) sslway_dl.cc:1636:11: note: use '==' to turn this assignment into an equality comparison 1636 | if( lkfp = CFI_LockFp() ){ | ^ | == sslway_dl.cc:1811:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1811 | if( lkfp = CFI_LockFp() ){ | ~~~~~^~~~~~~~~~~~~~ sslway_dl.cc:1811:11: note: place parentheses around the assignment to silence this warning 1811 | if( lkfp = CFI_LockFp() ){ | ^ | ( ) sslway_dl.cc:1811:11: note: use '==' to turn this assignment into an equality comparison 1811 | if( lkfp = CFI_LockFp() ){ | ^ | == sslway_dl.cc:1814:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1814 | if( fp = CFI_fopenShared("r+") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:1814:10: note: place parentheses around the assignment to silence this warning 1814 | if( fp = CFI_fopenShared("r+") ){ | ^ | ( ) sslway_dl.cc:1814:10: note: use '==' to turn this assignment into an equality comparison 1814 | if( fp = CFI_fopenShared("r+") ){ | ^ | == sslway_dl.cc:1865:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1865 | if( yp = strrchr(ykeyfile,'.') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:1865:10: note: place parentheses around the assignment to silence this warning 1865 | if( yp = strrchr(ykeyfile,'.') ){ | ^ | ( ) sslway_dl.cc:1865:10: note: use '==' to turn this assignment into an equality comparison 1865 | if( yp = strrchr(ykeyfile,'.') ){ | ^ | == sslway_dl.cc:1872:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1872 | if( dp = strrchr(keyfile,'.') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:1872:9: note: place parentheses around the assignment to silence this warning 1872 | if( dp = strrchr(keyfile,'.') ){ | ^ | ( ) sslway_dl.cc:1872:9: note: use '==' to turn this assignment into an equality comparison 1872 | if( dp = strrchr(keyfile,'.') ){ | ^ | == sslway_dl.cc:2128:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2128 | if( Bp = BIO_new_file(path,"r") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:2128:10: note: place parentheses around the assignment to silence this warning 2128 | if( Bp = BIO_new_file(path,"r") ){ | ^ | ( ) sslway_dl.cc:2128:10: note: use '==' to turn this assignment into an equality comparison 2128 | 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] 2129 | 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 2129 | 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 2129 | if( dh = PEM_read_bio_DHparams(Bp,NULL,NULL,NULL) ){ | ^ | == sslway_dl.cc:2562:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2562 | if( dp = strpbrk(buf,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:2562:10: note: place parentheses around the assignment to silence this warning 2562 | if( dp = strpbrk(buf,"\r\n") ) | ^ | ( ) sslway_dl.cc:2562:10: note: use '==' to turn this assignment into an equality comparison 2562 | if( dp = strpbrk(buf,"\r\n") ) | ^ | == sslway_dl.cc:2681:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2681 | if( dp = strpbrk(buf,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:2681:10: note: place parentheses around the assignment to silence this warning 2681 | if( dp = strpbrk(buf,"\r\n") ) | ^ | ( ) sslway_dl.cc:2681:10: note: use '==' to turn this assignment into an equality comparison 2681 | if( dp = strpbrk(buf,"\r\n") ) | ^ | == sslway_dl.cc:3060:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3060 | if( env = getenv("CFI_FILTER_ID") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:3060:10: note: place parentheses around the assignment to silence this warning 3060 | if( env = getenv("CFI_FILTER_ID") ) | ^ | ( ) sslway_dl.cc:3060:10: note: use '==' to turn this assignment into an equality comparison 3060 | if( env = getenv("CFI_FILTER_ID") ) | ^ | == sslway_dl.cc:3069:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3069 | if( env = getenv("CFI_TYPE") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:3069:10: note: place parentheses around the assignment to silence this warning 3069 | if( env = getenv("CFI_TYPE") ){ | ^ | ( ) sslway_dl.cc:3069:10: note: use '==' to turn this assignment into an equality comparison 3069 | if( env = getenv("CFI_TYPE") ){ | ^ | == sslway_dl.cc:3079:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3079 | if( env = getenv("CFI_STAT") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:3079:10: note: place parentheses around the assignment to silence this warning 3079 | if( env = getenv("CFI_STAT") ){ | ^ | ( ) sslway_dl.cc:3079:10: note: use '==' to turn this assignment into an equality comparison 3079 | if( env = getenv("CFI_STAT") ){ | ^ | == sslway_dl.cc:3086:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3086 | if( env = getenv("CFI_SYNC") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:3086:10: note: place parentheses around the assignment to silence this warning 3086 | if( env = getenv("CFI_SYNC") ){ | ^ | ( ) sslway_dl.cc:3086:10: note: use '==' to turn this assignment into an equality comparison 3086 | if( env = getenv("CFI_SYNC") ){ | ^ | == sslway_dl.cc:3093:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3093 | if( env = GetEnv("SSL_KEY_PASSWD") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:3093:10: note: place parentheses around the assignment to silence this warning 3093 | if( env = GetEnv("SSL_KEY_PASSWD") ) | ^ | ( ) sslway_dl.cc:3093:10: note: use '==' to turn this assignment into an equality comparison 3093 | if( env = GetEnv("SSL_KEY_PASSWD") ) | ^ | == sslway_dl.cc:3095:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3095 | if( env = GetEnv("SSL_CLIENT_KEY_PASSWD") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:3095:10: note: place parentheses around the assignment to silence this warning 3095 | if( env = GetEnv("SSL_CLIENT_KEY_PASSWD") ) | ^ | ( ) sslway_dl.cc:3095:10: note: use '==' to turn this assignment into an equality comparison 3095 | 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] 3097 | if( env = GetEnv("SSL_SERVER_KEY_PASSWD") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:3097:10: note: place parentheses around the assignment to silence this warning 3097 | if( env = GetEnv("SSL_SERVER_KEY_PASSWD") ) | ^ | ( ) sslway_dl.cc:3097:10: note: use '==' to turn this assignment into an equality comparison 3097 | 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] 3114 | if( env = GetEnv("SSL_CIPHER") ) cipher_list = env; | ~~~~^~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:3114:10: note: place parentheses around the assignment to silence this warning 3114 | if( env = GetEnv("SSL_CIPHER") ) cipher_list = env; | ^ | ( ) sslway_dl.cc:3114:10: note: use '==' to turn this assignment into an equality comparison 3114 | 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] 3116 | if( env = GetEnv("SSL_CERT_FILE") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:3116:10: note: place parentheses around the assignment to silence this warning 3116 | if( env = GetEnv("SSL_CERT_FILE") ) | ^ | ( ) sslway_dl.cc:3116:10: note: use '==' to turn this assignment into an equality comparison 3116 | if( env = GetEnv("SSL_CERT_FILE") ) | ^ | == sslway_dl.cc:3119:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3119 | 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 3119 | 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 3119 | 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] 3120 | 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 3120 | 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 3120 | 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] 3122 | 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 3122 | 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 3122 | 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] 3123 | 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 3123 | 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 3123 | 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] 3299 | if( do_acc = do_accSSL ){ | ~~~~~~~^~~~~~~~~~~ sslway_dl.cc:3299:13: note: place parentheses around the assignment to silence this warning 3299 | if( do_acc = do_accSSL ){ | ^ | ( ) sslway_dl.cc:3299:13: note: use '==' to turn this assignment into an equality comparison 3299 | if( do_acc = do_accSSL ){ | ^ | == sslway_dl.cc:3303:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3303 | if( do_con = do_conSSL ){ | ~~~~~~~^~~~~~~~~~~ sslway_dl.cc:3303:13: note: place parentheses around the assignment to silence this warning 3303 | if( do_con = do_conSSL ){ | ^ | ( ) sslway_dl.cc:3303:13: note: use '==' to turn this assignment into an equality comparison 3303 | if( do_con = do_conSSL ){ | ^ | == sslway_dl.cc:3642:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3642 | if( ok = sslway_dl0() ){ | ~~~^~~~~~~~~~~~~~ sslway_dl.cc:3642:9: note: place parentheses around the assignment to silence this warning 3642 | if( ok = sslway_dl0() ){ | ^ | ( ) sslway_dl.cc:3642:9: note: use '==' to turn this assignment into an equality comparison 3642 | if( ok = sslway_dl0() ){ | ^ | == 43 warnings generated. ./mkstab < gzip.c > gzip_dl.c ../mkcpp gzip_dl.c gzip_dl.cc -- mkcpp set time: 1773311500 -> 1773311500 gzip_dl.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c gzip_dl.cc gzip_dl.cc:253:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 253 | if( sock = SocketOf(fd) ){ | ~~~~~^~~~~~~~~~~~~~ gzip_dl.cc:253:11: note: place parentheses around the assignment to silence this warning 253 | if( sock = SocketOf(fd) ){ | ^ | ( ) gzip_dl.cc:253:11: note: use '==' to turn this assignment into an equality comparison 253 | if( sock = SocketOf(fd) ){ | ^ | == gzip_dl.cc:451:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 451 | if( _gzfuncs = (GZFUNCS)mydlsym("gzfuncs") ){ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gzip_dl.cc:451:16: note: place parentheses around the assignment to silence this warning 451 | if( _gzfuncs = (GZFUNCS)mydlsym("gzfuncs") ){ | ^ | ( ) gzip_dl.cc:451:16: note: use '==' to turn this assignment into an equality comparison 451 | if( _gzfuncs = (GZFUNCS)mydlsym("gzfuncs") ){ | ^ | == gzip_dl.cc:961:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 961 | if( ready = inputReady(fd,&rd) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~ gzip_dl.cc:961:14: note: place parentheses around the assignment to silence this warning 961 | if( ready = inputReady(fd,&rd) ){ | ^ | ( ) gzip_dl.cc:961:14: note: use '==' to turn this assignment into an equality comparison 961 | if( ready = inputReady(fd,&rd) ){ | ^ | == gzip_dl.cc:965:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 965 | }else{ | ^ 4 warnings generated. ./mkstab < regex.c > regex_dl.c ../mkcpp regex_dl.c regex_dl.cc -- mkcpp set time: 1773311504 -> 1773311504 regex_dl.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c regex_dl.cc ./mkstab < m17nccx.c > m17nccx_dl.c ../mkcpp m17nccx_dl.c m17nccx_dl.cc -- mkcpp set time: 1773311506 -> 1773311506 m17nccx_dl.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -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 gmake[4]: Leaving directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/filters' gmake[3]: Leaving directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/filters' **[0] move ../filters/libcfi.a to ../lib/libcfi.a "/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe" -makeat ../lib/libfsx.a ../fsx libfsx.a "/usr/local/bin/gmake" libx MAKE="/usr/local/bin/gmake" SHELL="/bin/sh" CC="cc" HDRDIR="-I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing " RANLIB="/usr/bin/ranlib" LDFLAGS=" -L../lib" LIBDIR="-L../lib" NETLIB="-ldl -lutil -lpthread -lpam -lstdc++" AR="ar" TAR="tar" CFLAGS="-O2 -x c++ -DQS -DNONC99=3 " ---- testing CC capability [cc][-O2 -x c++ -DQS -DNONC99=3 ][] ... *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 1 error generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c ---- LD exit(256) cc _.o -lstdc++ *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c _.c:1:16: error: flexible array member 'A' with type 'char[]' is not at the end of struct 1 | struct _S{char A[]; char B[1];}S; | ^ _.c:1:26: note: next field declaration is here 1 | struct _S{char A[]; char B[1];}S; | ^ _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 2 errors generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c ---- LD exit(256) cc _.o -lstdc++ *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 1 error generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c ---- LD exit(256) cc _.o -lstdc++ [cc -c -O2 -x c++ -DQS -DNONC99=3 ] NONC99=2, NONAZ0=6 @pkg.DaveG.ca ####### -makeat: /wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/fsx @pkg.DaveG.ca gmake[3]: Entering directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/fsx' "/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe" -cksum Makefile any2fdif.c "/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe" -mkmake "/usr/local/bin/gmake" Makefile.go "cc" "-O2 -x c++ -DQS -DNONC99=3 -Dm64 " "" "-L../lib" "/usr/bin/ranlib" "-ldl -lutil -lpthread -lpam -lstdc++" NETLIB ---- testing CC capability [cc][-O2 -x c++ -DQS -DNONC99=3 -Dm64 ][] ... *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 1 error generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c ---- LD exit(256) cc _.o -lstdc++ *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c _.c:1:16: error: flexible array member 'A' with type 'char[]' is not at the end of struct 1 | struct _S{char A[]; char B[1];}S; | ^ _.c:1:26: note: next field declaration is here 1 | struct _S{char A[]; char B[1];}S; | ^ _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 2 errors generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c ---- LD exit(256) cc _.o -lstdc++ *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 1 error generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c ---- LD exit(256) cc _.o -lstdc++ mkmake: cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/fsx]: cannot read 'DELEGATE_CONF' [cc -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 ] NONC99=2, NONAZ0=6 @pkg.DaveG.ca #### [/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/fsx] creating Makefile.go cpyfile Makefile[1-0][0-20183e] > Makefile.go #ifdef UNIX,OS2EMX ################################################ [SET] MKMAKE=/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe [SET] RANLIB=/usr/bin/ranlib - checking availability of -ldl [] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/fsx]: cannot read 'DELEGATE_CONF' - checking availability of -lutil [-ldl] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/fsx]: cannot read 'DELEGATE_CONF' - checking availability of -lpthread [-ldl -lutil] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/fsx]: cannot read 'DELEGATE_CONF' - checking availability of -lpam [-ldl -lutil -lpthread] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/fsx]: cannot read 'DELEGATE_CONF' - checking availability of -lstdc++ [-ldl -lutil -lpthread -lpam] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/fsx]: cannot read 'DELEGATE_CONF' [SET] NETLIB=-ldl -lutil -lpthread -lpam -lstdc++ cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/fsx]: cannot read 'DELEGATE_CONF' cpyfile Makefile[0-0][2026f4-0] > Makefile.go #ifdef UNIX,OS2EMX ################################################ /usr/local/bin/gmake -f Makefile.go CFLAGS="-O2 -x c++ -DQS -DNONC99=3 -Dm64 " libfsx.a SHELL="/bin/sh" HDRDIR="-I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing " gmake[4]: Entering directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/fsx' ../mkcpp any2fdif.c any2fdif.cc -- mkcpp set time: 1773311523 -> 1413283809 any2fdif.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -I../include -c any2fdif.cc any2fdif.cc:345:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 345 | for( xi = 0; cext = types[xi].ext; xi++ ){ | ~~~~~^~~~~~~~~~~~~~~ any2fdif.cc:345:20: note: place parentheses around the assignment to silence this warning 345 | for( xi = 0; cext = types[xi].ext; xi++ ){ | ^ | ( ) any2fdif.cc:345:20: note: use '==' to turn this assignment into an equality comparison 345 | 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] 374 | for( xi = 0; cext = types[xi].ext; xi++ ){ | ~~~~~^~~~~~~~~~~~~~~ any2fdif.cc:374:20: note: place parentheses around the assignment to silence this warning 374 | for( xi = 0; cext = types[xi].ext; xi++ ){ | ^ | ( ) any2fdif.cc:374:20: note: use '==' to turn this assignment into an equality comparison 374 | 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] 392 | if( cp = strtailstr(url,"/@") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:392:9: note: place parentheses around the assignment to silence this warning 392 | if( cp = strtailstr(url,"/@") ){ | ^ | ( ) any2fdif.cc:392:9: note: use '==' to turn this assignment into an equality comparison 392 | if( cp = strtailstr(url,"/@") ){ | ^ | == any2fdif.cc:396:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 396 | if( cp = strtailstr(url,"/=") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:396:9: note: place parentheses around the assignment to silence this warning 396 | if( cp = strtailstr(url,"/=") ){ | ^ | ( ) any2fdif.cc:396:9: note: use '==' to turn this assignment into an equality comparison 396 | if( cp = strtailstr(url,"/=") ){ | ^ | == any2fdif.cc:400:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 400 | if( qp = strchr(url,'?') ) | ~~~^~~~~~~~~~~~~~~~~ any2fdif.cc:400:9: note: place parentheses around the assignment to silence this warning 400 | if( qp = strchr(url,'?') ) | ^ | ( ) any2fdif.cc:400:9: note: use '==' to turn this assignment into an equality comparison 400 | if( qp = strchr(url,'?') ) | ^ | == any2fdif.cc:407:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 407 | if( dp = strrchr(url,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~ any2fdif.cc:407:9: note: place parentheses around the assignment to silence this warning 407 | if( dp = strrchr(url,'/') ){ | ^ | ( ) any2fdif.cc:407:9: note: use '==' to turn this assignment into an equality comparison 407 | if( dp = strrchr(url,'/') ){ | ^ | == any2fdif.cc:408:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 408 | if( dp = strrchr(dp+1,'.') ) | ~~~^~~~~~~~~~~~~~~~~~~ any2fdif.cc:408:10: note: place parentheses around the assignment to silence this warning 408 | if( dp = strrchr(dp+1,'.') ) | ^ | ( ) any2fdif.cc:408:10: note: use '==' to turn this assignment into an equality comparison 408 | if( dp = strrchr(dp+1,'.') ) | ^ | == any2fdif.cc:417:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 417 | for( xi = 0; cext = types[xi].ext; xi++ ){ | ~~~~~^~~~~~~~~~~~~~~ any2fdif.cc:417:20: note: place parentheses around the assignment to silence this warning 417 | for( xi = 0; cext = types[xi].ext; xi++ ){ | ^ | ( ) any2fdif.cc:417:20: note: use '==' to turn this assignment into an equality comparison 417 | 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] 542 | for( xi = 0; cext = types[xi].ext; xi++ ){ | ~~~~~^~~~~~~~~~~~~~~ any2fdif.cc:542:20: note: place parentheses around the assignment to silence this warning 542 | for( xi = 0; cext = types[xi].ext; xi++ ){ | ^ | ( ) any2fdif.cc:542:20: note: use '==' to turn this assignment into an equality comparison 542 | 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] 548 | for( xi = 0; cext = types[xi].ext; xi++ ){ | ~~~~~^~~~~~~~~~~~~~~ any2fdif.cc:548:20: note: place parentheses around the assignment to silence this warning 548 | for( xi = 0; cext = types[xi].ext; xi++ ){ | ^ | ( ) any2fdif.cc:548:20: note: use '==' to turn this assignment into an equality comparison 548 | 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] 549 | if( cnt = types[xi].cnt ){ | ~~~~^~~~~~~~~~~~~~~ any2fdif.cc:549:11: note: place parentheses around the assignment to silence this warning 549 | if( cnt = types[xi].cnt ){ | ^ | ( ) any2fdif.cc:549:11: note: use '==' to turn this assignment into an equality comparison 549 | if( cnt = types[xi].cnt ){ | ^ | == any2fdif.cc:833:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 833 | if( ref = Urls[i].u_referer ){ | ~~~~^~~~~~~~~~~~~~~~~~~ any2fdif.cc:833:12: note: place parentheses around the assignment to silence this warning 833 | if( ref = Urls[i].u_referer ){ | ^ | ( ) any2fdif.cc:833:12: note: use '==' to turn this assignment into an equality comparison 833 | if( ref = Urls[i].u_referer ){ | ^ | == any2fdif.cc:854:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 854 | if( dp = strrchr(login,':') ){ | ~~~^~~~~~~~~~~~~~~~~~~~ any2fdif.cc:854:9: note: place parentheses around the assignment to silence this warning 854 | if( dp = strrchr(login,':') ){ | ^ | ( ) any2fdif.cc:854:9: note: use '==' to turn this assignment into an equality comparison 854 | if( dp = strrchr(login,':') ){ | ^ | == any2fdif.cc:858:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 858 | if( dp = strchr(upath,'#') ) | ~~~^~~~~~~~~~~~~~~~~~~ any2fdif.cc:858:9: note: place parentheses around the assignment to silence this warning 858 | if( dp = strchr(upath,'#') ) | ^ | ( ) any2fdif.cc:858:9: note: use '==' to turn this assignment into an equality comparison 858 | if( dp = strchr(upath,'#') ) | ^ | == any2fdif.cc:932:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 932 | if( up = strrchr(upath,'/') ) | ~~~^~~~~~~~~~~~~~~~~~~~ any2fdif.cc:932:9: note: place parentheses around the assignment to silence this warning 932 | if( up = strrchr(upath,'/') ) | ^ | ( ) any2fdif.cc:932:9: note: use '==' to turn this assignment into an equality comparison 932 | if( up = strrchr(upath,'/') ) | ^ | == any2fdif.cc:954:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 954 | if( dp = strstr(basedir,"//") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:954:9: note: place parentheses around the assignment to silence this warning 954 | if( dp = strstr(basedir,"//") ){ | ^ | ( ) any2fdif.cc:954:9: note: use '==' to turn this assignment into an equality comparison 954 | if( dp = strstr(basedir,"//") ){ | ^ | == any2fdif.cc:957:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 957 | if( tp = strpbrk(dp,"?") ) | ~~~^~~~~~~~~~~~~~~~~ any2fdif.cc:957:10: note: place parentheses around the assignment to silence this warning 957 | if( tp = strpbrk(dp,"?") ) | ^ | ( ) any2fdif.cc:957:10: note: use '==' to turn this assignment into an equality comparison 957 | if( tp = strpbrk(dp,"?") ) | ^ | == any2fdif.cc:959:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 959 | if( tp = strchr(dp,'/') ) | ~~~^~~~~~~~~~~~~~~~ any2fdif.cc:959:10: note: place parentheses around the assignment to silence this warning 959 | if( tp = strchr(dp,'/') ) | ^ | ( ) any2fdif.cc:959:10: note: use '==' to turn this assignment into an equality comparison 959 | if( tp = strchr(dp,'/') ) | ^ | == any2fdif.cc:962:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 962 | if( tp = strrchr(dp,'/') ) | ~~~^~~~~~~~~~~~~~~~~ any2fdif.cc:962:10: note: place parentheses around the assignment to silence this warning 962 | if( tp = strrchr(dp,'/') ) | ^ | ( ) any2fdif.cc:962:10: note: use '==' to turn this assignment into an equality comparison 962 | if( tp = strrchr(dp,'/') ) | ^ | == any2fdif.cc:986:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 986 | if( lp = strpbrk(line,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:986:10: note: place parentheses around the assignment to silence this warning 986 | if( lp = strpbrk(line,"\r\n") ) | ^ | ( ) any2fdif.cc:986:10: note: use '==' to turn this assignment into an equality comparison 986 | if( lp = strpbrk(line,"\r\n") ) | ^ | == any2fdif.cc:1121:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1121 | if( dp = strchr(url,'#') ) | ~~~^~~~~~~~~~~~~~~~~ any2fdif.cc:1121:11: note: place parentheses around the assignment to silence this warning 1121 | if( dp = strchr(url,'#') ) | ^ | ( ) any2fdif.cc:1121:11: note: use '==' to turn this assignment into an equality comparison 1121 | if( dp = strchr(url,'#') ) | ^ | == any2fdif.cc:1279:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1279 | if( dp = strpbrk(url,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:1279:12: note: place parentheses around the assignment to silence this warning 1279 | if( dp = strpbrk(url,"\r\n") ) | ^ | ( ) any2fdif.cc:1279:12: note: use '==' to turn this assignment into an equality comparison 1279 | if( dp = strpbrk(url,"\r\n") ) | ^ | == any2fdif.cc:1297:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1297 | if( dp = strpbrk(url,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:1297:10: note: place parentheses around the assignment to silence this warning 1297 | if( dp = strpbrk(url,"\r\n") ) | ^ | ( ) any2fdif.cc:1297:10: note: use '==' to turn this assignment into an equality comparison 1297 | if( dp = strpbrk(url,"\r\n") ) | ^ | == any2fdif.cc:1481:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1481 | if( env = getenv("FSXHOME") ){ | ~~~~^~~~~~~~~~~~~~~~~~~ any2fdif.cc:1481:12: note: place parentheses around the assignment to silence this warning 1481 | if( env = getenv("FSXHOME") ){ | ^ | ( ) any2fdif.cc:1481:12: note: use '==' to turn this assignment into an equality comparison 1481 | if( env = getenv("FSXHOME") ){ | ^ | == any2fdif.cc:1500:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1500 | if( dp = strrchr(outdir,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:1500:11: note: place parentheses around the assignment to silence this warning 1500 | if( dp = strrchr(outdir,'/') ){ | ^ | ( ) any2fdif.cc:1500:11: note: use '==' to turn this assignment into an equality comparison 1500 | if( dp = strrchr(outdir,'/') ){ | ^ | == any2fdif.cc:1666:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1666 | if( ocode = get_CHARCODE(0) ){ | ~~~~~~^~~~~~~~~~~~~~~~~ any2fdif.cc:1666:12: note: place parentheses around the assignment to silence this warning 1666 | if( ocode = get_CHARCODE(0) ){ | ^ | ( ) any2fdif.cc:1666:12: note: use '==' to turn this assignment into an equality comparison 1666 | if( ocode = get_CHARCODE(0) ){ | ^ | == any2fdif.cc:1692:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1692 | if( dp = strrchr(execpath,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:1692:10: note: place parentheses around the assignment to silence this warning 1692 | if( dp = strrchr(execpath,'/') ){ | ^ | ( ) any2fdif.cc:1692:10: note: use '==' to turn this assignment into an equality comparison 1692 | if( dp = strrchr(execpath,'/') ){ | ^ | == any2fdif.cc:1698:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1698 | if( dp = strrchr(rx,'/') ) | ~~~^~~~~~~~~~~~~~~~~ any2fdif.cc:1698:11: note: place parentheses around the assignment to silence this warning 1698 | if( dp = strrchr(rx,'/') ) | ^ | ( ) any2fdif.cc:1698:11: note: use '==' to turn this assignment into an equality comparison 1698 | if( dp = strrchr(rx,'/') ) | ^ | == any2fdif.cc:1759:28: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] 1759 | struct sed_env *sed_new(); | ^~ any2fdif.cc:1759:28: note: replace parentheses with an initializer to declare a variable 1759 | struct sed_env *sed_new(); | ^~ | = NULL any2fdif.cc:2012:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2012 | for( sp = src; ch = *sp; sp++ ){ | ~~~^~~~~ any2fdif.cc:2012:20: note: place parentheses around the assignment to silence this warning 2012 | for( sp = src; ch = *sp; sp++ ){ | ^ | ( ) any2fdif.cc:2012:20: note: use '==' to turn this assignment into an equality comparison 2012 | for( sp = src; ch = *sp; sp++ ){ | ^ | == any2fdif.cc:2111:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2111 | for( lp = line; ch = *lp; lp++ ){ | ~~~^~~~~ any2fdif.cc:2111:21: note: place parentheses around the assignment to silence this warning 2111 | for( lp = line; ch = *lp; lp++ ){ | ^ | ( ) any2fdif.cc:2111:21: note: use '==' to turn this assignment into an equality comparison 2111 | for( lp = line; ch = *lp; lp++ ){ | ^ | == any2fdif.cc:2148:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2148 | if( dp = strchr(line,':') ) | ~~~^~~~~~~~~~~~~~~~~~ any2fdif.cc:2148:10: note: place parentheses around the assignment to silence this warning 2148 | if( dp = strchr(line,':') ) | ^ | ( ) any2fdif.cc:2148:10: note: use '==' to turn this assignment into an equality comparison 2148 | if( dp = strchr(line,':') ) | ^ | == any2fdif.cc:2149:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2149 | if( dp = strchr(dp+1,'(') ) | ~~~^~~~~~~~~~~~~~~~~~ any2fdif.cc:2149:10: note: place parentheses around the assignment to silence this warning 2149 | if( dp = strchr(dp+1,'(') ) | ^ | ( ) any2fdif.cc:2149:10: note: use '==' to turn this assignment into an equality comparison 2149 | if( dp = strchr(dp+1,'(') ) | ^ | == any2fdif.cc:2150:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2150 | if( dp = strchr(dp+1,')') ) | ~~~^~~~~~~~~~~~~~~~~~ any2fdif.cc:2150:10: note: place parentheses around the assignment to silence this warning 2150 | if( dp = strchr(dp+1,')') ) | ^ | ( ) any2fdif.cc:2150:10: note: use '==' to turn this assignment into an equality comparison 2150 | if( dp = strchr(dp+1,')') ) | ^ | == any2fdif.cc:2163:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2163 | for( dp = line; ch = *dp; dp++ ){ | ~~~^~~~~ any2fdif.cc:2163:21: note: place parentheses around the assignment to silence this warning 2163 | for( dp = line; ch = *dp; dp++ ){ | ^ | ( ) any2fdif.cc:2163:21: note: use '==' to turn this assignment into an equality comparison 2163 | for( dp = line; ch = *dp; dp++ ){ | ^ | == any2fdif.cc:2195:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2195 | for( ip = inb; ch = *ip; ip++ ){ | ~~~^~~~~ any2fdif.cc:2195:21: note: place parentheses around the assignment to silence this warning 2195 | for( ip = inb; ch = *ip; ip++ ){ | ^ | ( ) any2fdif.cc:2195:21: note: use '==' to turn this assignment into an equality comparison 2195 | for( ip = inb; ch = *ip; ip++ ){ | ^ | == any2fdif.cc:2199:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2199 | }else | ^ any2fdif.cc:2221:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2221 | for( ip = inb; ch = *ip; ip++ ){ | ~~~^~~~~ any2fdif.cc:2221:22: note: place parentheses around the assignment to silence this warning 2221 | for( ip = inb; ch = *ip; ip++ ){ | ^ | ( ) any2fdif.cc:2221:22: note: use '==' to turn this assignment into an equality comparison 2221 | for( ip = inb; ch = *ip; ip++ ){ | ^ | == any2fdif.cc:2241:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2241 | if( issp = isspace(ch) ) | ~~~~~^~~~~~~~~~~~~ any2fdif.cc:2241:14: note: place parentheses around the assignment to silence this warning 2241 | if( issp = isspace(ch) ) | ^ | ( ) any2fdif.cc:2241:14: note: use '==' to turn this assignment into an equality comparison 2241 | if( issp = isspace(ch) ) | ^ | == any2fdif.cc:2405:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2405 | 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 2405 | 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 2405 | 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] 2474 | if( dp = strrpbrk(path,"/\\") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:2474:9: note: place parentheses around the assignment to silence this warning 2474 | if( dp = strrpbrk(path,"/\\") ) | ^ | ( ) any2fdif.cc:2474:9: note: use '==' to turn this assignment into an equality comparison 2474 | if( dp = strrpbrk(path,"/\\") ) | ^ | == any2fdif.cc:2516:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2516 | if( dp = strrpbrk(xpath,"/\\") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:2516:10: note: place parentheses around the assignment to silence this warning 2516 | if( dp = strrpbrk(xpath,"/\\") ){ | ^ | ( ) any2fdif.cc:2516:10: note: use '==' to turn this assignment into an equality comparison 2516 | if( dp = strrpbrk(xpath,"/\\") ){ | ^ | == any2fdif.cc:2738:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2738 | if( sp = strchr(fval,';') ) | ~~~^~~~~~~~~~~~~~~~~~ any2fdif.cc:2738:12: note: place parentheses around the assignment to silence this warning 2738 | if( sp = strchr(fval,';') ) | ^ | ( ) any2fdif.cc:2738:12: note: use '==' to turn this assignment into an equality comparison 2738 | if( sp = strchr(fval,';') ) | ^ | == any2fdif.cc:2818:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2818 | if( ecode = scanText(in,Tmp0,AVStr(charset),apath) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:2818:13: note: place parentheses around the assignment to silence this warning 2818 | if( ecode = scanText(in,Tmp0,AVStr(charset),apath) ) | ^ | ( ) any2fdif.cc:2818:13: note: use '==' to turn this assignment into an equality comparison 2818 | 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] 2829 | if( ecode = scanText(Tmp0,Tmp1,AVStr(charset),apath) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:2829:14: note: place parentheses around the assignment to silence this warning 2829 | if( ecode = scanText(Tmp0,Tmp1,AVStr(charset),apath) ) | ^ | ( ) any2fdif.cc:2829:14: note: use '==' to turn this assignment into an equality comparison 2829 | 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] 2917 | if( ap = strchr(Author,'<') ){ | ~~~^~~~~~~~~~~~~~~~~~~~ any2fdif.cc:2917:11: note: place parentheses around the assignment to silence this warning 2917 | if( ap = strchr(Author,'<') ){ | ^ | ( ) any2fdif.cc:2917:11: note: use '==' to turn this assignment into an equality comparison 2917 | if( ap = strchr(Author,'<') ){ | ^ | == any2fdif.cc:2946:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2946 | for( ip = inb; ch = *ip; ip++ ){ | ~~~^~~~~ any2fdif.cc:2946:21: note: place parentheses around the assignment to silence this warning 2946 | for( ip = inb; ch = *ip; ip++ ){ | ^ | ( ) any2fdif.cc:2946:21: note: use '==' to turn this assignment into an equality comparison 2946 | for( ip = inb; ch = *ip; ip++ ){ | ^ | == any2fdif.cc:2950:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2950 | }else | ^ any2fdif.cc:3012:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3012 | for( ip = inb; ch = *ip; ip++ ){ | ~~~^~~~~ any2fdif.cc:3012:23: note: place parentheses around the assignment to silence this warning 3012 | for( ip = inb; ch = *ip; ip++ ){ | ^ | ( ) any2fdif.cc:3012:23: note: use '==' to turn this assignment into an equality comparison 3012 | for( ip = inb; ch = *ip; ip++ ){ | ^ | == any2fdif.cc:3038:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3038 | if( issp = isspace(ch) ) | ~~~~~^~~~~~~~~~~~~ any2fdif.cc:3038:15: note: place parentheses around the assignment to silence this warning 3038 | if( issp = isspace(ch) ) | ^ | ( ) any2fdif.cc:3038:15: note: use '==' to turn this assignment into an equality comparison 3038 | if( issp = isspace(ch) ) | ^ | == any2fdif.cc:3075:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3075 | if( ap = strcasestr(Address,"mail") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:3075:10: note: place parentheses around the assignment to silence this warning 3075 | if( ap = strcasestr(Address,"mail") ){ | ^ | ( ) any2fdif.cc:3075:10: note: use '==' to turn this assignment into an equality comparison 3075 | if( ap = strcasestr(Address,"mail") ){ | ^ | == any2fdif.cc:3083:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3083 | if( ap = strcasestr(Address," by ") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:3083:10: note: place parentheses around the assignment to silence this warning 3083 | if( ap = strcasestr(Address," by ") ){ | ^ | ( ) any2fdif.cc:3083:10: note: use '==' to turn this assignment into an equality comparison 3083 | if( ap = strcasestr(Address," by ") ){ | ^ | == any2fdif.cc:3325:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3325 | if( dp = strstr(xline,"') ){ | ~~~^~~~~~~~~~~~~~~~ any2fdif.cc:3327:12: note: place parentheses around the assignment to silence this warning 3327 | if( ep = strchr(dp,'>') ){ | ^ | ( ) any2fdif.cc:3327:12: note: use '==' to turn this assignment into an equality comparison 3327 | if( ep = strchr(dp,'>') ){ | ^ | == any2fdif.cc:3493:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3493 | if( xp = strstr(authcand,"--") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:3493:12: note: place parentheses around the assignment to silence this warning 3493 | if( xp = strstr(authcand,"--") ) | ^ | ( ) any2fdif.cc:3493:12: note: use '==' to turn this assignment into an equality comparison 3493 | if( xp = strstr(authcand,"--") ) | ^ | == any2fdif.cc:3512:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3512 | if( end = (ch == '/') ){ | ~~~~^~~~~~~~~~~~~ any2fdif.cc:3512:11: note: place parentheses around the assignment to silence this warning 3512 | if( end = (ch == '/') ){ | ^ | ( ) any2fdif.cc:3512:11: note: use '==' to turn this assignment into an equality comparison 3512 | if( end = (ch == '/') ){ | ^ | == any2fdif.cc:3581:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3581 | if( adp = strchr(Author,'?') ) | ~~~~^~~~~~~~~~~~~~~~~~~~ any2fdif.cc:3581:13: note: place parentheses around the assignment to silence this warning 3581 | if( adp = strchr(Author,'?') ) | ^ | ( ) any2fdif.cc:3581:13: note: use '==' to turn this assignment into an equality comparison 3581 | if( adp = strchr(Author,'?') ) | ^ | == any2fdif.cc:3661:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 3661 | else{ | ^ any2fdif.cc:3669:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3669 | if( qp = strchr(con,'?') ) | ~~~^~~~~~~~~~~~~~~~~ any2fdif.cc:3669:12: note: place parentheses around the assignment to silence this warning 3669 | if( qp = strchr(con,'?') ) | ^ | ( ) any2fdif.cc:3669:12: note: use '==' to turn this assignment into an equality comparison 3669 | if( qp = strchr(con,'?') ) | ^ | == any2fdif.cc:4044:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4044 | if( tp = strstr(s,p) ) | ~~~^~~~~~~~~~~~~ any2fdif.cc:4044:9: note: place parentheses around the assignment to silence this warning 4044 | if( tp = strstr(s,p) ) | ^ | ( ) any2fdif.cc:4044:9: note: use '==' to turn this assignment into an equality comparison 4044 | if( tp = strstr(s,p) ) | ^ | == any2fdif.cc:4094:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4094 | if( dp = strcasestr(fval,"charset=") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:4094:9: note: place parentheses around the assignment to silence this warning 4094 | if( dp = strcasestr(fval,"charset=") ){ | ^ | ( ) any2fdif.cc:4094:9: note: use '==' to turn this assignment into an equality comparison 4094 | if( dp = strcasestr(fval,"charset=") ){ | ^ | == any2fdif.cc:4119:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4119 | for( cp = author; ch = *cp; cp++ ){ | ~~~^~~~~ any2fdif.cc:4119:23: note: place parentheses around the assignment to silence this warning 4119 | for( cp = author; ch = *cp; cp++ ){ | ^ | ( ) any2fdif.cc:4119:23: note: use '==' to turn this assignment into an equality comparison 4119 | for( cp = author; ch = *cp; cp++ ){ | ^ | == any2fdif.cc:4131:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4131 | if( cp = strcasestr(author,"All Right") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:4131:9: note: place parentheses around the assignment to silence this warning 4131 | if( cp = strcasestr(author,"All Right") ) | ^ | ( ) any2fdif.cc:4131:9: note: use '==' to turn this assignment into an equality comparison 4131 | if( cp = strcasestr(author,"All Right") ) | ^ | == any2fdif.cc:4196:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4196 | if( cp = strstr(copyr,"©") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:4196:9: note: place parentheses around the assignment to silence this warning 4196 | if( cp = strstr(copyr,"©") ){ | ^ | ( ) any2fdif.cc:4196:9: note: use '==' to turn this assignment into an equality comparison 4196 | if( cp = strstr(copyr,"©") ){ | ^ | == any2fdif.cc:4210:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4210 | if( cp = strcasestr(copyr,"Copyright") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:4210:9: note: place parentheses around the assignment to silence this warning 4210 | if( cp = strcasestr(copyr,"Copyright") ){ | ^ | ( ) any2fdif.cc:4210:9: note: use '==' to turn this assignment into an equality comparison 4210 | if( cp = strcasestr(copyr,"Copyright") ){ | ^ | == any2fdif.cc:4237:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4237 | if( np = strcasestr(cp,"Copyright") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:4237:11: note: place parentheses around the assignment to silence this warning 4237 | if( np = strcasestr(cp,"Copyright") ){ | ^ | ( ) any2fdif.cc:4237:11: note: use '==' to turn this assignment into an equality comparison 4237 | if( np = strcasestr(cp,"Copyright") ){ | ^ | == any2fdif.cc:4256:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4256 | if( cp = strcasestr(copyr,"All Rights") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:4256:9: note: place parentheses around the assignment to silence this warning 4256 | if( cp = strcasestr(copyr,"All Rights") ){ | ^ | ( ) any2fdif.cc:4256:9: note: use '==' to turn this assignment into an equality comparison 4256 | if( cp = strcasestr(copyr,"All Rights") ){ | ^ | == any2fdif.cc:4259:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4259 | if( cp = strcasestr(cp,"Reserved by") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:4259:10: note: place parentheses around the assignment to silence this warning 4259 | if( cp = strcasestr(cp,"Reserved by") ){ | ^ | ( ) any2fdif.cc:4259:10: note: use '==' to turn this assignment into an equality comparison 4259 | if( cp = strcasestr(cp,"Reserved by") ){ | ^ | == any2fdif.cc:4325:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4325 | if( cleng = isMultiBytesChar(sp) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:4325:13: note: place parentheses around the assignment to silence this warning 4325 | if( cleng = isMultiBytesChar(sp) ){ | ^ | ( ) any2fdif.cc:4325:13: note: use '==' to turn this assignment into an equality comparison 4325 | if( cleng = isMultiBytesChar(sp) ){ | ^ | == any2fdif.cc:4371:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4371 | if( xfp = fopen_PATH(vpath,file,mode,AVStr(fullpath)/*,size*/) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:4371:10: note: place parentheses around the assignment to silence this warning 4371 | if( xfp = fopen_PATH(vpath,file,mode,AVStr(fullpath)/*,size*/) ){ | ^ | ( ) any2fdif.cc:4371:10: note: use '==' to turn this assignment into an equality comparison 4371 | 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] 4390 | if( env = getenv("PATH") ){ | ~~~~^~~~~~~~~~~~~~~~ any2fdif.cc:4390:10: note: place parentheses around the assignment to silence this warning 4390 | if( env = getenv("PATH") ){ | ^ | ( ) any2fdif.cc:4390:10: note: use '==' to turn this assignment into an equality comparison 4390 | if( env = getenv("PATH") ){ | ^ | == any2fdif.cc:4406:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4406 | if( dp = strrchr(rpath,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~~~ any2fdif.cc:4406:9: note: place parentheses around the assignment to silence this warning 4406 | if( dp = strrchr(rpath,'/') ){ | ^ | ( ) any2fdif.cc:4406:9: note: use '==' to turn this assignment into an equality comparison 4406 | if( dp = strrchr(rpath,'/') ){ | ^ | == any2fdif.cc:4427:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4427 | if( ufrom = (strncmp(head,"From ",5) == 0) ){ /* Unix mailbox format */ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:4427:12: note: place parentheses around the assignment to silence this warning 4427 | if( ufrom = (strncmp(head,"From ",5) == 0) ){ /* Unix mailbox format */ | ^ | ( ) any2fdif.cc:4427:12: note: use '==' to turn this assignment into an equality comparison 4427 | if( ufrom = (strncmp(head,"From ",5) == 0) ){ /* Unix mailbox format */ | ^ | == any2fdif.cc:4564:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4564 | for( s = (char*)str; ch = *s; s++ ){ | ~~~^~~~ any2fdif.cc:4564:26: note: place parentheses around the assignment to silence this warning 4564 | for( s = (char*)str; ch = *s; s++ ){ | ^ | ( ) any2fdif.cc:4564:26: note: use '==' to turn this assignment into an equality comparison 4564 | for( s = (char*)str; ch = *s; s++ ){ | ^ | == 74 warnings generated. rm -f libfsx.a ar cr libfsx.a any2fdif.o /usr/bin/ranlib libfsx.a gmake[4]: Leaving directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/fsx' gmake[3]: Leaving directory '/wrkdirs/usr/ports/net/delegate/work/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: 1773311529 -> 1773311530 ../gen/htaccept.h ../mkcpp opt_s_htaccept.c opt_s_htaccept._.c -- mkcpp set time: 1773311529 -> 1414752137 opt_s_htaccept._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c opt_s_htaccept._.c -o opt_s_htaccept.o -DOPT_S opt_s_htaccept._.c:66:55: warning: '/*' within block comment [-Wcomment] 66 | ACCEPT http://host:port/path -->> MOUNT="/path/* http://client/*" | ^ opt_s_htaccept._.c:66:71: warning: '/*' within block comment [-Wcomment] 66 | 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: 1773311531 -> 1773311532 ../gen/sox.h ../mkcpp opt_s_sox.c opt_s_sox._.c -- mkcpp set time: 1773311531 -> 1414752137 opt_s_sox._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -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: 1773311533 -> 1773311534 ../gen/stls.h ../mkcpp opt_s_stls.c opt_s_stls._.c -- mkcpp set time: 1773311533 -> 1414752137 opt_s_stls._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -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: 1773311534 -> 1773311535 ../gen/vsap.h ../mkcpp opt_s_vsap.c opt_s_vsap._.c -- mkcpp set time: 1773311534 -> 1414752137 opt_s_vsap._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c opt_s_vsap._.c -o opt_s_vsap.o -DOPT_S opt_s_vsap._.c:114:22: warning: '/*' within block comment [-Wcomment] 114 | ... 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: 1773311536 -> 1773311537 ../gen/caps.h ../mkcpp opt_s_caps.c opt_s_caps._.c -- mkcpp set time: 1773311536 -> 1414752137 opt_s_caps._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -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 "/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe" -makeat ../lib/libsubst.a ../maker libsubst.a "/usr/local/bin/gmake" libx MAKE="/usr/local/bin/gmake" SHELL="/bin/sh" CC="cc" HDRDIR="-I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing " RANLIB="/usr/bin/ranlib" LDFLAGS=" -L../lib" LIBDIR="-L../lib" NETLIB="-ldl -lutil -lpthread -lpam -lstdc++" AR="ar" TAR="tar" CFLAGS="-O2 -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 -ldl -lutil -lpthread -lpam -lstdc++ ../lib/library.a ../lib/libgates.a -lc" ---- testing CC capability [cc][-O2 -x c++ -DQS -DNONC99=3 ][] ... *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 1 error generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c ---- LD exit(256) cc _.o -lstdc++ *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c _.c:1:16: error: flexible array member 'A' with type 'char[]' is not at the end of struct 1 | struct _S{char A[]; char B[1];}S; | ^ _.c:1:26: note: next field declaration is here 1 | struct _S{char A[]; char B[1];}S; | ^ _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 2 errors generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c ---- LD exit(256) cc _.o -lstdc++ *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 1 error generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c ---- LD exit(256) cc _.o -lstdc++ [cc -c -O2 -x c++ -DQS -DNONC99=3 ] NONC99=2, NONAZ0=6 @pkg.DaveG.ca ####### -makeat: /wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/maker @pkg.DaveG.ca gmake[3]: Entering directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/maker' "/wrkdirs/usr/ports/net/delegate/work/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 "/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe" -unlink libsubst.a.list *** exit(-1): -unlink at /wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/maker [0] /wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe [1] libsubst.a.list gmake[3]: [Makefile:230: Makefile.go] Error 255 (ignored) "/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe" -unlink libsubstx.a.list *** exit(-1): -unlink at /wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/maker [0] /wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe [1] libsubstx.a.list gmake[3]: [Makefile:231: Makefile.go] Error 255 (ignored) "/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe" -mkmake "/usr/local/bin/gmake" Makefile.go "cc" "-O2 -x c++ -DQS -DNONC99=3 -Dm64 " "" "-L../lib" "/usr/bin/ranlib" "-ldl -lutil -lpthread -lpam -lstdc++" NETLIB ---- testing CC capability [cc][-O2 -x c++ -DQS -DNONC99=3 -Dm64 ][] ... *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 1 error generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c ---- LD exit(256) cc _.o -lstdc++ *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c _.c:1:16: error: flexible array member 'A' with type 'char[]' is not at the end of struct 1 | struct _S{char A[]; char B[1];}S; | ^ _.c:1:26: note: next field declaration is here 1 | struct _S{char A[]; char B[1];}S; | ^ _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 2 errors generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c ---- LD exit(256) cc _.o -lstdc++ *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 1 error generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c ---- LD exit(256) cc _.o -lstdc++ mkmake: cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/maker]: cannot read 'DELEGATE_CONF' [cc -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 ] NONC99=2, NONAZ0=6 @pkg.DaveG.ca #### [/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/maker] creating Makefile.go cpyfile Makefile[1-0][0-20183e] > Makefile.go #ifdef UNIX,OS2EMX ################################################ [SET] MKMAKE=/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe [SET] RANLIB=/usr/bin/ranlib - checking availability of -ldl [] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/maker]: cannot read 'DELEGATE_CONF' - checking availability of -lutil [-ldl] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/maker]: cannot read 'DELEGATE_CONF' - checking availability of -lpthread [-ldl -lutil] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/maker]: cannot read 'DELEGATE_CONF' - checking availability of -lpam [-ldl -lutil -lpthread] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/maker]: cannot read 'DELEGATE_CONF' - checking availability of -lstdc++ [-ldl -lutil -lpthread -lpam] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/maker]: cannot read 'DELEGATE_CONF' [SET] NETLIB=-ldl -lutil -lpthread -lpam -lstdc++ cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/maker]: cannot read 'DELEGATE_CONF' cpyfile Makefile[0-0][2026f4-0] > Makefile.go #ifdef UNIX,OS2EMX ################################################ /usr/local/bin/gmake -f Makefile.go libsubst.a MAKEFILE=Makefile.go MKMAKE="/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe" SHELL="/bin/sh" HDRDIR="-I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing " LIBDIR="-L../lib" LDFLAGS="-L../lib" gmake[4]: Entering directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/maker' rm -f libtemp.a "/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe" -subst libck "/usr/local/bin/gmake" "Makefile.go" "cc" "-O2 -x c++ -DQS -DNONC99=3 -Dm64 " "-I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing " "/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 -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 [cc][-O2 -x c++ -DQS -DNONC99=3 -Dm64 ][] ... *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 1 error generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c ---- LD exit(256) cc _.o -lstdc++ *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c _.c:1:16: error: flexible array member 'A' with type 'char[]' is not at the end of struct 1 | struct _S{char A[]; char B[1];}S; | ^ _.c:1:26: note: next field declaration is here 1 | struct _S{char A[]; char B[1];}S; | ^ _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 2 errors generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c ---- LD exit(256) cc _.o -lstdc++ *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 1 error generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c ---- LD exit(256) cc _.o -lstdc++ -- checking CC = cc -- checking CC with CFLAGS = cc -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 ##ERROR## *** ##ERROR## cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c ##ERROR## _.c:1:1: error: a type specifier is required for all declarations ##ERROR## 1 | main(){ } ##ERROR## | ^ ##ERROR## 1 error generated. ##ERROR## FATAL!!!!: Something wrong in the CFLAGS. -- checking LDLIBS = ../lib/libresolvy.a ../lib/libteleport.a ../lib/libmd5.a ../lib/libcfi.a ../lib/library.a ../lib/libgates.a ../lib/libmimekit.a ../lib/libfsx.a -ldl -lutil -lpthread -lpam -lstdc++ ../lib/library.a ../lib/libgates.a -lc ** CC CFLAGS LIBS and socket library are OK. [cc -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 ] NONC99=2, NONAZ0=6 @pkg.DaveG.ca MAKE=/usr/local/bin/gmake MAKEFILE=Makefile.go CC=cc CFLAGS=-O2 -x c++ -DQS -DNONC99=3 -Dm64 HDRDIR=-I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing 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 -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 "/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe" -subst libmk "/usr/local/bin/gmake" "Makefile.go" "cc" "-O2 -x c++ -DQS -DNONC99=3 -Dm64 " "-I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing " "/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 -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 [cc][-O2 -x c++ -DQS -DNONC99=3 -Dm64 ][] ... *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 1 error generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c ---- LD exit(256) cc _.o -lstdc++ *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c _.c:1:16: error: flexible array member 'A' with type 'char[]' is not at the end of struct 1 | struct _S{char A[]; char B[1];}S; | ^ _.c:1:26: note: next field declaration is here 1 | struct _S{char A[]; char B[1];}S; | ^ _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 2 errors generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c ---- LD exit(256) cc _.o -lstdc++ *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 1 error generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c ---- LD exit(256) cc _.o -lstdc++ ** mksubst ** where: ../src compile: cc -O2 -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 -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 [cc -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 ] NONC99=2, NONAZ0=6 @pkg.DaveG.ca MAKE=/usr/local/bin/gmake MAKEFILE=Makefile.go CC=cc CFLAGS=-O2 -x c++ -DQS -DNONC99=3 -Dm64 HDRDIR=-I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing 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 -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 '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/maker/libsubst.a.list' (175) #### mksubst errors to /wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/maker/errors: 1773311718 gmake[5]: Entering directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/maker' ../mkcpp dummy.c dummy.cc -- mkcpp set time: 1773311718 -> 1250403944 dummy.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c dummy.cc ../mkcpp gxx.c gxx.cc -- mkcpp set time: 1773311719 -> 1250403944 gxx.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c gxx.cc ../mkcpp p2ll.c p2ll.cc -- mkcpp set time: 1773311720 -> 1264762184 p2ll.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c p2ll.cc ../mkcpp p2i.c p2i.cc -- mkcpp set time: 1773311721 -> 1250437127 p2i.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c p2i.cc ../mkcpp dlopen.c dlopen.cc -- mkcpp set time: 1773311723 -> 1250403944 dlopen.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c dlopen.cc ../mkcpp __uname.c __uname.cc -- mkcpp set time: 1773311724 -> 1250403944 __uname.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c __uname.cc ../mkcpp uname.c uname.cc -- mkcpp set time: 1773311726 -> 1250403944 uname.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c uname.cc ../mkcpp bcopy.c bcopy.cc -- mkcpp set time: 1773311727 -> 1250403944 bcopy.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c bcopy.cc ../mkcpp bzero.c bzero.cc -- mkcpp set time: 1773311729 -> 1250403944 bzero.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c bzero.cc ../mkcpp putenv.c putenv.cc -- mkcpp set time: 1773311731 -> 1250403944 putenv.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c putenv.cc ../mkcpp unsetenv.c unsetenv.cc -- mkcpp set time: 1773311732 -> 1258383662 unsetenv.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c unsetenv.cc ../mkcpp unsetenv_.c unsetenv_.cc -- mkcpp set time: 1773311733 -> 1258383683 unsetenv_.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c unsetenv_.cc ../mkcpp __alloca.c __alloca.cc -- mkcpp set time: 1773311735 -> 1264832949 __alloca.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c __alloca.cc ../mkcpp old_alloca.c old_alloca.cc -- mkcpp set time: 1773311736 -> 1250403944 old_alloca.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c old_alloca.cc ../mkcpp alloca.c alloca.cc -- mkcpp set time: 1773311738 -> 1250403944 alloca.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c alloca.cc ../mkcpp __malloc_size.c __malloc_size.cc -- mkcpp set time: 1773311739 -> 1250403944 __malloc_size.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c __malloc_size.cc ../mkcpp malloc_size.c malloc_size.cc -- mkcpp set time: 1773311740 -> 1250403944 malloc_size.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c malloc_size.cc ../mkcpp killpg.c killpg.cc -- mkcpp set time: 1773311742 -> 1250403944 killpg.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c killpg.cc ../mkcpp setsid.c setsid.cc -- mkcpp set time: 1773311743 -> 1250403944 setsid.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c setsid.cc ../mkcpp sigmask.c sigmask.cc -- mkcpp set time: 1773311744 -> 1250403944 sigmask.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c sigmask.cc ../mkcpp sigsetmask.c sigsetmask.cc -- mkcpp set time: 1773311745 -> 1250403944 sigsetmask.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c sigsetmask.cc ../mkcpp setresuid.c setresuid.cc -- mkcpp set time: 1773311747 -> 1250403944 setresuid.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c setresuid.cc ../mkcpp seteuid.c seteuid.cc -- mkcpp set time: 1773311747 -> 1250403944 seteuid.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c seteuid.cc ../mkcpp setegid.c setegid.cc -- mkcpp set time: 1773311749 -> 1250403944 setegid.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c setegid.cc ../mkcpp unaligned.c unaligned.cc -- mkcpp set time: 1773311750 -> 1250403944 unaligned.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c unaligned.cc ../mkcpp timegm.c timegm.cc -- mkcpp set time: 1773311751 -> 1250403944 timegm.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c timegm.cc ../mkcpp __usleep.c __usleep.cc -- mkcpp set time: 1773311752 -> 1250403944 __usleep.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c __usleep.cc ../mkcpp usleep.c usleep.cc -- mkcpp set time: 1773311752 -> 1250403944 usleep.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c usleep.cc ../mkcpp __ualarm.c __ualarm.cc -- mkcpp set time: 1773311753 -> 1399581242 __ualarm.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c __ualarm.cc ../mkcpp ualarm.c ualarm.cc -- mkcpp set time: 1773311755 -> 1399581414 ualarm.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c ualarm.cc ../mkcpp _-poll.c _-poll.cc -- mkcpp set time: 1773311755 -> 1285540963 _-poll.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c _-poll.cc ../mkcpp _-select.c _-select.cc -- mkcpp set time: 1773311756 -> 1285419288 _-select.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c _-select.cc ../mkcpp _-poll1.c _-poll1.cc -- mkcpp set time: 1773311758 -> 1264723126 _-poll1.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c _-poll1.cc ../mkcpp _-poll2.c _-poll2.cc -- mkcpp set time: 1773311758 -> 1264723169 _-poll2.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c _-poll2.cc ../mkcpp _-recv.c _-recv.cc -- mkcpp set time: 1773311760 -> 1250403944 _-recv.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c _-recv.cc ../mkcpp sendFd1.c sendFd1.cc -- mkcpp set time: 1773311761 -> 1250403944 sendFd1.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c sendFd1.cc ../mkcpp sendFd2.c sendFd2.cc -- mkcpp set time: 1773311762 -> 1250403944 sendFd2.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c sendFd2.cc ../mkcpp sendFd3.c sendFd3.cc -- mkcpp set time: 1773311763 -> 1250403944 sendFd3.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c sendFd3.cc ../mkcpp closesocket.c closesocket.cc -- mkcpp set time: 1773311763 -> 1250403944 closesocket.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c closesocket.cc ../mkcpp yp_match.c yp_match.cc -- mkcpp set time: 1773311764 -> 1260929635 yp_match.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c yp_match.cc ../mkcpp endhostent.c endhostent.cc -- mkcpp set time: 1773311765 -> 1250403944 endhostent.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c endhostent.cc ../mkcpp gethostbyname2.c gethostbyname2.cc -- mkcpp set time: 1773311766 -> 1267700225 gethostbyname2.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c gethostbyname2.cc ../mkcpp __gethostbyname2.c __gethostbyname2.cc -- mkcpp set time: 1773311767 -> 1267610683 __gethostbyname2.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c __gethostbyname2.cc ../mkcpp socklen_u.c socklen_u.cc -- mkcpp set time: 1773311768 -> 1250403944 socklen_u.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c socklen_u.cc ../mkcpp socklen_s.c socklen_s.cc -- mkcpp set time: 1773311768 -> 1250403944 socklen_s.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c socklen_s.cc ../mkcpp socketpair.c socketpair.cc -- mkcpp set time: 1773311769 -> 1250403944 socketpair.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c socketpair.cc ../mkcpp inet_aton.c inet_aton.cc -- mkcpp set time: 1773311769 -> 1250403944 inet_aton.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c inet_aton.cc ../mkcpp _-setferror.c _-setferror.cc -- mkcpp set time: 1773311770 -> 1264830859 _-setferror.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c _-setferror.cc ../mkcpp setferror.c setferror.cc -- mkcpp set time: 1773311771 -> 1250403944 setferror.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c setferror.cc ../mkcpp strerror.c strerror.cc -- mkcpp set time: 1773311771 -> 1250403944 strerror.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c strerror.cc ../mkcpp snprintf.c snprintf.cc -- mkcpp set time: 1773311771 -> 1258811773 snprintf.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c snprintf.cc ../mkcpp strcasecmp.c strcasecmp.cc -- mkcpp set time: 1773311772 -> 1250403944 strcasecmp.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c strcasecmp.cc ../mkcpp _-strcasestr.c _-strcasestr.cc -- mkcpp set time: 1773311772 -> 1260957403 _-strcasestr.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c _-strcasestr.cc ../mkcpp strcasestr.c strcasestr.cc -- mkcpp set time: 1773311773 -> 1250403944 strcasestr.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c strcasestr.cc ../mkcpp strrcasestr.c strrcasestr.cc -- mkcpp set time: 1773311774 -> 1250403944 strrcasestr.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c strrcasestr.cc ../mkcpp strstr.c strstr.cc -- mkcpp set time: 1773311775 -> 1250403944 strstr.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c strstr.cc ../mkcpp strdup.c strdup.cc -- mkcpp set time: 1773311775 -> 1250403944 strdup.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c strdup.cc ../mkcpp strncpy.c strncpy.cc -- mkcpp set time: 1773311776 -> 1250403944 strncpy.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c strncpy.cc ../mkcpp setbuffer.c setbuffer.cc -- mkcpp set time: 1773311776 -> 1250403944 setbuffer.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c setbuffer.cc ../mkcpp setlinebuf.c setlinebuf.cc -- mkcpp set time: 1773311777 -> 1250403944 setlinebuf.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c setlinebuf.cc ../mkcpp __syslog.c __syslog.cc -- mkcpp set time: 1773311777 -> 1250403944 __syslog.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c __syslog.cc ../mkcpp syslog.c syslog.cc -- mkcpp set time: 1773311778 -> 1250403944 syslog.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c syslog.cc ../mkcpp __syscall.c __syscall.cc -- mkcpp set time: 1773311778 -> 1250403944 __syscall.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c __syscall.cc ../mkcpp __fork.c __fork.cc -- mkcpp set time: 1773311779 -> 1250403944 __fork.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c __fork.cc ../mkcpp fork.c fork.cc -- mkcpp set time: 1773311779 -> 1250403944 fork.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c fork.cc ../mkcpp __ptrace.c __ptrace.cc -- mkcpp set time: 1773311780 -> 1250403944 __ptrace.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c __ptrace.cc ../mkcpp _-ptrace.c _-ptrace.cc -- mkcpp set time: 1773311781 -> 1250403944 _-ptrace.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c _-ptrace.cc ../mkcpp ptrace.c ptrace.cc -- mkcpp set time: 1773311781 -> 1250403944 ptrace.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c ptrace.cc ../mkcpp __sigaction.c __sigaction.cc -- mkcpp set time: 1773311782 -> 1250403944 __sigaction.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c __sigaction.cc ../mkcpp sigaction.c sigaction.cc -- mkcpp set time: 1773311782 -> 1250403944 sigaction.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c sigaction.cc ../mkcpp __futimes.c __futimes.cc -- mkcpp set time: 1773311782 -> 1250403944 __futimes.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c __futimes.cc ../mkcpp futimes.c futimes.cc -- mkcpp set time: 1773311784 -> 1250403944 futimes.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c futimes.cc ../mkcpp futimes_.c futimes_.cc -- mkcpp set time: 1773311785 -> 1250403944 futimes_.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c futimes_.cc ../mkcpp __utimes.c __utimes.cc -- mkcpp set time: 1773311785 -> 1250403944 __utimes.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c __utimes.cc ../mkcpp utimes.c utimes.cc -- mkcpp set time: 1773311785 -> 1250403944 utimes.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c utimes.cc ../mkcpp fsync.c fsync.cc -- mkcpp set time: 1773311786 -> 1250403944 fsync.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c fsync.cc ../mkcpp __fchmod.c __fchmod.cc -- mkcpp set time: 1773311786 -> 1250403944 __fchmod.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c __fchmod.cc ../mkcpp fchmod.c fchmod.cc -- mkcpp set time: 1773311786 -> 1250403944 fchmod.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c fchmod.cc ../mkcpp __fchown.c __fchown.cc -- mkcpp set time: 1773311786 -> 1250403944 __fchown.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c __fchown.cc ../mkcpp fchown.c fchown.cc -- mkcpp set time: 1773311787 -> 1250403944 fchown.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c fchown.cc ../mkcpp chown.c chown.cc -- mkcpp set time: 1773311787 -> 1250403944 chown.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c chown.cc ../mkcpp __link.c __link.cc -- mkcpp set time: 1773311787 -> 1250403944 __link.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c __link.cc ../mkcpp link.c link.cc -- mkcpp set time: 1773311787 -> 1250403944 link.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c link.cc ../mkcpp __symlink.c __symlink.cc -- mkcpp set time: 1773311787 -> 1250403944 __symlink.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c __symlink.cc ../mkcpp symlink.c symlink.cc -- mkcpp set time: 1773311788 -> 1250403944 symlink.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c symlink.cc ../mkcpp readlink.c readlink.cc -- mkcpp set time: 1773311788 -> 1250403944 readlink.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c readlink.cc ../mkcpp __lstat.c __lstat.cc -- mkcpp set time: 1773311788 -> 1250403944 __lstat.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c __lstat.cc ../mkcpp lstat.c lstat.cc -- mkcpp set time: 1773311788 -> 1250403944 lstat.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c lstat.cc ../mkcpp __statvfs.c __statvfs.cc -- mkcpp set time: 1773311788 -> 1250403944 __statvfs.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c __statvfs.cc ../mkcpp _-statvfs.c _-statvfs.cc -- mkcpp set time: 1773311788 -> 1250403944 _-statvfs.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c _-statvfs.cc ../mkcpp statvfs.c statvfs.cc -- mkcpp set time: 1773311788 -> 1250403944 statvfs.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c statvfs.cc ../mkcpp vfork.c vfork.cc -- mkcpp set time: 1773311789 -> 1250403944 vfork.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c vfork.cc ../mkcpp wait3.c wait3.cc -- mkcpp set time: 1773311789 -> 1250403944 wait3.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c wait3.cc ../mkcpp waitpid.c waitpid.cc -- mkcpp set time: 1773311789 -> 1250403944 waitpid.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c waitpid.cc ../mkcpp getmsg.c getmsg.cc -- mkcpp set time: 1773311789 -> 1264188944 getmsg.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c getmsg.cc ../mkcpp chroot.c chroot.cc -- mkcpp set time: 1773311789 -> 1250403944 chroot.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c chroot.cc ../mkcpp nice.c nice.cc -- mkcpp set time: 1773311789 -> 1250403944 nice.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c nice.cc ../mkcpp __getrlimit.c __getrlimit.cc -- mkcpp set time: 1773311789 -> 1250403944 __getrlimit.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c __getrlimit.cc ../mkcpp getrlimit.c getrlimit.cc -- mkcpp set time: 1773311790 -> 1250403944 getrlimit.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c getrlimit.cc ../mkcpp _-getrusage.c _-getrusage.cc -- mkcpp set time: 1773311790 -> 1250403944 _-getrusage.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c _-getrusage.cc ../mkcpp getrusage.c getrusage.cc -- mkcpp set time: 1773311791 -> 1250403944 getrusage.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c getrusage.cc ../mkcpp ___spawnvp.c ___spawnvp.cc -- mkcpp set time: 1773311792 -> 1250403944 ___spawnvp.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c ___spawnvp.cc ../mkcpp __spawnvp.c __spawnvp.cc -- mkcpp set time: 1773311793 -> 1250403944 __spawnvp.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c __spawnvp.cc ../mkcpp _spawnvp.c _spawnvp.cc -- mkcpp set time: 1773311794 -> 1250403944 _spawnvp.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c _spawnvp.cc ../mkcpp spawnvp.c spawnvp.cc -- mkcpp set time: 1773311796 -> 1250403944 spawnvp.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c spawnvp.cc ../mkcpp spawnvp_.c spawnvp_.cc -- mkcpp set time: 1773311797 -> 1250403944 spawnvp_.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c spawnvp_.cc ../mkcpp __system.c __system.cc -- mkcpp set time: 1773311797 -> 1399867918 __system.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c __system.cc ../mkcpp _-system.c _-system.cc -- mkcpp set time: 1773311798 -> 1399868948 _-system.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c _-system.cc ../mkcpp _-mutex.c _-mutex.cc -- mkcpp set time: 1773311798 -> 1264830899 _-mutex.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c _-mutex.cc ../mkcpp mutex.c mutex.cc -- mkcpp set time: 1773311798 -> 1260321369 mutex.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c mutex.cc ../mkcpp __pthread_create.c __pthread_create.cc -- mkcpp set time: 1773311799 -> 1269170169 __pthread_create.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c __pthread_create.cc ../mkcpp ___lwp_create.c ___lwp_create.cc -- mkcpp set time: 1773311799 -> 1261016515 ___lwp_create.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c ___lwp_create.cc ../mkcpp __lwp_create.c __lwp_create.cc -- mkcpp set time: 1773311799 -> 1261016522 __lwp_create.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c __lwp_create.cc ../mkcpp _-pthread_create.c _-pthread_create.cc -- mkcpp set time: 1773311800 -> 1250403944 _-pthread_create.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c _-pthread_create.cc ../mkcpp __pthread_kill.c __pthread_kill.cc -- mkcpp set time: 1773311800 -> 1261023674 __pthread_kill.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c __pthread_kill.cc ../mkcpp pthread_kill.c pthread_kill.cc -- mkcpp set time: 1773311800 -> 1250403944 pthread_kill.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c pthread_kill.cc ../mkcpp ___beginthread.c ___beginthread.cc -- mkcpp set time: 1773311800 -> 1261016497 ___beginthread.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c ___beginthread.cc ../mkcpp nothread.c nothread.cc -- mkcpp set time: 1773311801 -> 1261023598 nothread.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c nothread.cc ../mkcpp __flock.c __flock.cc -- mkcpp set time: 1773311801 -> 1250403944 __flock.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c __flock.cc ../mkcpp _-fcntl.c _-fcntl.cc -- mkcpp set time: 1773311801 -> 1250403944 _-fcntl.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c _-fcntl.cc ../mkcpp flockfile.c flockfile.cc -- mkcpp set time: 1773311801 -> 1250403944 flockfile.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c flockfile.cc ../mkcpp FMODE.c FMODE.cc -- mkcpp set time: 1773311801 -> 1250403944 FMODE.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c FMODE.cc ../mkcpp getwd.c getwd.cc -- mkcpp set time: 1773311801 -> 1250403944 getwd.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c getwd.cc ../mkcpp getcwd.c getcwd.cc -- mkcpp set time: 1773311801 -> 1250403944 getcwd.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c getcwd.cc ../mkcpp __opendir.c __opendir.cc -- mkcpp set time: 1773311801 -> 1250403944 __opendir.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c __opendir.cc ../mkcpp __scandir.c __scandir.cc -- mkcpp set time: 1773311802 -> 1250403944 __scandir.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c __scandir.cc ../mkcpp pam_start.c pam_start.cc -- mkcpp set time: 1773311802 -> 1264821288 pam_start.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c pam_start.cc ../mkcpp __forkpty.c __forkpty.cc -- mkcpp set time: 1773311802 -> 1264752941 __forkpty.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c __forkpty.cc ../mkcpp _-forkpty.c _-forkpty.cc -- mkcpp set time: 1773311802 -> 1264752900 _-forkpty.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c _-forkpty.cc ../mkcpp forkpty1.c forkpty1.cc -- mkcpp set time: 1773311802 -> 1264752703 forkpty1.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c forkpty1.cc ../mkcpp forkpty.c forkpty.cc -- mkcpp set time: 1773311802 -> 1264752698 forkpty.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c forkpty.cc ../mkcpp __tcsetattr.c __tcsetattr.cc -- mkcpp set time: 1773311802 -> 1250403944 __tcsetattr.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c __tcsetattr.cc ../mkcpp Stty.c Stty.cc -- mkcpp set time: 1773311803 -> 1250403944 Stty.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c Stty.cc ../mkcpp __getwinsize.c __getwinsize.cc -- mkcpp set time: 1773311803 -> 1250403944 __getwinsize.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c __getwinsize.cc ../mkcpp getwinsize.c getwinsize.cc -- mkcpp set time: 1773311803 -> 1250403944 getwinsize.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c getwinsize.cc ../mkcpp _-sgTTy.c _-sgTTy.cc -- mkcpp set time: 1773311803 -> 1267252190 _-sgTTy.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c _-sgTTy.cc ../mkcpp sgTTy.c sgTTy.cc -- mkcpp set time: 1773311803 -> 1264765100 sgTTy.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c sgTTy.cc ../mkcpp setlogin.c setlogin.cc -- mkcpp set time: 1773311803 -> 1267249144 setlogin.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c setlogin.cc ../mkcpp _-mkfifo.c _-mkfifo.cc -- mkcpp set time: 1773311803 -> 1250403944 _-mkfifo.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c _-mkfifo.cc ../mkcpp mkfifo.c mkfifo.cc -- mkcpp set time: 1773311803 -> 1250403944 mkfifo.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c mkfifo.cc ../mkcpp _-fseeko.c _-fseeko.cc -- mkcpp set time: 1773311804 -> 1250403944 _-fseeko.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c _-fseeko.cc ../mkcpp fseeko.c fseeko.cc -- mkcpp set time: 1773311804 -> 1250403944 fseeko.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c fseeko.cc ../mkcpp _-fgetpos.c _-fgetpos.cc -- mkcpp set time: 1773311804 -> 1250403944 _-fgetpos.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c _-fgetpos.cc ../mkcpp fgetpos.c fgetpos.cc -- mkcpp set time: 1773311804 -> 1250403944 fgetpos.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c fgetpos.cc ../mkcpp fpurge.c fpurge.cc -- mkcpp set time: 1773311804 -> 1250403944 fpurge.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c fpurge.cc ../mkcpp stdio.c stdio.cc -- mkcpp set time: 1773311804 -> 1250403944 stdio.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c stdio.cc ../mkcpp pendingcc1.c pendingcc1.cc -- mkcpp set time: 1773311805 -> 1250403944 pendingcc1.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c pendingcc1.cc ../mkcpp pendingcc.c pendingcc.cc -- mkcpp set time: 1773311805 -> 1250403944 pendingcc.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c pendingcc.cc ../mkcpp _-fcloseFILE.c _-fcloseFILE.cc -- mkcpp set time: 1773311805 -> 1277060405 _-fcloseFILE.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c _-fcloseFILE.cc ../mkcpp _-fcloseFILE2.c _-fcloseFILE2.cc -- mkcpp set time: 1773311805 -> 1277037481 _-fcloseFILE2.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c _-fcloseFILE2.cc ../mkcpp fcloseFILE.c fcloseFILE.cc -- mkcpp set time: 1773311805 -> 1277037485 fcloseFILE.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c fcloseFILE.cc ../mkcpp __setproctitle.c __setproctitle.cc -- mkcpp set time: 1773311805 -> 1250403944 __setproctitle.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c __setproctitle.cc ../mkcpp setproctitle.c setproctitle.cc -- mkcpp set time: 1773311805 -> 1250403944 setproctitle.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c setproctitle.cc ../mkcpp __sysctl.c __sysctl.cc -- mkcpp set time: 1773311805 -> 1250403944 __sysctl.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c __sysctl.cc ../mkcpp sysctl.c sysctl.cc -- mkcpp set time: 1773311806 -> 1250403944 sysctl.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c sysctl.cc ../mkcpp __sysinfo.c __sysinfo.cc -- mkcpp set time: 1773311806 -> 1250403944 __sysinfo.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c __sysinfo.cc ../mkcpp __sysconf.c __sysconf.cc -- mkcpp set time: 1773311806 -> 1260308041 __sysconf.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c __sysconf.cc ../mkcpp sysinfo.c sysinfo.cc -- mkcpp set time: 1773311806 -> 1250403944 sysinfo.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c sysinfo.cc ../mkcpp sysctlbyname.c sysctlbyname.cc -- mkcpp set time: 1773311806 -> 1250403944 sysctlbyname.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c sysctlbyname.cc ../mkcpp _-sysinfo.c _-sysinfo.cc -- mkcpp set time: 1773311806 -> 1250403944 _-sysinfo.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c _-sysinfo.cc ../mkcpp _-sysconf.c _-sysconf.cc -- mkcpp set time: 1773311806 -> 1260315483 _-sysconf.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c _-sysconf.cc ../mkcpp _-sysconf2.c _-sysconf2.cc -- mkcpp set time: 1773311807 -> 1260312855 _-sysconf2.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c _-sysconf2.cc ../mkcpp netsh_none.c netsh_none.cc -- mkcpp set time: 1773311807 -> 1263150337 netsh_none.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c netsh_none.cc ../mkcpp _-regex.c _-regex.cc -- mkcpp set time: 1773311807 -> 1286129969 _-regex.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c _-regex.cc ../mkcpp regex.c regex.cc -- mkcpp set time: 1773311807 -> 1286178673 regex.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c regex.cc ../mkcpp errno.c errno.cc -- mkcpp set time: 1773311807 -> 1250403944 errno.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c errno.cc ../mkcpp Gates_Win32.c Gates_Win32.cc -- mkcpp set time: 1773311807 -> 1414480232 Gates_Win32.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c Gates_Win32.cc ../mkcpp gethostid.c gethostid.cc -- mkcpp set time: 1773311807 -> 1250403944 gethostid.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c gethostid.cc ../mkcpp opt_s_vsap.c opt_s_vsap.cc -- mkcpp set time: 1773311807 -> 1250403944 opt_s_vsap.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c opt_s_vsap.cc ../mkcpp opt_s_htaccept.c opt_s_htaccept.cc -- mkcpp set time: 1773311808 -> 1250403944 opt_s_htaccept.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c opt_s_htaccept.cc ../mkcpp opt_s_sox.c opt_s_sox.cc -- mkcpp set time: 1773311808 -> 1250403944 opt_s_sox.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c opt_s_sox.cc ../mkcpp opt_s_stls.c opt_s_stls.cc -- mkcpp set time: 1773311808 -> 1250403944 opt_s_stls.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c opt_s_stls.cc ../mkcpp opt_s_caps.c opt_s_caps.cc -- mkcpp set time: 1773311808 -> 1250403944 opt_s_caps.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c opt_s_caps.cc ../mkcpp opt_s_pilsner.c opt_s_pilsner.cc -- mkcpp set time: 1773311808 -> 1250403944 opt_s_pilsner.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c opt_s_pilsner.cc ../mkcpp opt_s_spinach.c opt_s_spinach.cc -- mkcpp set time: 1773311809 -> 1257721910 opt_s_spinach.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c opt_s_spinach.cc gmake[5]: Leaving directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/maker' mksub[0] /usr/local/bin/gmake mksub[1] MAKE=/usr/local/bin/gmake mksub[2] -f mksub[3] Makefile.go mksub[4] CC=cc mksub[5] CFLAGS=-O2 -x c++ -DQS -DNONC99=3 -Dm64 mksub[6] HDRDIR=-I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing 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_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 gmake[5]: Entering directory '/wrkdirs/usr/ports/net/delegate/work/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 __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 _-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 __syslog.o syslog.o __syscall.o __fork.o fork.o _-ptrace.o ptrace.o __sigaction.o sigaction.o __futimes.o futimes.o futimes_.o __utimes.o fsync.o __fchmod.o fchmod.o __fchown.o fchown.o chown.o __link.o link.o __symlink.o symlink.o readlink.o __lstat.o _-statvfs.o statvfs.o vfork.o wait3.o waitpid.o getmsg.o chroot.o nice.o __getrlimit.o getrlimit.o _-getrusage.o getrusage.o _spawnvp.o spawnvp.o spawnvp_.o _-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 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 pendingcc1.o pendingcc.o _-fcloseFILE.o fcloseFILE.o __setproctitle.o setproctitle.o __sysctl.o sysctl.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 gmake[5]: Leaving directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/maker' libmk[0] /usr/local/bin/gmake libmk[1] MAKE=/usr/local/bin/gmake libmk[2] -f libmk[3] Makefile.go libmk[4] CC=cc libmk[5] CFLAGS=-O2 -x c++ -DQS -DNONC99=3 -Dm64 libmk[6] HDRDIR=-I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing 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 __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 _-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 __syslog.o syslog.o __syscall.o __fork.o fork.o _-ptrace.o ptrace.o __sigaction.o sigaction.o __futimes.o futimes.o futimes_.o __utimes.o fsync.o __fchmod.o fchmod.o __fchown.o fchown.o chown.o __link.o link.o __symlink.o symlink.o readlink.o __lstat.o _-statvfs.o statvfs.o vfork.o wait3.o waitpid.o getmsg.o chroot.o nice.o __getrlimit.o getrlimit.o _-getrusage.o getrusage.o _spawnvp.o spawnvp.o spawnvp_.o _-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 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 pendingcc1.o pendingcc.o _-fcloseFILE.o fcloseFILE.o __setproctitle.o setproctitle.o __sysctl.o sysctl.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 "/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe" -subst manmk "/usr/local/bin/gmake" "Makefile.go" "cc" "-O2 -x c++ -DQS -DNONC99=3 -Dm64 " "-I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing " "/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 -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 [cc][-O2 -x c++ -DQS -DNONC99=3 -Dm64 ][] ... *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 1 error generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c ---- LD exit(256) cc _.o -lstdc++ *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c _.c:1:16: error: flexible array member 'A' with type 'char[]' is not at the end of struct 1 | struct _S{char A[]; char B[1];}S; | ^ _.c:1:26: note: next field declaration is here 1 | struct _S{char A[]; char B[1];}S; | ^ _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 2 errors generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c ---- LD exit(256) cc _.o -lstdc++ *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 1 error generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c ---- LD exit(256) cc _.o -lstdc++ [cc -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 ] NONC99=2, NONAZ0=6 @pkg.DaveG.ca MAKE=/usr/local/bin/gmake MAKEFILE=Makefile.go CC=cc CFLAGS=-O2 -x c++ -DQS -DNONC99=3 -Dm64 HDRDIR=-I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing 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 -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 gmake[4]: Leaving directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/maker' gmake[3]: Leaving directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/maker' **[0] move ../maker/libsubst.a to ../lib/libsubst.a ../mkcpp version.c version._.c -- mkcpp set time: 1773311809 -> 1414677366 version._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c version._.c -o version.o \ -DLICENSEE=\"""\" version._.c:203:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 203 | if( xsign = strrchr(DELEGATE_srcsign(),':') ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ version._.c:203:12: note: place parentheses around the assignment to silence this warning 203 | if( xsign = strrchr(DELEGATE_srcsign(),':') ) | ^ | ( ) version._.c:203:12: note: use '==' to turn this assignment into an equality comparison 203 | if( xsign = strrchr(DELEGATE_srcsign(),':') ) | ^ | == version._.c:223:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 223 | for( fp = vsign; oct = *fp; fp++ ){ | ~~~~^~~~~ version._.c:223:23: note: place parentheses around the assignment to silence this warning 223 | for( fp = vsign; oct = *fp; fp++ ){ | ^ | ( ) version._.c:223:23: note: use '==' to turn this assignment into an equality comparison 223 | for( fp = vsign; oct = *fp; fp++ ){ | ^ | == 2 warnings generated. ../mkcpp ../srcsign.c ../srcsign._.c -- mkcpp set time: 1773311809 -> 1414752138 ../srcsign._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c ../srcsign._.c -o ../srcsign.o -o ../srcsign.o ../srcsign._.c:8:5: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] 3 | "\n{SRCSIGN=9.9.13:20141031194217+0900:6fdc87e522763a5e:\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 | Author@DeleGate.ORG:\ | ~~~~~~~~~~~~~~~~~~~~~ 5 | hPtX79eyOAnj9pjzcHNLBa2+1uhqjZszJ1UM7y4wXOikCGaUA4aQmK+kuq0QC/hng7lskzc9\r\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 | aIjEgOpDo5KF1odrli0RsQJI8nkGIWAW3uYxIFD70pwSAGNteRViGCmbIdO95QJfTjgTfKhp\r\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7 | TQV3AYSDfyHF4li8dewmsd+oRrA=\r\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8 | }\n"+10; | ~~~~^~~ ../srcsign._.c:8:5: note: use array indexing to silence this warning 3 | "\n{SRCSIGN=9.9.13:20141031194217+0900:6fdc87e522763a5e:\ | & 4 | Author@DeleGate.ORG:\ 5 | hPtX79eyOAnj9pjzcHNLBa2+1uhqjZszJ1UM7y4wXOikCGaUA4aQmK+kuq0QC/hng7lskzc9\r\n\ 6 | aIjEgOpDo5KF1odrli0RsQJI8nkGIWAW3uYxIFD70pwSAGNteRViGCmbIdO95QJfTjgTfKhp\r\n\ 7 | TQV3AYSDfyHF4li8dewmsd+oRrA=\r\n\ 8 | }\n"+10; | ^ | [ ] ../srcsign._.c:17:5: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] 12 | "\n{SrcSign=9.9.2-pre3:20090215114817+0900:9fd8879636f9934b:\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 13 | Author@DeleGate.ORG:\ | ~~~~~~~~~~~~~~~~~~~~~ 14 | s7F+zgs2D6yvuw+K1c3xJg4C9AJLSTuOGi2TAIPVQ52AwW0aqwRdJl3vME+/AaJpt3gKiH7b\r\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 15 | od6uyzyUFdkSIOgaTrMMdJBYBvCm0s7YhOpqCePnThu4e4RnMYTTpsI693BTt80KFXHwz4X3\r\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 16 | KO5W8Q4noFBPBme3yWwx/frGMMw=\r\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 17 | }\n"+10; | ~~~~^~~ ../srcsign._.c:17:5: note: use array indexing to silence this warning 12 | "\n{SrcSign=9.9.2-pre3:20090215114817+0900:9fd8879636f9934b:\ | & 13 | Author@DeleGate.ORG:\ 14 | s7F+zgs2D6yvuw+K1c3xJg4C9AJLSTuOGi2TAIPVQ52AwW0aqwRdJl3vME+/AaJpt3gKiH7b\r\n\ 15 | od6uyzyUFdkSIOgaTrMMdJBYBvCm0s7YhOpqCePnThu4e4RnMYTTpsI693BTt80KFXHwz4X3\r\n\ 16 | KO5W8Q4noFBPBme3yWwx/frGMMw=\r\n\ 17 | }\n"+10; | ^ | [ ] 2 warnings generated. [/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/src]cksum(../srcsign.c) ../mkcpp editconf.c editconf._.c -- mkcpp set time: 1773311810 -> 1275177486 editconf._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c editconf._.c -o editconf.o editconf._.c:43:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 43 | if( dp = strpbrk(line,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ editconf._.c:43:9: note: place parentheses around the assignment to silence this warning 43 | if( dp = strpbrk(line,"\r\n") ) | ^ | ( ) editconf._.c:43:9: note: use '==' to turn this assignment into an equality comparison 43 | if( dp = strpbrk(line,"\r\n") ) | ^ | == editconf._.c:111:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 111 | if( env = getEnvADMIN() ) | ~~~~^~~~~~~~~~~~~~~ editconf._.c:111:10: note: place parentheses around the assignment to silence this warning 111 | if( env = getEnvADMIN() ) | ^ | ( ) editconf._.c:111:10: note: use '==' to turn this assignment into an equality comparison 111 | if( env = getEnvADMIN() ) | ^ | == editconf._.c:120:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 120 | if( admin = getADMIN1() ) | ~~~~~~^~~~~~~~~~~~~ editconf._.c:120:12: note: place parentheses around the assignment to silence this warning 120 | if( admin = getADMIN1() ) | ^ | ( ) editconf._.c:120:12: note: use '==' to turn this assignment into an equality comparison 120 | if( admin = getADMIN1() ) | ^ | == editconf._.c:180:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 180 | if( admin = getADMIN() ) | ~~~~~~^~~~~~~~~~~~ editconf._.c:180:12: note: place parentheses around the assignment to silence this warning 180 | if( admin = getADMIN() ) | ^ | ( ) editconf._.c:180:12: note: use '==' to turn this assignment into an equality comparison 180 | if( admin = getADMIN() ) | ^ | == editconf._.c:199:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 199 | if( pass = get_builtin_ADMINPASS() ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ editconf._.c:199:11: note: place parentheses around the assignment to silence this warning 199 | if( pass = get_builtin_ADMINPASS() ){ | ^ | ( ) editconf._.c:199:11: note: use '==' to turn this assignment into an equality comparison 199 | if( pass = get_builtin_ADMINPASS() ){ | ^ | == editconf._.c:289:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 289 | if( dp = strpbrk(admin,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~ editconf._.c:289:10: note: place parentheses around the assignment to silence this warning 289 | if( dp = strpbrk(admin,"\r\n") ) | ^ | ( ) editconf._.c:289:10: note: use '==' to turn this assignment into an equality comparison 289 | if( dp = strpbrk(admin,"\r\n") ) | ^ | == editconf._.c:411:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 411 | if( fp = fopen(test,"w") ){ | ~~~^~~~~~~~~~~~~~~~~ editconf._.c:411:10: note: place parentheses around the assignment to silence this warning 411 | if( fp = fopen(test,"w") ){ | ^ | ( ) editconf._.c:411:10: note: use '==' to turn this assignment into an equality comparison 411 | if( fp = fopen(test,"w") ){ | ^ | == 7 warnings generated. ../mkcpp admin.c admin._.c -- mkcpp set time: 1773311810 -> 1277029998 admin._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c admin._.c -o admin.o admin._.c:94:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 94 | if( env = admin_genv[sp] ){ | ~~~~^~~~~~~~~~~~~~~~ admin._.c:94:10: note: place parentheses around the assignment to silence this warning 94 | if( env = admin_genv[sp] ){ | ^ | ( ) admin._.c:94:10: note: use '==' to turn this assignment into an equality comparison 94 | if( env = admin_genv[sp] ){ | ^ | == admin._.c:249:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 249 | if( dp = strrchr(vurl,'*') ) if( dp[1] == 0 ) truncVStr(dp); | ~~~^~~~~~~~~~~~~~~~~~~ admin._.c:249:11: note: place parentheses around the assignment to silence this warning 249 | if( dp = strrchr(vurl,'*') ) if( dp[1] == 0 ) truncVStr(dp); | ^ | ( ) admin._.c:249:11: note: use '==' to turn this assignment into an equality comparison 249 | 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] 266 | if( dp = strrchr(rurl,'*') ) if( dp[1] == 0 ) truncVStr(dp); | ~~~^~~~~~~~~~~~~~~~~~~ admin._.c:266:11: note: place parentheses around the assignment to silence this warning 266 | if( dp = strrchr(rurl,'*') ) if( dp[1] == 0 ) truncVStr(dp); | ^ | ( ) admin._.c:266:11: note: use '==' to turn this assignment into an equality comparison 266 | 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] 375 | if( val = getv(Form_argv,"vurl-path") ) strcat(froms,val); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin._.c:375:11: note: place parentheses around the assignment to silence this warning 375 | if( val = getv(Form_argv,"vurl-path") ) strcat(froms,val); | ^ | ( ) admin._.c:375:11: note: use '==' to turn this assignment into an equality comparison 375 | 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] 377 | if( val = getv(Form_argv,"vurl-tail") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin._.c:377:12: note: place parentheses around the assignment to silence this warning 377 | if( val = getv(Form_argv,"vurl-tail") ) | ^ | ( ) admin._.c:377:12: note: use '==' to turn this assignment into an equality comparison 377 | if( val = getv(Form_argv,"vurl-tail") ) | ^ | == admin._.c:385:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 385 | if( val = getv(Form_argv,"rurl-proto") ) strcat(tos,val); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin._.c:385:11: note: place parentheses around the assignment to silence this warning 385 | if( val = getv(Form_argv,"rurl-proto") ) strcat(tos,val); | ^ | ( ) admin._.c:385:11: note: use '==' to turn this assignment into an equality comparison 385 | 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] 386 | if( val = getv(Form_argv,"rurl-login") ) strcat(tos,val); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin._.c:386:11: note: place parentheses around the assignment to silence this warning 386 | if( val = getv(Form_argv,"rurl-login") ) strcat(tos,val); | ^ | ( ) admin._.c:386:11: note: use '==' to turn this assignment into an equality comparison 386 | 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] 387 | if( val = getv(Form_argv,"rurl-tail") ) strcat(tos,val); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin._.c:387:11: note: place parentheses around the assignment to silence this warning 387 | if( val = getv(Form_argv,"rurl-tail") ) strcat(tos,val); | ^ | ( ) admin._.c:387:11: note: use '==' to turn this assignment into an equality comparison 387 | 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] 422 | for( ai = 0; from1 = Form_argv[ai]; ai++ ){ | ~~~~~~^~~~~~~~~~~~~~~ admin._.c:422:23: note: place parentheses around the assignment to silence this warning 422 | for( ai = 0; from1 = Form_argv[ai]; ai++ ){ | ^ | ( ) admin._.c:422:23: note: use '==' to turn this assignment into an equality comparison 422 | 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] 539 | if( dp = strtailstr(path,".pem") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ admin._.c:539:9: note: place parentheses around the assignment to silence this warning 539 | if( dp = strtailstr(path,".pem") ) | ^ | ( ) admin._.c:539:9: note: use '==' to turn this assignment into an equality comparison 539 | if( dp = strtailstr(path,".pem") ) | ^ | == admin._.c:560:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 560 | if( fp = fopen("dgca.cnf","w") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~ admin._.c:560:9: note: place parentheses around the assignment to silence this warning 560 | if( fp = fopen("dgca.cnf","w") ){ | ^ | ( ) admin._.c:560:9: note: use '==' to turn this assignment into an equality comparison 560 | if( fp = fopen("dgca.cnf","w") ){ | ^ | == admin._.c:575:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 575 | if( fp = fopen("dgcaidx.txt","w") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ admin._.c:575:9: note: place parentheses around the assignment to silence this warning 575 | if( fp = fopen("dgcaidx.txt","w") ){ | ^ | ( ) admin._.c:575:9: note: use '==' to turn this assignment into an equality comparison 575 | if( fp = fopen("dgcaidx.txt","w") ){ | ^ | == admin._.c:579:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 579 | if( fp = fopen("dgcaidx.txt.attr","w") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin._.c:579:9: note: place parentheses around the assignment to silence this warning 579 | if( fp = fopen("dgcaidx.txt.attr","w") ){ | ^ | ( ) admin._.c:579:9: note: use '==' to turn this assignment into an equality comparison 579 | if( fp = fopen("dgcaidx.txt.attr","w") ){ | ^ | == admin._.c:585:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 585 | if( fp = fopen("serial","w") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ admin._.c:585:9: note: place parentheses around the assignment to silence this warning 585 | if( fp = fopen("serial","w") ){ | ^ | ( ) admin._.c:585:9: note: use '==' to turn this assignment into an equality comparison 585 | if( fp = fopen("serial","w") ){ | ^ | == admin._.c:808:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 808 | if( conf = fopen("dgca.cnf","r") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ admin._.c:808:11: note: place parentheses around the assignment to silence this warning 808 | if( conf = fopen("dgca.cnf","r") ){ | ^ | ( ) admin._.c:808:11: note: use '==' to turn this assignment into an equality comparison 808 | if( conf = fopen("dgca.cnf","r") ){ | ^ | == admin._.c:840:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 840 | for( ai = 0; a1 = Form_argv[ai]; ai++ ){ | ~~~^~~~~~~~~~~~~~~ admin._.c:840:19: note: place parentheses around the assignment to silence this warning 840 | for( ai = 0; a1 = Form_argv[ai]; ai++ ){ | ^ | ( ) admin._.c:840:19: note: use '==' to turn this assignment into an equality comparison 840 | 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] 953 | if( dp = strchr(out,'%') ){ | ~~~^~~~~~~~~~~~~~~~~ admin._.c:953:15: note: place parentheses around the assignment to silence this warning 953 | if( dp = strchr(out,'%') ){ | ^ | ( ) admin._.c:953:15: note: use '==' to turn this assignment into an equality comparison 953 | if( dp = strchr(out,'%') ){ | ^ | == admin._.c:995:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 995 | if( dp = strcasestr(out,"up ") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~ admin._.c:995:12: note: place parentheses around the assignment to silence this warning 995 | if( dp = strcasestr(out,"up ") ) | ^ | ( ) admin._.c:995:12: note: use '==' to turn this assignment into an equality comparison 995 | if( dp = strcasestr(out,"up ") ) | ^ | == admin._.c:997:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 997 | if( dp = strcasestr(out,"load ") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ admin._.c:997:12: note: place parentheses around the assignment to silence this warning 997 | if( dp = strcasestr(out,"load ") ){ | ^ | ( ) admin._.c:997:12: note: use '==' to turn this assignment into an equality comparison 997 | if( dp = strcasestr(out,"load ") ){ | ^ | == admin._.c:998:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 998 | if( dp = strchr(dp,':') ) | ~~~^~~~~~~~~~~~~~~~ admin._.c:998:13: note: place parentheses around the assignment to silence this warning 998 | if( dp = strchr(dp,':') ) | ^ | ( ) admin._.c:998:13: note: use '==' to turn this assignment into an equality comparison 998 | if( dp = strchr(dp,':') ) | ^ | == admin._.c:1005:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1005 | if( dp = strrchr(out,':') ){ | ~~~^~~~~~~~~~~~~~~~~~ admin._.c:1005:13: note: place parentheses around the assignment to silence this warning 1005 | if( dp = strrchr(out,':') ){ | ^ | ( ) admin._.c:1005:13: note: use '==' to turn this assignment into an equality comparison 1005 | if( dp = strrchr(out,':') ){ | ^ | == admin._.c:1061:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1061 | if( tp = strstr(line,"UID") ){ | ~~~^~~~~~~~~~~~~~~~~~~~ admin._.c:1061:13: note: place parentheses around the assignment to silence this warning 1061 | if( tp = strstr(line,"UID") ){ | ^ | ( ) admin._.c:1061:13: note: use '==' to turn this assignment into an equality comparison 1061 | if( tp = strstr(line,"UID") ){ | ^ | == admin._.c:1113:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1113 | if( fp = fopen_authlog(proto,host,"a") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin._.c:1113:9: note: place parentheses around the assignment to silence this warning 1113 | if( fp = fopen_authlog(proto,host,"a") ){ | ^ | ( ) admin._.c:1113:9: note: use '==' to turn this assignment into an equality comparison 1113 | if( fp = fopen_authlog(proto,host,"a") ){ | ^ | == admin._.c:1124:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1124 | if( fp = fopen_authlog(proto,"ALL","a") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin._.c:1124:10: note: place parentheses around the assignment to silence this warning 1124 | if( fp = fopen_authlog(proto,"ALL","a") ){ | ^ | ( ) admin._.c:1124:10: note: use '==' to turn this assignment into an equality comparison 1124 | if( fp = fopen_authlog(proto,"ALL","a") ){ | ^ | == admin._.c:1173:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1173 | if( fp = fopen_authlog(proto,host,"r") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin._.c:1173:9: note: place parentheses around the assignment to silence this warning 1173 | if( fp = fopen_authlog(proto,host,"r") ){ | ^ | ( ) admin._.c:1173:9: note: use '==' to turn this assignment into an equality comparison 1173 | if( fp = fopen_authlog(proto,host,"r") ){ | ^ | == admin._.c:1236:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1236 | if( dp = strrchr(upath,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~~~ admin._.c:1236:10: note: place parentheses around the assignment to silence this warning 1236 | if( dp = strrchr(upath,'/') ){ | ^ | ( ) admin._.c:1236:10: note: use '==' to turn this assignment into an equality comparison 1236 | if( dp = strrchr(upath,'/') ){ | ^ | == admin._.c:1241:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1241 | if( dp = strrchr(upath,'/') ) | ~~~^~~~~~~~~~~~~~~~~~~~ admin._.c:1241:12: note: place parentheses around the assignment to silence this warning 1241 | if( dp = strrchr(upath,'/') ) | ^ | ( ) admin._.c:1241:12: note: use '==' to turn this assignment into an equality comparison 1241 | if( dp = strrchr(upath,'/') ) | ^ | == admin._.c:1417:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1417 | for( sp = fmt; ch = (0xFF & *sp); sp++ ){ | ~~~^~~~~~~~~~~~~~ admin._.c:1417:20: note: place parentheses around the assignment to silence this warning 1417 | for( sp = fmt; ch = (0xFF & *sp); sp++ ){ | ^ | ( ) admin._.c:1417:20: note: use '==' to turn this assignment into an equality comparison 1417 | for( sp = fmt; ch = (0xFF & *sp); sp++ ){ | ^ | == admin._.c:1636:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1636 | if( mod = strchr(param,'-') ){ | ~~~~^~~~~~~~~~~~~~~~~~~ admin._.c:1636:11: note: place parentheses around the assignment to silence this warning 1636 | if( mod = strchr(param,'-') ){ | ^ | ( ) admin._.c:1636:11: note: use '==' to turn this assignment into an equality comparison 1636 | if( mod = strchr(param,'-') ){ | ^ | == admin._.c:1756:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1756 | if( ctype = filename2ctype(url) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ admin._.c:1756:14: note: place parentheses around the assignment to silence this warning 1756 | if( ctype = filename2ctype(url) ){ | ^ | ( ) admin._.c:1756:14: note: use '==' to turn this assignment into an equality comparison 1756 | if( ctype = filename2ctype(url) ){ | ^ | == admin._.c:1844:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1844 | if( dp = strtailstr(mp,pat) ) | ~~~^~~~~~~~~~~~~~~~~~~~ admin._.c:1844:10: note: place parentheses around the assignment to silence this warning 1844 | if( dp = strtailstr(mp,pat) ) | ^ | ( ) admin._.c:1844:10: note: use '==' to turn this assignment into an equality comparison 1844 | if( dp = strtailstr(mp,pat) ) | ^ | == admin._.c:1878:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1878 | if( cfp = fopen(path,"r") ){ | ~~~~^~~~~~~~~~~~~~~~~ admin._.c:1878:11: note: place parentheses around the assignment to silence this warning 1878 | if( cfp = fopen(path,"r") ){ | ^ | ( ) admin._.c:1878:11: note: use '==' to turn this assignment into an equality comparison 1878 | if( cfp = fopen(path,"r") ){ | ^ | == admin._.c:1893:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1893 | if( cfp = fopen(path,"r") ){ | ~~~~^~~~~~~~~~~~~~~~~ admin._.c:1893:11: note: place parentheses around the assignment to silence this warning 1893 | if( cfp = fopen(path,"r") ){ | ^ | ( ) admin._.c:1893:11: note: use '==' to turn this assignment into an equality comparison 1893 | if( cfp = fopen(path,"r") ){ | ^ | == admin._.c:1932:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1932 | if( cfp = fopen(path,"w") ){ | ~~~~^~~~~~~~~~~~~~~~~ admin._.c:1932:12: note: place parentheses around the assignment to silence this warning 1932 | if( cfp = fopen(path,"w") ){ | ^ | ( ) admin._.c:1932:12: note: use '==' to turn this assignment into an equality comparison 1932 | if( cfp = fopen(path,"w") ){ | ^ | == admin._.c:1962:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1962 | if( sfp = fopen(path,"w") ){ | ~~~~^~~~~~~~~~~~~~~~~ admin._.c:1962:11: note: place parentheses around the assignment to silence this warning 1962 | if( sfp = fopen(path,"w") ){ | ^ | ( ) admin._.c:1962:11: note: use '==' to turn this assignment into an equality comparison 1962 | if( sfp = fopen(path,"w") ){ | ^ | == admin._.c:1982:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1982 | if( sfp = fopen(path,"r") ){ | ~~~~^~~~~~~~~~~~~~~~~ admin._.c:1982:10: note: place parentheses around the assignment to silence this warning 1982 | if( sfp = fopen(path,"r") ){ | ^ | ( ) admin._.c:1982:10: note: use '==' to turn this assignment into an equality comparison 1982 | if( sfp = fopen(path,"r") ){ | ^ | == admin._.c:2007:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2007 | if( fp = dirfopen(what,AVStr(path),"r+") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin._.c:2007:9: note: place parentheses around the assignment to silence this warning 2007 | if( fp = dirfopen(what,AVStr(path),"r+") ){ | ^ | ( ) admin._.c:2007:9: note: use '==' to turn this assignment into an equality comparison 2007 | if( fp = dirfopen(what,AVStr(path),"r+") ){ | ^ | == admin._.c:2010:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2010 | if( fp = dirfopen(what,AVStr(path),mode) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin._.c:2010:9: note: place parentheses around the assignment to silence this warning 2010 | if( fp = dirfopen(what,AVStr(path),mode) ){ | ^ | ( ) admin._.c:2010:9: note: use '==' to turn this assignment into an equality comparison 2010 | if( fp = dirfopen(what,AVStr(path),mode) ){ | ^ | == admin._.c:2019:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2019 | if( fp = TMPFILE(what) ){ | ~~~^~~~~~~~~~~~~~~ admin._.c:2019:10: note: place parentheses around the assignment to silence this warning 2019 | if( fp = TMPFILE(what) ){ | ^ | ( ) admin._.c:2019:10: note: use '==' to turn this assignment into an equality comparison 2019 | if( fp = TMPFILE(what) ){ | ^ | == admin._.c:2043:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2043 | if( fp = fdopen(dup(LOG_initFd),mode) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin._.c:2043:10: note: place parentheses around the assignment to silence this warning 2043 | if( fp = fdopen(dup(LOG_initFd),mode) ){ | ^ | ( ) admin._.c:2043:10: note: use '==' to turn this assignment into an equality comparison 2043 | if( fp = fdopen(dup(LOG_initFd),mode) ){ | ^ | == admin._.c:2087:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2087 | if( dp = strchr(cv[ci],'\r') ) | ~~~^~~~~~~~~~~~~~~~~~~~~ admin._.c:2087:11: note: place parentheses around the assignment to silence this warning 2087 | if( dp = strchr(cv[ci],'\r') ) | ^ | ( ) admin._.c:2087:11: note: use '==' to turn this assignment into an equality comparison 2087 | if( dp = strchr(cv[ci],'\r') ) | ^ | == admin._.c:2092:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2092 | if( dp = strchr(cv[ci],',') ) truncVStr(dp); | ~~~^~~~~~~~~~~~~~~~~~~~ admin._.c:2092:12: note: place parentheses around the assignment to silence this warning 2092 | if( dp = strchr(cv[ci],',') ) truncVStr(dp); | ^ | ( ) admin._.c:2092:12: note: use '==' to turn this assignment into an equality comparison 2092 | if( dp = strchr(cv[ci],',') ) truncVStr(dp); | ^ | == admin._.c:2093:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2093 | if( dp = strchr(cv[ci],'/') ) truncVStr(dp); | ~~~^~~~~~~~~~~~~~~~~~~~ admin._.c:2093:12: note: place parentheses around the assignment to silence this warning 2093 | if( dp = strchr(cv[ci],'/') ) truncVStr(dp); | ^ | ( ) admin._.c:2093:12: note: use '==' to turn this assignment into an equality comparison 2093 | if( dp = strchr(cv[ci],'/') ) truncVStr(dp); | ^ | == admin._.c:2296:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2296 | if( dp = strchr(cv[ci],'\r') ) | ~~~^~~~~~~~~~~~~~~~~~~~~ admin._.c:2296:12: note: place parentheses around the assignment to silence this warning 2296 | if( dp = strchr(cv[ci],'\r') ) | ^ | ( ) admin._.c:2296:12: note: use '==' to turn this assignment into an equality comparison 2296 | if( dp = strchr(cv[ci],'\r') ) | ^ | == admin._.c:2299:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2299 | if( dgroot = getv(cv,"DGROOT") ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~ admin._.c:2299:15: note: place parentheses around the assignment to silence this warning 2299 | if( dgroot = getv(cv,"DGROOT") ){ | ^ | ( ) admin._.c:2299:15: note: use '==' to turn this assignment into an equality comparison 2299 | if( dgroot = getv(cv,"DGROOT") ){ | ^ | == admin._.c:2302:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2302 | if( dp = getv(cv,"CHROOT") ){ | ~~~^~~~~~~~~~~~~~~~~~~ admin._.c:2302:11: note: place parentheses around the assignment to silence this warning 2302 | if( dp = getv(cv,"CHROOT") ){ | ^ | ( ) admin._.c:2302:11: note: use '==' to turn this assignment into an equality comparison 2302 | if( dp = getv(cv,"CHROOT") ){ | ^ | == admin._.c:2309:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2309 | if( ilfp = fopenInitLog(serv,"r+") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ admin._.c:2309:14: note: place parentheses around the assignment to silence this warning 2309 | if( ilfp = fopenInitLog(serv,"r+") ){ | ^ | ( ) admin._.c:2309:14: note: use '==' to turn this assignment into an equality comparison 2309 | if( ilfp = fopenInitLog(serv,"r+") ){ | ^ | == admin._.c:2314:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2314 | if( stfp = fopenSvstats(serv,"r+") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ admin._.c:2314:14: note: place parentheses around the assignment to silence this warning 2314 | if( stfp = fopenSvstats(serv,"r+") ){ | ^ | ( ) admin._.c:2314:14: note: use '==' to turn this assignment into an equality comparison 2314 | if( stfp = fopenSvstats(serv,"r+") ){ | ^ | == admin._.c:2566:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2566 | if( dp = strtailstr(save,".cnf") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ admin._.c:2566:10: note: place parentheses around the assignment to silence this warning 2566 | if( dp = strtailstr(save,".cnf") ) | ^ | ( ) admin._.c:2566:10: note: use '==' to turn this assignment into an equality comparison 2566 | if( dp = strtailstr(save,".cnf") ) | ^ | == admin._.c:2600:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2600 | if( oconf = getConfigData(Conn,to,"",&odate) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin._.c:2600:12: note: place parentheses around the assignment to silence this warning 2600 | if( oconf = getConfigData(Conn,to,"",&odate) ){ | ^ | ( ) admin._.c:2600:12: note: use '==' to turn this assignment into an equality comparison 2600 | if( oconf = getConfigData(Conn,to,"",&odate) ){ | ^ | == admin._.c:2635:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2635 | 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 2635 | 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 2635 | 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] 2700 | if( dp = strtailstr(orig,".sav") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ admin._.c:2700:9: note: place parentheses around the assignment to silence this warning 2700 | if( dp = strtailstr(orig,".sav") ) | ^ | ( ) admin._.c:2700:9: note: use '==' to turn this assignment into an equality comparison 2700 | if( dp = strtailstr(orig,".sav") ) | ^ | == admin._.c:2722:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2722 | for( ai = 0; a1 = Form_argv[ai]; ai++ ){ | ~~~^~~~~~~~~~~~~~~ admin._.c:2722:18: note: place parentheses around the assignment to silence this warning 2722 | for( ai = 0; a1 = Form_argv[ai]; ai++ ){ | ^ | ( ) admin._.c:2722:18: note: use '==' to turn this assignment into an equality comparison 2722 | 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] 2788 | 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 2788 | 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 2788 | 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] 2911 | if( ln = getv(argv,"ln") ){ | ~~~^~~~~~~~~~~~~~~~~ admin._.c:2911:10: note: place parentheses around the assignment to silence this warning 2911 | if( ln = getv(argv,"ln") ){ | ^ | ( ) admin._.c:2911:10: note: use '==' to turn this assignment into an equality comparison 2911 | if( ln = getv(argv,"ln") ){ | ^ | == admin._.c:2914:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2914 | if( com = getv(argv,"com") ){ | ~~~~^~~~~~~~~~~~~~~~~~ admin._.c:2914:12: note: place parentheses around the assignment to silence this warning 2914 | if( com = getv(argv,"com") ){ | ^ | ( ) admin._.c:2914:12: note: use '==' to turn this assignment into an equality comparison 2914 | if( com = getv(argv,"com") ){ | ^ | == admin._.c:2943:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2943 | if( name = admin_getv("confname") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ admin._.c:2943:15: note: place parentheses around the assignment to silence this warning 2943 | if( name = admin_getv("confname") ){ | ^ | ( ) admin._.c:2943:15: note: use '==' to turn this assignment into an equality comparison 2943 | if( name = admin_getv("confname") ){ | ^ | == admin._.c:3335:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3335 | if( v1 = admin_getv("capsec") ) csc = atoi(v1); | ~~~^~~~~~~~~~~~~~~~~~~~~~ admin._.c:3335:9: note: place parentheses around the assignment to silence this warning 3335 | if( v1 = admin_getv("capsec") ) csc = atoi(v1); | ^ | ( ) admin._.c:3335:9: note: use '==' to turn this assignment into an equality comparison 3335 | 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] 3336 | if( v1 = admin_getv("caplns") ) cln = atoi(v1); | ~~~^~~~~~~~~~~~~~~~~~~~~~ admin._.c:3336:9: note: place parentheses around the assignment to silence this warning 3336 | if( v1 = admin_getv("caplns") ) cln = atoi(v1); | ^ | ( ) admin._.c:3336:9: note: use '==' to turn this assignment into an equality comparison 3336 | 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] 3344 | if( v1 = admin_getv("opt") ){ | ~~~^~~~~~~~~~~~~~~~~~~ admin._.c:3344:9: note: place parentheses around the assignment to silence this warning 3344 | if( v1 = admin_getv("opt") ){ | ^ | ( ) admin._.c:3344:9: note: use '==' to turn this assignment into an equality comparison 3344 | if( v1 = admin_getv("opt") ){ | ^ | == admin._.c:3513:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3513 | if( aus = getAdminAuthorizer(Conn,AVStr(tmp),sizeof(tmp),1) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin._.c:3513:10: note: place parentheses around the assignment to silence this warning 3513 | if( aus = getAdminAuthorizer(Conn,AVStr(tmp),sizeof(tmp),1) ){ | ^ | ( ) admin._.c:3513:10: note: use '==' to turn this assignment into an equality comparison 3513 | 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] 3535 | if( dp = strrchr(aus,'@') ){ | ~~~^~~~~~~~~~~~~~~~~~ admin._.c:3535:11: note: place parentheses around the assignment to silence this warning 3535 | if( dp = strrchr(aus,'@') ){ | ^ | ( ) admin._.c:3535:11: note: use '==' to turn this assignment into an equality comparison 3535 | if( dp = strrchr(aus,'@') ){ | ^ | == admin._.c:3907:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3907 | if( lfp = get_authlog(Conn,"admin","ALL",size,1) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin._.c:3907:11: note: place parentheses around the assignment to silence this warning 3907 | if( lfp = get_authlog(Conn,"admin","ALL",size,1) ){ | ^ | ( ) admin._.c:3907:11: note: use '==' to turn this assignment into an equality comparison 3907 | 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] 3991 | if( pma2 && streq(pma2,"check") ){ | ^~~~ ~~ admin._.c:4225:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4225 | if( np = strpbrk(cp,"\r\n") ){ | ~~~^~~~~~~~~~~~~~~~~~~~ admin._.c:4225:10: note: place parentheses around the assignment to silence this warning 4225 | if( np = strpbrk(cp,"\r\n") ){ | ^ | ( ) admin._.c:4225:10: note: use '==' to turn this assignment into an equality comparison 4225 | if( np = strpbrk(cp,"\r\n") ){ | ^ | == admin._.c:4310:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4310 | for( cx = 0; src = mssgmap[cx].m_src; cx++ ){ | ~~~~^~~~~~~~~~~~~~~~~~~ admin._.c:4310:20: note: place parentheses around the assignment to silence this warning 4310 | for( cx = 0; src = mssgmap[cx].m_src; cx++ ){ | ^ | ( ) admin._.c:4310:20: note: use '==' to turn this assignment into an equality comparison 4310 | 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] 4311 | if( dp = strstr(dsttxt,src) ){ | ~~~^~~~~~~~~~~~~~~~~~~~ admin._.c:4311:11: note: place parentheses around the assignment to silence this warning 4311 | if( dp = strstr(dsttxt,src) ){ | ^ | ( ) admin._.c:4311:11: note: use '==' to turn this assignment into an equality comparison 4311 | if( dp = strstr(dsttxt,src) ){ | ^ | == admin._.c:4335:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4335 | for( cx = 0; src = mssgmap[cx].m_src; cx++ ){ | ~~~~^~~~~~~~~~~~~~~~~~~ admin._.c:4335:20: note: place parentheses around the assignment to silence this warning 4335 | for( cx = 0; src = mssgmap[cx].m_src; cx++ ){ | ^ | ( ) admin._.c:4335:20: note: use '==' to turn this assignment into an equality comparison 4335 | 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] 4336 | if( dp = strstr(fmt,src) ) | ~~~^~~~~~~~~~~~~~~~~ admin._.c:4336:11: note: place parentheses around the assignment to silence this warning 4336 | if( dp = strstr(fmt,src) ) | ^ | ( ) admin._.c:4336:11: note: use '==' to turn this assignment into an equality comparison 4336 | if( dp = strstr(fmt,src) ) | ^ | == admin._.c:4350:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4350 | for( cx = 0; src = mssgmap[cx].m_src; cx++ ){ | ~~~~^~~~~~~~~~~~~~~~~~~ admin._.c:4350:20: note: place parentheses around the assignment to silence this warning 4350 | for( cx = 0; src = mssgmap[cx].m_src; cx++ ){ | ^ | ( ) admin._.c:4350:20: note: use '==' to turn this assignment into an equality comparison 4350 | 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] 4351 | if( dp = strstr(mp,src) ){ | ~~~^~~~~~~~~~~~~~~~ admin._.c:4351:11: note: place parentheses around the assignment to silence this warning 4351 | if( dp = strstr(mp,src) ){ | ^ | ( ) admin._.c:4351:11: note: use '==' to turn this assignment into an equality comparison 4351 | if( dp = strstr(mp,src) ){ | ^ | == admin._.c:4443:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4443 | if( qryp = strchr(command,'?') ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~ admin._.c:4443:10: note: place parentheses around the assignment to silence this warning 4443 | if( qryp = strchr(command,'?') ){ | ^ | ( ) admin._.c:4443:10: note: use '==' to turn this assignment into an equality comparison 4443 | if( qryp = strchr(command,'?') ){ | ^ | == admin._.c:4449:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4449 | if( qryp = strchr(xcommand,'?') ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ admin._.c:4449:11: note: place parentheses around the assignment to silence this warning 4449 | if( qryp = strchr(xcommand,'?') ) | ^ | ( ) admin._.c:4449:11: note: use '==' to turn this assignment into an equality comparison 4449 | if( qryp = strchr(xcommand,'?') ) | ^ | == admin._.c:4476:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4476 | if( act = getv(argv,"action") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~ admin._.c:4476:10: note: place parentheses around the assignment to silence this warning 4476 | if( act = getv(argv,"action") ){ | ^ | ( ) admin._.c:4476:10: note: use '==' to turn this assignment into an equality comparison 4476 | if( act = getv(argv,"action") ){ | ^ | == admin._.c:4554:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4554 | if( dp = strchr(who,'{') ) | ~~~^~~~~~~~~~~~~~~~~ admin._.c:4554:9: note: place parentheses around the assignment to silence this warning 4554 | if( dp = strchr(who,'{') ) | ^ | ( ) admin._.c:4554:9: note: use '==' to turn this assignment into an equality comparison 4554 | if( dp = strchr(who,'{') ) | ^ | == admin._.c:4900:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4900 | if( v1 = admin_getv("ioconf-sock-sndbuf") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin._.c:4900:9: note: place parentheses around the assignment to silence this warning 4900 | if( v1 = admin_getv("ioconf-sock-sndbuf") ){ | ^ | ( ) admin._.c:4900:9: note: use '==' to turn this assignment into an equality comparison 4900 | if( v1 = admin_getv("ioconf-sock-sndbuf") ){ | ^ | == admin._.c:4907:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4907 | if( v1 = admin_getv("ioconf-sock-sndmutex") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin._.c:4907:9: note: place parentheses around the assignment to silence this warning 4907 | if( v1 = admin_getv("ioconf-sock-sndmutex") ){ | ^ | ( ) admin._.c:4907:9: note: use '==' to turn this assignment into an equality comparison 4907 | if( v1 = admin_getv("ioconf-sock-sndmutex") ){ | ^ | == admin._.c:4909:18: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 4909 | SOCK_SNDMUTEX = 1; | ^ ~ admin._.c:4912:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4912 | if( v1 = admin_getv("ioconf-sock-sndnodelay") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin._.c:4912:9: note: place parentheses around the assignment to silence this warning 4912 | if( v1 = admin_getv("ioconf-sock-sndnodelay") ){ | ^ | ( ) admin._.c:4912:9: note: use '==' to turn this assignment into an equality comparison 4912 | if( v1 = admin_getv("ioconf-sock-sndnodelay") ){ | ^ | == admin._.c:4914:20: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 4914 | SOCK_SNDNODELAY = 1; | ^ ~ admin._.c:4917:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4917 | if( v1 = admin_getv("ioconf-sock-sndwait") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin._.c:4917:9: note: place parentheses around the assignment to silence this warning 4917 | if( v1 = admin_getv("ioconf-sock-sndwait") ){ | ^ | ( ) admin._.c:4917:9: note: use '==' to turn this assignment into an equality comparison 4917 | if( v1 = admin_getv("ioconf-sock-sndwait") ){ | ^ | == 81 warnings generated. ../mkcpp notify.c notify._.c -- mkcpp set time: 1773311811 -> 1264937963 notify._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c notify._.c -o notify.o ../mkcpp shutter.c shutter._.c -- mkcpp set time: 1773311812 -> 1250403944 shutter._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c shutter._.c -o shutter.o shutter._.c:212:21: warning: 'sizeof' call operates on objects of type 'Connection_01' (aka 'DGCtx00') while the size is based on a different type 'Connection_01 *' (aka 'DGCtx00 *') [-Wsizeof-pointer-memaccess] 212 | bzero(Conn,sizeof(Conn)); | ~~~~ ^~~~ shutter._.c:212:21: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)? 212 | bzero(Conn,sizeof(Conn)); | ^~~~ shutter._.c:354:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 354 | if( dp = strpbrk(reason,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ shutter._.c:354:10: note: place parentheses around the assignment to silence this warning 354 | if( dp = strpbrk(reason,"\r\n") ) | ^ | ( ) shutter._.c:354:10: note: use '==' to turn this assignment into an equality comparison 354 | if( dp = strpbrk(reason,"\r\n") ) | ^ | == shutter._.c:351:22: warning: 'sizeof' call operates on objects of type 'Connection_01' (aka 'DGCtx00') while the size is based on a different type 'Connection_01 *' (aka 'DGCtx00 *') [-Wsizeof-pointer-memaccess] 351 | bzero(Conn,sizeof(Conn)); | ~~~~ ^~~~ shutter._.c:351:22: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)? 351 | bzero(Conn,sizeof(Conn)); | ^~~~ 3 warnings generated. ../mkcpp abort.c abort._.c -- mkcpp set time: 1773311812 -> 1264934191 abort._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c abort._.c -o abort.o ../mkcpp form2conf.c form2conf._.c -- mkcpp set time: 1773311812 -> 1264840721 form2conf._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c form2conf._.c -o form2conf.o form2conf._.c:35:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 35 | for( sp = src; ch = *sp; sp++ ){ | ~~~^~~~~ form2conf._.c:35:20: note: place parentheses around the assignment to silence this warning 35 | for( sp = src; ch = *sp; sp++ ){ | ^ | ( ) form2conf._.c:35:20: note: use '==' to turn this assignment into an equality comparison 35 | for( sp = src; ch = *sp; sp++ ){ | ^ | == form2conf._.c:184:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 184 | for( ci = 0; name = conf_params[ci]; ci++ ){ | ~~~~~^~~~~~~~~~~~~~~~~ form2conf._.c:184:20: note: place parentheses around the assignment to silence this warning 184 | for( ci = 0; name = conf_params[ci]; ci++ ){ | ^ | ( ) form2conf._.c:184:20: note: use '==' to turn this assignment into an equality comparison 184 | 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] 216 | for( ci = 1; name = conf_params[ci]; ci++ ){ | ~~~~~^~~~~~~~~~~~~~~~~ form2conf._.c:216:21: note: place parentheses around the assignment to silence this warning 216 | for( ci = 1; name = conf_params[ci]; ci++ ){ | ^ | ( ) form2conf._.c:216:21: note: use '==' to turn this assignment into an equality comparison 216 | 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] 727 | if( dp = strstr(p2,"/admin") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ form2conf._.c:727:15: note: place parentheses around the assignment to silence this warning 727 | if( dp = strstr(p2,"/admin") ){ | ^ | ( ) form2conf._.c:727:15: note: use '==' to turn this assignment into an equality comparison 727 | if( dp = strstr(p2,"/admin") ){ | ^ | == form2conf._.c:733:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 733 | if( dp = strchr(p1,':') ){ | ~~~^~~~~~~~~~~~~~~~ form2conf._.c:733:12: note: place parentheses around the assignment to silence this warning 733 | if( dp = strchr(p1,':') ){ | ^ | ( ) form2conf._.c:733:12: note: use '==' to turn this assignment into an equality comparison 733 | if( dp = strchr(p1,':') ){ | ^ | == form2conf._.c:739:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 739 | if( dp = strstr(p1,"/admin") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ form2conf._.c:739:12: note: place parentheses around the assignment to silence this warning 739 | if( dp = strstr(p1,"/admin") ){ | ^ | ( ) form2conf._.c:739:12: note: use '==' to turn this assignment into an equality comparison 739 | if( dp = strstr(p1,"/admin") ){ | ^ | == form2conf._.c:918:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 918 | if( vp = strchr(av1,'=') ){ | ~~~^~~~~~~~~~~~~~~~~ form2conf._.c:918:10: note: place parentheses around the assignment to silence this warning 918 | if( vp = strchr(av1,'=') ){ | ^ | ( ) form2conf._.c:918:10: note: use '==' to turn this assignment into an equality comparison 918 | if( vp = strchr(av1,'=') ){ | ^ | == form2conf._.c:1100:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1100 | if( data = getConfigData(Conn,name,"",&date) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ form2conf._.c:1100:13: note: place parentheses around the assignment to silence this warning 1100 | if( data = getConfigData(Conn,name,"",&date) ){ | ^ | ( ) form2conf._.c:1100:13: note: use '==' to turn this assignment into an equality comparison 1100 | if( data = getConfigData(Conn,name,"",&date) ){ | ^ | == form2conf._.c:1222:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1222 | if( lfp = fopen_lockconf(VStrNULL,a1,"r+",AVStr(path),0) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ form2conf._.c:1222:11: note: place parentheses around the assignment to silence this warning 1222 | if( lfp = fopen_lockconf(VStrNULL,a1,"r+",AVStr(path),0) ){ | ^ | ( ) form2conf._.c:1222:11: note: use '==' to turn this assignment into an equality comparison 1222 | 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] 1419 | if( a1 = admin_getv(pma2) ){ | ~~~^~~~~~~~~~~~~~~~~~ form2conf._.c:1419:10: note: place parentheses around the assignment to silence this warning 1419 | if( a1 = admin_getv(pma2) ){ | ^ | ( ) form2conf._.c:1419:10: note: use '==' to turn this assignment into an equality comparison 1419 | if( a1 = admin_getv(pma2) ){ | ^ | == 10 warnings generated. ../mkcpp process.c process._.c -- mkcpp set time: 1773311814 -> 1264841769 process._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c process._.c -o process.o process._.c:118:21: warning: 'sizeof' call operates on objects of type 'Connection_01' (aka 'DGCtx00') while the size is based on a different type 'Connection_01 *' (aka 'DGCtx00 *') [-Wsizeof-pointer-memaccess] 118 | bzero(Conn,sizeof(Conn)); /* dumped in initABORT() */ | ~~~~ ^~~~ process._.c:118:21: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)? 118 | bzero(Conn,sizeof(Conn)); /* dumped in initABORT() */ | ^~~~ process._.c:260:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 260 | if( Conn->fi_issock = file_ISSOCK(sock) ){ | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ process._.c:260:22: note: place parentheses around the assignment to silence this warning 260 | if( Conn->fi_issock = file_ISSOCK(sock) ){ | ^ | ( ) process._.c:260:22: note: use '==' to turn this assignment into an equality comparison 260 | if( Conn->fi_issock = file_ISSOCK(sock) ){ | ^ | == 2 warnings generated. ../mkcpp vaddr.c vaddr._.c -- mkcpp set time: 1773311814 -> 1250403944 vaddr._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c vaddr._.c -o vaddr.o ../mkcpp conf.c conf._.c -- mkcpp set time: 1773311814 -> 1414475958 conf._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c conf._.c -o conf.o \ -DADMIN=\"admin@example.com\" \ -DADMINPASS=\"\" conf._.c:245:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 245 | if( pp = strstr(dir,subst) ){ | ~~~^~~~~~~~~~~~~~~~~~~ conf._.c:245:9: note: place parentheses around the assignment to silence this warning 245 | if( pp = strstr(dir,subst) ){ | ^ | ( ) conf._.c:245:9: note: use '==' to turn this assignment into an equality comparison 245 | if( pp = strstr(dir,subst) ){ | ^ | == conf._.c:250:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 250 | if( dp = strchr(pat,'}') ) | ~~~^~~~~~~~~~~~~~~~~ conf._.c:250:10: note: place parentheses around the assignment to silence this warning 250 | if( dp = strchr(pat,'}') ) | ^ | ( ) conf._.c:250:10: note: use '==' to turn this assignment into an equality comparison 250 | if( dp = strchr(pat,'}') ) | ^ | == conf._.c:324:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 324 | if( cl_proxy = isSetProxyOfClient(Conn,AVStr(cl_proto)) ){ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf._.c:324:16: note: place parentheses around the assignment to silence this warning 324 | if( cl_proxy = isSetProxyOfClient(Conn,AVStr(cl_proto)) ){ | ^ | ( ) conf._.c:324:16: note: use '==' to turn this assignment into an equality comparison 324 | 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] 431 | for( sp = ipath; sc = *sp; sp++ ){ | ~~~^~~~~ conf._.c:431:22: note: place parentheses around the assignment to silence this warning 431 | for( sp = ipath; sc = *sp; sp++ ){ | ^ | ( ) conf._.c:431:22: note: use '==' to turn this assignment into an equality comparison 431 | for( sp = ipath; sc = *sp; sp++ ){ | ^ | == conf._.c:525:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 525 | if( isdir = fileIsdir(dir) ){ | ~~~~~~^~~~~~~~~~~~~~~~ conf._.c:525:12: note: place parentheses around the assignment to silence this warning 525 | if( isdir = fileIsdir(dir) ){ | ^ | ( ) conf._.c:525:12: note: use '==' to turn this assignment into an equality comparison 525 | if( isdir = fileIsdir(dir) ){ | ^ | == conf._.c:552:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 552 | if( isdir = (mkdirRX(dir) == 0) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ conf._.c:552:12: note: place parentheses around the assignment to silence this warning 552 | if( isdir = (mkdirRX(dir) == 0) ){ | ^ | ( ) conf._.c:552:12: note: use '==' to turn this assignment into an equality comparison 552 | if( isdir = (mkdirRX(dir) == 0) ){ | ^ | == conf._.c:568:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 568 | if( env = DELEGATE_getEnv(P_DGROOT) ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ conf._.c:568:11: note: place parentheses around the assignment to silence this warning 568 | if( env = DELEGATE_getEnv(P_DGROOT) ) | ^ | ( ) conf._.c:568:11: note: use '==' to turn this assignment into an equality comparison 568 | if( env = DELEGATE_getEnv(P_DGROOT) ) | ^ | == conf._.c:603:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 603 | if( umasks = DELEGATE_getEnv(P_UMASK) ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ conf._.c:603:13: note: place parentheses around the assignment to silence this warning 603 | if( umasks = DELEGATE_getEnv(P_UMASK) ){ | ^ | ( ) conf._.c:603:13: note: use '==' to turn this assignment into an equality comparison 603 | if( umasks = DELEGATE_getEnv(P_UMASK) ){ | ^ | == conf._.c:612:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 612 | if( dgroot = DELEGATE_getEnv(P_DGROOT) ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ conf._.c:612:13: note: place parentheses around the assignment to silence this warning 612 | if( dgroot = DELEGATE_getEnv(P_DGROOT) ){ | ^ | ( ) conf._.c:612:13: note: use '==' to turn this assignment into an equality comparison 612 | if( dgroot = DELEGATE_getEnv(P_DGROOT) ){ | ^ | == conf._.c:740:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 740 | if( env = getenv("PATH") ){ | ~~~~^~~~~~~~~~~~~~~~ conf._.c:740:10: note: place parentheses around the assignment to silence this warning 740 | if( env = getenv("PATH") ){ | ^ | ( ) conf._.c:740:10: note: use '==' to turn this assignment into an equality comparison 740 | if( env = getenv("PATH") ){ | ^ | == conf._.c:827:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 827 | if( fp = fopen(cpath,"r") ){ | ~~~^~~~~~~~~~~~~~~~~~ conf._.c:827:10: note: place parentheses around the assignment to silence this warning 827 | if( fp = fopen(cpath,"r") ){ | ^ | ( ) conf._.c:827:10: note: use '==' to turn this assignment into an equality comparison 827 | if( fp = fopen(cpath,"r") ){ | ^ | == conf._.c:852:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 852 | 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 852 | 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 852 | 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] 929 | if( val = findFieldValue(info,"MemTotal") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf._.c:929:11: note: place parentheses around the assignment to silence this warning 929 | if( val = findFieldValue(info,"MemTotal") ) | ^ | ( ) conf._.c:929:11: note: use '==' to turn this assignment into an equality comparison 929 | if( val = findFieldValue(info,"MemTotal") ) | ^ | == conf._.c:931:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 931 | if( val = findFieldValue(info,"MemFree") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf._.c:931:11: note: place parentheses around the assignment to silence this warning 931 | if( val = findFieldValue(info,"MemFree") ) | ^ | ( ) conf._.c:931:11: note: use '==' to turn this assignment into an equality comparison 931 | if( val = findFieldValue(info,"MemFree") ) | ^ | == conf._.c:933:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 933 | if( val = findFieldValue(info,"Active") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf._.c:933:11: note: place parentheses around the assignment to silence this warning 933 | if( val = findFieldValue(info,"Active") ) | ^ | ( ) conf._.c:933:11: note: use '==' to turn this assignment into an equality comparison 933 | if( val = findFieldValue(info,"Active") ) | ^ | == conf._.c:935:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 935 | if( val = findFieldValue(info,"Inactive") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf._.c:935:11: note: place parentheses around the assignment to silence this warning 935 | if( val = findFieldValue(info,"Inactive") ) | ^ | ( ) conf._.c:935:11: note: use '==' to turn this assignment into an equality comparison 935 | if( val = findFieldValue(info,"Inactive") ) | ^ | == conf._.c:1091:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1091 | if( usp = UDP_Socketpair(usv) == 0 ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ conf._.c:1091:11: note: place parentheses around the assignment to silence this warning 1091 | if( usp = UDP_Socketpair(usv) == 0 ){ | ^ | ( ) conf._.c:1091:11: note: use '==' to turn this assignment into an equality comparison 1091 | if( usp = UDP_Socketpair(usv) == 0 ){ | ^ | == conf._.c:1154:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1154 | for( sp = str; ch = *sp; sp++ ){ | ~~~^~~~~ conf._.c:1154:20: note: place parentheses around the assignment to silence this warning 1154 | for( sp = str; ch = *sp; sp++ ){ | ^ | ( ) conf._.c:1154:20: note: use '==' to turn this assignment into an equality comparison 1154 | for( sp = str; ch = *sp; sp++ ){ | ^ | == conf._.c:1240:26: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] 1240 | int with_gethostbyname2(); | ^~ conf._.c:1240:26: note: replace parentheses with an initializer to declare a variable 1240 | int with_gethostbyname2(); | ^~ | = 0 19 warnings generated. ../mkcpp svport.c svport._.c -- mkcpp set time: 1773311816 -> 1402161323 svport._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c svport._.c -o svport.o svport._.c:130:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 130 | if( fix = host[0] == '-' ){ | ~~~~^~~~~~~~~~~~~~~~ svport._.c:130:10: note: place parentheses around the assignment to silence this warning 130 | if( fix = host[0] == '-' ){ | ^ | ( ) svport._.c:130:10: note: use '==' to turn this assignment into an equality comparison 130 | if( fix = host[0] == '-' ){ | ^ | == svport._.c:255:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 255 | if( mp = strtailstr(portspec,"/rident") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ svport._.c:255:11: note: place parentheses around the assignment to silence this warning 255 | if( mp = strtailstr(portspec,"/rident") ){ | ^ | ( ) svport._.c:255:11: note: use '==' to turn this assignment into an equality comparison 255 | if( mp = strtailstr(portspec,"/rident") ){ | ^ | == svport._.c:258:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 258 | if( mp = strtailstr(portspec,"/private") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ svport._.c:258:11: note: place parentheses around the assignment to silence this warning 258 | if( mp = strtailstr(portspec,"/private") ){ | ^ | ( ) svport._.c:258:11: note: use '==' to turn this assignment into an equality comparison 258 | if( mp = strtailstr(portspec,"/private") ){ | ^ | == svport._.c:261:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 261 | if( mp = strtailstr(portspec,"/local") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ svport._.c:261:11: note: place parentheses around the assignment to silence this warning 261 | if( mp = strtailstr(portspec,"/local") ){ | ^ | ( ) svport._.c:261:11: note: use '==' to turn this assignment into an equality comparison 261 | if( mp = strtailstr(portspec,"/local") ){ | ^ | == svport._.c:264:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 264 | if( mp = strtailstr(portspec,"/remote") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ svport._.c:264:11: note: place parentheses around the assignment to silence this warning 264 | if( mp = strtailstr(portspec,"/remote") ){ | ^ | ( ) svport._.c:264:11: note: use '==' to turn this assignment into an equality comparison 264 | if( mp = strtailstr(portspec,"/remote") ){ | ^ | == svport._.c:267:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 267 | if( mp = strtailstr(portspec,"/stls") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ svport._.c:267:11: note: place parentheses around the assignment to silence this warning 267 | if( mp = strtailstr(portspec,"/stls") ){ | ^ | ( ) svport._.c:267:11: note: use '==' to turn this assignment into an equality comparison 267 | if( mp = strtailstr(portspec,"/stls") ){ | ^ | == svport._.c:270:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 270 | if( mp = strtailstr(portspec,"/ssl") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ svport._.c:270:11: note: place parentheses around the assignment to silence this warning 270 | if( mp = strtailstr(portspec,"/ssl") ){ | ^ | ( ) svport._.c:270:11: note: use '==' to turn this assignment into an equality comparison 270 | if( mp = strtailstr(portspec,"/ssl") ){ | ^ | == svport._.c:303:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 303 | if( stdport = serviceport(mod) ){ | ~~~~~~~~^~~~~~~~~~~~~~~~~~ svport._.c:303:15: note: place parentheses around the assignment to silence this warning 303 | if( stdport = serviceport(mod) ){ | ^ | ( ) svport._.c:303:15: note: use '==' to turn this assignment into an equality comparison 303 | if( stdport = serviceport(mod) ){ | ^ | == svport._.c:993:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 993 | if( htmux = DELEGATE_getEnv(P_HTMUX) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ svport._.c:993:12: note: place parentheses around the assignment to silence this warning 993 | if( htmux = DELEGATE_getEnv(P_HTMUX) ){ | ^ | ( ) svport._.c:993:12: note: use '==' to turn this assignment into an equality comparison 993 | if( htmux = DELEGATE_getEnv(P_HTMUX) ){ | ^ | == svport._.c:1125:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1125 | if( delegate = serverHostPort ) | ~~~~~~~~~^~~~~~~~~~~~~~~~ svport._.c:1125:15: note: place parentheses around the assignment to silence this warning 1125 | if( delegate = serverHostPort ) | ^ | ( ) svport._.c:1125:15: note: use '==' to turn this assignment into an equality comparison 1125 | if( delegate = serverHostPort ) | ^ | == svport._.c:1130:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1130 | if( addr = gethostaddr(myhost) ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~ svport._.c:1130:12: note: place parentheses around the assignment to silence this warning 1130 | if( addr = gethostaddr(myhost) ) | ^ | ( ) svport._.c:1130:12: note: use '==' to turn this assignment into an equality comparison 1130 | if( addr = gethostaddr(myhost) ) | ^ | == svport._.c:1225:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1225 | if( hp = strchr(host,'%') ){ | ~~~^~~~~~~~~~~~~~~~~~ svport._.c:1225:9: note: place parentheses around the assignment to silence this warning 1225 | if( hp = strchr(host,'%') ){ | ^ | ( ) svport._.c:1225:9: note: use '==' to turn this assignment into an equality comparison 1225 | if( hp = strchr(host,'%') ){ | ^ | == svport._.c:1484:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1484 | for( ap = a1; ac = *ap; ap++ ){ | ~~~^~~~~ svport._.c:1484:19: note: place parentheses around the assignment to silence this warning 1484 | for( ap = a1; ac = *ap; ap++ ){ | ^ | ( ) svport._.c:1484:19: note: use '==' to turn this assignment into an equality comparison 1484 | for( ap = a1; ac = *ap; ap++ ){ | ^ | == svport._.c:1510:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1510 | if( dp = strchr(hostport,'/') ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ svport._.c:1510:9: note: place parentheses around the assignment to silence this warning 1510 | if( dp = strchr(hostport,'/') ) | ^ | ( ) svport._.c:1510:9: note: use '==' to turn this assignment into an equality comparison 1510 | if( dp = strchr(hostport,'/') ) | ^ | == svport._.c:1512:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1512 | if( dp = strchr(hostport,':') ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ svport._.c:1512:9: note: place parentheses around the assignment to silence this warning 1512 | if( dp = strchr(hostport,':') ) | ^ | ( ) svport._.c:1512:9: note: use '==' to turn this assignment into an equality comparison 1512 | if( dp = strchr(hostport,':') ) | ^ | == svport._.c:1869:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1869 | if( iport = 0xFFFF & (SvType(sx) >> 16) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ svport._.c:1869:14: note: place parentheses around the assignment to silence this warning 1869 | if( iport = 0xFFFF & (SvType(sx) >> 16) ){ | ^ | ( ) svport._.c:1869:14: note: use '==' to turn this assignment into an equality comparison 1869 | if( iport = 0xFFFF & (SvType(sx) >> 16) ){ | ^ | == 16 warnings generated. ../mkcpp ddi.c ddi._.c -- mkcpp set time: 1773311818 -> 1411904616 ddi._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c ddi._.c -o ddi.o ddi._.c:52:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 52 | if( nready = fPollIn(fp,to1) ){ | ~~~~~~~^~~~~~~~~~~~~~~~~ ddi._.c:52:14: note: place parentheses around the assignment to silence this warning 52 | if( nready = fPollIn(fp,to1) ){ | ^ | ( ) ddi._.c:52:14: note: use '==' to turn this assignment into an equality comparison 52 | if( nready = fPollIn(fp,to1) ){ | ^ | == ddi._.c:626:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 626 | if( rcode = fgets(str,size,fp) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~ ddi._.c:626:12: note: place parentheses around the assignment to silence this warning 626 | if( rcode = fgets(str,size,fp) ) | ^ | ( ) ddi._.c:626:12: note: use '==' to turn this assignment into an equality comparison 626 | if( rcode = fgets(str,size,fp) ) | ^ | == ddi._.c:879:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 879 | if( port = getFROM(Conn,AVStr(user),AVStr(host),AVStr(ver)) ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ddi._.c:879:11: note: place parentheses around the assignment to silence this warning 879 | if( port = getFROM(Conn,AVStr(user),AVStr(host),AVStr(ver)) ) | ^ | ( ) ddi._.c:879:11: note: use '==' to turn this assignment into an equality comparison 879 | 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] 893 | if( dp = strrchr(tmp,'!') ){ | ~~~^~~~~~~~~~~~~~~~~~ ddi._.c:893:9: note: place parentheses around the assignment to silence this warning 893 | if( dp = strrchr(tmp,'!') ){ | ^ | ( ) ddi._.c:893:9: note: use '==' to turn this assignment into an equality comparison 893 | if( dp = strrchr(tmp,'!') ){ | ^ | == ddi._.c:895:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 895 | if( dp = strrchr(tmp,'!') ){ | ~~~^~~~~~~~~~~~~~~~~~ ddi._.c:895:10: note: place parentheses around the assignment to silence this warning 895 | if( dp = strrchr(tmp,'!') ){ | ^ | ( ) ddi._.c:895:10: note: use '==' to turn this assignment into an equality comparison 895 | if( dp = strrchr(tmp,'!') ){ | ^ | == ddi._.c:1117:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1117 | if( pp = strrchr(path,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~~ ddi._.c:1117:11: note: place parentheses around the assignment to silence this warning 1117 | if( pp = strrchr(path,'/') ){ | ^ | ( ) ddi._.c:1117:11: note: use '==' to turn this assignment into an equality comparison 1117 | if( pp = strrchr(path,'/') ){ | ^ | == ddi._.c:1280:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1280 | if( dp = strrchr(tmp,'.') ) | ~~~^~~~~~~~~~~~~~~~~~ ddi._.c:1280:11: note: place parentheses around the assignment to silence this warning 1280 | if( dp = strrchr(tmp,'.') ) | ^ | ( ) ddi._.c:1280:11: note: use '==' to turn this assignment into an equality comparison 1280 | if( dp = strrchr(tmp,'.') ) | ^ | == ddi._.c:1373:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1373 | if( dp = strstr(tmp," for ") ) | ~~~^~~~~~~~~~~~~~~~~~~~~ ddi._.c:1373:11: note: place parentheses around the assignment to silence this warning 1373 | if( dp = strstr(tmp," for ") ) | ^ | ( ) ddi._.c:1373:11: note: use '==' to turn this assignment into an equality comparison 1373 | if( dp = strstr(tmp," for ") ) | ^ | == ddi._.c:1588:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1588 | if( val = parameq(opt,OPT_AVSERV) ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ddi._.c:1588:10: note: place parentheses around the assignment to silence this warning 1588 | if( val = parameq(opt,OPT_AVSERV) ) | ^ | ( ) ddi._.c:1588:10: note: use '==' to turn this assignment into an equality comparison 1588 | if( val = parameq(opt,OPT_AVSERV) ) | ^ | == ddi._.c:1591:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1591 | if( val = parameq(opt,OPT_NVSERV) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ddi._.c:1591:10: note: place parentheses around the assignment to silence this warning 1591 | if( val = parameq(opt,OPT_NVSERV) ){ | ^ | ( ) ddi._.c:1591:10: note: use '==' to turn this assignment into an equality comparison 1591 | if( val = parameq(opt,OPT_NVSERV) ){ | ^ | == ddi._.c:1806:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1806 | }else | ^ ddi._.c:1964:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1964 | if( tid = ServerFilter.f_tid ){ | ~~~~^~~~~~~~~~~~~~~~~~~~ ddi._.c:1964:10: note: place parentheses around the assignment to silence this warning 1964 | if( tid = ServerFilter.f_tid ){ | ^ | ( ) ddi._.c:1964:10: note: use '==' to turn this assignment into an equality comparison 1964 | if( tid = ServerFilter.f_tid ){ | ^ | == ddi._.c:2191:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2191 | if( tid = curServ.p_filter[0].f_tid ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ddi._.c:2191:12: note: place parentheses around the assignment to silence this warning 2191 | if( tid = curServ.p_filter[0].f_tid ){ | ^ | ( ) ddi._.c:2191:12: note: use '==' to turn this assignment into an equality comparison 2191 | 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] 2225 | if( fp = Efiles[ei].e_fp ){ | ~~~^~~~~~~~~~~~~~~~~ ddi._.c:2225:10: note: place parentheses around the assignment to silence this warning 2225 | if( fp = Efiles[ei].e_fp ){ | ^ | ( ) ddi._.c:2225:10: note: use '==' to turn this assignment into an equality comparison 2225 | if( fp = Efiles[ei].e_fp ){ | ^ | == ddi._.c:2402:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2402 | else rcode = XXfcloseFILE(FL_BAR,fp2); | ^ 15 warnings generated. ../mkcpp textconv.c textconv._.c -- mkcpp set time: 1773311821 -> 1252882639 textconv._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c textconv._.c -o textconv.o textconv._.c:115:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 115 | if( dp = strchr(ccb,'/') ){ | ~~~^~~~~~~~~~~~~~~~~ textconv._.c:115:9: note: place parentheses around the assignment to silence this warning 115 | if( dp = strchr(ccb,'/') ){ | ^ | ( ) textconv._.c:115:9: note: use '==' to turn this assignment into an equality comparison 115 | if( dp = strchr(ccb,'/') ){ | ^ | == textconv._.c:120:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 120 | if( dp = strchr(ccb,'.') ){ | ~~~^~~~~~~~~~~~~~~~~ textconv._.c:120:9: note: place parentheses around the assignment to silence this warning 120 | if( dp = strchr(ccb,'.') ){ | ^ | ( ) textconv._.c:120:9: note: use '==' to turn this assignment into an equality comparison 120 | if( dp = strchr(ccb,'.') ){ | ^ | == textconv._.c:276:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 276 | if( dp = strchr(spec,'.') ){ | ~~~^~~~~~~~~~~~~~~~~~ textconv._.c:276:9: note: place parentheses around the assignment to silence this warning 276 | if( dp = strchr(spec,'.') ){ | ^ | ( ) textconv._.c:276:9: note: use '==' to turn this assignment into an equality comparison 276 | if( dp = strchr(spec,'.') ){ | ^ | == textconv._.c:513:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 513 | if( tocl = CTX_cur_codeconvCL(Conn,AVStr(cvenv)) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ textconv._.c:513:11: note: place parentheses around the assignment to silence this warning 513 | if( tocl = CTX_cur_codeconvCL(Conn,AVStr(cvenv)) ){ | ^ | ( ) textconv._.c:513:11: note: use '==' to turn this assignment into an equality comparison 513 | 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] 608 | if( in = ins[inx] ) | ~~~^~~~~~~~~~ textconv._.c:608:9: note: place parentheses around the assignment to silence this warning 608 | if( in = ins[inx] ) | ^ | ( ) textconv._.c:608:9: note: use '==' to turn this assignment into an equality comparison 608 | if( in = ins[inx] ) | ^ | == textconv._.c:631:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 631 | if( in = ins[inx] ){ | ~~~^~~~~~~~~~ textconv._.c:631:11: note: place parentheses around the assignment to silence this warning 631 | if( in = ins[inx] ){ | ^ | ( ) textconv._.c:631:11: note: use '==' to turn this assignment into an equality comparison 631 | if( in = ins[inx] ){ | ^ | == 6 warnings generated. ../mkcpp script.c script._.c -- mkcpp set time: 1773311824 -> 1414079727 script._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c script._.c -o script.o script._.c:106:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 106 | for( sp = line; ch = *sp; sp++ ) | ~~~^~~~~ script._.c:106:21: note: place parentheses around the assignment to silence this warning 106 | for( sp = line; ch = *sp; sp++ ) | ^ | ( ) script._.c:106:21: note: use '==' to turn this assignment into an equality comparison 106 | for( sp = line; ch = *sp; sp++ ) | ^ | == script._.c:110:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 110 | while( ch = *sp ){ | ~~~^~~~~ script._.c:110:12: note: place parentheses around the assignment to silence this warning 110 | while( ch = *sp ){ | ^ | ( ) script._.c:110:12: note: use '==' to turn this assignment into an equality comparison 110 | while( ch = *sp ){ | ^ | == script._.c:136:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 136 | if( fp = popen(command,"r") ){ | ~~~^~~~~~~~~~~~~~~~~~~~ script._.c:136:11: note: place parentheses around the assignment to silence this warning 136 | if( fp = popen(command,"r") ){ | ^ | ( ) script._.c:136:11: note: use '==' to turn this assignment into an equality comparison 136 | if( fp = popen(command,"r") ){ | ^ | == script._.c:139:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 139 | if( dp = strpbrk(command,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ script._.c:139:12: note: place parentheses around the assignment to silence this warning 139 | if( dp = strpbrk(command,"\r\n") ) | ^ | ( ) script._.c:139:12: note: use '==' to turn this assignment into an equality comparison 139 | if( dp = strpbrk(command,"\r\n") ) | ^ | == script._.c:228:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 228 | if( dp = strpbrk(valueb,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ script._.c:228:10: note: place parentheses around the assignment to silence this warning 228 | if( dp = strpbrk(valueb,"\r\n") ) | ^ | ( ) script._.c:228:10: note: use '==' to turn this assignment into an equality comparison 228 | if( dp = strpbrk(valueb,"\r\n") ) | ^ | == script._.c:419:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 419 | if( psfp = scripts[ii].sf_sfp ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~ script._.c:419:12: note: place parentheses around the assignment to silence this warning 419 | if( psfp = scripts[ii].sf_sfp ){ | ^ | ( ) script._.c:419:12: note: use '==' to turn this assignment into an equality comparison 419 | if( psfp = scripts[ii].sf_sfp ){ | ^ | == script._.c:552:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 552 | for( pi = 0; path1 = pathv[pi]; pi++ ){ | ~~~~~~^~~~~~~~~~~ script._.c:552:21: note: place parentheses around the assignment to silence this warning 552 | for( pi = 0; path1 = pathv[pi]; pi++ ){ | ^ | ( ) script._.c:552:21: note: use '==' to turn this assignment into an equality comparison 552 | for( pi = 0; path1 = pathv[pi]; pi++ ){ | ^ | == script._.c:686:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 686 | if( lp = loadListFile(url) ){ | ~~~^~~~~~~~~~~~~~~~~~~ script._.c:686:12: note: place parentheses around the assignment to silence this warning 686 | if( lp = loadListFile(url) ){ | ^ | ( ) script._.c:686:12: note: use '==' to turn this assignment into an equality comparison 686 | if( lp = loadListFile(url) ){ | ^ | == script._.c:827:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 827 | if( cp = strstr(com,INC_SYM) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ script._.c:827:11: note: place parentheses around the assignment to silence this warning 827 | if( cp = strstr(com,INC_SYM) ){ | ^ | ( ) script._.c:827:11: note: use '==' to turn this assignment into an equality comparison 827 | if( cp = strstr(com,INC_SYM) ){ | ^ | == 9 warnings generated. ../mkcpp param.c param._.c -- mkcpp set time: 1773311826 -> 1286035705 param._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c param._.c -o param.o param._.c:437:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 437 | for( fi = 1; name = params[fi].p_name; fi++ ) | ~~~~~^~~~~~~~~~~~~~~~~~~ param._.c:437:20: note: place parentheses around the assignment to silence this warning 437 | for( fi = 1; name = params[fi].p_name; fi++ ) | ^ | ( ) param._.c:437:20: note: use '==' to turn this assignment into an equality comparison 437 | 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] 446 | if( pp = strheadstrX(param,PFX_LOCK,0) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ param._.c:446:9: note: place parentheses around the assignment to silence this warning 446 | if( pp = strheadstrX(param,PFX_LOCK,0) ){ | ^ | ( ) param._.c:446:9: note: use '==' to turn this assignment into an equality comparison 446 | if( pp = strheadstrX(param,PFX_LOCK,0) ){ | ^ | == param._.c:466:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 466 | if( dp = strheadstrX(param,name1,0) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ param._.c:466:10: note: place parentheses around the assignment to silence this warning 466 | if( dp = strheadstrX(param,name1,0) ){ | ^ | ( ) param._.c:466:10: note: use '==' to turn this assignment into an equality comparison 466 | if( dp = strheadstrX(param,name1,0) ){ | ^ | == param._.c:476:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 476 | if( pi = paramX(param,nameonly) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ param._.c:476:9: note: place parentheses around the assignment to silence this warning 476 | if( pi = paramX(param,nameonly) ){ | ^ | ( ) param._.c:476:9: note: use '==' to turn this assignment into an equality comparison 476 | if( pi = paramX(param,nameonly) ){ | ^ | == param._.c:492:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 492 | if( p1 = paramp(param,1) ){ | ~~~^~~~~~~~~~~~~~~~~ param._.c:492:10: note: place parentheses around the assignment to silence this warning 492 | if( p1 = paramp(param,1) ){ | ^ | ( ) param._.c:492:10: note: use '==' to turn this assignment into an equality comparison 492 | if( p1 = paramp(param,1) ){ | ^ | == param._.c:501:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 501 | if( p1 = paramp(param,1) ){ | ~~~^~~~~~~~~~~~~~~~~ param._.c:501:9: note: place parentheses around the assignment to silence this warning 501 | if( p1 = paramp(param,1) ){ | ^ | ( ) param._.c:501:9: note: use '==' to turn this assignment into an equality comparison 501 | if( p1 = paramp(param,1) ){ | ^ | == param._.c:531:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 531 | if( pp = paramp(param,dolock) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ param._.c:531:9: note: place parentheses around the assignment to silence this warning 531 | if( pp = paramp(param,dolock) ){ | ^ | ( ) param._.c:531:9: note: use '==' to turn this assignment into an equality comparison 531 | if( pp = paramp(param,dolock) ){ | ^ | == param._.c:561:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 561 | if( pp = paramp(param,dolock) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ param._.c:561:9: note: place parentheses around the assignment to silence this warning 561 | if( pp = paramp(param,dolock) ){ | ^ | ( ) param._.c:561:9: note: use '==' to turn this assignment into an equality comparison 561 | if( pp = paramp(param,dolock) ){ | ^ | == param._.c:578:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 578 | for( pi = 0; name = params[pi].p_name; pi++ ){ | ~~~~~^~~~~~~~~~~~~~~~~~~ param._.c:578:20: note: place parentheses around the assignment to silence this warning 578 | for( pi = 0; name = params[pi].p_name; pi++ ){ | ^ | ( ) param._.c:578:20: note: use '==' to turn this assignment into an equality comparison 578 | 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] 605 | if( dp = strchr(param,'=') ){ | ~~~^~~~~~~~~~~~~~~~~~~ param._.c:605:9: note: place parentheses around the assignment to silence this warning 605 | if( dp = strchr(param,'=') ){ | ^ | ( ) param._.c:605:9: note: use '==' to turn this assignment into an equality comparison 605 | if( dp = strchr(param,'=') ){ | ^ | == param._.c:610:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 610 | for( pi = 0; pn = params[pi].p_name; pi++ ){ | ~~~^~~~~~~~~~~~~~~~~~~ param._.c:610:18: note: place parentheses around the assignment to silence this warning 610 | for( pi = 0; pn = params[pi].p_name; pi++ ){ | ^ | ( ) param._.c:610:18: note: use '==' to turn this assignment into an equality comparison 610 | 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] 614 | if( pm = params[pi].p_mssg ) | ~~~^~~~~~~~~~~~~~~~~~~ param._.c:614:11: note: place parentheses around the assignment to silence this warning 614 | if( pm = params[pi].p_mssg ) | ^ | ( ) param._.c:614:11: note: use '==' to turn this assignment into an equality comparison 614 | if( pm = params[pi].p_mssg ) | ^ | == param._.c:687:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 687 | for( sai = 0; name = sav[sai]; sai++ ){ | ~~~~~^~~~~~~~~~ param._.c:687:25: note: place parentheses around the assignment to silence this warning 687 | for( sai = 0; name = sav[sai]; sai++ ){ | ^ | ( ) param._.c:687:25: note: use '==' to turn this assignment into an equality comparison 687 | for( sai = 0; name = sav[sai]; sai++ ){ | ^ | == param._.c:696:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 696 | for( sai = 0; name = sav[sai]; sai++ ){ | ~~~~~^~~~~~~~~~ param._.c:696:25: note: place parentheses around the assignment to silence this warning 696 | for( sai = 0; name = sav[sai]; sai++ ){ | ^ | ( ) param._.c:696:25: note: use '==' to turn this assignment into an equality comparison 696 | for( sai = 0; name = sav[sai]; sai++ ){ | ^ | == param._.c:716:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 716 | if( dav[dai] = paramAbsPath(sav[sai]) ){ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ param._.c:716:17: note: place parentheses around the assignment to silence this warning 716 | if( dav[dai] = paramAbsPath(sav[sai]) ){ | ^ | ( ) param._.c:716:17: note: use '==' to turn this assignment into an equality comparison 716 | if( dav[dai] = paramAbsPath(sav[sai]) ){ | ^ | == 15 warnings generated. ../mkcpp env.c env._.c -- mkcpp set time: 1773311828 -> 1773311327 env._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c env._.c -o env.o env._.c:106:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 106 | if( value = getv(gen_environ,name) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ env._.c:106:12: note: place parentheses around the assignment to silence this warning 106 | if( value = getv(gen_environ,name) ) | ^ | ( ) env._.c:106:12: note: use '==' to turn this assignment into an equality comparison 106 | if( value = getv(gen_environ,name) ) | ^ | == env._.c:110:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 110 | if( value = getv(extovw_argv,name) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ env._.c:110:12: note: place parentheses around the assignment to silence this warning 110 | if( value = getv(extovw_argv,name) ) | ^ | ( ) env._.c:110:12: note: use '==' to turn this assignment into an equality comparison 110 | if( value = getv(extovw_argv,name) ) | ^ | == env._.c:114:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 114 | if( value = getv(main_argv,name) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ env._.c:114:12: note: place parentheses around the assignment to silence this warning 114 | if( value = getv(main_argv,name) ) | ^ | ( ) env._.c:114:12: note: use '==' to turn this assignment into an equality comparison 114 | if( value = getv(main_argv,name) ) | ^ | == env._.c:118:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 118 | if( value = getv(ext_argv,name) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ env._.c:118:12: note: place parentheses around the assignment to silence this warning 118 | if( value = getv(ext_argv,name) ) | ^ | ( ) env._.c:118:12: note: use '==' to turn this assignment into an equality comparison 118 | if( value = getv(ext_argv,name) ) | ^ | == env._.c:123:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 123 | if( value = getenv(xname) ) | ~~~~~~^~~~~~~~~~~~~~~ env._.c:123:12: note: place parentheses around the assignment to silence this warning 123 | if( value = getenv(xname) ) | ^ | ( ) env._.c:123:12: note: use '==' to turn this assignment into an equality comparison 123 | if( value = getenv(xname) ) | ^ | == env._.c:127:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 127 | if( value = getenv(name) ) | ~~~~~~^~~~~~~~~~~~~~ env._.c:127:12: note: place parentheses around the assignment to silence this warning 127 | if( value = getenv(name) ) | ^ | ( ) env._.c:127:12: note: use '==' to turn this assignment into an equality comparison 127 | if( value = getenv(name) ) | ^ | == env._.c:133:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 133 | if( value = getEnvBin(name) ) | ~~~~~~^~~~~~~~~~~~~~~~~ env._.c:133:12: note: place parentheses around the assignment to silence this warning 133 | if( value = getEnvBin(name) ) | ^ | ( ) env._.c:133:12: note: use '==' to turn this assignment into an equality comparison 133 | if( value = getEnvBin(name) ) | ^ | == env._.c:140:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 140 | if( env = getEnvBin(name) ) | ~~~~^~~~~~~~~~~~~~~~~ env._.c:140:10: note: place parentheses around the assignment to silence this warning 140 | if( env = getEnvBin(name) ) | ^ | ( ) env._.c:140:10: note: use '==' to turn this assignment into an equality comparison 140 | if( env = getEnvBin(name) ) | ^ | == env._.c:365:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 365 | if( pv = parameq(arg1,"MYAUTH") ){ arg1 = "MYAUTH="; } | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ env._.c:365:10: note: place parentheses around the assignment to silence this warning 365 | if( pv = parameq(arg1,"MYAUTH") ){ arg1 = "MYAUTH="; } | ^ | ( ) env._.c:365:10: note: use '==' to turn this assignment into an equality comparison 365 | if( pv = parameq(arg1,"MYAUTH") ){ arg1 = "MYAUTH="; } | ^ | == env._.c:366:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 366 | if( pv = parameq(arg1,"PASSWD") ){ arg1 = "PASSWD="; } | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ env._.c:366:10: note: place parentheses around the assignment to silence this warning 366 | if( pv = parameq(arg1,"PASSWD") ){ arg1 = "PASSWD="; } | ^ | ( ) env._.c:366:10: note: use '==' to turn this assignment into an equality comparison 366 | if( pv = parameq(arg1,"PASSWD") ){ arg1 = "PASSWD="; } | ^ | == env._.c:367:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 367 | if( pv = parameq(arg1,"CRYPT" ) ){ arg1 = "CRYPT="; } | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ env._.c:367:10: note: place parentheses around the assignment to silence this warning 367 | if( pv = parameq(arg1,"CRYPT" ) ){ arg1 = "CRYPT="; } | ^ | ( ) env._.c:367:10: note: use '==' to turn this assignment into an equality comparison 367 | if( pv = parameq(arg1,"CRYPT" ) ){ arg1 = "CRYPT="; } | ^ | == env._.c:397:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 397 | for( ai = 0; env = environ[ai]; ai++ ) | ~~~~^~~~~~~~~~~~~ env._.c:397:19: note: place parentheses around the assignment to silence this warning 397 | for( ai = 0; env = environ[ai]; ai++ ) | ^ | ( ) env._.c:397:19: note: use '==' to turn this assignment into an equality comparison 397 | for( ai = 0; env = environ[ai]; ai++ ) | ^ | == env._.c:399:44: warning: add explicit braces to avoid dangling else [-Wdangling-else] 399 | if( !showidx ) CFput0(fp,"env %s\n",env) else | ^ env._.c:408:54: warning: add explicit braces to avoid dangling else [-Wdangling-else] 408 | if( !showidx ) CFput0(fp,"arg %s\n",main_argv[ai]) else | ^ env._.c:413:56: warning: add explicit braces to avoid dangling else [-Wdangling-else] 413 | if( !showidx ) CFput0(fp,"gen %s\n",gen_environ[ai]) else | ^ env._.c:806:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 806 | if( func = Me->m_func ) | ~~~~~^~~~~~~~~~~~ env._.c:806:12: note: place parentheses around the assignment to silence this warning 806 | if( func = Me->m_func ) | ^ | ( ) env._.c:806:12: note: use '==' to turn this assignment into an equality comparison 806 | if( func = Me->m_func ) | ^ | == env._.c:833:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 833 | if( arg = strstr(arg,")") ) | ~~~~^~~~~~~~~~~~~~~~~ env._.c:833:11: note: place parentheses around the assignment to silence this warning 833 | if( arg = strstr(arg,")") ) | ^ | ( ) env._.c:833:11: note: use '==' to turn this assignment into an equality comparison 833 | if( arg = strstr(arg,")") ) | ^ | == env._.c:885:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 885 | if( dp = strchr(arg,'=') ){ | ~~~^~~~~~~~~~~~~~~~~ env._.c:885:10: note: place parentheses around the assignment to silence this warning 885 | if( dp = strchr(arg,'=') ){ | ^ | ( ) env._.c:885:10: note: use '==' to turn this assignment into an equality comparison 885 | if( dp = strchr(arg,'=') ){ | ^ | == env._.c:976:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 976 | for( ei = 0; e1 = ov[ei]; ei++ ) | ~~~^~~~~~~~ env._.c:976:18: note: place parentheses around the assignment to silence this warning 976 | for( ei = 0; e1 = ov[ei]; ei++ ) | ^ | ( ) env._.c:976:18: note: use '==' to turn this assignment into an equality comparison 976 | for( ei = 0; e1 = ov[ei]; ei++ ) | ^ | == env._.c:1016:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1016 | for( ei = 0; e1 = ev[ei]; ei++ ){ | ~~~^~~~~~~~ env._.c:1016:18: note: place parentheses around the assignment to silence this warning 1016 | for( ei = 0; e1 = ev[ei]; ei++ ){ | ^ | ( ) env._.c:1016:18: note: use '==' to turn this assignment into an equality comparison 1016 | for( ei = 0; e1 = ev[ei]; ei++ ){ | ^ | == env._.c:1471:34: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] 1471 | LOG_bugs |= (1 << atoi(&arg[2])-1); | ~~ ~~~~~~~~~~~~~^~ env._.c:1471:34: note: place parentheses around the '-' expression to silence this warning 1471 | LOG_bugs |= (1 << atoi(&arg[2])-1); | ^ | ( ) env._.c:1482:14: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 1482 | RAND_TRACE = 1; | ^ ~ env._.c:1501:23: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 1501 | PEEK_CLIENT_REQUEST = 1; | ^ ~ env._.c:1728:24: warning: 'sizeof' call operates on objects of type 'DefData *' while the size is based on a different type 'DefData **' [-Wsizeof-pointer-memaccess] 1728 | bzero(defData,sizeof(defData)); | ~~~~~~~ ^~~~~~~ env._.c:1728:24: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)? 1728 | bzero(defData,sizeof(defData)); | ^~~~~~~ env._.c:1792:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1792 | for( pp = pat; pc = *pp; pp++ ){ | ~~~^~~~~ env._.c:1792:20: note: place parentheses around the assignment to silence this warning 1792 | for( pp = pat; pc = *pp; pp++ ){ | ^ | ( ) env._.c:1792:20: note: use '==' to turn this assignment into an equality comparison 1792 | for( pp = pat; pc = *pp; pp++ ){ | ^ | == env._.c:1940:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1940 | if( vp = parameq(line,"SERVER") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ env._.c:1940:9: note: place parentheses around the assignment to silence this warning 1940 | if( vp = parameq(line,"SERVER") ){ | ^ | ( ) env._.c:1940:9: note: use '==' to turn this assignment into an equality comparison 1940 | if( vp = parameq(line,"SERVER") ){ | ^ | == env._.c:2066:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2066 | if( cfp = fopen(DC->dc_file,"r") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ env._.c:2066:10: note: place parentheses around the assignment to silence this warning 2066 | if( cfp = fopen(DC->dc_file,"r") ){ | ^ | ( ) env._.c:2066:10: note: use '==' to turn this assignment into an equality comparison 2066 | if( cfp = fopen(DC->dc_file,"r") ){ | ^ | == env._.c:2083:6: warning: comparison of array 'esock' not equal to a null pointer is always true [-Wtautological-pointer-compare] 2083 | if( esock != NULL ){ | ^~~~~ ~~~~ 28 warnings generated. ../mkcpp thmain.c thmain._.c -- mkcpp set time: 1773311831 -> 1284890657 thmain._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c thmain._.c -o thmain.o thmain._.c:450:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 450 | if( err = thread_wait(tid,1000) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ thmain._.c:450:11: note: place parentheses around the assignment to silence this warning 450 | if( err = thread_wait(tid,1000) ){ | ^ | ( ) thmain._.c:450:11: note: use '==' to turn this assignment into an equality comparison 450 | if( err = thread_wait(tid,1000) ){ | ^ | == thmain._.c:464:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 464 | if( err = thread_wait(tids[ti],30*1000) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ thmain._.c:464:11: note: place parentheses around the assignment to silence this warning 464 | if( err = thread_wait(tids[ti],30*1000) ){ | ^ | ( ) thmain._.c:464:11: note: use '==' to turn this assignment into an equality comparison 464 | if( err = thread_wait(tids[ti],30*1000) ){ | ^ | == 2 warnings generated. ../mkcpp syslog.c syslog._.c -- mkcpp set time: 1773311833 -> 1264933348 syslog._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c syslog._.c -o syslog.o syslog._.c:58:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 58 | for( fi = 0; fn = Severity[fi]; fi++ ){ | ~~~^~~~~~~~~~~~~~ syslog._.c:58:18: note: place parentheses around the assignment to silence this warning 58 | for( fi = 0; fn = Severity[fi]; fi++ ){ | ^ | ( ) syslog._.c:58:18: note: use '==' to turn this assignment into an equality comparison 58 | for( fi = 0; fn = Severity[fi]; fi++ ){ | ^ | == syslog._.c:95:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 95 | for( fi = 0; fn = Facility[fi]; fi++ ){ | ~~~^~~~~~~~~~~~~~ syslog._.c:95:18: note: place parentheses around the assignment to silence this warning 95 | for( fi = 0; fn = Facility[fi]; fi++ ){ | ^ | ( ) syslog._.c:95:18: note: use '==' to turn this assignment into an equality comparison 95 | for( fi = 0; fn = Facility[fi]; fi++ ){ | ^ | == syslog._.c:314:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 314 | if( lfp = fopen(url+5,"a") ){ | ~~~~^~~~~~~~~~~~~~~~~~ syslog._.c:314:11: note: place parentheses around the assignment to silence this warning 314 | if( lfp = fopen(url+5,"a") ){ | ^ | ( ) syslog._.c:314:11: note: use '==' to turn this assignment into an equality comparison 314 | if( lfp = fopen(url+5,"a") ){ | ^ | == syslog._.c:322:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 322 | if( lfp = fopen(url,"a") ){ | ~~~~^~~~~~~~~~~~~~~~ syslog._.c:322:11: note: place parentheses around the assignment to silence this warning 322 | if( lfp = fopen(url,"a") ){ | ^ | ( ) syslog._.c:322:11: note: use '==' to turn this assignment into an equality comparison 322 | if( lfp = fopen(url,"a") ){ | ^ | == 4 warnings generated. ../mkcpp log.c log._.c -- mkcpp set time: 1773311835 -> 1414474072 log._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c log._.c -o log.o log._.c:200:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 200 | if( buff = getStrBuffer(SB_PROC,MAXLENG,1) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ log._.c:200:12: note: place parentheses around the assignment to silence this warning 200 | if( buff = getStrBuffer(SB_PROC,MAXLENG,1) ){ | ^ | ( ) log._.c:200:12: note: use '==' to turn this assignment into an equality comparison 200 | if( buff = getStrBuffer(SB_PROC,MAXLENG,1) ){ | ^ | == log._.c:272:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 272 | if( plog = pplog ){ | ~~~~~^~~~~~~ log._.c:272:11: note: place parentheses around the assignment to silence this warning 272 | if( plog = pplog ){ | ^ | ( ) log._.c:272:11: note: use '==' to turn this assignment into an equality comparison 272 | if( plog = pplog ){ | ^ | == log._.c:564:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 564 | while( ldp = strstr(link,tag) ){ | ~~~~^~~~~~~~~~~~~~~~~~ log._.c:564:13: note: place parentheses around the assignment to silence this warning 564 | while( ldp = strstr(link,tag) ){ | ^ | ( ) log._.c:564:13: note: use '==' to turn this assignment into an equality comparison 564 | while( ldp = strstr(link,tag) ){ | ^ | == log._.c:565:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 565 | if( tp = strchr(link,']') ){ | ~~~^~~~~~~~~~~~~~~~~~ log._.c:565:10: note: place parentheses around the assignment to silence this warning 565 | if( tp = strchr(link,']') ){ | ^ | ( ) log._.c:565:10: note: use '==' to turn this assignment into an equality comparison 565 | if( tp = strchr(link,']') ){ | ^ | == log._.c:573:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 573 | while( fdp = strstr(file,tag) ){ | ~~~~^~~~~~~~~~~~~~~~~~ log._.c:573:13: note: place parentheses around the assignment to silence this warning 573 | while( fdp = strstr(file,tag) ){ | ^ | ( ) log._.c:573:13: note: use '==' to turn this assignment into an equality comparison 573 | while( fdp = strstr(file,tag) ){ | ^ | == log._.c:576:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 576 | if( tp = strchr(format,']') ){ | ~~~^~~~~~~~~~~~~~~~~~~~ log._.c:576:10: note: place parentheses around the assignment to silence this warning 576 | if( tp = strchr(format,']') ){ | ^ | ( ) log._.c:576:10: note: use '==' to turn this assignment into an equality comparison 576 | if( tp = strchr(format,']') ){ | ^ | == log._.c:755:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 755 | if( tfp = fopen(current,"a") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~ log._.c:755:11: note: place parentheses around the assignment to silence this warning 755 | if( tfp = fopen(current,"a") ){ | ^ | ( ) log._.c:755:11: note: use '==' to turn this assignment into an equality comparison 755 | if( tfp = fopen(current,"a") ){ | ^ | == log._.c:921:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 921 | if( filters = logF->l_filters ){ | ~~~~~~~~^~~~~~~~~~~~~~~~~ log._.c:921:15: note: place parentheses around the assignment to silence this warning 921 | if( filters = logF->l_filters ){ | ^ | ( ) log._.c:921:15: note: use '==' to turn this assignment into an equality comparison 921 | if( filters = logF->l_filters ){ | ^ | == log._.c:998:14: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 998 | LOG_GENERIC = 1; | ^ ~ log._.c:1078:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1078 | if( ex = LogF->l_ex ){ | ~~~^~~~~~~~~~~~ log._.c:1078:9: note: place parentheses around the assignment to silence this warning 1078 | if( ex = LogF->l_ex ){ | ^ | ( ) log._.c:1078:9: note: use '==' to turn this assignment into an equality comparison 1078 | if( ex = LogF->l_ex ){ | ^ | == log._.c:1272:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1272 | if( fp = fdopen(fd,"a") ) | ~~~^~~~~~~~~~~~~~~~ log._.c:1272:10: note: place parentheses around the assignment to silence this warning 1272 | if( fp = fdopen(fd,"a") ) | ^ | ( ) log._.c:1272:10: note: use '==' to turn this assignment into an equality comparison 1272 | if( fp = fdopen(fd,"a") ) | ^ | == log._.c:2040:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2040 | if( fp = dirfopen("PortFile",AVStr(PortF.l_path),"r") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ log._.c:2040:10: note: place parentheses around the assignment to silence this warning 2040 | if( fp = dirfopen("PortFile",AVStr(PortF.l_path),"r") ){ | ^ | ( ) log._.c:2040:10: note: use '==' to turn this assignment into an equality comparison 2040 | 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] 2092 | while( ep = strstr(bgn,end) ){ | ~~~^~~~~~~~~~~~~~~~~ log._.c:2092:13: note: place parentheses around the assignment to silence this warning 2092 | while( ep = strstr(bgn,end) ){ | ^ | ( ) log._.c:2092:13: note: use '==' to turn this assignment into an equality comparison 2092 | while( ep = strstr(bgn,end) ){ | ^ | == log._.c:2145:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2145 | if( LogF = LOG_which("ftp",LF_PROTOLOG,0) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ log._.c:2145:11: note: place parentheses around the assignment to silence this warning 2145 | if( LogF = LOG_which("ftp",LF_PROTOLOG,0) ){ | ^ | ( ) log._.c:2145:11: note: use '==' to turn this assignment into an equality comparison 2145 | 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] 2297 | if( np = strchr(lp,'\n') ){ | ~~~^~~~~~~~~~~~~~~~~ log._.c:2297:10: note: place parentheses around the assignment to silence this warning 2297 | if( np = strchr(lp,'\n') ){ | ^ | ( ) log._.c:2297:10: note: use '==' to turn this assignment into an equality comparison 2297 | if( np = strchr(lp,'\n') ){ | ^ | == log._.c:2370:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2370 | if( fp = fopen(unlinkv[ui],"r") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ log._.c:2370:10: note: place parentheses around the assignment to silence this warning 2370 | if( fp = fopen(unlinkv[ui],"r") ){ | ^ | ( ) log._.c:2370:10: note: use '==' to turn this assignment into an equality comparison 2370 | if( fp = fopen(unlinkv[ui],"r") ){ | ^ | == log._.c:2753:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2753 | for( rp = reason; rc = *rp; rp++ ){ | ~~~^~~~~ log._.c:2753:23: note: place parentheses around the assignment to silence this warning 2753 | for( rp = reason; rc = *rp; rp++ ){ | ^ | ( ) log._.c:2753:23: note: use '==' to turn this assignment into an equality comparison 2753 | for( rp = reason; rc = *rp; rp++ ){ | ^ | == log._.c:2778:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2778 | if( fp = dirfopen("MBOXMUID",AVStr(path),"w+") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ log._.c:2778:10: note: place parentheses around the assignment to silence this warning 2778 | if( fp = dirfopen("MBOXMUID",AVStr(path),"w+") ) | ^ | ( ) log._.c:2778:10: note: use '==' to turn this assignment into an equality comparison 2778 | if( fp = dirfopen("MBOXMUID",AVStr(path),"w+") ) | ^ | == log._.c:2782:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2782 | if( fp = dirfopen("MBOXMUID",AVStr(path),"r+") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ log._.c:2782:10: note: place parentheses around the assignment to silence this warning 2782 | if( fp = dirfopen("MBOXMUID",AVStr(path),"r+") ){ | ^ | ( ) log._.c:2782:10: note: use '==' to turn this assignment into an equality comparison 2782 | if( fp = dirfopen("MBOXMUID",AVStr(path),"r+") ){ | ^ | == log._.c:2799:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2799 | if( ufp = openMuid(1,muid,AVStr(mbox)) ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ log._.c:2799:12: note: place parentheses around the assignment to silence this warning 2799 | if( ufp = openMuid(1,muid,AVStr(mbox)) ) | ^ | ( ) log._.c:2799:12: note: use '==' to turn this assignment into an equality comparison 2799 | if( ufp = openMuid(1,muid,AVStr(mbox)) ) | ^ | == log._.c:2997:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2997 | if( dp = strchr(path,HS_SET) ) | ~~~^~~~~~~~~~~~~~~~~~~~~ log._.c:2997:12: note: place parentheses around the assignment to silence this warning 2997 | if( dp = strchr(path,HS_SET) ) | ^ | ( ) log._.c:2997:12: note: use '==' to turn this assignment into an equality comparison 2997 | if( dp = strchr(path,HS_SET) ) | ^ | == log._.c:3054:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3054 | if( dp = strchr(addr,HS_SET) ) | ~~~^~~~~~~~~~~~~~~~~~~~~ log._.c:3054:10: note: place parentheses around the assignment to silence this warning 3054 | if( dp = strchr(addr,HS_SET) ) | ^ | ( ) log._.c:3054:10: note: use '==' to turn this assignment into an equality comparison 3054 | if( dp = strchr(addr,HS_SET) ) | ^ | == log._.c:3176:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3176 | if( addr = gethostaddr(host) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~ log._.c:3176:15: note: place parentheses around the assignment to silence this warning 3176 | if( addr = gethostaddr(host) ){ | ^ | ( ) log._.c:3176:15: note: use '==' to turn this assignment into an equality comparison 3176 | if( addr = gethostaddr(host) ){ | ^ | == log._.c:3290:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3290 | if( lkfp = dirfopen("LOCALLOCK",AVStr(lkpath),"w+") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ log._.c:3290:11: note: place parentheses around the assignment to silence this warning 3290 | if( lkfp = dirfopen("LOCALLOCK",AVStr(lkpath),"w+") ){ | ^ | ( ) log._.c:3290:11: note: use '==' to turn this assignment into an equality comparison 3290 | if( lkfp = dirfopen("LOCALLOCK",AVStr(lkpath),"w+") ){ | ^ | == log._.c:3310:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3310 | if( file = getenv("DELEGATE_LOGLOG") ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ log._.c:3310:11: note: place parentheses around the assignment to silence this warning 3310 | if( file = getenv("DELEGATE_LOGLOG") ) | ^ | ( ) log._.c:3310:11: note: use '==' to turn this assignment into an equality comparison 3310 | if( file = getenv("DELEGATE_LOGLOG") ) | ^ | == log._.c:3311:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3311 | if( logfp = fopen(file,"a") ){ | ~~~~~~^~~~~~~~~~~~~~~~~ log._.c:3311:12: note: place parentheses around the assignment to silence this warning 3311 | if( logfp = fopen(file,"a") ){ | ^ | ( ) log._.c:3311:12: note: use '==' to turn this assignment into an equality comparison 3311 | if( logfp = fopen(file,"a") ){ | ^ | == log._.c:3456:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3456 | if( pfp = fopen(path,"a") ){ | ~~~~^~~~~~~~~~~~~~~~~ log._.c:3456:10: note: place parentheses around the assignment to silence this warning 3456 | if( pfp = fopen(path,"a") ){ | ^ | ( ) log._.c:3456:10: note: use '==' to turn this assignment into an equality comparison 3456 | if( pfp = fopen(path,"a") ){ | ^ | == log._.c:3477:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3477 | if( pfp = proc_fp ){ | ~~~~^~~~~~~~~ log._.c:3477:10: note: place parentheses around the assignment to silence this warning 3477 | if( pfp = proc_fp ){ | ^ | ( ) log._.c:3477:10: note: use '==' to turn this assignment into an equality comparison 3477 | if( pfp = proc_fp ){ | ^ | == log._.c:3490:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3490 | if( pp = strrchr(path,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~~ log._.c:3490:10: note: place parentheses around the assignment to silence this warning 3490 | if( pp = strrchr(path,'/') ){ | ^ | ( ) log._.c:3490:10: note: use '==' to turn this assignment into an equality comparison 3490 | if( pp = strrchr(path,'/') ){ | ^ | == 29 warnings generated. ../mkcpp svstat.c svstat._.c -- mkcpp set time: 1773311838 -> 1264830319 svstat._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c svstat._.c -o svstat.o svstat._.c:341:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 341 | while( fc = *fp++ ){ | ~~~^~~~~~~ svstat._.c:341:12: note: place parentheses around the assignment to silence this warning 341 | while( fc = *fp++ ){ | ^ | ( ) svstat._.c:341:12: note: use '==' to turn this assignment into an equality comparison 341 | while( fc = *fp++ ){ | ^ | == svstat._.c:523:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 523 | if( tp = strchr(fp,']') ){ | ~~~^~~~~~~~~~~~~~~~ svstat._.c:523:12: note: place parentheses around the assignment to silence this warning 523 | if( tp = strchr(fp,']') ){ | ^ | ( ) svstat._.c:523:12: note: use '==' to turn this assignment into an equality comparison 523 | if( tp = strchr(fp,']') ){ | ^ | == 2 warnings generated. ../mkcpp iotimeout.c iotimeout._.c -- mkcpp set time: 1773311840 -> 1291180990 iotimeout._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c iotimeout._.c -o iotimeout.o iotimeout._.c:65:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 65 | if( closed = checkCloseOnTimeout(1) ) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ iotimeout._.c:65:14: note: place parentheses around the assignment to silence this warning 65 | if( closed = checkCloseOnTimeout(1) ) | ^ | ( ) iotimeout._.c:65:14: note: use '==' to turn this assignment into an equality comparison 65 | if( closed = checkCloseOnTimeout(1) ) | ^ | == 1 warning generated. ../mkcpp misc.c misc._.c -- mkcpp set time: 1773311842 -> 1264937762 misc._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c misc._.c -o misc.o misc._.c:224:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 224 | if( dp = strrchr(dir,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~ misc._.c:224:9: note: place parentheses around the assignment to silence this warning 224 | if( dp = strrchr(dir,'/') ){ | ^ | ( ) misc._.c:224:9: note: use '==' to turn this assignment into an equality comparison 224 | if( dp = strrchr(dir,'/') ){ | ^ | == misc._.c:232:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 232 | if( sfp = dgfopen("copyFile-src","",src,"r") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc._.c:232:11: note: place parentheses around the assignment to silence this warning 232 | if( sfp = dgfopen("copyFile-src","",src,"r") ){ | ^ | ( ) misc._.c:232:11: note: use '==' to turn this assignment into an equality comparison 232 | if( sfp = dgfopen("copyFile-src","",src,"r") ){ | ^ | == misc._.c:234:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 234 | if( dfp = dgfopen("copyFile-append","",dst,mode) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc._.c:234:12: note: place parentheses around the assignment to silence this warning 234 | if( dfp = dgfopen("copyFile-append","",dst,mode) ){ | ^ | ( ) misc._.c:234:12: note: use '==' to turn this assignment into an equality comparison 234 | if( dfp = dgfopen("copyFile-append","",dst,mode) ){ | ^ | == misc._.c:245:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 245 | if( dfp = dgfopen("copyFile-create","",xnew,"w") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc._.c:245:12: note: place parentheses around the assignment to silence this warning 245 | if( dfp = dgfopen("copyFile-create","",xnew,"w") ){ | ^ | ( ) misc._.c:245:12: note: use '==' to turn this assignment into an equality comparison 245 | if( dfp = dgfopen("copyFile-create","",xnew,"w") ){ | ^ | == 4 warnings generated. ../mkcpp msg.c msg._.c -- mkcpp set time: 1773311843 -> 1264834137 msg._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c msg._.c -o msg.o msg._.c:46:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 46 | for( sp = status; ch = *sp; sp++ ){ | ~~~^~~~~ msg._.c:46:23: note: place parentheses around the assignment to silence this warning 46 | for( sp = status; ch = *sp; sp++ ){ | ^ | ( ) msg._.c:46:23: note: use '==' to turn this assignment into an equality comparison 46 | for( sp = status; ch = *sp; sp++ ){ | ^ | == msg._.c:63:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 63 | while( ch = *sp++ ){ | ~~~^~~~~~~ msg._.c:63:12: note: place parentheses around the assignment to silence this warning 63 | while( ch = *sp++ ){ | ^ | ( ) msg._.c:63:12: note: use '==' to turn this assignment into an equality comparison 63 | while( ch = *sp++ ){ | ^ | == msg._.c:94:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 94 | if( xsize = putmsghead("putMessage",ser,buff,size,dstf,encode,AVStr(xbuff)) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ msg._.c:94:12: note: place parentheses around the assignment to silence this warning 94 | if( xsize = putmsghead("putMessage",ser,buff,size,dstf,encode,AVStr(xbuff)) ){ | ^ | ( ) msg._.c:94:12: note: use '==' to turn this assignment into an equality comparison 94 | if( xsize = putmsghead("putMessage",ser,buff,size,dstf,encode,AVStr(xbuff)) ){ | ^ | == msg._.c:159:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 159 | for( ser = 1; rcc = freadIntime(AVStr(buff),1,sizeof(buff),srcf,MSG_TIMEOUT); ser++ ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ msg._.c:159:20: note: place parentheses around the assignment to silence this warning 159 | for( ser = 1; rcc = freadIntime(AVStr(buff),1,sizeof(buff),srcf,MSG_TIMEOUT); ser++ ){ | ^ | ( ) msg._.c:159:20: note: use '==' to turn this assignment into an equality comparison 159 | for( ser = 1; rcc = freadIntime(AVStr(buff),1,sizeof(buff),srcf,MSG_TIMEOUT); ser++ ){ | ^ | == msg._.c:263:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 263 | if( pending = Pending ){ | ~~~~~~~~^~~~~~~~~ msg._.c:263:14: note: place parentheses around the assignment to silence this warning 263 | if( pending = Pending ){ | ^ | ( ) msg._.c:263:14: note: use '==' to turn this assignment into an equality comparison 263 | if( pending = Pending ){ | ^ | == msg._.c:426:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 426 | if( xsize = putmsghead("cpy1",ser,buff,leng,dst,encode,AVStr(xbuff)) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ msg._.c:426:12: note: place parentheses around the assignment to silence this warning 426 | if( xsize = putmsghead("cpy1",ser,buff,leng,dst,encode,AVStr(xbuff)) ){ | ^ | ( ) msg._.c:426:12: note: use '==' to turn this assignment into an equality comparison 426 | if( xsize = putmsghead("cpy1",ser,buff,leng,dst,encode,AVStr(xbuff)) ){ | ^ | == 6 warnings generated. ../mkcpp yshell.c yshell._.c -- mkcpp set time: 1773311844 -> 1276430216 yshell._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c yshell._.c -o yshell.o yshell._.c:235:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 235 | if( lfp = _logMonFp ){ | ~~~~^~~~~~~~~~~ yshell._.c:235:10: note: place parentheses around the assignment to silence this warning 235 | if( lfp = _logMonFp ){ | ^ | ( ) yshell._.c:235:10: note: use '==' to turn this assignment into an equality comparison 235 | if( lfp = _logMonFp ){ | ^ | == yshell._.c:391:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 391 | for( rp = buf; ch = *rp; rp++ ){ hputc(Ysh,pch = ch); } | ~~~^~~~~ yshell._.c:391:20: note: place parentheses around the assignment to silence this warning 391 | for( rp = buf; ch = *rp; rp++ ){ hputc(Ysh,pch = ch); } | ^ | ( ) yshell._.c:391:20: note: use '==' to turn this assignment into an equality comparison 391 | 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] 392 | for( rp = req; ch = *rp; rp++ ){ hputc(Ysh,pch = ch); } | ~~~^~~~~ yshell._.c:392:20: note: place parentheses around the assignment to silence this warning 392 | for( rp = req; ch = *rp; rp++ ){ hputc(Ysh,pch = ch); } | ^ | ( ) yshell._.c:392:20: note: use '==' to turn this assignment into an equality comparison 392 | 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] 556 | if( dp = strrchr(curl,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~~ yshell._.c:556:10: note: place parentheses around the assignment to silence this warning 556 | if( dp = strrchr(curl,'/') ){ | ^ | ( ) yshell._.c:556:10: note: use '==' to turn this assignment into an equality comparison 556 | if( dp = strrchr(curl,'/') ){ | ^ | == yshell._.c:608:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 608 | if( dp = strrchr(upath,'/') ) | ~~~^~~~~~~~~~~~~~~~~~~~ yshell._.c:608:11: note: place parentheses around the assignment to silence this warning 608 | if( dp = strrchr(upath,'/') ) | ^ | ( ) yshell._.c:608:11: note: use '==' to turn this assignment into an equality comparison 608 | if( dp = strrchr(upath,'/') ) | ^ | == yshell._.c:617:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 617 | if( fp = fopen(lpath,"w+") ){ | ~~~^~~~~~~~~~~~~~~~~~~ yshell._.c:617:9: note: place parentheses around the assignment to silence this warning 617 | if( fp = fopen(lpath,"w+") ){ | ^ | ( ) yshell._.c:617:9: note: use '==' to turn this assignment into an equality comparison 617 | if( fp = fopen(lpath,"w+") ){ | ^ | == yshell._.c:642:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 642 | if( dp = strchr(Args,' ') ){ | ~~~^~~~~~~~~~~~~~~~~~ yshell._.c:642:10: note: place parentheses around the assignment to silence this warning 642 | if( dp = strchr(Args,' ') ){ | ^ | ( ) yshell._.c:642:10: note: use '==' to turn this assignment into an equality comparison 642 | if( dp = strchr(Args,' ') ){ | ^ | == yshell._.c:751:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 751 | if( fp1 = fopen(path1,"r") ){ | ~~~~^~~~~~~~~~~~~~~~~~ yshell._.c:751:12: note: place parentheses around the assignment to silence this warning 751 | if( fp1 = fopen(path1,"r") ){ | ^ | ( ) yshell._.c:751:12: note: use '==' to turn this assignment into an equality comparison 751 | if( fp1 = fopen(path1,"r") ){ | ^ | == yshell._.c:762:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 762 | if( fp1 = fopen(path1,"r") ){ | ~~~~^~~~~~~~~~~~~~~~~~ yshell._.c:762:11: note: place parentheses around the assignment to silence this warning 762 | if( fp1 = fopen(path1,"r") ){ | ^ | ( ) yshell._.c:762:11: note: use '==' to turn this assignment into an equality comparison 762 | if( fp1 = fopen(path1,"r") ){ | ^ | == yshell._.c:774:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 774 | if( fp1 = fopen(path1,"r") ){ | ~~~~^~~~~~~~~~~~~~~~~~ yshell._.c:774:11: note: place parentheses around the assignment to silence this warning 774 | if( fp1 = fopen(path1,"r") ){ | ^ | ( ) yshell._.c:774:11: note: use '==' to turn this assignment into an equality comparison 774 | if( fp1 = fopen(path1,"r") ){ | ^ | == yshell._.c:793:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 793 | if( fp1 = fopen(path1,"w") ){ | ~~~~^~~~~~~~~~~~~~~~~~ yshell._.c:793:11: note: place parentheses around the assignment to silence this warning 793 | if( fp1 = fopen(path1,"w") ){ | ^ | ( ) yshell._.c:793:11: note: use '==' to turn this assignment into an equality comparison 793 | if( fp1 = fopen(path1,"w") ){ | ^ | == yshell._.c:802:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 802 | if( fp1 = fopen(path1,"a") ){ | ~~~~^~~~~~~~~~~~~~~~~~ yshell._.c:802:11: note: place parentheses around the assignment to silence this warning 802 | if( fp1 = fopen(path1,"a") ){ | ^ | ( ) yshell._.c:802:11: note: use '==' to turn this assignment into an equality comparison 802 | if( fp1 = fopen(path1,"a") ){ | ^ | == yshell._.c:810:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 810 | if( fp1 = fopen(path1,"a") ){ | ~~~~^~~~~~~~~~~~~~~~~~ yshell._.c:810:11: note: place parentheses around the assignment to silence this warning 810 | if( fp1 = fopen(path1,"a") ){ | ^ | ( ) yshell._.c:810:11: note: use '==' to turn this assignment into an equality comparison 810 | if( fp1 = fopen(path1,"a") ){ | ^ | == yshell._.c:820:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 820 | if( fp1 = fopen(path1,"r") ){ | ~~~~^~~~~~~~~~~~~~~~~~ yshell._.c:820:11: note: place parentheses around the assignment to silence this warning 820 | if( fp1 = fopen(path1,"r") ){ | ^ | ( ) yshell._.c:820:11: note: use '==' to turn this assignment into an equality comparison 820 | if( fp1 = fopen(path1,"r") ){ | ^ | == yshell._.c:821:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 821 | if( fp2 = fopen(path2,"w") ){ | ~~~~^~~~~~~~~~~~~~~~~~ yshell._.c:821:12: note: place parentheses around the assignment to silence this warning 821 | if( fp2 = fopen(path2,"w") ){ | ^ | ( ) yshell._.c:821:12: note: use '==' to turn this assignment into an equality comparison 821 | if( fp2 = fopen(path2,"w") ){ | ^ | == yshell._.c:933:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 933 | if( dp = strheadstrX(head,"Authorization:",0) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ yshell._.c:933:10: note: place parentheses around the assignment to silence this warning 933 | if( dp = strheadstrX(head,"Authorization:",0) ){ | ^ | ( ) yshell._.c:933:10: note: use '==' to turn this assignment into an equality comparison 933 | if( dp = strheadstrX(head,"Authorization:",0) ){ | ^ | == yshell._.c:1177:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1177 | if( ts = fdopen(sock,"w") ){ | ~~~^~~~~~~~~~~~~~~~~~ yshell._.c:1177:9: note: place parentheses around the assignment to silence this warning 1177 | if( ts = fdopen(sock,"w") ){ | ^ | ( ) yshell._.c:1177:9: note: use '==' to turn this assignment into an equality comparison 1177 | if( ts = fdopen(sock,"w") ){ | ^ | == yshell._.c:1182:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1182 | if( fs = fdopen(dup(sock),"r") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~ yshell._.c:1182:10: note: place parentheses around the assignment to silence this warning 1182 | if( fs = fdopen(dup(sock),"r") ){ | ^ | ( ) yshell._.c:1182:10: note: use '==' to turn this assignment into an equality comparison 1182 | if( fs = fdopen(dup(sock),"r") ){ | ^ | == yshell._.c:1247:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1247 | 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 1247 | 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 1247 | 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] 1248 | if( pp = strcasestr(OREQ_MSG,"win_title=") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ yshell._.c:1248:10: note: place parentheses around the assignment to silence this warning 1248 | if( pp = strcasestr(OREQ_MSG,"win_title=") ){ | ^ | ( ) yshell._.c:1248:10: note: use '==' to turn this assignment into an equality comparison 1248 | if( pp = strcasestr(OREQ_MSG,"win_title=") ){ | ^ | == yshell._.c:1297:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1297 | if( pp = strstr(stat,"WINDOWID=") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ yshell._.c:1297:9: note: place parentheses around the assignment to silence this warning 1297 | if( pp = strstr(stat,"WINDOWID=") ){ | ^ | ( ) yshell._.c:1297:9: note: use '==' to turn this assignment into an equality comparison 1297 | if( pp = strstr(stat,"WINDOWID=") ){ | ^ | == yshell._.c:1299:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1299 | if( pp = strstr(stat,"TITLE=") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~ yshell._.c:1299:10: note: place parentheses around the assignment to silence this warning 1299 | if( pp = strstr(stat,"TITLE=") ){ | ^ | ( ) yshell._.c:1299:10: note: use '==' to turn this assignment into an equality comparison 1299 | if( pp = strstr(stat,"TITLE=") ){ | ^ | == yshell._.c:1308:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1308 | if( pp = strstr(stat,"SCRSIZE=") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ yshell._.c:1308:9: note: place parentheses around the assignment to silence this warning 1308 | if( pp = strstr(stat,"SCRSIZE=") ){ | ^ | ( ) yshell._.c:1308:9: note: use '==' to turn this assignment into an equality comparison 1308 | if( pp = strstr(stat,"SCRSIZE=") ){ | ^ | == yshell._.c:1424:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1424 | if( query = strchr(Com,'?') ){ | ~~~~~~^~~~~~~~~~~~~~~~~ yshell._.c:1424:14: note: place parentheses around the assignment to silence this warning 1424 | if( query = strchr(Com,'?') ){ | ^ | ( ) yshell._.c:1424:14: note: use '==' to turn this assignment into an equality comparison 1424 | if( query = strchr(Com,'?') ){ | ^ | == yshell._.c:1455:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1455 | if( v1 = getenv(Arg1+1) ){ | ~~~^~~~~~~~~~~~~~~~ yshell._.c:1455:13: note: place parentheses around the assignment to silence this warning 1455 | if( v1 = getenv(Arg1+1) ){ | ^ | ( ) yshell._.c:1455:13: note: use '==' to turn this assignment into an equality comparison 1455 | if( v1 = getenv(Arg1+1) ){ | ^ | == yshell._.c:1706:24: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] 1706 | int SortCachedHosts(); | ^~ yshell._.c:1706:24: note: replace parentheses with an initializer to declare a variable 1706 | int SortCachedHosts(); | ^~ | = 0 26 warnings generated. ../mkcpp shio.c shio._.c -- mkcpp set time: 1773311847 -> 1250403944 shio._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c shio._.c -o shio.o shio._.c:149:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 149 | if( fp = fopen(file,"r") ){ | ~~~^~~~~~~~~~~~~~~~~ shio._.c:149:9: note: place parentheses around the assignment to silence this warning 149 | if( fp = fopen(file,"r") ){ | ^ | ( ) shio._.c:149:9: note: use '==' to turn this assignment into an equality comparison 149 | if( fp = fopen(file,"r") ){ | ^ | == shio._.c:150:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 150 | while( rc = fread(buff,1,sizeof(buff),fp) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shio._.c:150:13: note: place parentheses around the assignment to silence this warning 150 | while( rc = fread(buff,1,sizeof(buff),fp) ) | ^ | ( ) shio._.c:150:13: note: use '==' to turn this assignment into an equality comparison 150 | 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] 159 | while( rc = read(in,buff,sizeof(buff)) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ shio._.c:159:13: note: place parentheses around the assignment to silence this warning 159 | while( rc = read(in,buff,sizeof(buff)) ){ | ^ | ( ) shio._.c:159:13: note: use '==' to turn this assignment into an equality comparison 159 | while( rc = read(in,buff,sizeof(buff)) ){ | ^ | == shio._.c:189:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 189 | for(si = 0; sl = script[si]; si++){ | ~~~^~~~~~~~~~~~ shio._.c:189:17: note: place parentheses around the assignment to silence this warning 189 | for(si = 0; sl = script[si]; si++){ | ^ | ( ) shio._.c:189:17: note: use '==' to turn this assignment into an equality comparison 189 | for(si = 0; sl = script[si]; si++){ | ^ | == 4 warnings generated. ../mkcpp db.c db._.c -- mkcpp set time: 1773311848 -> 1264837371 db._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c db._.c -o db.o ../mkcpp hostlist.c hostlist._.c -- mkcpp set time: 1773311850 -> 1284201195 hostlist._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c hostlist._.c -o hostlist.o hostlist._.c:166:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 166 | if( noresolv = *dname == '-' ) | ~~~~~~~~~^~~~~~~~~~~~~~~ hostlist._.c:166:15: note: place parentheses around the assignment to silence this warning 166 | if( noresolv = *dname == '-' ) | ^ | ( ) hostlist._.c:166:15: note: use '==' to turn this assignment into an equality comparison 166 | if( noresolv = *dname == '-' ) | ^ | == hostlist._.c:168:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 168 | if( aflags = strchr(dname,'/') ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~ hostlist._.c:168:13: note: place parentheses around the assignment to silence this warning 168 | if( aflags = strchr(dname,'/') ){ | ^ | ( ) hostlist._.c:168:13: note: use '==' to turn this assignment into an equality comparison 168 | if( aflags = strchr(dname,'/') ){ | ^ | == hostlist._.c:309:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 309 | for( pi = 0; proto1 = protolist[pi]; pi++ ){ | ~~~~~~~^~~~~~~~~~~~~~~ hostlist._.c:309:22: note: place parentheses around the assignment to silence this warning 309 | for( pi = 0; proto1 = protolist[pi]; pi++ ){ | ^ | ( ) hostlist._.c:309:22: note: use '==' to turn this assignment into an equality comparison 309 | for( pi = 0; proto1 = protolist[pi]; pi++ ){ | ^ | == hostlist._.c:355:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 355 | for( ui = 0; user = userlist[ui]; ui++ ){ | ~~~~~^~~~~~~~~~~~~~ hostlist._.c:355:20: note: place parentheses around the assignment to silence this warning 355 | for( ui = 0; user = userlist[ui]; ui++ ){ | ^ | ( ) hostlist._.c:355:20: note: use '==' to turn this assignment into an equality comparison 355 | for( ui = 0; user = userlist[ui]; ui++ ){ | ^ | == hostlist._.c:364:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 364 | if( rexp = rexplist[ui] ){ | ~~~~~^~~~~~~~~~~~~~ hostlist._.c:364:12: note: place parentheses around the assignment to silence this warning 364 | if( rexp = rexplist[ui] ){ | ^ | ( ) hostlist._.c:364:12: note: use '==' to turn this assignment into an equality comparison 364 | if( rexp = rexplist[ui] ){ | ^ | == hostlist._.c:394:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 394 | for( pi = 0; ports = portlist[pi]; pi++ ){ | ~~~~~~^~~~~~~~~~~~~~ hostlist._.c:394:21: note: place parentheses around the assignment to silence this warning 394 | for( pi = 0; ports = portlist[pi]; pi++ ){ | ^ | ( ) hostlist._.c:394:21: note: use '==' to turn this assignment into an equality comparison 394 | for( pi = 0; ports = portlist[pi]; pi++ ){ | ^ | == hostlist._.c:492:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 492 | for( si = 0; sc = st[si]; si++ ){ | ~~~^~~~~~~~ hostlist._.c:492:18: note: place parentheses around the assignment to silence this warning 492 | for( si = 0; sc = st[si]; si++ ){ | ^ | ( ) hostlist._.c:492:18: note: use '==' to turn this assignment into an equality comparison 492 | for( si = 0; sc = st[si]; si++ ){ | ^ | == hostlist._.c:600:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 600 | for( vp += 2; ch = *vp; vp++ ){ | ~~~^~~~~ hostlist._.c:600:19: note: place parentheses around the assignment to silence this warning 600 | for( vp += 2; ch = *vp; vp++ ){ | ^ | ( ) hostlist._.c:600:19: note: use '==' to turn this assignment into an equality comparison 600 | for( vp += 2; ch = *vp; vp++ ){ | ^ | == hostlist._.c:609:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 609 | while( *(char*)sp++ = *vp++ ); | ~~~~~~~~~~~~~^~~~~~~ hostlist._.c:609:22: note: place parentheses around the assignment to silence this warning 609 | while( *(char*)sp++ = *vp++ ); | ^ | ( ) hostlist._.c:609:22: note: use '==' to turn this assignment into an equality comparison 609 | while( *(char*)sp++ = *vp++ ); | ^ | == hostlist._.c:676:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 676 | if( byauth = (hostlist->hl_flags & HL_BYAUTH) ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hostlist._.c:676:13: note: place parentheses around the assignment to silence this warning 676 | if( byauth = (hostlist->hl_flags & HL_BYAUTH) ){ | ^ | ( ) hostlist._.c:676:13: note: use '==' to turn this assignment into an equality comparison 676 | if( byauth = (hostlist->hl_flags & HL_BYAUTH) ){ | ^ | == hostlist._.c:1074:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1074 | if( vdom = scanVdomain(hostname,AVStr(hostnameb),AVStr(vdomb)) ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hostlist._.c:1074:11: note: place parentheses around the assignment to silence this warning 1074 | if( vdom = scanVdomain(hostname,AVStr(hostnameb),AVStr(vdomb)) ) | ^ | ( ) hostlist._.c:1074:11: note: use '==' to turn this assignment into an equality comparison 1074 | 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] 1168 | if( dp = strchr(ap,'.') ){ | ~~~^~~~~~~~~~~~~~~~ hostlist._.c:1168:10: note: place parentheses around the assignment to silence this warning 1168 | if( dp = strchr(ap,'.') ){ | ^ | ( ) hostlist._.c:1168:10: note: use '==' to turn this assignment into an equality comparison 1168 | if( dp = strchr(ap,'.') ){ | ^ | == hostlist._.c:1205:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1205 | if( dp = strchr(hostmask,'@') ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ hostlist._.c:1205:9: note: place parentheses around the assignment to silence this warning 1205 | if( dp = strchr(hostmask,'@') ) | ^ | ( ) hostlist._.c:1205:9: note: use '==' to turn this assignment into an equality comparison 1205 | if( dp = strchr(hostmask,'@') ) | ^ | == hostlist._.c:1226:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1226 | if( dp = hostpart(list,1) ){ | ~~~^~~~~~~~~~~~~~~~~~ hostlist._.c:1226:9: note: place parentheses around the assignment to silence this warning 1226 | if( dp = hostpart(list,1) ){ | ^ | ( ) hostlist._.c:1226:9: note: use '==' to turn this assignment into an equality comparison 1226 | if( dp = hostpart(list,1) ){ | ^ | == hostlist._.c:1317:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1317 | while( ch = *hp ){ | ~~~^~~~~ hostlist._.c:1317:14: note: place parentheses around the assignment to silence this warning 1317 | while( ch = *hp ){ | ^ | ( ) hostlist._.c:1317:14: note: use '==' to turn this assignment into an equality comparison 1317 | while( ch = *hp ){ | ^ | == hostlist._.c:1383:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1383 | if( route = strstr(hostmask,"//") ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ hostlist._.c:1383:12: note: place parentheses around the assignment to silence this warning 1383 | if( route = strstr(hostmask,"//") ){ | ^ | ( ) hostlist._.c:1383:12: note: use '==' to turn this assignment into an equality comparison 1383 | if( route = strstr(hostmask,"//") ){ | ^ | == hostlist._.c:1442:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1442 | if( mp = strchr(hostmask,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ hostlist._.c:1442:9: note: place parentheses around the assignment to silence this warning 1442 | if( mp = strchr(hostmask,'/') ){ | ^ | ( ) hostlist._.c:1442:9: note: use '==' to turn this assignment into an equality comparison 1442 | if( mp = strchr(hostmask,'/') ){ | ^ | == hostlist._.c:1447:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1447 | if( submask = isnetmasklen(mp) ){ | ~~~~~~~~^~~~~~~~~~~~~~~~~~ hostlist._.c:1447:15: note: place parentheses around the assignment to silence this warning 1447 | if( submask = isnetmasklen(mp) ){ | ^ | ( ) hostlist._.c:1447:15: note: use '==' to turn this assignment into an equality comparison 1447 | if( submask = isnetmasklen(mp) ){ | ^ | == hostlist._.c:1467:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1467 | if( submask = atoi(&mp[2]) ) | ~~~~~~~~^~~~~~~~~~~~~~ hostlist._.c:1467:16: note: place parentheses around the assignment to silence this warning 1467 | if( submask = atoi(&mp[2]) ) | ^ | ( ) hostlist._.c:1467:16: note: use '==' to turn this assignment into an equality comparison 1467 | if( submask = atoi(&mp[2]) ) | ^ | == hostlist._.c:1493:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1493 | if( dp = strchr(hostnameb,'@') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~ hostlist._.c:1493:10: note: place parentheses around the assignment to silence this warning 1493 | if( dp = strchr(hostnameb,'@') ){ | ^ | ( ) hostlist._.c:1493:10: note: use '==' to turn this assignment into an equality comparison 1493 | if( dp = strchr(hostnameb,'@') ){ | ^ | == hostlist._.c:1497:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1497 | if( pp = strchr(users,'}') ) | ~~~^~~~~~~~~~~~~~~~~~~ hostlist._.c:1497:12: note: place parentheses around the assignment to silence this warning 1497 | if( pp = strchr(users,'}') ) | ^ | ( ) hostlist._.c:1497:12: note: use '==' to turn this assignment into an equality comparison 1497 | if( pp = strchr(users,'}') ) | ^ | == hostlist._.c:1896:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1896 | }else{ | ^ 22 warnings generated. ../mkcpp cond.c cond._.c -- mkcpp set time: 1773311853 -> 1250403944 cond._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c cond._.c -o cond.o ../mkcpp service.c service._.c -- mkcpp set time: 1773311855 -> 1405441761 service._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c service._.c -o service.o service._.c:76:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 76 | for( si = 1; nm = services[si].s_name; si++ ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ service._.c:76:18: note: place parentheses around the assignment to silence this warning 76 | for( si = 1; nm = services[si].s_name; si++ ){ | ^ | ( ) service._.c:76:18: note: use '==' to turn this assignment into an equality comparison 76 | 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] 110 | if( si = servicex(proto) ){ | ~~~^~~~~~~~~~~~~~~~~ service._.c:110:10: note: place parentheses around the assignment to silence this warning 110 | if( si = servicex(proto) ){ | ^ | ( ) service._.c:110:10: note: use '==' to turn this assignment into an equality comparison 110 | if( si = servicex(proto) ){ | ^ | == service._.c:119:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 119 | if( si = servicex(proto) ){ | ~~~^~~~~~~~~~~~~~~~~ service._.c:119:9: note: place parentheses around the assignment to silence this warning 119 | if( si = servicex(proto) ){ | ^ | ( ) service._.c:119:9: note: use '==' to turn this assignment into an equality comparison 119 | if( si = servicex(proto) ){ | ^ | == service._.c:129:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 129 | for( fi = 1; name = services[fi].s_name; fi++ ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~ service._.c:129:20: note: place parentheses around the assignment to silence this warning 129 | for( fi = 1; name = services[fi].s_name; fi++ ) | ^ | ( ) service._.c:129:20: note: use '==' to turn this assignment into an equality comparison 129 | 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] 190 | if( sx = servicex(proto) ) | ~~~^~~~~~~~~~~~~~~~~ service._.c:190:9: note: place parentheses around the assignment to silence this warning 190 | if( sx = servicex(proto) ) | ^ | ( ) service._.c:190:9: note: use '==' to turn this assignment into an equality comparison 190 | if( sx = servicex(proto) ) | ^ | == service._.c:191:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 191 | if( svfunc = services[sx].s_client ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ service._.c:191:13: note: place parentheses around the assignment to silence this warning 191 | if( svfunc = services[sx].s_client ){ | ^ | ( ) service._.c:191:13: note: use '==' to turn this assignment into an equality comparison 191 | if( svfunc = services[sx].s_client ){ | ^ | == service._.c:193:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 193 | for( si = 1; name = services[si].s_name; si++ ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~ service._.c:193:21: note: place parentheses around the assignment to silence this warning 193 | for( si = 1; name = services[si].s_name; si++ ){ | ^ | ( ) service._.c:193:21: note: use '==' to turn this assignment into an equality comparison 193 | 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] 205 | if( si = servicex(service) ) | ~~~^~~~~~~~~~~~~~~~~~~ service._.c:205:9: note: place parentheses around the assignment to silence this warning 205 | if( si = servicex(service) ) | ^ | ( ) service._.c:205:9: note: use '==' to turn this assignment into an equality comparison 205 | if( si = servicex(service) ) | ^ | == service._.c:212:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 212 | if( si = servicex(proto) ) | ~~~^~~~~~~~~~~~~~~~~ service._.c:212:9: note: place parentheses around the assignment to silence this warning 212 | if( si = servicex(proto) ) | ^ | ( ) service._.c:212:9: note: use '==' to turn this assignment into an equality comparison 212 | if( si = servicex(proto) ) | ^ | == service._.c:219:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 219 | if( si = servicex(service) ) | ~~~^~~~~~~~~~~~~~~~~~~ service._.c:219:9: note: place parentheses around the assignment to silence this warning 219 | if( si = servicex(service) ) | ^ | ( ) service._.c:219:9: note: use '==' to turn this assignment into an equality comparison 219 | if( si = servicex(service) ) | ^ | == service._.c:225:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 225 | if( si = servicex(DST_PROTO) ) | ~~~^~~~~~~~~~~~~~~~~~~~~ service._.c:225:9: note: place parentheses around the assignment to silence this warning 225 | if( si = servicex(DST_PROTO) ) | ^ | ( ) service._.c:225:9: note: use '==' to turn this assignment into an equality comparison 225 | if( si = servicex(DST_PROTO) ) | ^ | == service._.c:297:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 297 | for( si = 1; pn = services[si].s_name; si++ ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ service._.c:297:18: note: place parentheses around the assignment to silence this warning 297 | for( si = 1; pn = services[si].s_name; si++ ){ | ^ | ( ) service._.c:297:18: note: use '==' to turn this assignment into an equality comparison 297 | for( si = 1; pn = services[si].s_name; si++ ){ | ^ | == service._.c:936:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 936 | if( diff = v1[vi] - v2[vi] ) | ~~~~~^~~~~~~~~~~~~~~~~ service._.c:936:12: note: place parentheses around the assignment to silence this warning 936 | if( diff = v1[vi] - v2[vi] ) | ^ | ( ) service._.c:936:12: note: use '==' to turn this assignment into an equality comparison 936 | if( diff = v1[vi] - v2[vi] ) | ^ | == service._.c:1023:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1023 | if( wa = CTX_withAuth(Conn) ){ | ~~~^~~~~~~~~~~~~~~~~~~~ service._.c:1023:9: note: place parentheses around the assignment to silence this warning 1023 | if( wa = CTX_withAuth(Conn) ){ | ^ | ( ) service._.c:1023:9: note: use '==' to turn this assignment into an equality comparison 1023 | if( wa = CTX_withAuth(Conn) ){ | ^ | == service._.c:1250:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1250 | if( map = Conn->sv_portmap ){ | ~~~~^~~~~~~~~~~~~~~~~~ service._.c:1250:10: note: place parentheses around the assignment to silence this warning 1250 | if( map = Conn->sv_portmap ){ | ^ | ( ) service._.c:1250:10: note: use '==' to turn this assignment into an equality comparison 1250 | if( map = Conn->sv_portmap ){ | ^ | == service._.c:1409:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1409 | if( dp = strrchr(login,':') ){ | ~~~^~~~~~~~~~~~~~~~~~~~ service._.c:1409:9: note: place parentheses around the assignment to silence this warning 1409 | if( dp = strrchr(login,':') ){ | ^ | ( ) service._.c:1409:9: note: use '==' to turn this assignment into an equality comparison 1409 | if( dp = strrchr(login,':') ){ | ^ | == service._.c:1676:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1676 | if( crlfp = strpbrk(line,"\r\n") ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ service._.c:1676:13: note: place parentheses around the assignment to silence this warning 1676 | if( crlfp = strpbrk(line,"\r\n") ){ | ^ | ( ) service._.c:1676:13: note: use '==' to turn this assignment into an equality comparison 1676 | if( crlfp = strpbrk(line,"\r\n") ){ | ^ | == service._.c:1720:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1720 | if( value = strpbrk(line,"\r\n\t ") ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ service._.c:1720:13: note: place parentheses around the assignment to silence this warning 1720 | if( value = strpbrk(line,"\r\n\t ") ){ | ^ | ( ) service._.c:1720:13: note: use '==' to turn this assignment into an equality comparison 1720 | if( value = strpbrk(line,"\r\n\t ") ){ | ^ | == service._.c:1943:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1943 | if( dp = strstr(path+len,me) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ service._.c:1943:10: note: place parentheses around the assignment to silence this warning 1943 | if( dp = strstr(path+len,me) ){ | ^ | ( ) service._.c:1943:10: note: use '==' to turn this assignment into an equality comparison 1943 | if( dp = strstr(path+len,me) ){ | ^ | == service._.c:2271:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2271 | if( filter = getFSV(Conn) ){ | ~~~~~~~^~~~~~~~~~~~~~ service._.c:2271:13: note: place parentheses around the assignment to silence this warning 2271 | if( filter = getFSV(Conn) ){ | ^ | ( ) service._.c:2271:13: note: use '==' to turn this assignment into an equality comparison 2271 | if( filter = getFSV(Conn) ){ | ^ | == service._.c:2405:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2405 | else | ^ service._.c:2497:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2497 | if( addr = gethostaddr(host) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~ service._.c:2497:14: note: place parentheses around the assignment to silence this warning 2497 | if( addr = gethostaddr(host) ){ | ^ | ( ) service._.c:2497:14: note: use '==' to turn this assignment into an equality comparison 2497 | if( addr = gethostaddr(host) ){ | ^ | == service._.c:2680:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2680 | if( server = strchr(host,'@') ) | ~~~~~~~^~~~~~~~~~~~~~~~~~ service._.c:2680:13: note: place parentheses around the assignment to silence this warning 2680 | if( server = strchr(host,'@') ) | ^ | ( ) service._.c:2680:13: note: use '==' to turn this assignment into an equality comparison 2680 | if( server = strchr(host,'@') ) | ^ | == service._.c:3118:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3118 | if( hp = strchr(server,'@') ) | ~~~^~~~~~~~~~~~~~~~~~~~ service._.c:3118:9: note: place parentheses around the assignment to silence this warning 3118 | if( hp = strchr(server,'@') ) | ^ | ( ) service._.c:3118:9: note: use '==' to turn this assignment into an equality comparison 3118 | if( hp = strchr(server,'@') ) | ^ | == service._.c:3330:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3330 | if( si = servicex(proto) ) | ~~~^~~~~~~~~~~~~~~~~ service._.c:3330:9: note: place parentheses around the assignment to silence this warning 3330 | if( si = servicex(proto) ) | ^ | ( ) service._.c:3330:9: note: use '==' to turn this assignment into an equality comparison 3330 | if( si = servicex(proto) ) | ^ | == service._.c:3345:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3345 | if( si = servicex(proto) ) | ~~~^~~~~~~~~~~~~~~~~ service._.c:3345:9: note: place parentheses around the assignment to silence this warning 3345 | if( si = servicex(proto) ) | ^ | ( ) service._.c:3345:9: note: use '==' to turn this assignment into an equality comparison 3345 | if( si = servicex(proto) ) | ^ | == service._.c:3593:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3593 | if( pp = strstr(host,"..") ){ | ~~~^~~~~~~~~~~~~~~~~~~ service._.c:3593:9: note: place parentheses around the assignment to silence this warning 3593 | if( pp = strstr(host,"..") ){ | ^ | ( ) service._.c:3593:9: note: use '==' to turn this assignment into an equality comparison 3593 | if( pp = strstr(host,"..") ){ | ^ | == 27 warnings generated. ../mkcpp svconf.c svconf._.c -- mkcpp set time: 1773311860 -> 1295789875 svconf._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c svconf._.c -o svconf.o ../mkcpp filter.c filter._.c -- mkcpp set time: 1773311862 -> 1408284293 filter._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c filter._.c -o filter.o filter._.c:119:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 119 | for( i = 1; fname1 = tab_filters[i].f_name; i++ ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ filter._.c:119:21: note: place parentheses around the assignment to silence this warning 119 | for( i = 1; fname1 = tab_filters[i].f_name; i++ ){ | ^ | ( ) filter._.c:119:21: note: use '==' to turn this assignment into an equality comparison 119 | 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] 185 | if( dp = strchr(command,']') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ filter._.c:185:9: note: place parentheses around the assignment to silence this warning 185 | if( dp = strchr(command,']') ){ | ^ | ( ) filter._.c:185:9: note: use '==' to turn this assignment into an equality comparison 185 | if( dp = strchr(command,']') ){ | ^ | == filter._.c:559:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 559 | if( env = getenv("GZIP_PATH") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~ filter._.c:559:10: note: place parentheses around the assignment to silence this warning 559 | if( env = getenv("GZIP_PATH") ){ | ^ | ( ) filter._.c:559:10: note: use '==' to turn this assignment into an equality comparison 559 | if( env = getenv("GZIP_PATH") ){ | ^ | == filter._.c:568:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 568 | if( env = getenv("GUNZIP_PATH") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ filter._.c:568:10: note: place parentheses around the assignment to silence this warning 568 | if( env = getenv("GUNZIP_PATH") ){ | ^ | ( ) filter._.c:568:10: note: use '==' to turn this assignment into an equality comparison 568 | if( env = getenv("GUNZIP_PATH") ){ | ^ | == filter._.c:817:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 817 | if( dp = strchr(filterb,',') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ filter._.c:817:11: note: place parentheses around the assignment to silence this warning 817 | if( dp = strchr(filterb,',') ){ | ^ | ( ) filter._.c:817:11: note: use '==' to turn this assignment into an equality comparison 817 | if( dp = strchr(filterb,',') ){ | ^ | == filter._.c:842:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 842 | for( mx = 0; map = getCMAPiMap(mx); mx++ ){ | ~~~~^~~~~~~~~~~~~~~~~ filter._.c:842:19: note: place parentheses around the assignment to silence this warning 842 | for( mx = 0; map = getCMAPiMap(mx); mx++ ){ | ^ | ( ) filter._.c:842:19: note: use '==' to turn this assignment into an equality comparison 842 | for( mx = 0; map = getCMAPiMap(mx); mx++ ){ | ^ | == filter._.c:1250:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1250 | if( dp = strchr(line,'\r') ) | ~~~^~~~~~~~~~~~~~~~~~~ filter._.c:1250:11: note: place parentheses around the assignment to silence this warning 1250 | if( dp = strchr(line,'\r') ) | ^ | ( ) filter._.c:1250:11: note: use '==' to turn this assignment into an equality comparison 1250 | if( dp = strchr(line,'\r') ) | ^ | == filter._.c:1518:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1518 | if( port = HTTP_ClientIF_H(Conn,AVStr(host)) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ filter._.c:1518:11: note: place parentheses around the assignment to silence this warning 1518 | if( port = HTTP_ClientIF_H(Conn,AVStr(host)) ){ | ^ | ( ) filter._.c:1518:11: note: use '==' to turn this assignment into an equality comparison 1518 | 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] 1530 | if( addr = gethostaddr(serv) ) | ~~~~~^~~~~~~~~~~~~~~~~~~ filter._.c:1530:11: note: place parentheses around the assignment to silence this warning 1530 | if( addr = gethostaddr(serv) ) | ^ | ( ) filter._.c:1530:11: note: use '==' to turn this assignment into an equality comparison 1530 | if( addr = gethostaddr(serv) ) | ^ | == filter._.c:1596:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1596 | if( command = strchr(pathcom,']') ) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ filter._.c:1596:15: note: place parentheses around the assignment to silence this warning 1596 | if( command = strchr(pathcom,']') ) | ^ | ( ) filter._.c:1596:15: note: use '==' to turn this assignment into an equality comparison 1596 | if( command = strchr(pathcom,']') ) | ^ | == filter._.c:1769:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1769 | if( env = getenv("CFI_SYNC") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~ filter._.c:1769:10: note: place parentheses around the assignment to silence this warning 1769 | if( env = getenv("CFI_SYNC") ){ | ^ | ( ) filter._.c:1769:10: note: use '==' to turn this assignment into an equality comparison 1769 | if( env = getenv("CFI_SYNC") ){ | ^ | == filter._.c:2005:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2005 | if( fp = Conn->xf_fp[fid] ){ | ~~~^~~~~~~~~~~~~~~~~~ filter._.c:2005:10: note: place parentheses around the assignment to silence this warning 2005 | if( fp = Conn->xf_fp[fid] ){ | ^ | ( ) filter._.c:2005:10: note: use '==' to turn this assignment into an equality comparison 2005 | if( fp = Conn->xf_fp[fid] ){ | ^ | == filter._.c:2101:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2101 | for( fid = 1; name = filters[fid].f_name; fid++ ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~ filter._.c:2101:21: note: place parentheses around the assignment to silence this warning 2101 | for( fid = 1; name = filters[fid].f_name; fid++ ){ | ^ | ( ) filter._.c:2101:21: note: use '==' to turn this assignment into an equality comparison 2101 | 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] 2341 | if( nready = PollIn(fd,to1) ){ | ~~~~~~~^~~~~~~~~~~~~~~~ filter._.c:2341:14: note: place parentheses around the assignment to silence this warning 2341 | if( nready = PollIn(fd,to1) ){ | ^ | ( ) filter._.c:2341:14: note: use '==' to turn this assignment into an equality comparison 2341 | if( nready = PollIn(fd,to1) ){ | ^ | == filter._.c:2507:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2507 | if( rstat = filters[fid].f_stat ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ filter._.c:2507:12: note: place parentheses around the assignment to silence this warning 2507 | if( rstat = filters[fid].f_stat ) | ^ | ( ) filter._.c:2507:12: note: use '==' to turn this assignment into an equality comparison 2507 | if( rstat = filters[fid].f_stat ) | ^ | == filter._.c:2605:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2605 | if( rstat = filters[fid].f_stat ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ filter._.c:2605:12: note: place parentheses around the assignment to silence this warning 2605 | if( rstat = filters[fid].f_stat ) | ^ | ( ) filter._.c:2605:12: note: use '==' to turn this assignment into an equality comparison 2605 | if( rstat = filters[fid].f_stat ) | ^ | == filter._.c:2800:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2800 | }else | ^ filter._.c:2823:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2823 | }else | ^ filter._.c:3422:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 3422 | }else{ | ^ filter._.c:3443:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 3443 | else | ^ filter._.c:3466:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3466 | for( a1 = command; ch = *a1; a1++ ){ | ~~~^~~~~ filter._.c:3466:24: note: place parentheses around the assignment to silence this warning 3466 | for( a1 = command; ch = *a1; a1++ ){ | ^ | ( ) filter._.c:3466:24: note: use '==' to turn this assignment into an equality comparison 3466 | for( a1 = command; ch = *a1; a1++ ){ | ^ | == 21 warnings generated. ../mkcpp master.c master._.c -- mkcpp set time: 1773311865 -> 1409211480 master._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c master._.c -o master.o master._.c:228:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 228 | if( neg = *proto1 == '-' ) | ~~~~^~~~~~~~~~~~~~~~ master._.c:228:11: note: place parentheses around the assignment to silence this warning 228 | if( neg = *proto1 == '-' ) | ^ | ( ) master._.c:228:11: note: use '==' to turn this assignment into an equality comparison 228 | if( neg = *proto1 == '-' ) | ^ | == master._.c:268:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 268 | for( ni = 0; proto1 = protoV[ni].p_name; ni++ ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~ master._.c:268:22: note: place parentheses around the assignment to silence this warning 268 | for( ni = 0; proto1 = protoV[ni].p_name; ni++ ){ | ^ | ( ) master._.c:268:22: note: use '==' to turn this assignment into an equality comparison 268 | 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] 275 | if( np = protoV[ni].p_portN ){ | ~~~^~~~~~~~~~~~~~~~~~~~ master._.c:275:10: note: place parentheses around the assignment to silence this warning 275 | if( np = protoV[ni].p_portN ){ | ^ | ( ) master._.c:275:10: note: use '==' to turn this assignment into an equality comparison 275 | if( np = protoV[ni].p_portN ){ | ^ | == master._.c:290:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 290 | if( mp = protoV[ni].p_methods ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ master._.c:290:10: note: place parentheses around the assignment to silence this warning 290 | if( mp = protoV[ni].p_methods ){ | ^ | ( ) master._.c:290:10: note: use '==' to turn this assignment into an equality comparison 290 | if( mp = protoV[ni].p_methods ){ | ^ | == master._.c:312:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 312 | for( pi = 0; proto1 = pv[pi]; pi++ ){ | ~~~~~~~^~~~~~~~ master._.c:312:22: note: place parentheses around the assignment to silence this warning 312 | for( pi = 0; proto1 = pv[pi]; pi++ ){ | ^ | ( ) master._.c:312:22: note: use '==' to turn this assignment into an equality comparison 312 | for( pi = 0; proto1 = pv[pi]; pi++ ){ | ^ | == master._.c:381:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 381 | if( match = (strcasecmp(proto,tv[ti])==0) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ master._.c:381:14: note: place parentheses around the assignment to silence this warning 381 | if( match = (strcasecmp(proto,tv[ti])==0) ) | ^ | ( ) master._.c:381:14: note: use '==' to turn this assignment into an equality comparison 381 | if( match = (strcasecmp(proto,tv[ti])==0) ) | ^ | == master._.c:430:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 430 | for( px = 0; aproto = protoV[px].p_name; px++ ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~ master._.c:430:22: note: place parentheses around the assignment to silence this warning 430 | for( px = 0; aproto = protoV[px].p_name; px++ ){ | ^ | ( ) master._.c:430:22: note: use '==' to turn this assignment into an equality comparison 430 | for( px = 0; aproto = protoV[px].p_name; px++ ){ | ^ | == master._.c:437:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 437 | else{ | ^ master._.c:467:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 467 | for( px = 0; aproto = protoV[px].p_name; px++ ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~ master._.c:467:22: note: place parentheses around the assignment to silence this warning 467 | for( px = 0; aproto = protoV[px].p_name; px++ ){ | ^ | ( ) master._.c:467:22: note: use '==' to turn this assignment into an equality comparison 467 | 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] 499 | for( px = 0; aproto = protoV[px].p_name; px++ ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~ master._.c:499:22: note: place parentheses around the assignment to silence this warning 499 | for( px = 0; aproto = protoV[px].p_name; px++ ){ | ^ | ( ) master._.c:499:22: note: use '==' to turn this assignment into an equality comparison 499 | 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] 782 | if( pl = protoMatch1(Conn,Rp->m_protoV,proto,dport) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ master._.c:782:11: note: place parentheses around the assignment to silence this warning 782 | if( pl = protoMatch1(Conn,Rp->m_protoV,proto,dport) ){ | ^ | ( ) master._.c:782:11: note: use '==' to turn this assignment into an equality comparison 782 | if( pl = protoMatch1(Conn,Rp->m_protoV,proto,dport) ){ | ^ | == master._.c:910:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 910 | }else | ^ master._.c:939:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 939 | if( np = strchr(dp,':') ){ | ~~~^~~~~~~~~~~~~~~~ master._.c:939:10: note: place parentheses around the assignment to silence this warning 939 | if( np = strchr(dp,':') ){ | ^ | ( ) master._.c:939:10: note: use '==' to turn this assignment into an equality comparison 939 | if( np = strchr(dp,':') ){ | ^ | == master._.c:1004:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1004 | if( dp = strstr(forward,DELMARK) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ master._.c:1004:9: note: place parentheses around the assignment to silence this warning 1004 | if( dp = strstr(forward,DELMARK) ){ | ^ | ( ) master._.c:1004:9: note: use '==' to turn this assignment into an equality comparison 1004 | if( dp = strstr(forward,DELMARK) ){ | ^ | == master._.c:1015:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1015 | }else | ^ master._.c:1131:28: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1131 | for( pi = 0; pprotov[pi] = RemittableV[pi].p_name; pi++ ){ | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ master._.c:1131:28: note: place parentheses around the assignment to silence this warning 1131 | for( pi = 0; pprotov[pi] = RemittableV[pi].p_name; pi++ ){ | ^ | ( ) master._.c:1131:28: note: use '==' to turn this assignment into an equality comparison 1131 | for( pi = 0; pprotov[pi] = RemittableV[pi].p_name; pi++ ){ | ^ | == master._.c:1322:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1322 | }else{ | ^ master._.c:1622:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1622 | if( expire = strchr(conn,'/') ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~ master._.c:1622:15: note: place parentheses around the assignment to silence this warning 1622 | if( expire = strchr(conn,'/') ){ | ^ | ( ) master._.c:1622:15: note: use '==' to turn this assignment into an equality comparison 1622 | if( expire = strchr(conn,'/') ){ | ^ | == master._.c:1632:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1632 | if( dp = strchr(conn,'/') ) | ~~~^~~~~~~~~~~~~~~~~~ master._.c:1632:11: note: place parentheses around the assignment to silence this warning 1632 | if( dp = strchr(conn,'/') ) | ^ | ( ) master._.c:1632:11: note: use '==' to turn this assignment into an equality comparison 1632 | if( dp = strchr(conn,'/') ) | ^ | == master._.c:1637:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1637 | if( dp = strchr(conn,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~ master._.c:1637:11: note: place parentheses around the assignment to silence this warning 1637 | if( dp = strchr(conn,'/') ){ | ^ | ( ) master._.c:1637:11: note: use '==' to turn this assignment into an equality comparison 1637 | if( dp = strchr(conn,'/') ){ | ^ | == master._.c:2030:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2030 | if( dp = strstr(options,"proto=") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ master._.c:2030:10: note: place parentheses around the assignment to silence this warning 2030 | if( dp = strstr(options,"proto=") ){ | ^ | ( ) master._.c:2030:10: note: use '==' to turn this assignment into an equality comparison 2030 | if( dp = strstr(options,"proto=") ){ | ^ | == master._.c:2092:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2092 | else{ | ^ master._.c:2224:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2224 | if( dp = strchr(ports,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~~ master._.c:2224:9: note: place parentheses around the assignment to silence this warning 2224 | if( dp = strchr(ports,'/') ){ | ^ | ( ) master._.c:2224:9: note: use '==' to turn this assignment into an equality comparison 2224 | if( dp = strchr(ports,'/') ){ | ^ | == master._.c:2396:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2396 | if( tid = mySoxTid ){ | ~~~~^~~~~~~~~~ master._.c:2396:10: note: place parentheses around the assignment to silence this warning 2396 | if( tid = mySoxTid ){ | ^ | ( ) master._.c:2396:10: note: use '==' to turn this assignment into an equality comparison 2396 | if( tid = mySoxTid ){ | ^ | == 24 warnings generated. ../mkcpp qstest.c qstest._.c -- mkcpp set time: 1773311868 -> 1264837353 qstest._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c qstest._.c -o qstest.o -DNONE cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c qstest._.c -o qstest.o ../mkcpp delegate.c delegate._.c -- mkcpp set time: 1773311870 -> 1250403944 delegate._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c delegate._.c -o delegate.o ../mkcpp caps.c caps._.c -- mkcpp set time: 1773311872 -> 1414752137 caps._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c caps._.c -o caps.o \ -DADMIN=\"admin@example.com\" \ -DLICENSEE=\"""\" caps._.c:104:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 104 | if( mfp = dirfopen("exeid",AVStr(idpath),"r+") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ caps._.c:104:10: note: place parentheses around the assignment to silence this warning 104 | if( mfp = dirfopen("exeid",AVStr(idpath),"r+") ){ | ^ | ( ) caps._.c:104:10: note: use '==' to turn this assignment into an equality comparison 104 | if( mfp = dirfopen("exeid",AVStr(idpath),"r+") ){ | ^ | == caps._.c:316:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 316 | if( env = getenv(REMOTE_ADDR) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~ caps._.c:316:10: note: place parentheses around the assignment to silence this warning 316 | if( env = getenv(REMOTE_ADDR) ){ | ^ | ( ) caps._.c:316:10: note: use '==' to turn this assignment into an equality comparison 316 | if( env = getenv(REMOTE_ADDR) ){ | ^ | == 2 warnings generated. ../mkcpp spinach.c spinach._.c -- mkcpp set time: 1773311873 -> 1773311327 spinach._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c spinach._.c -o spinach.o spinach._.c:837:20: warning: use of logical '||' with constant operand [-Wconstant-logical-operand] 837 | if( isWindowsCE() || 1 ){ | ^ ~ spinach._.c:837:20: note: use '|' for a bitwise operation 837 | if( isWindowsCE() || 1 ){ | ^~ | | spinach._.c:863:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 863 | if( dp = strchr(OREQ,' ') ){ | ~~~^~~~~~~~~~~~~~~~~~ spinach._.c:863:10: note: place parentheses around the assignment to silence this warning 863 | if( dp = strchr(OREQ,' ') ){ | ^ | ( ) spinach._.c:863:10: note: use '==' to turn this assignment into an equality comparison 863 | if( dp = strchr(OREQ,' ') ){ | ^ | == spinach._.c:1421:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1421 | for( qp = req; ch = *qp; qp++ ){ | ~~~^~~~~ spinach._.c:1421:20: note: place parentheses around the assignment to silence this warning 1421 | for( qp = req; ch = *qp; qp++ ){ | ^ | ( ) spinach._.c:1421:20: note: use '==' to turn this assignment into an equality comparison 1421 | for( qp = req; ch = *qp; qp++ ){ | ^ | == spinach._.c:1431:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1431 | if( isCONN = strcmp(method,"CONNECT")==0 ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ spinach._.c:1431:13: note: place parentheses around the assignment to silence this warning 1431 | if( isCONN = strcmp(method,"CONNECT")==0 ){ | ^ | ( ) spinach._.c:1431:13: note: use '==' to turn this assignment into an equality comparison 1431 | if( isCONN = strcmp(method,"CONNECT")==0 ){ | ^ | == spinach._.c:1449:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1449 | for(; ch = *qp; qp++ ){ | ~~~^~~~~ spinach._.c:1449:11: note: place parentheses around the assignment to silence this warning 1449 | for(; ch = *qp; qp++ ){ | ^ | ( ) spinach._.c:1449:11: note: use '==' to turn this assignment into an equality comparison 1449 | for(; ch = *qp; qp++ ){ | ^ | == spinach._.c:1462:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1462 | for(; ch = *qp; qp++ ){ | ~~~^~~~~ spinach._.c:1462:11: note: place parentheses around the assignment to silence this warning 1462 | for(; ch = *qp; qp++ ){ | ^ | ( ) spinach._.c:1462:11: note: use '==' to turn this assignment into an equality comparison 1462 | for(; ch = *qp; qp++ ){ | ^ | == spinach._.c:1487:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1487 | for(; ch = *qp; qp++ ){ | ~~~^~~~~ spinach._.c:1487:12: note: place parentheses around the assignment to silence this warning 1487 | for(; ch = *qp; qp++ ){ | ^ | ( ) spinach._.c:1487:12: note: use '==' to turn this assignment into an equality comparison 1487 | for(; ch = *qp; qp++ ){ | ^ | == spinach._.c:1498:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1498 | for( qp++; ch = *qp; qp++ ){ | ~~~^~~~~ spinach._.c:1498:17: note: place parentheses around the assignment to silence this warning 1498 | for( qp++; ch = *qp; qp++ ){ | ^ | ( ) spinach._.c:1498:17: note: use '==' to turn this assignment into an equality comparison 1498 | for( qp++; ch = *qp; qp++ ){ | ^ | == spinach._.c:1523:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1523 | for( qp++; ch = *qp; qp++ ){ | ~~~^~~~~ spinach._.c:1523:17: note: place parentheses around the assignment to silence this warning 1523 | for( qp++; ch = *qp; qp++ ){ | ^ | ( ) spinach._.c:1523:17: note: use '==' to turn this assignment into an equality comparison 1523 | for( qp++; ch = *qp; qp++ ){ | ^ | == spinach._.c:1633:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1633 | for(; ch = *qp; qp++ ){ | ~~~^~~~~ spinach._.c:1633:12: note: place parentheses around the assignment to silence this warning 1633 | for(; ch = *qp; qp++ ){ | ^ | ( ) spinach._.c:1633:12: note: use '==' to turn this assignment into an equality comparison 1633 | for(; ch = *qp; qp++ ){ | ^ | == spinach._.c:1738:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1738 | for( qp = req; ch = *qp; qp++ ){ | ~~~^~~~~ spinach._.c:1738:20: note: place parentheses around the assignment to silence this warning 1738 | for( qp = req; ch = *qp; qp++ ){ | ^ | ( ) spinach._.c:1738:20: note: use '==' to turn this assignment into an equality comparison 1738 | for( qp = req; ch = *qp; qp++ ){ | ^ | == spinach._.c:1753:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1753 | for( qp = req; ch = *qp; qp++ ){ | ~~~^~~~~ spinach._.c:1753:20: note: place parentheses around the assignment to silence this warning 1753 | for( qp = req; ch = *qp; qp++ ){ | ^ | ( ) spinach._.c:1753:20: note: use '==' to turn this assignment into an equality comparison 1753 | for( qp = req; ch = *qp; qp++ ){ | ^ | == spinach._.c:2626:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2626 | if( cr1 = addConn(cx->cx_Pv,cx->cx_crn,cx->cx_crs,iSock) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ spinach._.c:2626:11: note: place parentheses around the assignment to silence this warning 2626 | if( cr1 = addConn(cx->cx_Pv,cx->cx_crn,cx->cx_crs,iSock) ){ | ^ | ( ) spinach._.c:2626:11: note: use '==' to turn this assignment into an equality comparison 2626 | if( cr1 = addConn(cx->cx_Pv,cx->cx_crn,cx->cx_crs,iSock) ){ | ^ | == spinach._.c:2709:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2709 | if( dp = strchr(cr->cr_buf,'\n') ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ spinach._.c:2709:14: note: place parentheses around the assignment to silence this warning 2709 | if( dp = strchr(cr->cr_buf,'\n') ) | ^ | ( ) spinach._.c:2709:14: note: use '==' to turn this assignment into an equality comparison 2709 | if( dp = strchr(cr->cr_buf,'\n') ) | ^ | == spinach._.c:3441:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3441 | if( ocstat = cr1->cr_cstat ){ | ~~~~~~~^~~~~~~~~~~~~~~ spinach._.c:3441:15: note: place parentheses around the assignment to silence this warning 3441 | if( ocstat = cr1->cr_cstat ){ | ^ | ( ) spinach._.c:3441:15: note: use '==' to turn this assignment into an equality comparison 3441 | if( ocstat = cr1->cr_cstat ){ | ^ | == spinach._.c:3687:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3687 | if( cr1 = addConn(cx->cx_Pv,cx->cx_crn,cx->cx_crs,FD_INVALID(-1)) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ spinach._.c:3687:10: note: place parentheses around the assignment to silence this warning 3687 | if( cr1 = addConn(cx->cx_Pv,cx->cx_crn,cx->cx_crs,FD_INVALID(-1)) ){ | ^ | ( ) spinach._.c:3687:10: note: use '==' to turn this assignment into an equality comparison 3687 | if( cr1 = addConn(cx->cx_Pv,cx->cx_crn,cx->cx_crs,FD_INVALID(-1)) ){ | ^ | == spinach._.c:4315:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4315 | if( pid = Fork("CCSV-server") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~ spinach._.c:4315:11: note: place parentheses around the assignment to silence this warning 4315 | if( pid = Fork("CCSV-server") ){ | ^ | ( ) spinach._.c:4315:11: note: use '==' to turn this assignment into an equality comparison 4315 | if( pid = Fork("CCSV-server") ){ | ^ | == spinach._.c:4377:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4377 | if( env = getenv("CCSV_PORT") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~ spinach._.c:4377:11: note: place parentheses around the assignment to silence this warning 4377 | if( env = getenv("CCSV_PORT") ){ | ^ | ( ) spinach._.c:4377:11: note: use '==' to turn this assignment into an equality comparison 4377 | if( env = getenv("CCSV_PORT") ){ | ^ | == 18 warnings generated. ../mkcpp stls.c stls._.c -- mkcpp set time: 1773311876 -> 1414752137 stls._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c stls._.c -o stls.o stls._.c:133:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 133 | if( op = strchr(opt1,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~ stls._.c:133:10: note: place parentheses around the assignment to silence this warning 133 | if( op = strchr(opt1,'/') ){ | ^ | ( ) stls._.c:133:10: note: use '==' to turn this assignment into an equality comparison 133 | if( op = strchr(opt1,'/') ){ | ^ | == stls._.c:371:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 371 | }else | ^ 2 warnings generated. ../mkcpp tsp.c tsp._.c -- mkcpp set time: 1773311877 -> 1250403944 tsp._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c tsp._.c -o tsp.o ../mkcpp sudo.c sudo._.c -- mkcpp set time: 1773311878 -> 1264814353 sudo._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c sudo._.c -o sudo.o sudo._.c:93:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 93 | if( isUDP = isUDPsock(svsock) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~ sudo._.c:93:12: note: place parentheses around the assignment to silence this warning 93 | if( isUDP = isUDPsock(svsock) ){ | ^ | ( ) sudo._.c:93:12: note: use '==' to turn this assignment into an equality comparison 93 | if( isUDP = isUDPsock(svsock) ){ | ^ | == sudo._.c:316:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 316 | if( dp = strpbrk(que,"\r\n") ) *((char*)dp) = 0; | ~~~^~~~~~~~~~~~~~~~~~~~~ sudo._.c:316:9: note: place parentheses around the assignment to silence this warning 316 | if( dp = strpbrk(que,"\r\n") ) *((char*)dp) = 0; | ^ | ( ) sudo._.c:316:9: note: use '==' to turn this assignment into an equality comparison 316 | 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] 317 | if( dp = strpbrk(ans,"\r\n") ) *((char*)dp) = 0; | ~~~^~~~~~~~~~~~~~~~~~~~~ sudo._.c:317:9: note: place parentheses around the assignment to silence this warning 317 | if( dp = strpbrk(ans,"\r\n") ) *((char*)dp) = 0; | ^ | ( ) sudo._.c:317:9: note: use '==' to turn this assignment into an equality comparison 317 | 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] 579 | for( ci = 0; name = sucaps[ci].c_name; ci++ ) | ~~~~~^~~~~~~~~~~~~~~~~~~ sudo._.c:579:20: note: place parentheses around the assignment to silence this warning 579 | for( ci = 0; name = sucaps[ci].c_name; ci++ ) | ^ | ( ) sudo._.c:579:20: note: use '==' to turn this assignment into an equality comparison 579 | 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] 618 | if( cap = findcap(c1) ){ | ~~~~^~~~~~~~~~~~~ sudo._.c:618:11: note: place parentheses around the assignment to silence this warning 618 | if( cap = findcap(c1) ){ | ^ | ( ) sudo._.c:618:11: note: use '==' to turn this assignment into an equality comparison 618 | if( cap = findcap(c1) ){ | ^ | == 5 warnings generated. ../mkcpp gacl.c gacl._.c -- mkcpp set time: 1773311878 -> 1250403944 gacl._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c gacl._.c -o gacl.o gacl._.c:46:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 46 | if( ap = strchr(adminid,'-') ) | ~~~^~~~~~~~~~~~~~~~~~~~~ gacl._.c:46:9: note: place parentheses around the assignment to silence this warning 46 | if( ap = strchr(adminid,'-') ) | ^ | ( ) gacl._.c:46:9: note: use '==' to turn this assignment into an equality comparison 46 | if( ap = strchr(adminid,'-') ) | ^ | == gacl._.c:67:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 67 | if( acl = openAclFile(0,DST_PROTO,DST_HOST,DST_PORT,newsgroup) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gacl._.c:67:10: note: place parentheses around the assignment to silence this warning 67 | if( acl = openAclFile(0,DST_PROTO,DST_HOST,DST_PORT,newsgroup) ){ | ^ | ( ) gacl._.c:67:10: note: use '==' to turn this assignment into an equality comparison 67 | if( acl = openAclFile(0,DST_PROTO,DST_HOST,DST_PORT,newsgroup) ){ | ^ | == gacl._.c:135:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 135 | if( cp = strchr(ctl,'#') ) | ~~~^~~~~~~~~~~~~~~~~ gacl._.c:135:10: note: place parentheses around the assignment to silence this warning 135 | if( cp = strchr(ctl,'#') ) | ^ | ( ) gacl._.c:135:10: note: use '==' to turn this assignment into an equality comparison 135 | if( cp = strchr(ctl,'#') ) | ^ | == gacl._.c:216:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 216 | if( xp = strstr(ac1,admid) ){ | ~~~^~~~~~~~~~~~~~~~~~~ gacl._.c:216:12: note: place parentheses around the assignment to silence this warning 216 | if( xp = strstr(ac1,admid) ){ | ^ | ( ) gacl._.c:216:12: note: use '==' to turn this assignment into an equality comparison 216 | if( xp = strstr(ac1,admid) ){ | ^ | == gacl._.c:301:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 301 | if( np = strstr(search,"USER=") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ gacl._.c:301:9: note: place parentheses around the assignment to silence this warning 301 | if( np = strstr(search,"USER=") ) | ^ | ( ) gacl._.c:301:9: note: use '==' to turn this assignment into an equality comparison 301 | if( np = strstr(search,"USER=") ) | ^ | == gacl._.c:305:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 305 | if( np = strstr(search,"ADMINID=") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ gacl._.c:305:9: note: place parentheses around the assignment to silence this warning 305 | if( np = strstr(search,"ADMINID=") ) | ^ | ( ) gacl._.c:305:9: note: use '==' to turn this assignment into an equality comparison 305 | if( np = strstr(search,"ADMINID=") ) | ^ | == gacl._.c:309:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 309 | if( np = strstr(search,"URL=") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~ gacl._.c:309:9: note: place parentheses around the assignment to silence this warning 309 | if( np = strstr(search,"URL=") ) | ^ | ( ) gacl._.c:309:9: note: use '==' to turn this assignment into an equality comparison 309 | if( np = strstr(search,"URL=") ) | ^ | == gacl._.c:332:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 332 | }else | ^ 8 warnings generated. ../mkcpp access.c access._.c -- mkcpp set time: 1773311879 -> 1411904274 access._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c access._.c -o access.o access._.c:184:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 184 | if( bp = strchr(buf,'/') ){ | ~~~^~~~~~~~~~~~~~~~~ access._.c:184:11: note: place parentheses around the assignment to silence this warning 184 | if( bp = strchr(buf,'/') ){ | ^ | ( ) access._.c:184:11: note: use '==' to turn this assignment into an equality comparison 184 | if( bp = strchr(buf,'/') ){ | ^ | == access._.c:257:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 257 | if( pa = find_auth("pass",xauth) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ access._.c:257:9: note: place parentheses around the assignment to silence this warning 257 | if( pa = find_auth("pass",xauth) ){ | ^ | ( ) access._.c:257:9: note: use '==' to turn this assignment into an equality comparison 257 | if( pa = find_auth("pass",xauth) ){ | ^ | == access._.c:286:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 286 | if( fmt = find_auth(A_ADMIN,NULL) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ access._.c:286:10: note: place parentheses around the assignment to silence this warning 286 | if( fmt = find_auth(A_ADMIN,NULL) ){ | ^ | ( ) access._.c:286:10: note: use '==' to turn this assignment into an equality comparison 286 | if( fmt = find_auth(A_ADMIN,NULL) ){ | ^ | == access._.c:373:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 373 | if( fmt = find_auth(A_VIAGEN,NULL) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ access._.c:373:10: note: place parentheses around the assignment to silence this warning 373 | if( fmt = find_auth(A_VIAGEN,NULL) ){ | ^ | ( ) access._.c:373:10: note: use '==' to turn this assignment into an equality comparison 373 | if( fmt = find_auth(A_VIAGEN,NULL) ){ | ^ | == access._.c:448:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 448 | if( afmt = strchr(atype,':') ){ | ~~~~~^~~~~~~~~~~~~~~~~~~ access._.c:448:11: note: place parentheses around the assignment to silence this warning 448 | if( afmt = strchr(atype,':') ){ | ^ | ( ) access._.c:448:11: note: use '==' to turn this assignment into an equality comparison 448 | if( afmt = strchr(atype,':') ){ | ^ | == access._.c:465:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 465 | if( dp = strpbrk(eauth,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~ access._.c:465:9: note: place parentheses around the assignment to silence this warning 465 | if( dp = strpbrk(eauth,"\r\n") ) | ^ | ( ) access._.c:465:9: note: use '==' to turn this assignment into an equality comparison 465 | if( dp = strpbrk(eauth,"\r\n") ) | ^ | == access._.c:512:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 512 | if( fmt = find_auth(A_LOG,NULL) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ access._.c:512:10: note: place parentheses around the assignment to silence this warning 512 | if( fmt = find_auth(A_LOG,NULL) ){ | ^ | ( ) access._.c:512:10: note: use '==' to turn this assignment into an equality comparison 512 | if( fmt = find_auth(A_LOG,NULL) ){ | ^ | == access._.c:932:18: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] 932 | int getthreadid(); | ^~ access._.c:932:18: note: replace parentheses with an initializer to declare a variable 932 | int getthreadid(); | ^~ | = 0 access._.c:979:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 979 | if( dp = strstr(domain,"//") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ access._.c:979:9: note: place parentheses around the assignment to silence this warning 979 | if( dp = strstr(domain,"//") ){ | ^ | ( ) access._.c:979:9: note: use '==' to turn this assignment into an equality comparison 979 | if( dp = strstr(domain,"//") ){ | ^ | == access._.c:982:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 982 | if( dp = strstr(serv,"..") ){ | ~~~^~~~~~~~~~~~~~~~~~~ access._.c:982:10: note: place parentheses around the assignment to silence this warning 982 | if( dp = strstr(serv,"..") ){ | ^ | ( ) access._.c:982:10: note: use '==' to turn this assignment into an equality comparison 982 | if( dp = strstr(serv,"..") ){ | ^ | == access._.c:1031:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1031 | if( dp = strpbrk(pass,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ access._.c:1031:11: note: place parentheses around the assignment to silence this warning 1031 | if( dp = strpbrk(pass,"\r\n") ) | ^ | ( ) access._.c:1031:11: note: use '==' to turn this assignment into an equality comparison 1031 | if( dp = strpbrk(pass,"\r\n") ) | ^ | == access._.c:1103:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1103 | if( afp = dirfopen("AUTH",AVStr(path),"w") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ access._.c:1103:11: note: place parentheses around the assignment to silence this warning 1103 | if( afp = dirfopen("AUTH",AVStr(path),"w") ){ | ^ | ( ) access._.c:1103:11: note: use '==' to turn this assignment into an equality comparison 1103 | if( afp = dirfopen("AUTH",AVStr(path),"w") ){ | ^ | == access._.c:1122:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1122 | if( afp = dirfopen("AUTH",AVStr(path),"r") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ access._.c:1122:11: note: place parentheses around the assignment to silence this warning 1122 | if( afp = dirfopen("AUTH",AVStr(path),"r") ){ | ^ | ( ) access._.c:1122:11: note: use '==' to turn this assignment into an equality comparison 1122 | if( afp = dirfopen("AUTH",AVStr(path),"r") ){ | ^ | == access._.c:1177:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1177 | if( afp = dirfopen("AUTH",AVStr(apath),"r+") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ access._.c:1177:11: note: place parentheses around the assignment to silence this warning 1177 | if( afp = dirfopen("AUTH",AVStr(apath),"r+") ){ | ^ | ( ) access._.c:1177:11: note: use '==' to turn this assignment into an equality comparison 1177 | if( afp = dirfopen("AUTH",AVStr(apath),"r+") ){ | ^ | == access._.c:1205:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1205 | if( afp = dirfopen("AUTH",AVStr(apath),"w") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ access._.c:1205:11: note: place parentheses around the assignment to silence this warning 1205 | if( afp = dirfopen("AUTH",AVStr(apath),"w") ){ | ^ | ( ) access._.c:1205:11: note: use '==' to turn this assignment into an equality comparison 1205 | if( afp = dirfopen("AUTH",AVStr(apath),"w") ){ | ^ | == access._.c:1212:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1212 | if( afp = fopen(lapath,"r") ) | ~~~~^~~~~~~~~~~~~~~~~~~ access._.c:1212:11: note: place parentheses around the assignment to silence this warning 1212 | if( afp = fopen(lapath,"r") ) | ^ | ( ) access._.c:1212:11: note: use '==' to turn this assignment into an equality comparison 1212 | if( afp = fopen(lapath,"r") ) | ^ | == access._.c:1308:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1308 | if( iuser = getClientHostPortUser(Conn,AVStr(clhost),NULL) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ access._.c:1308:12: note: place parentheses around the assignment to silence this warning 1308 | if( iuser = getClientHostPortUser(Conn,AVStr(clhost),NULL) ){ | ^ | ( ) access._.c:1308:12: note: use '==' to turn this assignment into an equality comparison 1308 | if( iuser = getClientHostPortUser(Conn,AVStr(clhost),NULL) ){ | ^ | == access._.c:1433:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1433 | else{ | ^ access._.c:1473:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1473 | if( dp = strchr(ident.i_Host,':') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ access._.c:1473:9: note: place parentheses around the assignment to silence this warning 1473 | if( dp = strchr(ident.i_Host,':') ){ | ^ | ( ) access._.c:1473:9: note: use '==' to turn this assignment into an equality comparison 1473 | if( dp = strchr(ident.i_Host,':') ){ | ^ | == access._.c:1575:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1575 | if( dp = strchr(proto,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~~ access._.c:1575:9: note: place parentheses around the assignment to silence this warning 1575 | if( dp = strchr(proto,'/') ){ | ^ | ( ) access._.c:1575:9: note: use '==' to turn this assignment into an equality comparison 1575 | if( dp = strchr(proto,'/') ){ | ^ | == access._.c:1649:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1649 | if( wa = getMountAuthorizer(Conn,AVStr(asv),asiz) != NULL ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ access._.c:1649:9: note: place parentheses around the assignment to silence this warning 1649 | if( wa = getMountAuthorizer(Conn,AVStr(asv),asiz) != NULL ){ | ^ | ( ) access._.c:1649:9: note: use '==' to turn this assignment into an equality comparison 1649 | 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] 1719 | if( dp = strstr(ident->i_Host,"..") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ access._.c:1719:9: note: place parentheses around the assignment to silence this warning 1719 | if( dp = strstr(ident->i_Host,"..") ){ | ^ | ( ) access._.c:1719:9: note: use '==' to turn this assignment into an equality comparison 1719 | if( dp = strstr(ident->i_Host,"..") ){ | ^ | == access._.c:1723:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1723 | if( dp = strchr(ident->i_Host,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ access._.c:1723:9: note: place parentheses around the assignment to silence this warning 1723 | if( dp = strchr(ident->i_Host,'/') ){ | ^ | ( ) access._.c:1723:9: note: use '==' to turn this assignment into an equality comparison 1723 | if( dp = strchr(ident->i_Host,'/') ){ | ^ | == access._.c:1925:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1925 | 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 1925 | 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 1925 | 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] 2000 | if( dp = strstr(svhost,"..") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ access._.c:2000:11: note: place parentheses around the assignment to silence this warning 2000 | if( dp = strstr(svhost,"..") ){ | ^ | ( ) access._.c:2000:11: note: use '==' to turn this assignment into an equality comparison 2000 | if( dp = strstr(svhost,"..") ){ | ^ | == access._.c:2093:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2093 | if( port = scanAuthServPort(dom,AVStr(serv)) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ access._.c:2093:11: note: place parentheses around the assignment to silence this warning 2093 | if( port = scanAuthServPort(dom,AVStr(serv)) ){ | ^ | ( ) access._.c:2093:11: note: use '==' to turn this assignment into an equality comparison 2093 | if( port = scanAuthServPort(dom,AVStr(serv)) ){ | ^ | == access._.c:2118:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2118 | if( dp = strpbrk(authBASIC,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ access._.c:2118:9: note: place parentheses around the assignment to silence this warning 2118 | if( dp = strpbrk(authBASIC,"\r\n") ) | ^ | ( ) access._.c:2118:9: note: use '==' to turn this assignment into an equality comparison 2118 | if( dp = strpbrk(authBASIC,"\r\n") ) | ^ | == access._.c:2122:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2122 | 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 2122 | 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 2122 | 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] 2141 | 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 2141 | 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 2141 | 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] 2227 | if( pp = strchrX(up,':',"{(",")}") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ access._.c:2227:10: note: place parentheses around the assignment to silence this warning 2227 | if( pp = strchrX(up,':',"{(",")}") ){ | ^ | ( ) access._.c:2227:10: note: use '==' to turn this assignment into an equality comparison 2227 | if( pp = strchrX(up,':',"{(",")}") ){ | ^ | == access._.c:2255:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2255 | if( dp = strheadstrX(auth,"-cmd{",0) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ access._.c:2255:9: note: place parentheses around the assignment to silence this warning 2255 | if( dp = strheadstrX(auth,"-cmd{",0) ){ | ^ | ( ) access._.c:2255:9: note: use '==' to turn this assignment into an equality comparison 2255 | if( dp = strheadstrX(auth,"-cmd{",0) ){ | ^ | == access._.c:2456:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2456 | for( ej = 0; e1 = environ[ej]; ej++ ){ | ~~~^~~~~~~~~~~~~ access._.c:2456:18: note: place parentheses around the assignment to silence this warning 2456 | for( ej = 0; e1 = environ[ej]; ej++ ){ | ^ | ( ) access._.c:2456:18: note: use '==' to turn this assignment into an equality comparison 2456 | for( ej = 0; e1 = environ[ej]; ej++ ){ | ^ | == access._.c:2577:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2577 | if( vp = strheadstrX(opt1,"expire=",1) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ access._.c:2577:10: note: place parentheses around the assignment to silence this warning 2577 | if( vp = strheadstrX(opt1,"expire=",1) ){ | ^ | ( ) access._.c:2577:10: note: use '==' to turn this assignment into an equality comparison 2577 | if( vp = strheadstrX(opt1,"expire=",1) ){ | ^ | == access._.c:2580:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2580 | if( vp = strheadstrX(opt1,"user=",1) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ access._.c:2580:10: note: place parentheses around the assignment to silence this warning 2580 | if( vp = strheadstrX(opt1,"user=",1) ){ | ^ | ( ) access._.c:2580:10: note: use '==' to turn this assignment into an equality comparison 2580 | if( vp = strheadstrX(opt1,"user=",1) ){ | ^ | == access._.c:2583:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2583 | if( vp = strheadstrX(opt1,"userpfx=",1) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ access._.c:2583:10: note: place parentheses around the assignment to silence this warning 2583 | if( vp = strheadstrX(opt1,"userpfx=",1) ){ | ^ | ( ) access._.c:2583:10: note: use '==' to turn this assignment into an equality comparison 2583 | if( vp = strheadstrX(opt1,"userpfx=",1) ){ | ^ | == access._.c:2655:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2655 | if( dp = strrchr(ident->i_user,'@') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ access._.c:2655:11: note: place parentheses around the assignment to silence this warning 2655 | if( dp = strrchr(ident->i_user,'@') ){ | ^ | ( ) access._.c:2655:11: note: use '==' to turn this assignment into an equality comparison 2655 | if( dp = strrchr(ident->i_user,'@') ){ | ^ | == access._.c:2682:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2682 | if( dp = strrchr(ident->i_user,'@') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ access._.c:2682:10: note: place parentheses around the assignment to silence this warning 2682 | if( dp = strrchr(ident->i_user,'@') ){ | ^ | ( ) access._.c:2682:10: note: use '==' to turn this assignment into an equality comparison 2682 | if( dp = strrchr(ident->i_user,'@') ){ | ^ | == access._.c:2704:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2704 | if( realm = strchrX(servs,'@',"{(",")}") ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ access._.c:2704:12: note: place parentheses around the assignment to silence this warning 2704 | if( realm = strchrX(servs,'@',"{(",")}") ){ | ^ | ( ) access._.c:2704:12: note: use '==' to turn this assignment into an equality comparison 2704 | if( realm = strchrX(servs,'@',"{(",")}") ){ | ^ | == access._.c:2728:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2728 | if( dp = strrchr(sv[si],'(') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ access._.c:2728:11: note: place parentheses around the assignment to silence this warning 2728 | if( dp = strrchr(sv[si],'(') ){ | ^ | ( ) access._.c:2728:11: note: use '==' to turn this assignment into an equality comparison 2728 | if( dp = strrchr(sv[si],'(') ){ | ^ | == access._.c:2907:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2907 | for( ai = 0; afunc = authenticators[ai].a_func; ai++ ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ access._.c:2907:21: note: place parentheses around the assignment to silence this warning 2907 | for( ai = 0; afunc = authenticators[ai].a_func; ai++ ){ | ^ | ( ) access._.c:2907:21: note: use '==' to turn this assignment into an equality comparison 2907 | 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] 2960 | if( dp = strrpbrk(email,"%") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ access._.c:2960:9: note: place parentheses around the assignment to silence this warning 2960 | if( dp = strrpbrk(email,"%") ){ | ^ | ( ) access._.c:2960:9: note: use '==' to turn this assignment into an equality comparison 2960 | if( dp = strrpbrk(email,"%") ){ | ^ | == access._.c:3151:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3151 | if( cp = strchr(clhost,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~~~ access._.c:3151:9: note: place parentheses around the assignment to silence this warning 3151 | if( cp = strchr(clhost,'/') ){ | ^ | ( ) access._.c:3151:9: note: use '==' to turn this assignment into an equality comparison 3151 | if( cp = strchr(clhost,'/') ){ | ^ | == access._.c:3162:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3162 | if( addr = gethostaddr(clhost) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~ access._.c:3162:11: note: place parentheses around the assignment to silence this warning 3162 | if( addr = gethostaddr(clhost) ){ | ^ | ( ) access._.c:3162:11: note: use '==' to turn this assignment into an equality comparison 3162 | if( addr = gethostaddr(clhost) ){ | ^ | == access._.c:3182:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3182 | if( ok = service_permitted2(Conn,DST_PROTO,2) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ access._.c:3182:9: note: place parentheses around the assignment to silence this warning 3182 | if( ok = service_permitted2(Conn,DST_PROTO,2) ) | ^ | ( ) access._.c:3182:9: note: use '==' to turn this assignment into an equality comparison 3182 | 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] 3275 | if( fp = fopenAuthMan("w") ){ | ~~~^~~~~~~~~~~~~~~~~~~ access._.c:3275:9: note: place parentheses around the assignment to silence this warning 3275 | if( fp = fopenAuthMan("w") ){ | ^ | ( ) access._.c:3275:9: note: use '==' to turn this assignment into an equality comparison 3275 | if( fp = fopenAuthMan("w") ){ | ^ | == access._.c:3284:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3284 | if( fp = fopenAuthMan("r") ){ | ~~~^~~~~~~~~~~~~~~~~~~ access._.c:3284:9: note: place parentheses around the assignment to silence this warning 3284 | if( fp = fopenAuthMan("r") ){ | ^ | ( ) access._.c:3284:9: note: use '==' to turn this assignment into an equality comparison 3284 | if( fp = fopenAuthMan("r") ){ | ^ | == 46 warnings generated. ../mkcpp ident.c ident._.c -- mkcpp set time: 1773311882 -> 1257324766 ident._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c ident._.c -o ident.o ../mkcpp dgauth.c dgauth._.c -- mkcpp set time: 1773311883 -> 1402831338 dgauth._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c dgauth._.c -o dgauth.o dgauth._.c:50:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 50 | if( kfp = fopen(data,"r") ){ | ~~~~^~~~~~~~~~~~~~~~~ dgauth._.c:50:11: note: place parentheses around the assignment to silence this warning 50 | if( kfp = fopen(data,"r") ){ | ^ | ( ) dgauth._.c:50:11: note: use '==' to turn this assignment into an equality comparison 50 | if( kfp = fopen(data,"r") ){ | ^ | == dgauth._.c:164:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 164 | if( fp = dirfopen("CKey",AVStr(path),"w") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dgauth._.c:164:10: note: place parentheses around the assignment to silence this warning 164 | if( fp = dirfopen("CKey",AVStr(path),"w") ){ | ^ | ( ) dgauth._.c:164:10: note: use '==' to turn this assignment into an equality comparison 164 | if( fp = dirfopen("CKey",AVStr(path),"w") ){ | ^ | == dgauth._.c:211:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 211 | if( fp = fopen(path,"r") ){ | ~~~^~~~~~~~~~~~~~~~~ dgauth._.c:211:9: note: place parentheses around the assignment to silence this warning 211 | if( fp = fopen(path,"r") ){ | ^ | ( ) dgauth._.c:211:9: note: use '==' to turn this assignment into an equality comparison 211 | if( fp = fopen(path,"r") ){ | ^ | == dgauth._.c:295:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 295 | if( dp = strheadstrX(main_argv[ai],param,0) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dgauth._.c:295:10: note: place parentheses around the assignment to silence this warning 295 | if( dp = strheadstrX(main_argv[ai],param,0) ) | ^ | ( ) dgauth._.c:295:10: note: use '==' to turn this assignment into an equality comparison 295 | 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] 306 | if( ck = getCKeyMainArg(MainConn(),param,dom,user) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dgauth._.c:306:9: note: place parentheses around the assignment to silence this warning 306 | if( ck = getCKeyMainArg(MainConn(),param,dom,user) ){ | ^ | ( ) dgauth._.c:306:9: note: use '==' to turn this assignment into an equality comparison 306 | if( ck = getCKeyMainArg(MainConn(),param,dom,user) ){ | ^ | == dgauth._.c:364:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 364 | if( dp = strpbrk(ekey,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ dgauth._.c:364:9: note: place parentheses around the assignment to silence this warning 364 | if( dp = strpbrk(ekey,"\r\n") ) | ^ | ( ) dgauth._.c:364:9: note: use '==' to turn this assignment into an equality comparison 364 | if( dp = strpbrk(ekey,"\r\n") ) | ^ | == dgauth._.c:382:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 382 | if( cryptspec = getCKeyArg(Conn,param,dom,user) ){ | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dgauth._.c:382:16: note: place parentheses around the assignment to silence this warning 382 | if( cryptspec = getCKeyArg(Conn,param,dom,user) ){ | ^ | ( ) dgauth._.c:382:16: note: use '==' to turn this assignment into an equality comparison 382 | if( cryptspec = getCKeyArg(Conn,param,dom,user) ){ | ^ | == dgauth._.c:432:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 432 | if( spec = getCKeyMainArg(Conn,param,dom,user) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dgauth._.c:432:12: note: place parentheses around the assignment to silence this warning 432 | if( spec = getCKeyMainArg(Conn,param,dom,user) ){ | ^ | ( ) dgauth._.c:432:12: note: use '==' to turn this assignment into an equality comparison 432 | if( spec = getCKeyMainArg(Conn,param,dom,user) ){ | ^ | == dgauth._.c:495:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 495 | if( dp = strchr(domain,',') ) | ~~~^~~~~~~~~~~~~~~~~~~~ dgauth._.c:495:10: note: place parentheses around the assignment to silence this warning 495 | if( dp = strchr(domain,',') ) | ^ | ( ) dgauth._.c:495:10: note: use '==' to turn this assignment into an equality comparison 495 | if( dp = strchr(domain,',') ) | ^ | == dgauth._.c:497:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 497 | if( dp = strchr(domain,'@') ) | ~~~^~~~~~~~~~~~~~~~~~~~ dgauth._.c:497:10: note: place parentheses around the assignment to silence this warning 497 | if( dp = strchr(domain,'@') ) | ^ | ( ) dgauth._.c:497:10: note: use '==' to turn this assignment into an equality comparison 497 | if( dp = strchr(domain,'@') ) | ^ | == dgauth._.c:499:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 499 | if( dp = strchr(domain,'(') ){ | ~~~^~~~~~~~~~~~~~~~~~~~ dgauth._.c:499:10: note: place parentheses around the assignment to silence this warning 499 | if( dp = strchr(domain,'(') ){ | ^ | ( ) dgauth._.c:499:10: note: use '==' to turn this assignment into an equality comparison 499 | if( dp = strchr(domain,'(') ){ | ^ | == dgauth._.c:639:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 639 | if( dp = strchr(host,':') ){ | ~~~^~~~~~~~~~~~~~~~~~ dgauth._.c:639:10: note: place parentheses around the assignment to silence this warning 639 | if( dp = strchr(host,':') ){ | ^ | ( ) dgauth._.c:639:10: note: use '==' to turn this assignment into an equality comparison 639 | if( dp = strchr(host,':') ){ | ^ | == dgauth._.c:657:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 657 | if( port = scanAuthServPort(dom,AVStr(host)) ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dgauth._.c:657:11: note: place parentheses around the assignment to silence this warning 657 | if( port = scanAuthServPort(dom,AVStr(host)) ) | ^ | ( ) dgauth._.c:657:11: note: use '==' to turn this assignment into an equality comparison 657 | if( port = scanAuthServPort(dom,AVStr(host)) ) | ^ | == dgauth._.c:811:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 811 | if( dp = strpbrk(nonce,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~ dgauth._.c:811:9: note: place parentheses around the assignment to silence this warning 811 | if( dp = strpbrk(nonce,"\r\n") ) | ^ | ( ) dgauth._.c:811:9: note: use '==' to turn this assignment into an equality comparison 811 | if( dp = strpbrk(nonce,"\r\n") ) | ^ | == dgauth._.c:867:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 867 | if( dp = strchr(authserv,'@') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ dgauth._.c:867:9: note: place parentheses around the assignment to silence this warning 867 | if( dp = strchr(authserv,'@') ){ | ^ | ( ) dgauth._.c:867:9: note: use '==' to turn this assignment into an equality comparison 867 | if( dp = strchr(authserv,'@') ){ | ^ | == dgauth._.c:872:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 872 | if( dp = strchr(authserv,',') ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ dgauth._.c:872:9: note: place parentheses around the assignment to silence this warning 872 | if( dp = strchr(authserv,',') ) | ^ | ( ) dgauth._.c:872:9: note: use '==' to turn this assignment into an equality comparison 872 | if( dp = strchr(authserv,',') ) | ^ | == dgauth._.c:875:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 875 | if( dp = strstr(authserv,"//") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~ dgauth._.c:875:9: note: place parentheses around the assignment to silence this warning 875 | if( dp = strstr(authserv,"//") ) | ^ | ( ) dgauth._.c:875:9: note: use '==' to turn this assignment into an equality comparison 875 | if( dp = strstr(authserv,"//") ) | ^ | == dgauth._.c:881:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 881 | else | ^ dgauth._.c:946:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 946 | if( pp = strheadstrX(user,up,igncase) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dgauth._.c:946:10: note: place parentheses around the assignment to silence this warning 946 | if( pp = strheadstrX(user,up,igncase) ){ | ^ | ( ) dgauth._.c:946:10: note: use '==' to turn this assignment into an equality comparison 946 | if( pp = strheadstrX(user,up,igncase) ){ | ^ | == dgauth._.c:975:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 975 | if( dp = strchr(list,'}') ) | ~~~^~~~~~~~~~~~~~~~~~ dgauth._.c:975:9: note: place parentheses around the assignment to silence this warning 975 | if( dp = strchr(list,'}') ) | ^ | ( ) dgauth._.c:975:9: note: use '==' to turn this assignment into an equality comparison 975 | if( dp = strchr(list,'}') ) | ^ | == dgauth._.c:1007:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1007 | if( vrealm = strchr(dom,'@') ){ /* -dgauth[.realm]@vrealm */ | ~~~~~~~^~~~~~~~~~~~~~~~~ dgauth._.c:1007:13: note: place parentheses around the assignment to silence this warning 1007 | if( vrealm = strchr(dom,'@') ){ /* -dgauth[.realm]@vrealm */ | ^ | ( ) dgauth._.c:1007:13: note: use '==' to turn this assignment into an equality comparison 1007 | if( vrealm = strchr(dom,'@') ){ /* -dgauth[.realm]@vrealm */ | ^ | == dgauth._.c:1012:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1012 | if( xrealm = strchr(dom,'.') ) | ~~~~~~~^~~~~~~~~~~~~~~~~ dgauth._.c:1012:13: note: place parentheses around the assignment to silence this warning 1012 | if( xrealm = strchr(dom,'.') ) | ^ | ( ) dgauth._.c:1012:13: note: use '==' to turn this assignment into an equality comparison 1012 | if( xrealm = strchr(dom,'.') ) | ^ | == dgauth._.c:1174:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1174 | if( fp = fopen(path,"r") ){ | ~~~^~~~~~~~~~~~~~~~~ dgauth._.c:1174:9: note: place parentheses around the assignment to silence this warning 1174 | if( fp = fopen(path,"r") ){ | ^ | ( ) dgauth._.c:1174:9: note: use '==' to turn this assignment into an equality comparison 1174 | if( fp = fopen(path,"r") ){ | ^ | == dgauth._.c:1428:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1428 | if( dp = strpbrk(req,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~ dgauth._.c:1428:10: note: place parentheses around the assignment to silence this warning 1428 | if( dp = strpbrk(req,"\r\n") ) | ^ | ( ) dgauth._.c:1428:10: note: use '==' to turn this assignment into an equality comparison 1428 | if( dp = strpbrk(req,"\r\n") ) | ^ | == dgauth._.c:1775:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1775 | if( fp = dirfopen("NonceKey",AVStr(path),"w") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dgauth._.c:1775:10: note: place parentheses around the assignment to silence this warning 1775 | if( fp = dirfopen("NonceKey",AVStr(path),"w") ){ | ^ | ( ) dgauth._.c:1775:10: note: use '==' to turn this assignment into an equality comparison 1775 | if( fp = dirfopen("NonceKey",AVStr(path),"w") ){ | ^ | == dgauth._.c:1784:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1784 | if( fp = fopen(path,"r") ){ | ~~~^~~~~~~~~~~~~~~~~ dgauth._.c:1784:9: note: place parentheses around the assignment to silence this warning 1784 | if( fp = fopen(path,"r") ){ | ^ | ( ) dgauth._.c:1784:9: note: use '==' to turn this assignment into an equality comparison 1784 | if( fp = fopen(path,"r") ){ | ^ | == dgauth._.c:1879:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1879 | if( len = atoi(wf) ){ | ~~~~^~~~~~~~~~ dgauth._.c:1879:10: note: place parentheses around the assignment to silence this warning 1879 | if( len = atoi(wf) ){ | ^ | ( ) dgauth._.c:1879:10: note: use '==' to turn this assignment into an equality comparison 1879 | if( len = atoi(wf) ){ | ^ | == dgauth._.c:1930:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1930 | if( dp = strcasestr(host,dom1) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~ dgauth._.c:1930:10: note: place parentheses around the assignment to silence this warning 1930 | if( dp = strcasestr(host,dom1) ){ | ^ | ( ) dgauth._.c:1930:10: note: use '==' to turn this assignment into an equality comparison 1930 | if( dp = strcasestr(host,dom1) ){ | ^ | == dgauth._.c:1976:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1976 | if( dp = strchr(attrn,'@') ){ | ~~~^~~~~~~~~~~~~~~~~~~ dgauth._.c:1976:10: note: place parentheses around the assignment to silence this warning 1976 | if( dp = strchr(attrn,'@') ){ | ^ | ( ) dgauth._.c:1976:10: note: use '==' to turn this assignment into an equality comparison 1976 | if( dp = strchr(attrn,'@') ){ | ^ | == 29 warnings generated. ../mkcpp dgsign.c dgsign._.c -- mkcpp set time: 1773311885 -> 1411905128 dgsign._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c dgsign._.c -o dgsign.o -DADMIN=\"admin@example.com\" dgsign._.c:91:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 91 | if( fin = fopen(fname,"r") ){ | ~~~~^~~~~~~~~~~~~~~~~~ dgsign._.c:91:10: note: place parentheses around the assignment to silence this warning 91 | if( fin = fopen(fname,"r") ){ | ^ | ( ) dgsign._.c:91:10: note: use '==' to turn this assignment into an equality comparison 91 | if( fin = fopen(fname,"r") ){ | ^ | == dgsign._.c:141:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 141 | if( dp = strrpbrk(fnam,"/\\") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ dgsign._.c:141:11: note: place parentheses around the assignment to silence this warning 141 | if( dp = strrpbrk(fnam,"/\\") ){ | ^ | ( ) dgsign._.c:141:11: note: use '==' to turn this assignment into an equality comparison 141 | if( dp = strrpbrk(fnam,"/\\") ){ | ^ | == dgsign._.c:222:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 222 | if( fp = fopen(av[ai],"r") ){ | ~~~^~~~~~~~~~~~~~~~~~~ dgsign._.c:222:12: note: place parentheses around the assignment to silence this warning 222 | if( fp = fopen(av[ai],"r") ){ | ^ | ( ) dgsign._.c:222:12: note: use '==' to turn this assignment into an equality comparison 222 | if( fp = fopen(av[ai],"r") ){ | ^ | == dgsign._.c:226:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 226 | if( lp = strpbrk(line,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ dgsign._.c:226:14: note: place parentheses around the assignment to silence this warning 226 | if( lp = strpbrk(line,"\r\n") ) | ^ | ( ) dgsign._.c:226:14: note: use '==' to turn this assignment into an equality comparison 226 | if( lp = strpbrk(line,"\r\n") ) | ^ | == dgsign._.c:280:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 280 | if( fp = fopen(ofile,"w") ) | ~~~^~~~~~~~~~~~~~~~~~ dgsign._.c:280:11: note: place parentheses around the assignment to silence this warning 280 | if( fp = fopen(ofile,"w") ) | ^ | ( ) dgsign._.c:280:11: note: use '==' to turn this assignment into an equality comparison 280 | if( fp = fopen(ofile,"w") ) | ^ | == dgsign._.c:316:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 316 | if( fp = fopen(path,"r") ){ | ~~~^~~~~~~~~~~~~~~~~ dgsign._.c:316:9: note: place parentheses around the assignment to silence this warning 316 | if( fp = fopen(path,"r") ){ | ^ | ( ) dgsign._.c:316:9: note: use '==' to turn this assignment into an equality comparison 316 | if( fp = fopen(path,"r") ){ | ^ | == dgsign._.c:518:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 518 | if( ep = strstr(dp,"}\"") ){ | ~~~^~~~~~~~~~~~~~~~~~ dgsign._.c:518:11: note: place parentheses around the assignment to silence this warning 518 | if( ep = strstr(dp,"}\"") ){ | ^ | ( ) dgsign._.c:518:11: note: use '==' to turn this assignment into an equality comparison 518 | if( ep = strstr(dp,"}\"") ){ | ^ | == dgsign._.c:532:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 532 | if( dp = strstr(buf,"}\"") ){ | ~~~^~~~~~~~~~~~~~~~~~~ dgsign._.c:532:13: note: place parentheses around the assignment to silence this warning 532 | if( dp = strstr(buf,"}\"") ){ | ^ | ( ) dgsign._.c:532:13: note: use '==' to turn this assignment into an equality comparison 532 | if( dp = strstr(buf,"}\"") ){ | ^ | == dgsign._.c:596:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 596 | if( ep = strstr(dp,"}\"") ){ | ~~~^~~~~~~~~~~~~~~~~~ dgsign._.c:596:11: note: place parentheses around the assignment to silence this warning 596 | if( ep = strstr(dp,"}\"") ){ | ^ | ( ) dgsign._.c:596:11: note: use '==' to turn this assignment into an equality comparison 596 | if( ep = strstr(dp,"}\"") ){ | ^ | == dgsign._.c:605:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 605 | if( dp = strstr(buf,"}\"") ){ | ~~~^~~~~~~~~~~~~~~~~~~ dgsign._.c:605:13: note: place parentheses around the assignment to silence this warning 605 | if( dp = strstr(buf,"}\"") ){ | ^ | ( ) dgsign._.c:605:13: note: use '==' to turn this assignment into an equality comparison 605 | if( dp = strstr(buf,"}\"") ){ | ^ | == dgsign._.c:651:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 651 | if( ep = strchr(fsig->s_signb,'}') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ dgsign._.c:651:11: note: place parentheses around the assignment to silence this warning 651 | if( ep = strchr(fsig->s_signb,'}') ){ | ^ | ( ) dgsign._.c:651:11: note: use '==' to turn this assignment into an equality comparison 651 | if( ep = strchr(fsig->s_signb,'}') ){ | ^ | == dgsign._.c:667:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 667 | if( ep = strchr(dp,'}') ){ | ~~~^~~~~~~~~~~~~~~~ dgsign._.c:667:11: note: place parentheses around the assignment to silence this warning 667 | if( ep = strchr(dp,'}') ){ | ^ | ( ) dgsign._.c:667:11: note: use '==' to turn this assignment into an equality comparison 667 | if( ep = strchr(dp,'}') ){ | ^ | == dgsign._.c:705:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 705 | }else | ^ dgsign._.c:754:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 754 | else | ^ dgsign._.c:718:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 718 | }else | ^ dgsign._.c:959:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 959 | if( dp = strpbrk(md5,"=\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ dgsign._.c:959:9: note: place parentheses around the assignment to silence this warning 959 | if( dp = strpbrk(md5,"=\r\n") ) | ^ | ( ) dgsign._.c:959:9: note: use '==' to turn this assignment into an equality comparison 959 | if( dp = strpbrk(md5,"=\r\n") ) | ^ | == dgsign._.c:1134:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1134 | if( ov = getv(oav,_P_IMPLAST) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ dgsign._.c:1134:9: note: place parentheses around the assignment to silence this warning 1134 | if( ov = getv(oav,_P_IMPLAST) ){ | ^ | ( ) dgsign._.c:1134:9: note: use '==' to turn this assignment into an equality comparison 1134 | if( ov = getv(oav,_P_IMPLAST) ){ | ^ | == dgsign._.c:1138:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1138 | if( ov = getv(oav,_P_IMPORIG) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ dgsign._.c:1138:9: note: place parentheses around the assignment to silence this warning 1138 | if( ov = getv(oav,_P_IMPORIG) ){ | ^ | ( ) dgsign._.c:1138:9: note: use '==' to turn this assignment into an equality comparison 1138 | if( ov = getv(oav,_P_IMPORIG) ){ | ^ | == dgsign._.c:1149:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1149 | for( ai = 0; ov = oav[ai]; ai++ ){ | ~~~^~~~~~~~~ dgsign._.c:1149:18: note: place parentheses around the assignment to silence this warning 1149 | for( ai = 0; ov = oav[ai]; ai++ ){ | ^ | ( ) dgsign._.c:1149:18: note: use '==' to turn this assignment into an equality comparison 1149 | for( ai = 0; ov = oav[ai]; ai++ ){ | ^ | == dgsign._.c:1172:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1172 | if( pv = strchr(ov,'=') ) | ~~~^~~~~~~~~~~~~~~~ dgsign._.c:1172:12: note: place parentheses around the assignment to silence this warning 1172 | if( pv = strchr(ov,'=') ) | ^ | ( ) dgsign._.c:1172:12: note: use '==' to turn this assignment into an equality comparison 1172 | if( pv = strchr(ov,'=') ) | ^ | == dgsign._.c:1182:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1182 | if( ov = getv(oav,P_SUDOAUTH) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ dgsign._.c:1182:9: note: place parentheses around the assignment to silence this warning 1182 | if( ov = getv(oav,P_SUDOAUTH) ){ | ^ | ( ) dgsign._.c:1182:9: note: use '==' to turn this assignment into an equality comparison 1182 | if( ov = getv(oav,P_SUDOAUTH) ){ | ^ | == dgsign._.c:1189:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1189 | if( ov = getv(oav,P_EXECAUTH) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ dgsign._.c:1189:9: note: place parentheses around the assignment to silence this warning 1189 | if( ov = getv(oav,P_EXECAUTH) ){ | ^ | ( ) dgsign._.c:1189:9: note: use '==' to turn this assignment into an equality comparison 1189 | if( ov = getv(oav,P_EXECAUTH) ){ | ^ | == dgsign._.c:1378:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1378 | for( ii = 0; p2 = PS->_iav[ii]; ii++ ){ | ~~~^~~~~~~~~~~~~~ dgsign._.c:1378:22: note: place parentheses around the assignment to silence this warning 1378 | for( ii = 0; p2 = PS->_iav[ii]; ii++ ){ | ^ | ( ) dgsign._.c:1378:22: note: use '==' to turn this assignment into an equality comparison 1378 | 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] 1531 | if( sfp = fopen(save,"w") ){ | ~~~~^~~~~~~~~~~~~~~~~ dgsign._.c:1531:11: note: place parentheses around the assignment to silence this warning 1531 | if( sfp = fopen(save,"w") ){ | ^ | ( ) dgsign._.c:1531:11: note: use '==' to turn this assignment into an equality comparison 1531 | if( sfp = fopen(save,"w") ){ | ^ | == dgsign._.c:1580:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1580 | for( ai = 0; a1 = av[ai]; ai++ ){ | ~~~^~~~~~~~ dgsign._.c:1580:18: note: place parentheses around the assignment to silence this warning 1580 | for( ai = 0; a1 = av[ai]; ai++ ){ | ^ | ( ) dgsign._.c:1580:18: note: use '==' to turn this assignment into an equality comparison 1580 | for( ai = 0; a1 = av[ai]; ai++ ){ | ^ | == dgsign._.c:1630:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1630 | 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 1630 | 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 1630 | 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] 1631 | 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 1631 | 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 1631 | 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] 1632 | 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 1632 | 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 1632 | 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] 1633 | 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 1633 | 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 1633 | 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] 1940 | if( lfp = fopen(load,"r") ){ | ~~~~^~~~~~~~~~~~~~~~~ dgsign._.c:1940:12: note: place parentheses around the assignment to silence this warning 1940 | if( lfp = fopen(load,"r") ){ | ^ | ( ) dgsign._.c:1940:12: note: use '==' to turn this assignment into an equality comparison 1940 | if( lfp = fopen(load,"r") ){ | ^ | == dgsign._.c:2359:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2359 | else | ^ dgsign._.c:2552:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2552 | if( vp = strheadstrX(a1,_P_IMPORIG,0) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dgsign._.c:2552:10: note: place parentheses around the assignment to silence this warning 2552 | if( vp = strheadstrX(a1,_P_IMPORIG,0) ){ | ^ | ( ) dgsign._.c:2552:10: note: use '==' to turn this assignment into an equality comparison 2552 | if( vp = strheadstrX(a1,_P_IMPORIG,0) ){ | ^ | == dgsign._.c:2711:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2711 | if( auth = getEnvBin1st(P_EXECAUTH) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ dgsign._.c:2711:11: note: place parentheses around the assignment to silence this warning 2711 | if( auth = getEnvBin1st(P_EXECAUTH) ){ | ^ | ( ) dgsign._.c:2711:11: note: use '==' to turn this assignment into an equality comparison 2711 | if( auth = getEnvBin1st(P_EXECAUTH) ){ | ^ | == dgsign._.c:2718:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2718 | if( auth = getEnvBin1st(P_SUDOAUTH) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ dgsign._.c:2718:12: note: place parentheses around the assignment to silence this warning 2718 | if( auth = getEnvBin1st(P_SUDOAUTH) ){ | ^ | ( ) dgsign._.c:2718:12: note: use '==' to turn this assignment into an equality comparison 2718 | if( auth = getEnvBin1st(P_SUDOAUTH) ){ | ^ | == dgsign._.c:2732:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2732 | if( auth = getEnvBin1st(P_EXECAUTH) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ dgsign._.c:2732:11: note: place parentheses around the assignment to silence this warning 2732 | if( auth = getEnvBin1st(P_EXECAUTH) ){ | ^ | ( ) dgsign._.c:2732:11: note: use '==' to turn this assignment into an equality comparison 2732 | if( auth = getEnvBin1st(P_EXECAUTH) ){ | ^ | == dgsign._.c:2922:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2922 | if( enc = strstr(ibuf,head) ){ | ~~~~^~~~~~~~~~~~~~~~~~~ dgsign._.c:2922:11: note: place parentheses around the assignment to silence this warning 2922 | if( enc = strstr(ibuf,head) ){ | ^ | ( ) dgsign._.c:2922:11: note: use '==' to turn this assignment into an equality comparison 2922 | if( enc = strstr(ibuf,head) ){ | ^ | == dgsign._.c:3051:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3051 | if( ifp = fopen(ipath,"r") ){ | ~~~~^~~~~~~~~~~~~~~~~~ dgsign._.c:3051:14: note: place parentheses around the assignment to silence this warning 3051 | if( ifp = fopen(ipath,"r") ){ | ^ | ( ) dgsign._.c:3051:14: note: use '==' to turn this assignment into an equality comparison 3051 | if( ifp = fopen(ipath,"r") ){ | ^ | == dgsign._.c:3106:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3106 | if( dp = strtailstr(opath,".enc") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ dgsign._.c:3106:11: note: place parentheses around the assignment to silence this warning 3106 | if( dp = strtailstr(opath,".enc") ) | ^ | ( ) dgsign._.c:3106:11: note: use '==' to turn this assignment into an equality comparison 3106 | if( dp = strtailstr(opath,".enc") ) | ^ | == dgsign._.c:3178:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3178 | if( enc = strstr(line,head) ){ | ~~~~^~~~~~~~~~~~~~~~~~~ dgsign._.c:3178:11: note: place parentheses around the assignment to silence this warning 3178 | if( enc = strstr(line,head) ){ | ^ | ( ) dgsign._.c:3178:11: note: use '==' to turn this assignment into an equality comparison 3178 | if( enc = strstr(line,head) ){ | ^ | == dgsign._.c:3452:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3452 | if( rcc = fread(buf,1,QVSSize(buf,bsize),ifp) ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dgsign._.c:3452:11: note: place parentheses around the assignment to silence this warning 3452 | if( rcc = fread(buf,1,QVSSize(buf,bsize),ifp) ) | ^ | ( ) dgsign._.c:3452:11: note: use '==' to turn this assignment into an equality comparison 3452 | 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] 3471 | if( pfp = popen(com,"r") ){ | ~~~~^~~~~~~~~~~~~~~~ dgsign._.c:3471:13: note: place parentheses around the assignment to silence this warning 3471 | if( pfp = popen(com,"r") ){ | ^ | ( ) dgsign._.c:3471:13: note: use '==' to turn this assignment into an equality comparison 3471 | if( pfp = popen(com,"r") ){ | ^ | == dgsign._.c:3710:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3710 | for( sp = str; ch = *sp; sp++ ){ | ~~~^~~~~ dgsign._.c:3710:20: note: place parentheses around the assignment to silence this warning 3710 | for( sp = str; ch = *sp; sp++ ){ | ^ | ( ) dgsign._.c:3710:20: note: use '==' to turn this assignment into an equality comparison 3710 | for( sp = str; ch = *sp; sp++ ){ | ^ | == dgsign._.c:3751:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3751 | for( sp = str; ch = *sp; sp++ ){ | ~~~^~~~~ dgsign._.c:3751:20: note: place parentheses around the assignment to silence this warning 3751 | for( sp = str; ch = *sp; sp++ ){ | ^ | ( ) dgsign._.c:3751:20: note: use '==' to turn this assignment into an equality comparison 3751 | for( sp = str; ch = *sp; sp++ ){ | ^ | == 43 warnings generated. ../mkcpp ccache.c ccache._.c -- mkcpp set time: 1773311887 -> 1289464838 ccache._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c ccache._.c -o ccache.o ccache._.c:93:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 93 | if( ccfp = fopenCC(server,"r+",AVStr(path)) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ccache._.c:93:12: note: place parentheses around the assignment to silence this warning 93 | if( ccfp = fopenCC(server,"r+",AVStr(path)) ){ | ^ | ( ) ccache._.c:93:12: note: use '==' to turn this assignment into an equality comparison 93 | if( ccfp = fopenCC(server,"r+",AVStr(path)) ){ | ^ | == ccache._.c:273:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 273 | if( ccfp = fopen(path,"a") ) | ~~~~~^~~~~~~~~~~~~~~~~ ccache._.c:273:11: note: place parentheses around the assignment to silence this warning 273 | if( ccfp = fopen(path,"a") ) | ^ | ( ) ccache._.c:273:11: note: use '==' to turn this assignment into an equality comparison 273 | if( ccfp = fopen(path,"a") ) | ^ | == 2 warnings generated. ../mkcpp cache.c cache._.c -- mkcpp set time: 1773311889 -> 1407388953 cache._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c cache._.c -o cache.o cache._.c:102:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 102 | if( dp = strrpbrk(xdir,"/\\") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ cache._.c:102:9: note: place parentheses around the assignment to silence this warning 102 | if( dp = strrpbrk(xdir,"/\\") ) | ^ | ( ) cache._.c:102:9: note: use '==' to turn this assignment into an equality comparison 102 | if( dp = strrpbrk(xdir,"/\\") ) | ^ | == cache._.c:172:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 172 | while( dp = strchr(dp,'/') ){ | ~~~^~~~~~~~~~~~~~~~ cache._.c:172:12: note: place parentheses around the assignment to silence this warning 172 | while( dp = strchr(dp,'/') ){ | ^ | ( ) cache._.c:172:12: note: use '==' to turn this assignment into an equality comparison 172 | while( dp = strchr(dp,'/') ){ | ^ | == cache._.c:196:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 196 | if( dp = strrchr(dir,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~ cache._.c:196:9: note: place parentheses around the assignment to silence this warning 196 | if( dp = strrchr(dir,'/') ){ | ^ | ( ) cache._.c:196:9: note: use '==' to turn this assignment into an equality comparison 196 | if( dp = strrchr(dir,'/') ){ | ^ | == cache._.c:226:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 226 | if( dp = strrchr(dir,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~ cache._.c:226:9: note: place parentheses around the assignment to silence this warning 226 | if( dp = strrchr(dir,'/') ){ | ^ | ( ) cache._.c:226:9: note: use '==' to turn this assignment into an equality comparison 226 | if( dp = strrchr(dir,'/') ){ | ^ | == cache._.c:275:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 275 | if( dp = strrchr(file,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~~ cache._.c:275:9: note: place parentheses around the assignment to silence this warning 275 | if( dp = strrchr(file,'/') ){ | ^ | ( ) cache._.c:275:9: note: use '==' to turn this assignment into an equality comparison 275 | if( dp = strrchr(file,'/') ){ | ^ | == cache._.c:407:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 407 | for( sp = surl; sc = *sp; sp++ ){ | ~~~^~~~~ cache._.c:407:21: note: place parentheses around the assignment to silence this warning 407 | for( sp = surl; sc = *sp; sp++ ){ | ^ | ( ) cache._.c:407:21: note: use '==' to turn this assignment into an equality comparison 407 | for( sp = surl; sc = *sp; sp++ ){ | ^ | == cache._.c:471:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 471 | if( nvport = strchr(nvserv,':') ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~ cache._.c:471:14: note: place parentheses around the assignment to silence this warning 471 | if( nvport = strchr(nvserv,':') ){ | ^ | ( ) cache._.c:471:14: note: use '==' to turn this assignment into an equality comparison 471 | if( nvport = strchr(nvserv,':') ){ | ^ | == cache._.c:498:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 498 | if( rp = strpbrk(path1,"\r\n\t ") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ cache._.c:498:9: note: place parentheses around the assignment to silence this warning 498 | if( rp = strpbrk(path1,"\r\n\t ") ){ | ^ | ( ) cache._.c:498:9: note: use '==' to turn this assignment into an equality comparison 498 | if( rp = strpbrk(path1,"\r\n\t ") ){ | ^ | == cache._.c:610:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 610 | while( dp = strrchr(cpath,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~~~ cache._.c:610:12: note: place parentheses around the assignment to silence this warning 610 | while( dp = strrchr(cpath,'/') ){ | ^ | ( ) cache._.c:610:12: note: use '==' to turn this assignment into an equality comparison 610 | while( dp = strrchr(cpath,'/') ){ | ^ | == cache._.c:630:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 630 | for( sp = path; ch = *sp; sp++ ){ | ~~~^~~~~ cache._.c:630:21: note: place parentheses around the assignment to silence this warning 630 | for( sp = path; ch = *sp; sp++ ){ | ^ | ( ) cache._.c:630:21: note: use '==' to turn this assignment into an equality comparison 630 | for( sp = path; ch = *sp; sp++ ){ | ^ | == cache._.c:761:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 761 | if( tomd5 = (fp[0] == 'm') && (fp[1] != 0) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cache._.c:761:13: note: place parentheses around the assignment to silence this warning 761 | if( tomd5 = (fp[0] == 'm') && (fp[1] != 0) ) | ^ | ( ) cache._.c:761:13: note: use '==' to turn this assignment into an equality comparison 761 | if( tomd5 = (fp[0] == 'm') && (fp[1] != 0) ) | ^ | == cache._.c:880:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 880 | for( fi = 0; bsym = formats[fi].f_begin; fi++ ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~ cache._.c:880:21: note: place parentheses around the assignment to silence this warning 880 | for( fi = 0; bsym = formats[fi].f_begin; fi++ ){ | ^ | ( ) cache._.c:880:21: note: use '==' to turn this assignment into an equality comparison 880 | 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] 964 | if( np = strstr(bp,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~ cache._.c:964:10: note: place parentheses around the assignment to silence this warning 964 | if( np = strstr(bp,"\r\n") ) | ^ | ( ) cache._.c:964:10: note: use '==' to turn this assignment into an equality comparison 964 | if( np = strstr(bp,"\r\n") ) | ^ | == 13 warnings generated. ../mkcpp distrib.c distrib._.c -- mkcpp set time: 1773311890 -> 1264937413 distrib._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c distrib._.c -o distrib.o distrib._.c:109:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 109 | if( dp = strpbrk(stat,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ distrib._.c:109:9: note: place parentheses around the assignment to silence this warning 109 | if( dp = strpbrk(stat,"\r\n") ) | ^ | ( ) distrib._.c:109:9: note: use '==' to turn this assignment into an equality comparison 109 | if( dp = strpbrk(stat,"\r\n") ) | ^ | == 1 warning generated. ../mkcpp bcounter.c bcounter._.c -- mkcpp set time: 1773311891 -> 1407389270 bcounter._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c bcounter._.c -o bcounter.o bcounter._.c:309:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 309 | if( dp = strchr(cpath,'?') ) | ~~~^~~~~~~~~~~~~~~~~~~ bcounter._.c:309:9: note: place parentheses around the assignment to silence this warning 309 | if( dp = strchr(cpath,'?') ) | ^ | ( ) bcounter._.c:309:9: note: use '==' to turn this assignment into an equality comparison 309 | if( dp = strchr(cpath,'?') ) | ^ | == bcounter._.c:556:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 556 | if( pp = strchr(host,':') ){ | ~~~^~~~~~~~~~~~~~~~~~ bcounter._.c:556:10: note: place parentheses around the assignment to silence this warning 556 | if( pp = strchr(host,':') ){ | ^ | ( ) bcounter._.c:556:10: note: use '==' to turn this assignment into an equality comparison 556 | if( pp = strchr(host,':') ){ | ^ | == bcounter._.c:565:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 565 | if( dp = strchr(up,'#') ){ | ~~~^~~~~~~~~~~~~~~~ bcounter._.c:565:11: note: place parentheses around the assignment to silence this warning 565 | if( dp = strchr(up,'#') ){ | ^ | ( ) bcounter._.c:565:11: note: use '==' to turn this assignment into an equality comparison 565 | if( dp = strchr(up,'#') ){ | ^ | == bcounter._.c:569:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 569 | if( dp = strchr(up,'?') ){ | ~~~^~~~~~~~~~~~~~~~ bcounter._.c:569:10: note: place parentheses around the assignment to silence this warning 569 | if( dp = strchr(up,'?') ){ | ^ | ( ) bcounter._.c:569:10: note: use '==' to turn this assignment into an equality comparison 569 | if( dp = strchr(up,'?') ){ | ^ | == bcounter._.c:712:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 712 | if( dp = strstr(url,"#{") ){ | ~~~^~~~~~~~~~~~~~~~~~ bcounter._.c:712:9: note: place parentheses around the assignment to silence this warning 712 | if( dp = strstr(url,"#{") ){ | ^ | ( ) bcounter._.c:712:9: note: use '==' to turn this assignment into an equality comparison 712 | if( dp = strstr(url,"#{") ){ | ^ | == bcounter._.c:715:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 715 | if( dp = strstr(urlb,"#{") ){ | ~~~^~~~~~~~~~~~~~~~~~~ bcounter._.c:715:10: note: place parentheses around the assignment to silence this warning 715 | if( dp = strstr(urlb,"#{") ){ | ^ | ( ) bcounter._.c:715:10: note: use '==' to turn this assignment into an equality comparison 715 | if( dp = strstr(urlb,"#{") ){ | ^ | == bcounter._.c:771:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 771 | if( iscum = streq(url,"##cumget") ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ bcounter._.c:771:12: note: place parentheses around the assignment to silence this warning 771 | if( iscum = streq(url,"##cumget") ){ | ^ | ( ) bcounter._.c:771:12: note: use '==' to turn this assignment into an equality comparison 771 | if( iscum = streq(url,"##cumget") ){ | ^ | == bcounter._.c:780:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 780 | for( fp = fmt; fc = *fp; fp++ ){ | ~~~^~~~~ bcounter._.c:780:20: note: place parentheses around the assignment to silence this warning 780 | for( fp = fmt; fc = *fp; fp++ ){ | ^ | ( ) bcounter._.c:780:20: note: use '==' to turn this assignment into an equality comparison 780 | for( fp = fmt; fc = *fp; fp++ ){ | ^ | == bcounter._.c:834:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 834 | if( mean = (fc == 'm') ){ | ~~~~~^~~~~~~~~~~~~ bcounter._.c:834:12: note: place parentheses around the assignment to silence this warning 834 | if( mean = (fc == 'm') ){ | ^ | ( ) bcounter._.c:834:12: note: use '==' to turn this assignment into an equality comparison 834 | if( mean = (fc == 'm') ){ | ^ | == 9 warnings generated. ../mkcpp ipno.c ipno._.c -- mkcpp set time: 1773311892 -> 1250403944 ipno._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c ipno._.c -o ipno.o ipno._.c:34:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 34 | while( ni = fread(cands,ADDRLEN,BLKSIZE,fp) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ipno._.c:34:12: note: place parentheses around the assignment to silence this warning 34 | while( ni = fread(cands,ADDRLEN,BLKSIZE,fp) ){ | ^ | ( ) ipno._.c:34:12: note: use '==' to turn this assignment into an equality comparison 34 | while( ni = fread(cands,ADDRLEN,BLKSIZE,fp) ){ | ^ | == 1 warning generated. ../mkcpp inets.c inets._.c -- mkcpp set time: 1773311894 -> 1408790277 inets._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c inets._.c -o inets.o inets._.c:318:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 318 | if( hp = gethostbyname(host) ) | ~~~^~~~~~~~~~~~~~~~~~~~~ inets._.c:318:9: note: place parentheses around the assignment to silence this warning 318 | if( hp = gethostbyname(host) ) | ^ | ( ) inets._.c:318:9: note: use '==' to turn this assignment into an equality comparison 318 | if( hp = gethostbyname(host) ) | ^ | == inets._.c:402:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 402 | if( dp = strchr(host+2,'.') ){ | ~~~^~~~~~~~~~~~~~~~~~~~ inets._.c:402:10: note: place parentheses around the assignment to silence this warning 402 | if( dp = strchr(host+2,'.') ){ | ^ | ( ) inets._.c:402:10: note: use '==' to turn this assignment into an equality comparison 402 | if( dp = strchr(host+2,'.') ){ | ^ | == inets._.c:792:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 792 | 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 792 | 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 792 | 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] 842 | if( res_logf = fopen(log,"a") ){ | ~~~~~~~~~^~~~~~~~~~~~~~~~ inets._.c:842:16: note: place parentheses around the assignment to silence this warning 842 | if( res_logf = fopen(log,"a") ){ | ^ | ( ) inets._.c:842:16: note: use '==' to turn this assignment into an equality comparison 842 | if( res_logf = fopen(log,"a") ){ | ^ | == inets._.c:862:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 862 | if( roe = getenv("RES_ORDER") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~ inets._.c:862:11: note: place parentheses around the assignment to silence this warning 862 | if( roe = getenv("RES_ORDER") ){ | ^ | ( ) inets._.c:862:11: note: use '==' to turn this assignment into an equality comparison 862 | if( roe = getenv("RES_ORDER") ){ | ^ | == inets._.c:908:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 908 | 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 908 | 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 908 | 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] 937 | for( ai = 0; name1 = hp->h_aliases[ai]; ai++ ) | ~~~~~~^~~~~~~~~~~~~~~~~~~ inets._.c:937:21: note: place parentheses around the assignment to silence this warning 937 | for( ai = 0; name1 = hp->h_aliases[ai]; ai++ ) | ^ | ( ) inets._.c:937:21: note: use '==' to turn this assignment into an equality comparison 937 | 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] 946 | for( ai = 0; addr1 = hp->h_addr_list[ai]; ai++ ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ inets._.c:946:21: note: place parentheses around the assignment to silence this warning 946 | for( ai = 0; addr1 = hp->h_addr_list[ai]; ai++ ) | ^ | ( ) inets._.c:946:21: note: use '==' to turn this assignment into an equality comparison 946 | 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] 1023 | for( si = 0; sc = sv[si]; si++ ){ | ~~~^~~~~~~~ inets._.c:1023:18: note: place parentheses around the assignment to silence this warning 1023 | for( si = 0; sc = sv[si]; si++ ){ | ^ | ( ) inets._.c:1023:18: note: use '==' to turn this assignment into an equality comparison 1023 | for( si = 0; sc = sv[si]; si++ ){ | ^ | == inets._.c:1053:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1053 | for( ai = 0; a1 = hp1->h_addr_list[ai]; ai++ ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ inets._.c:1053:19: note: place parentheses around the assignment to silence this warning 1053 | for( ai = 0; a1 = hp1->h_addr_list[ai]; ai++ ){ | ^ | ( ) inets._.c:1053:19: note: use '==' to turn this assignment into an equality comparison 1053 | 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] 1054 | if( sx = isinlist(hp2->h_addr_list,a1,alen) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets._.c:1054:11: note: place parentheses around the assignment to silence this warning 1054 | if( sx = isinlist(hp2->h_addr_list,a1,alen) ){ | ^ | ( ) inets._.c:1054:11: note: use '==' to turn this assignment into an equality comparison 1054 | 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] 1065 | for( ai = 0; a1 = hp1->h_aliases[ai]; ai++ ){ | ~~~^~~~~~~~~~~~~~~~~~~~ inets._.c:1065:19: note: place parentheses around the assignment to silence this warning 1065 | for( ai = 0; a1 = hp1->h_aliases[ai]; ai++ ){ | ^ | ( ) inets._.c:1065:19: note: use '==' to turn this assignment into an equality comparison 1065 | 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] 1066 | if( sx = isinlist(hp2->h_aliases,a1,0) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets._.c:1066:11: note: place parentheses around the assignment to silence this warning 1066 | if( sx = isinlist(hp2->h_aliases,a1,0) ){ | ^ | ( ) inets._.c:1066:11: note: use '==' to turn this assignment into an equality comparison 1066 | 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] 1157 | for( ai = 0; name1 = hp->h_aliases[ai]; ai++ ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~ inets._.c:1157:21: note: place parentheses around the assignment to silence this warning 1157 | for( ai = 0; name1 = hp->h_aliases[ai]; ai++ ){ | ^ | ( ) inets._.c:1157:21: note: use '==' to turn this assignment into an equality comparison 1157 | 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] 1356 | for( ai = 0; addr = hp->h_addr_list[ai]; ai++ ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~ inets._.c:1356:21: note: place parentheses around the assignment to silence this warning 1356 | for( ai = 0; addr = hp->h_addr_list[ai]; ai++ ){ | ^ | ( ) inets._.c:1356:21: note: use '==' to turn this assignment into an equality comparison 1356 | 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] 1373 | for( ai = 0; name = hp->h_aliases[ai]; ai++ ) | ~~~~~^~~~~~~~~~~~~~~~~~~ inets._.c:1373:21: note: place parentheses around the assignment to silence this warning 1373 | for( ai = 0; name = hp->h_aliases[ai]; ai++ ) | ^ | ( ) inets._.c:1373:21: note: use '==' to turn this assignment into an equality comparison 1373 | 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] 1457 | if( Hp = HostsCache[ci] ){ | ~~~^~~~~~~~~~~~~~~~ inets._.c:1457:10: note: place parentheses around the assignment to silence this warning 1457 | if( Hp = HostsCache[ci] ){ | ^ | ( ) inets._.c:1457:10: note: use '==' to turn this assignment into an equality comparison 1457 | if( Hp = HostsCache[ci] ){ | ^ | == inets._.c:1528:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1528 | if( tp = strchr(np,'}') ) | ~~~^~~~~~~~~~~~~~~~ inets._.c:1528:11: note: place parentheses around the assignment to silence this warning 1528 | if( tp = strchr(np,'}') ) | ^ | ( ) inets._.c:1528:11: note: use '==' to turn this assignment into an equality comparison 1528 | if( tp = strchr(np,'}') ) | ^ | == inets._.c:1537:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1537 | if( dp = strchr(np,',') ){ | ~~~^~~~~~~~~~~~~~~~ inets._.c:1537:11: note: place parentheses around the assignment to silence this warning 1537 | if( dp = strchr(np,',') ){ | ^ | ( ) inets._.c:1537:11: note: use '==' to turn this assignment into an equality comparison 1537 | if( dp = strchr(np,',') ){ | ^ | == inets._.c:1597:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1597 | if( hp = Dgethostbyname(name) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ inets._.c:1597:9: note: place parentheses around the assignment to silence this warning 1597 | if( hp = Dgethostbyname(name) ){ | ^ | ( ) inets._.c:1597:9: note: use '==' to turn this assignment into an equality comparison 1597 | if( hp = Dgethostbyname(name) ){ | ^ | == inets._.c:1643:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1643 | if( addrs = strchr(names,'/') ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~ inets._.c:1643:12: note: place parentheses around the assignment to silence this warning 1643 | if( addrs = strchr(names,'/') ){ | ^ | ( ) inets._.c:1643:12: note: use '==' to turn this assignment into an equality comparison 1643 | if( addrs = strchr(names,'/') ){ | ^ | == inets._.c:1645:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1645 | if( opts = strchr(addrs+1,'/') ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~ inets._.c:1645:12: note: place parentheses around the assignment to silence this warning 1645 | if( opts = strchr(addrs+1,'/') ){ | ^ | ( ) inets._.c:1645:12: note: use '==' to turn this assignment into an equality comparison 1645 | if( opts = strchr(addrs+1,'/') ){ | ^ | == inets._.c:1789:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1789 | }else{ | ^ inets._.c:2017:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2017 | if( CHp = findHostentInCache(hp,&chp,&dif) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets._.c:2017:12: note: place parentheses around the assignment to silence this warning 2017 | if( CHp = findHostentInCache(hp,&chp,&dif) ){ | ^ | ( ) inets._.c:2017:12: note: use '==' to turn this assignment into an equality comparison 2017 | if( CHp = findHostentInCache(hp,&chp,&dif) ){ | ^ | == inets._.c:2058:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2058 | if( addr = VSA_ntoa(sa) ) | ~~~~~^~~~~~~~~~~~~~ inets._.c:2058:11: note: place parentheses around the assignment to silence this warning 2058 | if( addr = VSA_ntoa(sa) ) | ^ | ( ) inets._.c:2058:11: note: use '==' to turn this assignment into an equality comparison 2058 | if( addr = VSA_ntoa(sa) ) | ^ | == inets._.c:2083:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2083 | for( fp = form; fc = *fp; fp++ ){ | ~~~^~~~~ inets._.c:2083:21: note: place parentheses around the assignment to silence this warning 2083 | for( fp = form; fc = *fp; fp++ ){ | ^ | ( ) inets._.c:2083:21: note: use '==' to turn this assignment into an equality comparison 2083 | for( fp = form; fc = *fp; fp++ ){ | ^ | == inets._.c:2345:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2345 | if( nready = PollIn(sock,to1) ) | ~~~~~~~^~~~~~~~~~~~~~~~~~ inets._.c:2345:14: note: place parentheses around the assignment to silence this warning 2345 | if( nready = PollIn(sock,to1) ) | ^ | ( ) inets._.c:2345:14: note: use '==' to turn this assignment into an equality comparison 2345 | if( nready = PollIn(sock,to1) ) | ^ | == inets._.c:2447:16: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] 2447 | DGC *MainConn(); | ^~ inets._.c:2447:16: note: replace parentheses with an initializer to declare a variable 2447 | DGC *MainConn(); | ^~ | = NULL inets._.c:2531:13: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] 2531 | double Time(),Start; | ^~ inets._.c:2531:13: note: replace parentheses with an initializer to declare a variable 2531 | double Time(),Start; | ^~ | = 0.0 inets._.c:2587:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2587 | if( ds = ConRetry(sock,sap,what,portname,hostname,iport,ntry) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets._.c:2587:10: note: place parentheses around the assignment to silence this warning 2587 | if( ds = ConRetry(sock,sap,what,portname,hostname,iport,ntry) ){ | ^ | ( ) inets._.c:2587:10: note: use '==' to turn this assignment into an equality comparison 2587 | 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] 2706 | for( hi = 0; haddr = hp->h_addr_list[hi]; hi++ ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ inets._.c:2706:21: note: place parentheses around the assignment to silence this warning 2706 | for( hi = 0; haddr = hp->h_addr_list[hi]; hi++ ){ | ^ | ( ) inets._.c:2706:21: note: use '==' to turn this assignment into an equality comparison 2706 | for( hi = 0; haddr = hp->h_addr_list[hi]; hi++ ){ | ^ | == inets._.c:2747:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2747 | }else | ^ inets._.c:2808:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2808 | if( hp = gethostbyNameAddr(cache_only,host,NULL,0,0) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets._.c:2808:9: note: place parentheses around the assignment to silence this warning 2808 | if( hp = gethostbyNameAddr(cache_only,host,NULL,0,0) ) | ^ | ( ) inets._.c:2808:9: note: use '==' to turn this assignment into an equality comparison 2808 | 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] 2818 | if( addr = _gethostaddr(host,0) ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ inets._.c:2818:11: note: place parentheses around the assignment to silence this warning 2818 | if( addr = _gethostaddr(host,0) ) | ^ | ( ) inets._.c:2818:11: note: use '==' to turn this assignment into an equality comparison 2818 | if( addr = _gethostaddr(host,0) ) | ^ | == inets._.c:2853:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2853 | if( hp = gethostbyNameAddr(cacheonly,host,NULL,0,0) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets._.c:2853:9: note: place parentheses around the assignment to silence this warning 2853 | if( hp = gethostbyNameAddr(cacheonly,host,NULL,0,0) ){ | ^ | ( ) inets._.c:2853:9: note: use '==' to turn this assignment into an equality comparison 2853 | 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] 2942 | if( found = getHost_nbo(0,host,VStrNULL,&sab) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets._.c:2942:12: note: place parentheses around the assignment to silence this warning 2942 | if( found = getHost_nbo(0,host,VStrNULL,&sab) ){ | ^ | ( ) inets._.c:2942:12: note: use '==' to turn this assignment into an equality comparison 2942 | 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] 3033 | for( n2 = 0; a2 = hp2->h_addr_list[n2]; n2++ ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ inets._.c:3033:18: note: place parentheses around the assignment to silence this warning 3033 | for( n2 = 0; a2 = hp2->h_addr_list[n2]; n2++ ){ | ^ | ( ) inets._.c:3033:18: note: use '==' to turn this assignment into an equality comparison 3033 | 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] 3034 | for( n1 = 0; a1 = hp1->h_addr_list[n1]; n1++ ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ inets._.c:3034:19: note: place parentheses around the assignment to silence this warning 3034 | for( n1 = 0; a1 = hp1->h_addr_list[n1]; n1++ ) | ^ | ( ) inets._.c:3034:19: note: use '==' to turn this assignment into an equality comparison 3034 | 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] 3122 | if( aaddr = gethostaddr(hostname) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ inets._.c:3122:12: note: place parentheses around the assignment to silence this warning 3122 | if( aaddr = gethostaddr(hostname) ){ | ^ | ( ) inets._.c:3122:12: note: use '==' to turn this assignment into an equality comparison 3122 | if( aaddr = gethostaddr(hostname) ){ | ^ | == inets._.c:3428:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 3428 | }else | ^ inets._.c:3590:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3590 | if( hp = gethostbyNameAddr(0,host,NULL,0,0) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets._.c:3590:10: note: place parentheses around the assignment to silence this warning 3590 | if( hp = gethostbyNameAddr(0,host,NULL,0,0) ) | ^ | ( ) inets._.c:3590:10: note: use '==' to turn this assignment into an equality comparison 3590 | if( hp = gethostbyNameAddr(0,host,NULL,0,0) ) | ^ | == inets._.c:3698:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3698 | if( hp = gethostbyNameAddr(0,hostname,NULL,0,0) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets._.c:3698:10: note: place parentheses around the assignment to silence this warning 3698 | if( hp = gethostbyNameAddr(0,hostname,NULL,0,0) ){ | ^ | ( ) inets._.c:3698:10: note: use '==' to turn this assignment into an equality comparison 3698 | 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] 3747 | if( addr = gethostaddr(host) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~ inets._.c:3747:12: note: place parentheses around the assignment to silence this warning 3747 | if( addr = gethostaddr(host) ){ | ^ | ( ) inets._.c:3747:12: note: use '==' to turn this assignment into an equality comparison 3747 | if( addr = gethostaddr(host) ){ | ^ | == inets._.c:3779:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3779 | for( nx = 0; cname = names[nx] ; nx++ ){ | ~~~~~~^~~~~~~~~~~ inets._.c:3779:21: note: place parentheses around the assignment to silence this warning 3779 | for( nx = 0; cname = names[nx] ; nx++ ){ | ^ | ( ) inets._.c:3779:21: note: use '==' to turn this assignment into an equality comparison 3779 | for( nx = 0; cname = names[nx] ; nx++ ){ | ^ | == inets._.c:3814:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3814 | if( Hp = findHostCache(host,NULL,0,0) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets._.c:3814:9: note: place parentheses around the assignment to silence this warning 3814 | if( Hp = findHostCache(host,NULL,0,0) ) | ^ | ( ) inets._.c:3814:9: note: use '==' to turn this assignment into an equality comparison 3814 | if( Hp = findHostCache(host,NULL,0,0) ) | ^ | == inets._.c:3845:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3845 | 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 3845 | 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 3845 | 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] 3886 | if( Hp = findHostCache(name,addr,len,type) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets._.c:3886:9: note: place parentheses around the assignment to silence this warning 3886 | if( Hp = findHostCache(name,addr,len,type) ) | ^ | ( ) inets._.c:3886:9: note: use '==' to turn this assignment into an equality comparison 3886 | if( Hp = findHostCache(name,addr,len,type) ) | ^ | == inets._.c:3895:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3895 | if( Hp = findHostCacheByaddr(name) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ inets._.c:3895:10: note: place parentheses around the assignment to silence this warning 3895 | if( Hp = findHostCacheByaddr(name) ){ | ^ | ( ) inets._.c:3895:10: note: use '==' to turn this assignment into an equality comparison 3895 | if( Hp = findHostCacheByaddr(name) ){ | ^ | == inets._.c:4091:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4091 | if( dp = strchr(sockname,':') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ inets._.c:4091:11: note: place parentheses around the assignment to silence this warning 4091 | if( dp = strchr(sockname,':') ){ | ^ | ( ) inets._.c:4091:11: note: use '==' to turn this assignment into an equality comparison 4091 | if( dp = strchr(sockname,':') ){ | ^ | == inets._.c:4165:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4165 | if( dp = strchr(sockname,':') ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ inets._.c:4165:11: note: place parentheses around the assignment to silence this warning 4165 | if( dp = strchr(sockname,':') ) | ^ | ( ) inets._.c:4165:11: note: use '==' to turn this assignment into an equality comparison 4165 | if( dp = strchr(sockname,':') ) | ^ | == inets._.c:4180:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4180 | if( aaddr = gethostaddr(server) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ inets._.c:4180:12: note: place parentheses around the assignment to silence this warning 4180 | if( aaddr = gethostaddr(server) ){ | ^ | ( ) inets._.c:4180:12: note: use '==' to turn this assignment into an equality comparison 4180 | if( aaddr = gethostaddr(server) ){ | ^ | == inets._.c:4357:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4357 | if( viaNAT = setupDATAviaNAT(Conn,&svsock,&svpeer,BVStr(mport)) ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets._.c:4357:13: note: place parentheses around the assignment to silence this warning 4357 | if( viaNAT = setupDATAviaNAT(Conn,&svsock,&svpeer,BVStr(mport)) ){ | ^ | ( ) inets._.c:4357:13: note: use '==' to turn this assignment into an equality comparison 4357 | 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] 4553 | if( hp = gethostbyNameAddr(0,host,NULL,0,0) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets._.c:4553:10: note: place parentheses around the assignment to silence this warning 4553 | if( hp = gethostbyNameAddr(0,host,NULL,0,0) ) | ^ | ( ) inets._.c:4553:10: note: use '==' to turn this assignment into an equality comparison 4553 | 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] 4632 | if( hp0 = gethostbyNameAddr(nocache,host1,NULL,0,0) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets._.c:4632:10: note: place parentheses around the assignment to silence this warning 4632 | if( hp0 = gethostbyNameAddr(nocache,host1,NULL,0,0) ){ | ^ | ( ) inets._.c:4632:10: note: use '==' to turn this assignment into an equality comparison 4632 | 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] 4634 | if( hp2 = gethostbyNameAddr(nocache,host2,NULL,0,0) ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets._.c:4634:11: note: place parentheses around the assignment to silence this warning 4634 | if( hp2 = gethostbyNameAddr(nocache,host2,NULL,0,0) ) | ^ | ( ) inets._.c:4634:11: note: use '==' to turn this assignment into an equality comparison 4634 | 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] 4640 | for( aj = 0; n2 = hp2->h_aliases[aj]; aj++ ){ | ~~~^~~~~~~~~~~~~~~~~~~~ inets._.c:4640:20: note: place parentheses around the assignment to silence this warning 4640 | for( aj = 0; n2 = hp2->h_aliases[aj]; aj++ ){ | ^ | ( ) inets._.c:4640:20: note: use '==' to turn this assignment into an equality comparison 4640 | 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] 4645 | for( ai = 0; n1 = hp1->h_aliases[ai]; ai++ ) | ~~~^~~~~~~~~~~~~~~~~~~~ inets._.c:4645:20: note: place parentheses around the assignment to silence this warning 4645 | for( ai = 0; n1 = hp1->h_aliases[ai]; ai++ ) | ^ | ( ) inets._.c:4645:20: note: use '==' to turn this assignment into an equality comparison 4645 | 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] 4646 | for( aj = 0; n2 = hp2->h_aliases[aj]; aj++ ){ | ~~~^~~~~~~~~~~~~~~~~~~~ inets._.c:4646:20: note: place parentheses around the assignment to silence this warning 4646 | for( aj = 0; n2 = hp2->h_aliases[aj]; aj++ ){ | ^ | ( ) inets._.c:4646:20: note: use '==' to turn this assignment into an equality comparison 4646 | 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] 4651 | for( ai = 0; a1 = hp1->h_addr_list[ai]; ai++ ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ inets._.c:4651:20: note: place parentheses around the assignment to silence this warning 4651 | for( ai = 0; a1 = hp1->h_addr_list[ai]; ai++ ) | ^ | ( ) inets._.c:4651:20: note: use '==' to turn this assignment into an equality comparison 4651 | 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] 4652 | for( aj = 0; a2 = hp2->h_addr_list[aj]; aj++ ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ inets._.c:4652:20: note: place parentheses around the assignment to silence this warning 4652 | for( aj = 0; a2 = hp2->h_addr_list[aj]; aj++ ){ | ^ | ( ) inets._.c:4652:20: note: use '==' to turn this assignment into an equality comparison 4652 | for( aj = 0; a2 = hp2->h_addr_list[aj]; aj++ ){ | ^ | == inets._.c:4832:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4832 | if( hp = gethostbyNameAddr(cacheonly,hostname,NULL,0,0) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets._.c:4832:9: note: place parentheses around the assignment to silence this warning 4832 | if( hp = gethostbyNameAddr(cacheonly,hostname,NULL,0,0) ){ | ^ | ( ) inets._.c:4832:9: note: use '==' to turn this assignment into an equality comparison 4832 | 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] 4868 | if( resolv = getenv("RES_ORDER") ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~ inets._.c:4868:13: note: place parentheses around the assignment to silence this warning 4868 | if( resolv = getenv("RES_ORDER") ){ | ^ | ( ) inets._.c:4868:13: note: use '==' to turn this assignment into an equality comparison 4868 | if( resolv = getenv("RES_ORDER") ){ | ^ | == inets._.c:4872:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4872 | if( resolv = DELEGATE_getEnv("RESOLV") ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ inets._.c:4872:13: note: place parentheses around the assignment to silence this warning 4872 | if( resolv = DELEGATE_getEnv("RESOLV") ){ | ^ | ( ) inets._.c:4872:13: note: use '==' to turn this assignment into an equality comparison 4872 | if( resolv = DELEGATE_getEnv("RESOLV") ){ | ^ | == inets._.c:4876:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4876 | if( reswait = DELEGATE_getEnv("RES_WAIT") ){ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets._.c:4876:14: note: place parentheses around the assignment to silence this warning 4876 | if( reswait = DELEGATE_getEnv("RES_WAIT") ){ | ^ | ( ) inets._.c:4876:14: note: use '==' to turn this assignment into an equality comparison 4876 | if( reswait = DELEGATE_getEnv("RES_WAIT") ){ | ^ | == inets._.c:4933:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4933 | if( Me = findHostCache(myname,NULL,0,0) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets._.c:4933:9: note: place parentheses around the assignment to silence this warning 4933 | if( Me = findHostCache(myname,NULL,0,0) ){ | ^ | ( ) inets._.c:4933:9: note: use '==' to turn this assignment into an equality comparison 4933 | if( Me = findHostCache(myname,NULL,0,0) ){ | ^ | == inets._.c:4936:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4936 | if( me = EX_GETHOSTBYNAME((char*)myname) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets._.c:4936:9: note: place parentheses around the assignment to silence this warning 4936 | if( me = EX_GETHOSTBYNAME((char*)myname) ){ | ^ | ( ) inets._.c:4936:9: note: use '==' to turn this assignment into an equality comparison 4936 | if( me = EX_GETHOSTBYNAME((char*)myname) ){ | ^ | == inets._.c:4949:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4949 | if( me = getMyHostname1(BVStr(myname),nsize) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets._.c:4949:9: note: place parentheses around the assignment to silence this warning 4949 | if( me = getMyHostname1(BVStr(myname),nsize) ){ | ^ | ( ) inets._.c:4949:9: note: use '==' to turn this assignment into an equality comparison 4949 | if( me = getMyHostname1(BVStr(myname),nsize) ){ | ^ | == inets._.c:4966:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4966 | if( me = getMyHostname1(BVStr(myname),nsize) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets._.c:4966:10: note: place parentheses around the assignment to silence this warning 4966 | if( me = getMyHostname1(BVStr(myname),nsize) ){ | ^ | ( ) inets._.c:4966:10: note: use '==' to turn this assignment into an equality comparison 4966 | if( me = getMyHostname1(BVStr(myname),nsize) ){ | ^ | == inets._.c:5048:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5048 | for( ai = 0; addr = me->h_addr_list[ai]; ai++ ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~ inets._.c:5048:21: note: place parentheses around the assignment to silence this warning 5048 | for( ai = 0; addr = me->h_addr_list[ai]; ai++ ){ | ^ | ( ) inets._.c:5048:21: note: use '==' to turn this assignment into an equality comparison 5048 | 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] 5061 | if( rp = strchr(porder,'S') ) | ~~~^~~~~~~~~~~~~~~~~~~~ inets._.c:5061:10: note: place parentheses around the assignment to silence this warning 5061 | if( rp = strchr(porder,'S') ) | ^ | ( ) inets._.c:5061:10: note: use '==' to turn this assignment into an equality comparison 5061 | if( rp = strchr(porder,'S') ) | ^ | == inets._.c:5085:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5085 | if( rp = strchr(porder,'N') ) | ~~~^~~~~~~~~~~~~~~~~~~~ inets._.c:5085:12: note: place parentheses around the assignment to silence this warning 5085 | if( rp = strchr(porder,'N') ) | ^ | ( ) inets._.c:5085:12: note: use '==' to turn this assignment into an equality comparison 5085 | if( rp = strchr(porder,'N') ) | ^ | == inets._.c:5093:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5093 | if( rp = strchr(porder,'N') ) | ~~~^~~~~~~~~~~~~~~~~~~~ inets._.c:5093:10: note: place parentheses around the assignment to silence this warning 5093 | if( rp = strchr(porder,'N') ) | ^ | ( ) inets._.c:5093:10: note: use '==' to turn this assignment into an equality comparison 5093 | if( rp = strchr(porder,'N') ) | ^ | == inets._.c:5533:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5533 | if( pid = popenx(command,"r",io) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ inets._.c:5533:10: note: place parentheses around the assignment to silence this warning 5533 | if( pid = popenx(command,"r",io) ){ | ^ | ( ) inets._.c:5533:10: note: use '==' to turn this assignment into an equality comparison 5533 | if( pid = popenx(command,"r",io) ){ | ^ | == inets._.c:5587:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5587 | if( am = *mmap ){ | ~~~^~~~~~~ inets._.c:5587:9: note: place parentheses around the assignment to silence this warning 5587 | if( am = *mmap ){ | ^ | ( ) inets._.c:5587:9: note: use '==' to turn this assignment into an equality comparison 5587 | if( am = *mmap ){ | ^ | == inets._.c:5896:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5896 | if( fname = strrpbrk(file,"/\\") ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ inets._.c:5896:12: note: place parentheses around the assignment to silence this warning 5896 | if( fname = strrpbrk(file,"/\\") ){ | ^ | ( ) inets._.c:5896:12: note: use '==' to turn this assignment into an equality comparison 5896 | if( fname = strrpbrk(file,"/\\") ){ | ^ | == inets._.c:5902:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5902 | if( bfp = fopen(bin,"r") ){ | ~~~~^~~~~~~~~~~~~~~~ inets._.c:5902:10: note: place parentheses around the assignment to silence this warning 5902 | if( bfp = fopen(bin,"r") ){ | ^ | ( ) inets._.c:5902:10: note: use '==' to turn this assignment into an equality comparison 5902 | if( bfp = fopen(bin,"r") ){ | ^ | == 76 warnings generated. ../mkcpp uns.c uns._.c -- mkcpp set time: 1773311897 -> 1268104466 uns._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c uns._.c -o uns.o uns._.c:187:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 187 | if( dp = strrpbrk(dir,"/\\") ) | ~~~^~~~~~~~~~~~~~~~~~~~~ uns._.c:187:10: note: place parentheses around the assignment to silence this warning 187 | if( dp = strrpbrk(dir,"/\\") ) | ^ | ( ) uns._.c:187:10: note: use '==' to turn this assignment into an equality comparison 187 | if( dp = strrpbrk(dir,"/\\") ) | ^ | == uns._.c:340:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 340 | if( dp = strrchr(spath,'/') ) | ~~~^~~~~~~~~~~~~~~~~~~~ uns._.c:340:9: note: place parentheses around the assignment to silence this warning 340 | if( dp = strrchr(spath,'/') ) | ^ | ( ) uns._.c:340:9: note: use '==' to turn this assignment into an equality comparison 340 | if( dp = strrchr(spath,'/') ) | ^ | == 2 warnings generated. ../mkcpp rident.c rident._.c -- mkcpp set time: 1773311898 -> 1264775393 rident._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c rident._.c -o rident.o ../mkcpp inetd.c inetd._.c -- mkcpp set time: 1773311898 -> 1285966889 inetd._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c inetd._.c -o inetd.o inetd._.c:115:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 115 | for( ai = 0; arg = ic->i_argv[ai]; ai++ ){ | ~~~~^~~~~~~~~~~~~~~~ inetd._.c:115:19: note: place parentheses around the assignment to silence this warning 115 | for( ai = 0; arg = ic->i_argv[ai]; ai++ ){ | ^ | ( ) inetd._.c:115:19: note: use '==' to turn this assignment into an equality comparison 115 | 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] 164 | if( dp = strchr(conf,'#') ) | ~~~^~~~~~~~~~~~~~~~~~ inetd._.c:164:9: note: place parentheses around the assignment to silence this warning 164 | if( dp = strchr(conf,'#') ) | ^ | ( ) inetd._.c:164:9: note: use '==' to turn this assignment into an equality comparison 164 | if( dp = strchr(conf,'#') ) | ^ | == 2 warnings generated. ../mkcpp thruwayd.c thruwayd._.c -- mkcpp set time: 1773311899 -> 1252611725 thruwayd._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c thruwayd._.c -o thruwayd.o thruwayd._.c:328:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 328 | if( env = getenv("THRUWAY_ENTR") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ thruwayd._.c:328:10: note: place parentheses around the assignment to silence this warning 328 | if( env = getenv("THRUWAY_ENTR") ) | ^ | ( ) thruwayd._.c:328:10: note: use '==' to turn this assignment into an equality comparison 328 | if( env = getenv("THRUWAY_ENTR") ) | ^ | == thruwayd._.c:330:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 330 | if( env = getenv("THRUWAY_EXIT") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ thruwayd._.c:330:10: note: place parentheses around the assignment to silence this warning 330 | if( env = getenv("THRUWAY_EXIT") ) | ^ | ( ) thruwayd._.c:330:10: note: use '==' to turn this assignment into an equality comparison 330 | if( env = getenv("THRUWAY_EXIT") ) | ^ | == thruwayd._.c:610:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 610 | if( pp = ports[pi] ){ | ~~~^~~~~~~~~~~ thruwayd._.c:610:9: note: place parentheses around the assignment to silence this warning 610 | if( pp = ports[pi] ){ | ^ | ( ) thruwayd._.c:610:9: note: use '==' to turn this assignment into an equality comparison 610 | if( pp = ports[pi] ){ | ^ | == thruwayd._.c:736:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 736 | if( pp = ports[pi] ) | ~~~^~~~~~~~~~~ thruwayd._.c:736:9: note: place parentheses around the assignment to silence this warning 736 | if( pp = ports[pi] ) | ^ | ( ) thruwayd._.c:736:9: note: use '==' to turn this assignment into an equality comparison 736 | if( pp = ports[pi] ) | ^ | == thruwayd._.c:739:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 739 | else | ^ thruwayd._.c:766:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 766 | if( pp = ports[pi] ) | ~~~^~~~~~~~~~~ thruwayd._.c:766:9: note: place parentheses around the assignment to silence this warning 766 | if( pp = ports[pi] ) | ^ | ( ) thruwayd._.c:766:9: note: use '==' to turn this assignment into an equality comparison 766 | if( pp = ports[pi] ) | ^ | == thruwayd._.c:782:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 782 | if( pp = ports[pi] ) | ~~~^~~~~~~~~~~ thruwayd._.c:782:9: note: place parentheses around the assignment to silence this warning 782 | if( pp = ports[pi] ) | ^ | ( ) thruwayd._.c:782:9: note: use '==' to turn this assignment into an equality comparison 782 | if( pp = ports[pi] ) | ^ | == thruwayd._.c:812:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 812 | if( pp = ports[pi] ){ | ~~~^~~~~~~~~~~ thruwayd._.c:812:9: note: place parentheses around the assignment to silence this warning 812 | if( pp = ports[pi] ){ | ^ | ( ) thruwayd._.c:812:9: note: use '==' to turn this assignment into an equality comparison 812 | if( pp = ports[pi] ){ | ^ | == thruwayd._.c:873:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 873 | if( pp = ports[sock] ) | ~~~^~~~~~~~~~~~~ thruwayd._.c:873:9: note: place parentheses around the assignment to silence this warning 873 | if( pp = ports[sock] ) | ^ | ( ) thruwayd._.c:873:9: note: use '==' to turn this assignment into an equality comparison 873 | if( pp = ports[sock] ) | ^ | == thruwayd._.c:940:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 940 | if( elp = strchr(P_BUFF,'\n') ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~ thruwayd._.c:940:11: note: place parentheses around the assignment to silence this warning 940 | if( elp = strchr(P_BUFF,'\n') ){ | ^ | ( ) thruwayd._.c:940:11: note: use '==' to turn this assignment into an equality comparison 940 | if( elp = strchr(P_BUFF,'\n') ){ | ^ | == thruwayd._.c:973:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 973 | if( elp = strchr(P_BUFF,'\n') ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~ thruwayd._.c:973:11: note: place parentheses around the assignment to silence this warning 973 | if( elp = strchr(P_BUFF,'\n') ){ | ^ | ( ) thruwayd._.c:973:11: note: use '==' to turn this assignment into an equality comparison 973 | if( elp = strchr(P_BUFF,'\n') ){ | ^ | == thruwayd._.c:1016:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1016 | if( elp = strchr(P_BUFF,'\n') ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~ thruwayd._.c:1016:11: note: place parentheses around the assignment to silence this warning 1016 | if( elp = strchr(P_BUFF,'\n') ){ | ^ | ( ) thruwayd._.c:1016:11: note: use '==' to turn this assignment into an equality comparison 1016 | if( elp = strchr(P_BUFF,'\n') ){ | ^ | == thruwayd._.c:1078:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1078 | if( vp = strpbrk(up," \t\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~ thruwayd._.c:1078:9: note: place parentheses around the assignment to silence this warning 1078 | if( vp = strpbrk(up," \t\r\n") ) | ^ | ( ) thruwayd._.c:1078:9: note: use '==' to turn this assignment into an equality comparison 1078 | if( vp = strpbrk(up," \t\r\n") ) | ^ | == thruwayd._.c:1101:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1101 | for( sp = up; sc = *sp++; ){ | ~~~^~~~~~~ thruwayd._.c:1101:19: note: place parentheses around the assignment to silence this warning 1101 | for( sp = up; sc = *sp++; ){ | ^ | ( ) thruwayd._.c:1101:19: note: use '==' to turn this assignment into an equality comparison 1101 | for( sp = up; sc = *sp++; ){ | ^ | == thruwayd._.c:1353:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1353 | if( pp = ports[sockx] ){ | ~~~^~~~~~~~~~~~~~ thruwayd._.c:1353:11: note: place parentheses around the assignment to silence this warning 1353 | if( pp = ports[sockx] ){ | ^ | ( ) thruwayd._.c:1353:11: note: use '==' to turn this assignment into an equality comparison 1353 | if( pp = ports[sockx] ){ | ^ | == thruwayd._.c:1363:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1363 | if( pp = ports[sockx] ){ | ~~~^~~~~~~~~~~~~~ thruwayd._.c:1363:11: note: place parentheses around the assignment to silence this warning 1363 | if( pp = ports[sockx] ){ | ^ | ( ) thruwayd._.c:1363:11: note: use '==' to turn this assignment into an equality comparison 1363 | if( pp = ports[sockx] ){ | ^ | == thruwayd._.c:1373:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1373 | if( pp = ports[sockx] ){ | ~~~^~~~~~~~~~~~~~ thruwayd._.c:1373:11: note: place parentheses around the assignment to silence this warning 1373 | if( pp = ports[sockx] ){ | ^ | ( ) thruwayd._.c:1373:11: note: use '==' to turn this assignment into an equality comparison 1373 | if( pp = ports[sockx] ){ | ^ | == thruwayd._.c:1392:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1392 | if( pp = ports[sockx] ){ | ~~~^~~~~~~~~~~~~~ thruwayd._.c:1392:11: note: place parentheses around the assignment to silence this warning 1392 | if( pp = ports[sockx] ){ | ^ | ( ) thruwayd._.c:1392:11: note: use '==' to turn this assignment into an equality comparison 1392 | if( pp = ports[sockx] ){ | ^ | == thruwayd._.c:1411:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1411 | if( pp = ports[sockx] ) | ~~~^~~~~~~~~~~~~~ thruwayd._.c:1411:11: note: place parentheses around the assignment to silence this warning 1411 | if( pp = ports[sockx] ) | ^ | ( ) thruwayd._.c:1411:11: note: use '==' to turn this assignment into an equality comparison 1411 | if( pp = ports[sockx] ) | ^ | == thruwayd._.c:1416:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1416 | if( pp = ports[sockx] ) | ~~~^~~~~~~~~~~~~~ thruwayd._.c:1416:11: note: place parentheses around the assignment to silence this warning 1416 | if( pp = ports[sockx] ) | ^ | ( ) thruwayd._.c:1416:11: note: use '==' to turn this assignment into an equality comparison 1416 | if( pp = ports[sockx] ) | ^ | == thruwayd._.c:1428:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1428 | if( pp = ports[sockx] ) | ~~~^~~~~~~~~~~~~~ thruwayd._.c:1428:11: note: place parentheses around the assignment to silence this warning 1428 | if( pp = ports[sockx] ) | ^ | ( ) thruwayd._.c:1428:11: note: use '==' to turn this assignment into an equality comparison 1428 | if( pp = ports[sockx] ) | ^ | == thruwayd._.c:1436:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1436 | if( pp = ports[sockx] ) | ~~~^~~~~~~~~~~~~~ thruwayd._.c:1436:11: note: place parentheses around the assignment to silence this warning 1436 | if( pp = ports[sockx] ) | ^ | ( ) thruwayd._.c:1436:11: note: use '==' to turn this assignment into an equality comparison 1436 | if( pp = ports[sockx] ) | ^ | == thruwayd._.c:1441:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1441 | if( pp = ports[sockx] ) | ~~~^~~~~~~~~~~~~~ thruwayd._.c:1441:11: note: place parentheses around the assignment to silence this warning 1441 | if( pp = ports[sockx] ) | ^ | ( ) thruwayd._.c:1441:11: note: use '==' to turn this assignment into an equality comparison 1441 | if( pp = ports[sockx] ) | ^ | == thruwayd._.c:1449:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1449 | if( pp = ports[sockx] ) | ~~~^~~~~~~~~~~~~~ thruwayd._.c:1449:11: note: place parentheses around the assignment to silence this warning 1449 | if( pp = ports[sockx] ) | ^ | ( ) thruwayd._.c:1449:11: note: use '==' to turn this assignment into an equality comparison 1449 | if( pp = ports[sockx] ) | ^ | == thruwayd._.c:1545:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1545 | if( flagment = sp->io[W_IN].p_flagment ) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ thruwayd._.c:1545:16: note: place parentheses around the assignment to silence this warning 1545 | if( flagment = sp->io[W_IN].p_flagment ) | ^ | ( ) thruwayd._.c:1545:16: note: use '==' to turn this assignment into an equality comparison 1545 | 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] 1722 | if( dp = ports[dsock] ) | ~~~^~~~~~~~~~~~~~ thruwayd._.c:1722:10: note: place parentheses around the assignment to silence this warning 1722 | if( dp = ports[dsock] ) | ^ | ( ) thruwayd._.c:1722:10: note: use '==' to turn this assignment into an equality comparison 1722 | if( dp = ports[dsock] ) | ^ | == thruwayd._.c:2208:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2208 | if( ssock = ports[sockx]->p_accsock ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ thruwayd._.c:2208:13: note: place parentheses around the assignment to silence this warning 2208 | if( ssock = ports[sockx]->p_accsock ){ | ^ | ( ) thruwayd._.c:2208:13: note: use '==' to turn this assignment into an equality comparison 2208 | if( ssock = ports[sockx]->p_accsock ){ | ^ | == thruwayd._.c:2263:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2263 | if( ssock = ports[sockx]->p_accsock ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ thruwayd._.c:2263:13: note: place parentheses around the assignment to silence this warning 2263 | if( ssock = ports[sockx]->p_accsock ){ | ^ | ( ) thruwayd._.c:2263:13: note: use '==' to turn this assignment into an equality comparison 2263 | if( ssock = ports[sockx]->p_accsock ){ | ^ | == 28 warnings generated. ../mkcpp dget.c dget._.c -- mkcpp set time: 1773311901 -> 1408447536 dget._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c dget._.c -o dget.o dget._.c:195:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 195 | 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 195 | 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 195 | 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] 756 | if( dp = strpbrk(url,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~ dget._.c:756:11: note: place parentheses around the assignment to silence this warning 756 | if( dp = strpbrk(url,"\r\n") ) | ^ | ( ) dget._.c:756:11: note: use '==' to turn this assignment into an equality comparison 756 | if( dp = strpbrk(url,"\r\n") ) | ^ | == dget._.c:809:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 809 | if( dp = strchr(env,':') ) | ~~~^~~~~~~~~~~~~~~~~ dget._.c:809:11: note: place parentheses around the assignment to silence this warning 809 | if( dp = strchr(env,':') ) | ^ | ( ) dget._.c:809:11: note: use '==' to turn this assignment into an equality comparison 809 | if( dp = strchr(env,':') ) | ^ | == dget._.c:935:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 935 | if( pass = strchr(auth,':') ){ | ~~~~~^~~~~~~~~~~~~~~~~~ dget._.c:935:12: note: place parentheses around the assignment to silence this warning 935 | if( pass = strchr(auth,':') ){ | ^ | ( ) dget._.c:935:12: note: use '==' to turn this assignment into an equality comparison 935 | if( pass = strchr(auth,':') ){ | ^ | == dget._.c:1114:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1114 | if( dp = strstr(url,"..") ) | ~~~^~~~~~~~~~~~~~~~~~ dget._.c:1114:9: note: place parentheses around the assignment to silence this warning 1114 | if( dp = strstr(url,"..") ) | ^ | ( ) dget._.c:1114:9: note: use '==' to turn this assignment into an equality comparison 1114 | if( dp = strstr(url,"..") ) | ^ | == dget._.c:1122:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1122 | if( bp = strrchr(xurl,'/') ) | ~~~^~~~~~~~~~~~~~~~~~~ dget._.c:1122:10: note: place parentheses around the assignment to silence this warning 1122 | if( bp = strrchr(xurl,'/') ) | ^ | ( ) dget._.c:1122:10: note: use '==' to turn this assignment into an equality comparison 1122 | if( bp = strrchr(xurl,'/') ) | ^ | == dget._.c:1127:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1127 | if( dp = strchr(xurl,'#') ) | ~~~^~~~~~~~~~~~~~~~~~ dget._.c:1127:9: note: place parentheses around the assignment to silence this warning 1127 | if( dp = strchr(xurl,'#') ) | ^ | ( ) dget._.c:1127:9: note: use '==' to turn this assignment into an equality comparison 1127 | if( dp = strchr(xurl,'#') ) | ^ | == dget._.c:1201:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1201 | if( dp = strpbrk(authB64,"\r\n") ) truncVStr(dp); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ dget._.c:1201:10: note: place parentheses around the assignment to silence this warning 1201 | if( dp = strpbrk(authB64,"\r\n") ) truncVStr(dp); | ^ | ( ) dget._.c:1201:10: note: use '==' to turn this assignment into an equality comparison 1201 | 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] 1210 | if( dp = strpbrk(authB64,"\r\n") ) truncVStr(dp); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ dget._.c:1210:10: note: place parentheses around the assignment to silence this warning 1210 | if( dp = strpbrk(authB64,"\r\n") ) truncVStr(dp); | ^ | ( ) dget._.c:1210:10: note: use '==' to turn this assignment into an equality comparison 1210 | 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] 1339 | if( dp = strpbrk(resp,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ dget._.c:1339:10: note: place parentheses around the assignment to silence this warning 1339 | if( dp = strpbrk(resp,"\r\n") ) | ^ | ( ) dget._.c:1339:10: note: use '==' to turn this assignment into an equality comparison 1339 | if( dp = strpbrk(resp,"\r\n") ) | ^ | == 10 warnings generated. ../mkcpp urlfind.c urlfind._.c -- mkcpp set time: 1773311903 -> 1250403944 urlfind._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c urlfind._.c -o urlfind.o urlfind._.c:109:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 109 | if( dp = strstr(url,"..") ) | ~~~^~~~~~~~~~~~~~~~~~ urlfind._.c:109:9: note: place parentheses around the assignment to silence this warning 109 | if( dp = strstr(url,"..") ) | ^ | ( ) urlfind._.c:109:9: note: use '==' to turn this assignment into an equality comparison 109 | if( dp = strstr(url,"..") ) | ^ | == urlfind._.c:117:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 117 | if( bp = strrchr(xurl,'/') ) | ~~~^~~~~~~~~~~~~~~~~~~ urlfind._.c:117:10: note: place parentheses around the assignment to silence this warning 117 | if( bp = strrchr(xurl,'/') ) | ^ | ( ) urlfind._.c:117:10: note: use '==' to turn this assignment into an equality comparison 117 | if( bp = strrchr(xurl,'/') ) | ^ | == urlfind._.c:162:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 162 | if( dp = strpbrk(resp,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ urlfind._.c:162:10: note: place parentheses around the assignment to silence this warning 162 | if( dp = strpbrk(resp,"\r\n") ) | ^ | ( ) urlfind._.c:162:10: note: use '==' to turn this assignment into an equality comparison 162 | if( dp = strpbrk(resp,"\r\n") ) | ^ | == urlfind._.c:191:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 191 | if( np = strpbrk(url,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~ urlfind._.c:191:11: note: place parentheses around the assignment to silence this warning 191 | if( np = strpbrk(url,"\r\n") ) | ^ | ( ) urlfind._.c:191:11: note: use '==' to turn this assignment into an equality comparison 191 | if( np = strpbrk(url,"\r\n") ) | ^ | == 4 warnings generated. ../mkcpp mount.c mount._.c -- mkcpp set time: 1773311903 -> 1293387510 mount._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c mount._.c -o mount.o mount._.c:22:9: warning: '/*' within block comment [-Wcomment] 22 | =://=:=/* ... ///* | ^ mount._.c:22:18: warning: '/*' within block comment [-Wcomment] 22 | =://=:=/* ... ///* | ^ mount._.c:23:7: warning: '/*' within block comment [-Wcomment] 23 | =://=/* ... //=:0/* | ^ mount._.c:23:20: warning: '/*' within block comment [-Wcomment] 23 | =://=/* ... //=:0/* | ^ mount._.c:24:11: warning: '/*' within block comment [-Wcomment] 24 | =://hostX/* ... //hostX:0/* | ^ mount._.c:24:27: warning: '/*' within block comment [-Wcomment] 24 | =://hostX/* ... //hostX:0/* | ^ mount._.c:25:13: warning: '/*' within block comment [-Wcomment] 25 | =://hostX:=/* ... //hostX:=/* | ^ mount._.c:25:31: warning: '/*' within block comment [-Wcomment] 25 | =://hostX:=/* ... //hostX:=/* | ^ mount._.c:26:13: warning: '/*' within block comment [-Wcomment] 26 | =://=:portX/* ... //=:portX/* | ^ mount._.c:26:31: warning: '/*' within block comment [-Wcomment] 26 | =://=:portX/* ... //=:portX/* | ^ mount._.c:33:15: warning: '/*' within block comment [-Wcomment] 33 | MOUNT="/path/* http://* dst={siteList}" | ^ mount._.c:33:24: warning: '/*' within block comment [-Wcomment] 33 | MOUNT="/path/* http://* dst={siteList}" | ^ mount._.c:184:29: warning: '/*' within block comment [-Wcomment] 184 | int u_path2site; /* "/path/* scheme://*" */ | ^ mount._.c:184:40: warning: '/*' within block comment [-Wcomment] 184 | int u_path2site; /* "/path/* scheme://*" */ | ^ mount._.c:185:24: warning: '/*' within block comment [-Wcomment] 185 | int u_any; /* "/path/* *" */ | ^ mount._.c:255:49: warning: '/*' within block comment [-Wcomment] 255 | #define DIRMATCH 2 /* redirect "/p" by MOUNT="/p/* http://s/q/*" */ | ^ mount._.c:255:62: warning: '/*' within block comment [-Wcomment] 255 | #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] 552 | if( found = getOpt1(opts,"genvhost",BVStr(vserv)) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount._.c:552:12: note: place parentheses around the assignment to silence this warning 552 | if( found = getOpt1(opts,"genvhost",BVStr(vserv)) ){ | ^ | ( ) mount._.c:552:12: note: use '==' to turn this assignment into an equality comparison 552 | if( found = getOpt1(opts,"genvhost",BVStr(vserv)) ){ | ^ | == mount._.c:554:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 554 | if( found = getOpt1(opts,OPT_AVSERV,BVStr(vserv)) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount._.c:554:12: note: place parentheses around the assignment to silence this warning 554 | if( found = getOpt1(opts,OPT_AVSERV,BVStr(vserv)) ){ | ^ | ( ) mount._.c:554:12: note: use '==' to turn this assignment into an equality comparison 554 | 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] 556 | if( found = getOpt1(opts,OPT_NVSERV,BVStr(vserv)) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount._.c:556:12: note: place parentheses around the assignment to silence this warning 556 | if( found = getOpt1(opts,OPT_NVSERV,BVStr(vserv)) ){ | ^ | ( ) mount._.c:556:12: note: use '==' to turn this assignment into an equality comparison 556 | 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] 574 | if( found = getOpt1(opts,OPT_RSERV,BVStr(rserv)) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount._.c:574:12: note: place parentheses around the assignment to silence this warning 574 | if( found = getOpt1(opts,OPT_RSERV,BVStr(rserv)) ){ | ^ | ( ) mount._.c:574:12: note: use '==' to turn this assignment into an equality comparison 574 | 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] 576 | if( pp = strheadstrX(rserv,ORIGDST_HOST,1) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount._.c:576:10: note: place parentheses around the assignment to silence this warning 576 | if( pp = strheadstrX(rserv,ORIGDST_HOST,1) ){ | ^ | ( ) mount._.c:576:10: note: use '==' to turn this assignment into an equality comparison 576 | if( pp = strheadstrX(rserv,ORIGDST_HOST,1) ){ | ^ | == mount._.c:647:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 647 | if( op = strchr(opt,'.') ){ | ~~~^~~~~~~~~~~~~~~~~ mount._.c:647:10: note: place parentheses around the assignment to silence this warning 647 | if( op = strchr(opt,'.') ){ | ^ | ( ) mount._.c:647:10: note: use '==' to turn this assignment into an equality comparison 647 | if( op = strchr(opt,'.') ){ | ^ | == mount._.c:656:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 656 | if( neg = *opt == '!' ){ | ~~~~^~~~~~~~~~~~~ mount._.c:656:10: note: place parentheses around the assignment to silence this warning 656 | if( neg = *opt == '!' ){ | ^ | ( ) mount._.c:656:10: note: use '==' to turn this assignment into an equality comparison 656 | if( neg = *opt == '!' ){ | ^ | == mount._.c:661:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 661 | if( val = strchr(buf,'=') ){ | ~~~~^~~~~~~~~~~~~~~~~ mount._.c:661:10: note: place parentheses around the assignment to silence this warning 661 | if( val = strchr(buf,'=') ){ | ^ | ( ) mount._.c:661:10: note: use '==' to turn this assignment into an equality comparison 661 | if( val = strchr(buf,'=') ){ | ^ | == mount._.c:665:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 665 | for( oi = 0; nam1 = mount_opts[oi].o_name; oi++ ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ mount._.c:665:20: note: place parentheses around the assignment to silence this warning 665 | for( oi = 0; nam1 = mount_opts[oi].o_name; oi++ ){ | ^ | ( ) mount._.c:665:20: note: use '==' to turn this assignment into an equality comparison 665 | 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] 670 | if( d2 = mount_opts[oi].o_direction ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount._.c:670:10: note: place parentheses around the assignment to silence this warning 670 | if( d2 = mount_opts[oi].o_direction ) | ^ | ( ) mount._.c:670:10: note: use '==' to turn this assignment into an equality comparison 670 | if( d2 = mount_opts[oi].o_direction ) | ^ | == mount._.c:673:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 673 | if( flag1 = (mount_opts[oi].o_flags & U_ALL) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount._.c:673:13: note: place parentheses around the assignment to silence this warning 673 | if( flag1 = (mount_opts[oi].o_flags & U_ALL) ) | ^ | ( ) mount._.c:673:13: note: use '==' to turn this assignment into an equality comparison 673 | 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] 675 | if( flag1 = (mount_opts[oi].o_flags & C_ALL) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount._.c:675:13: note: place parentheses around the assignment to silence this warning 675 | if( flag1 = (mount_opts[oi].o_flags & C_ALL) ) | ^ | ( ) mount._.c:675:13: note: use '==' to turn this assignment into an equality comparison 675 | 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] 685 | if( val1 = mount_opts[oi].o_value ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ mount._.c:685:12: note: place parentheses around the assignment to silence this warning 685 | if( val1 = mount_opts[oi].o_value ){ | ^ | ( ) mount._.c:685:12: note: use '==' to turn this assignment into an equality comparison 685 | if( val1 = mount_opts[oi].o_value ){ | ^ | == mount._.c:689:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 689 | if( list1 = mount_opts[oi].o_listx ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ mount._.c:689:13: note: place parentheses around the assignment to silence this warning 689 | if( list1 = mount_opts[oi].o_listx ){ | ^ | ( ) mount._.c:689:13: note: use '==' to turn this assignment into an equality comparison 689 | if( list1 = mount_opts[oi].o_listx ){ | ^ | == mount._.c:713:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 713 | if( val1 = mount_opts[oi].o_enum ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ mount._.c:713:12: note: place parentheses around the assignment to silence this warning 713 | if( val1 = mount_opts[oi].o_enum ){ | ^ | ( ) mount._.c:713:12: note: use '==' to turn this assignment into an equality comparison 713 | if( val1 = mount_opts[oi].o_enum ){ | ^ | == mount._.c:717:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 717 | if( val1 = mount_opts[oi].o_rex ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ mount._.c:717:12: note: place parentheses around the assignment to silence this warning 717 | if( val1 = mount_opts[oi].o_rex ){ | ^ | ( ) mount._.c:717:12: note: use '==' to turn this assignment into an equality comparison 717 | if( val1 = mount_opts[oi].o_rex ){ | ^ | == mount._.c:763:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 763 | if( mt = opts2mt(opts) ) | ~~~^~~~~~~~~~~~~~~ mount._.c:763:9: note: place parentheses around the assignment to silence this warning 763 | if( mt = opts2mt(opts) ) | ^ | ( ) mount._.c:763:9: note: use '==' to turn this assignment into an equality comparison 763 | if( mt = opts2mt(opts) ) | ^ | == mount._.c:770:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 770 | if( mt = opts2mt(opts) ) | ~~~^~~~~~~~~~~~~~~ mount._.c:770:9: note: place parentheses around the assignment to silence this warning 770 | if( mt = opts2mt(opts) ) | ^ | ( ) mount._.c:770:9: note: use '==' to turn this assignment into an equality comparison 770 | if( mt = opts2mt(opts) ) | ^ | == mount._.c:776:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 776 | if( mt = opts2mt(opts) ) | ~~~^~~~~~~~~~~~~~~ mount._.c:776:9: note: place parentheses around the assignment to silence this warning 776 | if( mt = opts2mt(opts) ) | ^ | ( ) mount._.c:776:9: note: use '==' to turn this assignment into an equality comparison 776 | if( mt = opts2mt(opts) ) | ^ | == mount._.c:944:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 944 | if( dp = strstr(mt->Src.u_src,"*%") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount._.c:944:9: note: place parentheses around the assignment to silence this warning 944 | if( dp = strstr(mt->Src.u_src,"*%") ){ | ^ | ( ) mount._.c:944:9: note: use '==' to turn this assignment into an equality comparison 944 | if( dp = strstr(mt->Src.u_src,"*%") ){ | ^ | == mount._.c:958:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 958 | if( dp = strrchr(mt->Src.u_src,'[') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount._.c:958:11: note: place parentheses around the assignment to silence this warning 958 | if( dp = strrchr(mt->Src.u_src,'[') ){ | ^ | ( ) mount._.c:958:11: note: use '==' to turn this assignment into an equality comparison 958 | if( dp = strrchr(mt->Src.u_src,'[') ){ | ^ | == mount._.c:978:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 978 | if( dp = strstr(mt->Dst.u_src,"#{") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount._.c:978:9: note: place parentheses around the assignment to silence this warning 978 | if( dp = strstr(mt->Dst.u_src,"#{") ){ | ^ | ( ) mount._.c:978:9: note: use '==' to turn this assignment into an equality comparison 978 | if( dp = strstr(mt->Dst.u_src,"#{") ){ | ^ | == mount._.c:983:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 983 | if( dp = strstr(mt->Dst.u_src,"*%") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount._.c:983:9: note: place parentheses around the assignment to silence this warning 983 | if( dp = strstr(mt->Dst.u_src,"*%") ){ | ^ | ( ) mount._.c:983:9: note: use '==' to turn this assignment into an equality comparison 983 | if( dp = strstr(mt->Dst.u_src,"*%") ){ | ^ | == mount._.c:1003:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1003 | if( dp = strrchr(mt->Dst.u_src,'[') ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount._.c:1003:10: note: place parentheses around the assignment to silence this warning 1003 | if( dp = strrchr(mt->Dst.u_src,'[') ) | ^ | ( ) mount._.c:1003:10: note: use '==' to turn this assignment into an equality comparison 1003 | if( dp = strrchr(mt->Dst.u_src,'[') ) | ^ | == mount._.c:1206:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1206 | if( n1 = m1->Dst.u_hostn ){ | ~~~^~~~~~~~~~~~~~~~~ mount._.c:1206:9: note: place parentheses around the assignment to silence this warning 1206 | if( n1 = m1->Dst.u_hostn ){ | ^ | ( ) mount._.c:1206:9: note: use '==' to turn this assignment into an equality comparison 1206 | if( n1 = m1->Dst.u_hostn ){ | ^ | == mount._.c:1207:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1207 | 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 1207 | 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 1207 | 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] 1208 | 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 1208 | 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 1208 | 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] 1210 | if( n1 = m1->Dst.u_genvhost ){ | ~~~^~~~~~~~~~~~~~~~~~~~ mount._.c:1210:9: note: place parentheses around the assignment to silence this warning 1210 | if( n1 = m1->Dst.u_genvhost ){ | ^ | ( ) mount._.c:1210:9: note: use '==' to turn this assignment into an equality comparison 1210 | if( n1 = m1->Dst.u_genvhost ){ | ^ | == mount._.c:1211:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1211 | 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 1211 | 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 1211 | 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] 1212 | 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 1212 | 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 1212 | 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] 1281 | if( eqs = eqservname(mti,mtj) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~ mount._.c:1281:13: note: place parentheses around the assignment to silence this warning 1281 | if( eqs = eqservname(mti,mtj) ){ | ^ | ( ) mount._.c:1281:13: note: use '==' to turn this assignment into an equality comparison 1281 | if( eqs = eqservname(mti,mtj) ){ | ^ | == mount._.c:1316:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1316 | if( mt = opts2mt(opts) ){ | ~~~^~~~~~~~~~~~~~~ mount._.c:1316:9: note: place parentheses around the assignment to silence this warning 1316 | if( mt = opts2mt(opts) ){ | ^ | ( ) mount._.c:1316:9: note: use '==' to turn this assignment into an equality comparison 1316 | if( mt = opts2mt(opts) ){ | ^ | == mount._.c:1439:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1439 | if( plen = isURN(dsrc) ){ | ~~~~~^~~~~~~~~~~~~ mount._.c:1439:12: note: place parentheses around the assignment to silence this warning 1439 | if( plen = isURN(dsrc) ){ | ^ | ( ) mount._.c:1439:12: note: use '==' to turn this assignment into an equality comparison 1439 | if( plen = isURN(dsrc) ){ | ^ | == mount._.c:1452:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1452 | if( upath = file_hostpath(dsrc,AVStr(proto),AVStr(login)) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount._.c:1452:14: note: place parentheses around the assignment to silence this warning 1452 | if( upath = file_hostpath(dsrc,AVStr(proto),AVStr(login)) ){ | ^ | ( ) mount._.c:1452:14: note: use '==' to turn this assignment into an equality comparison 1452 | 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] 1461 | if( query = strchr(upath,'?') ) | ~~~~~~^~~~~~~~~~~~~~~~~~~ mount._.c:1461:16: note: place parentheses around the assignment to silence this warning 1461 | if( query = strchr(upath,'?') ) | ^ | ( ) mount._.c:1461:16: note: use '==' to turn this assignment into an equality comparison 1461 | if( query = strchr(upath,'?') ) | ^ | == mount._.c:1591:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1591 | if( addr = gethostaddr(host) ) | ~~~~~^~~~~~~~~~~~~~~~~~~ mount._.c:1591:13: note: place parentheses around the assignment to silence this warning 1591 | if( addr = gethostaddr(host) ) | ^ | ( ) mount._.c:1591:13: note: use '==' to turn this assignment into an equality comparison 1591 | if( addr = gethostaddr(host) ) | ^ | == mount._.c:1621:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1621 | if( dp = strchr(hostport,':') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ mount._.c:1621:10: note: place parentheses around the assignment to silence this warning 1621 | if( dp = strchr(hostport,':') ){ | ^ | ( ) mount._.c:1621:10: note: use '==' to turn this assignment into an equality comparison 1621 | if( dp = strchr(hostport,':') ){ | ^ | == mount._.c:1629:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1629 | if( query = strchr(dpath,'?') ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~ mount._.c:1629:13: note: place parentheses around the assignment to silence this warning 1629 | if( query = strchr(dpath,'?') ){ | ^ | ( ) mount._.c:1629:13: note: use '==' to turn this assignment into an equality comparison 1629 | if( query = strchr(dpath,'?') ){ | ^ | == mount._.c:1638:43: warning: '/*' within block comment [-Wcomment] 1638 | * restrict DIRMATCH only to MOUNT="Rurl/* Lurl/*" pattern | ^ mount._.c:1638:50: warning: '/*' within block comment [-Wcomment] 1638 | * restrict DIRMATCH only to MOUNT="Rurl/* Lurl/*" pattern | ^ mount._.c:1644:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1644 | }else | ^ mount._.c:1661:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1661 | }else | ^ mount._.c:1688:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1688 | for( fp = fmt; fc = *fp; fp++ ){ | ~~~^~~~~ mount._.c:1688:20: note: place parentheses around the assignment to silence this warning 1688 | for( fp = fmt; fc = *fp; fp++ ){ | ^ | ( ) mount._.c:1688:20: note: use '==' to turn this assignment into an equality comparison 1688 | for( fp = fmt; fc = *fp; fp++ ){ | ^ | == mount._.c:1841:22: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] 1841 | const char *tlssni(); | ^~ mount._.c:1841:22: note: replace parentheses with an initializer to declare a variable 1841 | const char *tlssni(); | ^~ | = NULL mount._.c:1982:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1982 | if( req = CTX_reqstr(ctx) ){ | ~~~~^~~~~~~~~~~~~~~~~ mount._.c:1982:11: note: place parentheses around the assignment to silence this warning 1982 | if( req = CTX_reqstr(ctx) ){ | ^ | ( ) mount._.c:1982:11: note: use '==' to turn this assignment into an equality comparison 1982 | if( req = CTX_reqstr(ctx) ){ | ^ | == mount._.c:1990:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1990 | if( value = mt->u_conds_value ) | ~~~~~~^~~~~~~~~~~~~~~~~~~ mount._.c:1990:16: note: place parentheses around the assignment to silence this warning 1990 | if( value = mt->u_conds_value ) | ^ | ( ) mount._.c:1990:16: note: use '==' to turn this assignment into an equality comparison 1990 | if( value = mt->u_conds_value ) | ^ | == mount._.c:2032:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2032 | if( mport = dst->u_iport_mapped ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ mount._.c:2032:12: note: place parentheses around the assignment to silence this warning 2032 | if( mport = dst->u_iport_mapped ) | ^ | ( ) mount._.c:2032:12: note: use '==' to turn this assignment into an equality comparison 2032 | if( mport = dst->u_iport_mapped ) | ^ | == mount._.c:2083:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2083 | if( hosta = gethostaddr_fromcache(host) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount._.c:2083:12: note: place parentheses around the assignment to silence this warning 2083 | if( hosta = gethostaddr_fromcache(host) ) | ^ | ( ) mount._.c:2083:12: note: use '==' to turn this assignment into an equality comparison 2083 | if( hosta = gethostaddr_fromcache(host) ) | ^ | == mount._.c:2128:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2128 | if( dlen = url_strstr(patn,url) ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ mount._.c:2128:11: note: place parentheses around the assignment to silence this warning 2128 | if( dlen = url_strstr(patn,url) ) | ^ | ( ) mount._.c:2128:11: note: use '==' to turn this assignment into an equality comparison 2128 | if( dlen = url_strstr(patn,url) ) | ^ | == mount._.c:2143:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2143 | if( *lenp = dirmatch(mt,patn,url) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ mount._.c:2143:12: note: place parentheses around the assignment to silence this warning 2143 | if( *lenp = dirmatch(mt,patn,url) ){ | ^ | ( ) mount._.c:2143:12: note: use '==' to turn this assignment into an equality comparison 2143 | if( *lenp = dirmatch(mt,patn,url) ){ | ^ | == mount._.c:2257:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2257 | if( hlen = matchURL(&mt->Src,iurl) ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ mount._.c:2257:13: note: place parentheses around the assignment to silence this warning 2257 | if( hlen = matchURL(&mt->Src,iurl) ) | ^ | ( ) mount._.c:2257:13: note: use '==' to turn this assignment into an equality comparison 2257 | if( hlen = matchURL(&mt->Src,iurl) ) | ^ | == mount._.c:2258:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2258 | 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 2258 | 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 2258 | if( match = xmatch(mt,mt->Src.u_path,iurl+hlen,&len) ) | ^ | == mount._.c:2722:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2722 | 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 2722 | 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 2722 | if( opt = mount_url_toX(ctx,myhostport,method,AVStr(url),U_USE_PROXY,&mt) ) | ^ | == mount._.c:2804:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2804 | if( pp = strheadstrX(vserv,host,1) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ mount._.c:2804:12: note: place parentheses around the assignment to silence this warning 2804 | if( pp = strheadstrX(vserv,host,1) ){ | ^ | ( ) mount._.c:2804:12: note: use '==' to turn this assignment into an equality comparison 2804 | if( pp = strheadstrX(vserv,host,1) ){ | ^ | == mount._.c:2990:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2990 | if( dp1 = strchr(delegate,':') ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~ mount._.c:2990:11: note: place parentheses around the assignment to silence this warning 2990 | if( dp1 = strchr(delegate,':') ){ | ^ | ( ) mount._.c:2990:11: note: use '==' to turn this assignment into an equality comparison 2990 | if( dp1 = strchr(delegate,':') ){ | ^ | == mount._.c:2995:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2995 | if( dp2 = strchr(dp1,'/') ) | ~~~~^~~~~~~~~~~~~~~~~ mount._.c:2995:13: note: place parentheses around the assignment to silence this warning 2995 | if( dp2 = strchr(dp1,'/') ) | ^ | ( ) mount._.c:2995:13: note: use '==' to turn this assignment into an equality comparison 2995 | if( dp2 = strchr(dp1,'/') ) | ^ | == 73 warnings generated. ../mkcpp url.c url._.c -- mkcpp set time: 1773311905 -> 1408024566 url._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c url._.c -o url.o url._.c:116:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 116 | for( sp = site+1; ch = *sp; sp++ ){ | ~~~^~~~~ url._.c:116:23: note: place parentheses around the assignment to silence this warning 116 | for( sp = site+1; ch = *sp; sp++ ){ | ^ | ( ) url._.c:116:23: note: use '==' to turn this assignment into an equality comparison 116 | for( sp = site+1; ch = *sp; sp++ ){ | ^ | == url._.c:137:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 137 | for( pp = path+1; ch = *pp; pp++ ){ | ~~~^~~~~ url._.c:137:23: note: place parentheses around the assignment to silence this warning 137 | for( pp = path+1; ch = *pp; pp++ ){ | ^ | ( ) url._.c:137:23: note: use '==' to turn this assignment into an equality comparison 137 | for( pp = path+1; ch = *pp; pp++ ){ | ^ | == url._.c:280:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 280 | for( p = ref; ch = *p; p++ ){ | ~~~^~~~ url._.c:280:19: note: place parentheses around the assignment to silence this warning 280 | for( p = ref; ch = *p; p++ ){ | ^ | ( ) url._.c:280:19: note: use '==' to turn this assignment into an equality comparison 280 | for( p = ref; ch = *p; p++ ){ | ^ | == url._.c:284:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 284 | if( up = isURLinJavaScript(p,&qch) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ url._.c:284:11: note: place parentheses around the assignment to silence this warning 284 | if( up = isURLinJavaScript(p,&qch) ){ | ^ | ( ) url._.c:284:11: note: use '==' to turn this assignment into an equality comparison 284 | if( up = isURLinJavaScript(p,&qch) ){ | ^ | == url._.c:279:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 279 | }else | ^ url._.c:303:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 303 | if( up = isURLinJavaScript(str,"ech) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url._.c:303:10: note: place parentheses around the assignment to silence this warning 303 | if( up = isURLinJavaScript(str,"ech) ){ | ^ | ( ) url._.c:303:10: note: use '==' to turn this assignment into an equality comparison 303 | if( up = isURLinJavaScript(str,"ech) ){ | ^ | == url._.c:327:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 327 | for( sp = str; ch = *sp; ){ | ~~~^~~~~ url._.c:327:20: note: place parentheses around the assignment to silence this warning 327 | for( sp = str; ch = *sp; ){ | ^ | ( ) url._.c:327:20: note: use '==' to turn this assignment into an equality comparison 327 | for( sp = str; ch = *sp; ){ | ^ | == url._.c:329:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 329 | if( up = isURLinJavaScript(sp,"ech) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url._.c:329:11: note: place parentheses around the assignment to silence this warning 329 | if( up = isURLinJavaScript(sp,"ech) ){ | ^ | ( ) url._.c:329:11: note: use '==' to turn this assignment into an equality comparison 329 | if( up = isURLinJavaScript(sp,"ech) ){ | ^ | == url._.c:355:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 355 | if( np = strpbrk(tp,"\r\n") ){ | ~~~^~~~~~~~~~~~~~~~~~~~ url._.c:355:10: note: place parentheses around the assignment to silence this warning 355 | if( np = strpbrk(tp,"\r\n") ){ | ^ | ( ) url._.c:355:10: note: use '==' to turn this assignment into an equality comparison 355 | if( np = strpbrk(tp,"\r\n") ){ | ^ | == url._.c:407:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 407 | if( dlen = strcasestrlen(sp,"xmlns") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ url._.c:407:11: note: place parentheses around the assignment to silence this warning 407 | if( dlen = strcasestrlen(sp,"xmlns") ){ | ^ | ( ) url._.c:407:11: note: use '==' to turn this assignment into an equality comparison 407 | if( dlen = strcasestrlen(sp,"xmlns") ){ | ^ | == url._.c:428:30: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 428 | for( sp = sp+dlen+alen; ch = *sp; sp++ ){ | ~~~^~~~~ url._.c:428:30: note: place parentheses around the assignment to silence this warning 428 | for( sp = sp+dlen+alen; ch = *sp; sp++ ){ | ^ | ( ) url._.c:428:30: note: use '==' to turn this assignment into an equality comparison 428 | 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] 520 | if( ref = strcasestr(str,"Realm=<") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ url._.c:520:11: note: place parentheses around the assignment to silence this warning 520 | if( ref = strcasestr(str,"Realm=<") ){ | ^ | ( ) url._.c:520:11: note: use '==' to turn this assignment into an equality comparison 520 | if( ref = strcasestr(str,"Realm=<") ){ | ^ | == url._.c:553:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 553 | if( up = findURLinJavaScript(Ctx,str) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url._.c:553:11: note: place parentheses around the assignment to silence this warning 553 | if( up = findURLinJavaScript(Ctx,str) ){ | ^ | ( ) url._.c:553:11: note: use '==' to turn this assignment into an equality comparison 553 | if( up = findURLinJavaScript(Ctx,str) ){ | ^ | == url._.c:567:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 567 | if( up = findURLinCSS(Ctx,str) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~ url._.c:567:11: note: place parentheses around the assignment to silence this warning 567 | if( up = findURLinCSS(Ctx,str) ){ | ^ | ( ) url._.c:567:11: note: use '==' to turn this assignment into an equality comparison 567 | if( up = findURLinCSS(Ctx,str) ){ | ^ | == url._.c:590:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 590 | if( hp = isXMLNS(tag,str) ){ | ~~~^~~~~~~~~~~~~~~~~~ url._.c:590:11: note: place parentheses around the assignment to silence this warning 590 | if( hp = isXMLNS(tag,str) ){ | ^ | ( ) url._.c:590:11: note: use '==' to turn this assignment into an equality comparison 590 | if( hp = isXMLNS(tag,str) ){ | ^ | == url._.c:595:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 595 | for( sp = str; ch = *sp; sp++ ){ | ~~~^~~~~ url._.c:595:21: note: place parentheses around the assignment to silence this warning 595 | for( sp = str; ch = *sp; sp++ ){ | ^ | ( ) url._.c:595:21: note: use '==' to turn this assignment into an equality comparison 595 | for( sp = str; ch = *sp; sp++ ){ | ^ | == url._.c:619:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 619 | if( hp = isXMLNS(tag,sp) ){ | ~~~^~~~~~~~~~~~~~~~~ url._.c:619:13: note: place parentheses around the assignment to silence this warning 619 | if( hp = isXMLNS(tag,sp) ){ | ^ | ( ) url._.c:619:13: note: use '==' to turn this assignment into an equality comparison 619 | if( hp = isXMLNS(tag,sp) ){ | ^ | == url._.c:690:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 690 | for( ref = str; ch = *ref; ref++ ){ | ~~~^~~~~~ url._.c:690:23: note: place parentheses around the assignment to silence this warning 690 | for( ref = str; ch = *ref; ref++ ){ | ^ | ( ) url._.c:690:23: note: use '==' to turn this assignment into an equality comparison 690 | for( ref = str; ch = *ref; ref++ ){ | ^ | == url._.c:698:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 698 | if( len = iscomtag(hp) ) | ~~~~^~~~~~~~~~~~~~ url._.c:698:14: note: place parentheses around the assignment to silence this warning 698 | if( len = iscomtag(hp) ) | ^ | ( ) url._.c:698:14: note: use '==' to turn this assignment into an equality comparison 698 | if( len = iscomtag(hp) ) | ^ | == url._.c:749:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 749 | if( up = isURLinEmbeded(Ctx,tag,ref) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url._.c:749:12: note: place parentheses around the assignment to silence this warning 749 | if( up = isURLinEmbeded(Ctx,tag,ref) ){ | ^ | ( ) url._.c:749:12: note: use '==' to turn this assignment into an equality comparison 749 | if( up = isURLinEmbeded(Ctx,tag,ref) ){ | ^ | == url._.c:777:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 777 | for(; ch = *ref; ref++ ) | ~~~^~~~~~ url._.c:777:13: note: place parentheses around the assignment to silence this warning 777 | for(; ch = *ref; ref++ ) | ^ | ( ) url._.c:777:13: note: use '==' to turn this assignment into an equality comparison 777 | for(; ch = *ref; ref++ ) | ^ | == url._.c:784:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 784 | if( len = iscomtag(hp) ){ | ~~~~^~~~~~~~~~~~~~ url._.c:784:13: note: place parentheses around the assignment to silence this warning 784 | if( len = iscomtag(hp) ){ | ^ | ( ) url._.c:784:13: note: use '==' to turn this assignment into an equality comparison 784 | if( len = iscomtag(hp) ){ | ^ | == url._.c:846:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 846 | for(; ch = *hp; hp++ ){ | ~~~^~~~~ url._.c:846:14: note: place parentheses around the assignment to silence this warning 846 | for(; ch = *hp; hp++ ){ | ^ | ( ) url._.c:846:14: note: use '==' to turn this assignment into an equality comparison 846 | for(; ch = *hp; hp++ ){ | ^ | == url._.c:884:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 884 | if( up = findURLinHTML(Ctx,tag,ref) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ url._.c:884:11: note: place parentheses around the assignment to silence this warning 884 | if( up = findURLinHTML(Ctx,tag,ref) ){ | ^ | ( ) url._.c:884:11: note: use '==' to turn this assignment into an equality comparison 884 | if( up = findURLinHTML(Ctx,tag,ref) ){ | ^ | == url._.c:883:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 883 | }else | ^ url._.c:928:28: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 928 | for( attrtailp = hp; ch = *attrtailp; attrtailp++ ){ | ~~~^~~~~~~~~~~~ url._.c:928:28: note: place parentheses around the assignment to silence this warning 928 | for( attrtailp = hp; ch = *attrtailp; attrtailp++ ){ | ^ | ( ) url._.c:928:28: note: use '==' to turn this assignment into an equality comparison 928 | for( attrtailp = hp; ch = *attrtailp; attrtailp++ ){ | ^ | == url._.c:1034:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1034 | if( sp = scan_URI_scheme(url,AVStr(proto),sizeof(proto)) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url._.c:1034:10: note: place parentheses around the assignment to silence this warning 1034 | if( sp = scan_URI_scheme(url,AVStr(proto),sizeof(proto)) ){ | ^ | ( ) url._.c:1034:10: note: use '==' to turn this assignment into an equality comparison 1034 | 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] 1059 | if( fp = strchr(np+1,'=') ){ | ~~~^~~~~~~~~~~~~~~~~~ url._.c:1059:10: note: place parentheses around the assignment to silence this warning 1059 | if( fp = strchr(np+1,'=') ){ | ^ | ( ) url._.c:1059:10: note: use '==' to turn this assignment into an equality comparison 1059 | if( fp = strchr(np+1,'=') ){ | ^ | == url._.c:1140:36: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1140 | for( pp = durl + marklen + 1; ch = *pp++; ){ | ~~~^~~~~~~ url._.c:1140:36: note: place parentheses around the assignment to silence this warning 1140 | for( pp = durl + marklen + 1; ch = *pp++; ){ | ^ | ( ) url._.c:1140:36: note: use '==' to turn this assignment into an equality comparison 1140 | for( pp = durl + marklen + 1; ch = *pp++; ){ | ^ | == url._.c:1186:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1186 | if( pp = strstr(pb,"-.-") ){ | ~~~^~~~~~~~~~~~~~~~~~ url._.c:1186:10: note: place parentheses around the assignment to silence this warning 1186 | if( pp = strstr(pb,"-.-") ){ | ^ | ( ) url._.c:1186:10: note: use '==' to turn this assignment into an equality comparison 1186 | if( pp = strstr(pb,"-.-") ){ | ^ | == url._.c:1238:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1238 | if( gtype = np[len] ) | ~~~~~~^~~~~~~~~ url._.c:1238:15: note: place parentheses around the assignment to silence this warning 1238 | if( gtype = np[len] ) | ^ | ( ) url._.c:1238:15: note: use '==' to turn this assignment into an equality comparison 1238 | if( gtype = np[len] ) | ^ | == url._.c:1276:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1276 | if( hp = strpbrk(np+strlen(host),endofHOSTPORT) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url._.c:1276:10: note: place parentheses around the assignment to silence this warning 1276 | if( hp = strpbrk(np+strlen(host),endofHOSTPORT) ) | ^ | ( ) url._.c:1276:10: note: use '==' to turn this assignment into an equality comparison 1276 | if( hp = strpbrk(np+strlen(host),endofHOSTPORT) ) | ^ | == url._.c:1289:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1289 | if( hp = strpbrk(np+strlen(host),endofHOSTPORT) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url._.c:1289:10: note: place parentheses around the assignment to silence this warning 1289 | if( hp = strpbrk(np+strlen(host),endofHOSTPORT) ) | ^ | ( ) url._.c:1289:10: note: use '==' to turn this assignment into an equality comparison 1289 | if( hp = strpbrk(np+strlen(host),endofHOSTPORT) ) | ^ | == url._.c:1301:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1301 | if( hp = strpbrk(np+strlen(host),endofHOSTPORT) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url._.c:1301:10: note: place parentheses around the assignment to silence this warning 1301 | if( hp = strpbrk(np+strlen(host),endofHOSTPORT) ){ | ^ | ( ) url._.c:1301:10: note: use '==' to turn this assignment into an equality comparison 1301 | if( hp = strpbrk(np+strlen(host),endofHOSTPORT) ){ | ^ | == url._.c:1317:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1317 | if( durl = strstr(url,NDGU_MARK) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ url._.c:1317:11: note: place parentheses around the assignment to silence this warning 1317 | if( durl = strstr(url,NDGU_MARK) ){ | ^ | ( ) url._.c:1317:11: note: use '==' to turn this assignment into an equality comparison 1317 | if( durl = strstr(url,NDGU_MARK) ){ | ^ | == url._.c:1325:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1325 | if( durl = strstr(url,ODGU_MARK) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ url._.c:1325:11: note: place parentheses around the assignment to silence this warning 1325 | if( durl = strstr(url,ODGU_MARK) ){ | ^ | ( ) url._.c:1325:11: note: use '==' to turn this assignment into an equality comparison 1325 | if( durl = strstr(url,ODGU_MARK) ){ | ^ | == url._.c:1347:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1347 | for( up = url; uc = *up; up++ ){ | ~~~^~~~~ url._.c:1347:20: note: place parentheses around the assignment to silence this warning 1347 | for( up = url; uc = *up; up++ ){ | ^ | ( ) url._.c:1347:20: note: use '==' to turn this assignment into an equality comparison 1347 | for( up = url; uc = *up; up++ ){ | ^ | == url._.c:1378:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1378 | if( up = strrchr(site,'@') ){ | ~~~^~~~~~~~~~~~~~~~~~~ url._.c:1378:9: note: place parentheses around the assignment to silence this warning 1378 | if( up = strrchr(site,'@') ){ | ^ | ( ) url._.c:1378:9: note: use '==' to turn this assignment into an equality comparison 1378 | if( up = strrchr(site,'@') ){ | ^ | == url._.c:1379:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1379 | if( pp = strchr(up,':') ){ | ~~~^~~~~~~~~~~~~~~~ url._.c:1379:10: note: place parentheses around the assignment to silence this warning 1379 | if( pp = strchr(up,':') ){ | ^ | ( ) url._.c:1379:10: note: use '==' to turn this assignment into an equality comparison 1379 | if( pp = strchr(up,':') ){ | ^ | == url._.c:1394:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1394 | if( userp = strrchr(hostport,'@') ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ url._.c:1394:12: note: place parentheses around the assignment to silence this warning 1394 | if( userp = strrchr(hostport,'@') ){ | ^ | ( ) url._.c:1394:12: note: use '==' to turn this assignment into an equality comparison 1394 | if( userp = strrchr(hostport,'@') ){ | ^ | == url._.c:1397:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1397 | if( passp = strchr(hostport,':') ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ url._.c:1397:13: note: place parentheses around the assignment to silence this warning 1397 | if( passp = strchr(hostport,':') ){ | ^ | ( ) url._.c:1397:13: note: use '==' to turn this assignment into an equality comparison 1397 | if( passp = strchr(hostport,':') ){ | ^ | == url._.c:1410:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1410 | if( portp = strchr(host,':') ){ | ~~~~~~^~~~~~~~~~~~~~~~~~ url._.c:1410:12: note: place parentheses around the assignment to silence this warning 1410 | if( portp = strchr(host,':') ){ | ^ | ( ) url._.c:1410:12: note: use '==' to turn this assignment into an equality comparison 1410 | if( portp = strchr(host,':') ){ | ^ | == url._.c:1544:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1544 | if( xp = strpbrk(ident->i_user,"/?\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url._.c:1544:9: note: place parentheses around the assignment to silence this warning 1544 | if( xp = strpbrk(ident->i_user,"/?\r\n") ) | ^ | ( ) url._.c:1544:9: note: use '==' to turn this assignment into an equality comparison 1544 | 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] 1546 | if( hp = strrchr(ident->i_user,'@') ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ url._.c:1546:9: note: place parentheses around the assignment to silence this warning 1546 | if( hp = strrchr(ident->i_user,'@') ) | ^ | ( ) url._.c:1546:9: note: use '==' to turn this assignment into an equality comparison 1546 | if( hp = strrchr(ident->i_user,'@') ) | ^ | == url._.c:1548:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1548 | if( pp = strchr(ident->i_user,':') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ url._.c:1548:9: note: place parentheses around the assignment to silence this warning 1548 | if( pp = strchr(ident->i_user,':') ){ | ^ | ( ) url._.c:1548:9: note: use '==' to turn this assignment into an equality comparison 1548 | if( pp = strchr(ident->i_user,':') ){ | ^ | == url._.c:1590:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1590 | if( sp = strstr(url,"://") ) | ~~~^~~~~~~~~~~~~~~~~~~ url._.c:1590:9: note: place parentheses around the assignment to silence this warning 1590 | if( sp = strstr(url,"://") ) | ^ | ( ) url._.c:1590:9: note: use '==' to turn this assignment into an equality comparison 1590 | if( sp = strstr(url,"://") ) | ^ | == url._.c:1616:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1616 | for( sp = hostport; ch = *sp; sp++ ){ | ~~~^~~~~ url._.c:1616:25: note: place parentheses around the assignment to silence this warning 1616 | for( sp = hostport; ch = *sp; sp++ ){ | ^ | ( ) url._.c:1616:25: note: use '==' to turn this assignment into an equality comparison 1616 | for( sp = hostport; ch = *sp; sp++ ){ | ^ | == url._.c:1666:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1666 | for( sp = hostport; ch = *sp; sp++ ){ | ~~~^~~~~ url._.c:1666:25: note: place parentheses around the assignment to silence this warning 1666 | for( sp = hostport; ch = *sp; sp++ ){ | ^ | ( ) url._.c:1666:25: note: use '==' to turn this assignment into an equality comparison 1666 | for( sp = hostport; ch = *sp; sp++ ){ | ^ | == url._.c:1747:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1747 | 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 1747 | 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 1747 | if( opt = CTX_changeproxy_url_to(ctx,clif,method,AVStr(url),AVStr(proxy)) ) | ^ | == url._.c:1801:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1801 | if( v1 = getv(av,"proto")){ | ~~~^~~~~~~~~~~~~~~~~~ url._.c:1801:9: note: place parentheses around the assignment to silence this warning 1801 | if( v1 = getv(av,"proto")){ | ^ | ( ) url._.c:1801:9: note: use '==' to turn this assignment into an equality comparison 1801 | if( v1 = getv(av,"proto")){ | ^ | == url._.c:1806:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1806 | if( v1 = getv(av,"host") ){ | ~~~^~~~~~~~~~~~~~~~~ url._.c:1806:9: note: place parentheses around the assignment to silence this warning 1806 | if( v1 = getv(av,"host") ){ | ^ | ( ) url._.c:1806:9: note: use '==' to turn this assignment into an equality comparison 1806 | if( v1 = getv(av,"host") ){ | ^ | == url._.c:1811:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1811 | if( v1 = getv(av,"port") ) | ~~~^~~~~~~~~~~~~~~~~ url._.c:1811:9: note: place parentheses around the assignment to silence this warning 1811 | if( v1 = getv(av,"port") ) | ^ | ( ) url._.c:1811:9: note: use '==' to turn this assignment into an equality comparison 1811 | if( v1 = getv(av,"port") ) | ^ | == url._.c:1814:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1814 | if( v1 = getv(av,"path") ){ | ~~~^~~~~~~~~~~~~~~~~ url._.c:1814:9: note: place parentheses around the assignment to silence this warning 1814 | if( v1 = getv(av,"path") ){ | ^ | ( ) url._.c:1814:9: note: use '==' to turn this assignment into an equality comparison 1814 | if( v1 = getv(av,"path") ){ | ^ | == url._.c:1884:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1884 | while( uc = *up ){ | ~~~^~~~~ url._.c:1884:12: note: place parentheses around the assignment to silence this warning 1884 | while( uc = *up ){ | ^ | ( ) url._.c:1884:12: note: use '==' to turn this assignment into an equality comparison 1884 | while( uc = *up ){ | ^ | == url._.c:1902:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1902 | if( np = CURDIR(up) ){ | ~~~^~~~~~~~~~~~ url._.c:1902:10: note: place parentheses around the assignment to silence this warning 1902 | if( np = CURDIR(up) ){ | ^ | ( ) url._.c:1902:10: note: use '==' to turn this assignment into an equality comparison 1902 | if( np = CURDIR(up) ){ | ^ | == url._.c:1909:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1909 | if( np = UPDIR(up) ){ | ~~~^~~~~~~~~~~ url._.c:1909:10: note: place parentheses around the assignment to silence this warning 1909 | if( np = UPDIR(up) ){ | ^ | ( ) url._.c:1909:10: note: use '==' to turn this assignment into an equality comparison 1909 | if( np = UPDIR(up) ){ | ^ | == url._.c:1929:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1929 | while( uc = *up ){ | ~~~^~~~~ url._.c:1929:13: note: place parentheses around the assignment to silence this warning 1929 | while( uc = *up ){ | ^ | ( ) url._.c:1929:13: note: use '==' to turn this assignment into an equality comparison 1929 | while( uc = *up ){ | ^ | == url._.c:1970:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1970 | if( xp = CURDIR(up) ){ | ~~~^~~~~~~~~~~~ url._.c:1970:9: note: place parentheses around the assignment to silence this warning 1970 | if( xp = CURDIR(up) ){ | ^ | ( ) url._.c:1970:9: note: use '==' to turn this assignment into an equality comparison 1970 | if( xp = CURDIR(up) ){ | ^ | == url._.c:1975:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1975 | while( xp = UPDIR(up) ){ | ~~~^~~~~~~~~~~ url._.c:1975:12: note: place parentheses around the assignment to silence this warning 1975 | while( xp = UPDIR(up) ){ | ^ | ( ) url._.c:1975:12: note: use '==' to turn this assignment into an equality comparison 1975 | while( xp = UPDIR(up) ){ | ^ | == url._.c:2091:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2091 | if( dp = strstr(url,PORT_MARK) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~ url._.c:2091:9: note: place parentheses around the assignment to silence this warning 2091 | if( dp = strstr(url,PORT_MARK) ){ | ^ | ( ) url._.c:2091:9: note: use '==' to turn this assignment into an equality comparison 2091 | if( dp = strstr(url,PORT_MARK) ){ | ^ | == url._.c:2109:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2109 | if( dp = strstr(vurl,"://") ) | ~~~^~~~~~~~~~~~~~~~~~~~ url._.c:2109:9: note: place parentheses around the assignment to silence this warning 2109 | if( dp = strstr(vurl,"://") ) | ^ | ( ) url._.c:2109:9: note: use '==' to turn this assignment into an equality comparison 2109 | if( dp = strstr(vurl,"://") ) | ^ | == url._.c:2110:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2110 | if( dp = strpbrk(dp+3,":/? \t\r\n\"'") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url._.c:2110:9: note: place parentheses around the assignment to silence this warning 2110 | if( dp = strpbrk(dp+3,":/? \t\r\n\"'") ) | ^ | ( ) url._.c:2110:9: note: use '==' to turn this assignment into an equality comparison 2110 | 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] 2117 | if( dp = strpbrk(vurl,"?#") ) | ~~~^~~~~~~~~~~~~~~~~~~~ url._.c:2117:11: note: place parentheses around the assignment to silence this warning 2117 | if( dp = strpbrk(vurl,"?#") ) | ^ | ( ) url._.c:2117:11: note: use '==' to turn this assignment into an equality comparison 2117 | if( dp = strpbrk(vurl,"?#") ) | ^ | == url._.c:2328:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2328 | if( ilen = url_movport(np,AVStr(xp),256) ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url._.c:2328:15: note: place parentheses around the assignment to silence this warning 2328 | if( ilen = url_movport(np,AVStr(xp),256) ) | ^ | ( ) url._.c:2328:15: note: use '==' to turn this assignment into an equality comparison 2328 | 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] 2334 | SkipQuoted("absolute",referer,np,sp,xp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url._.c:2132:10: note: expanded from macro 'SkipQuoted' 2132 | 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' 2132 | 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' 2132 | if( qch = referer->r_tagctx.r_curquote ){ \ | ^ url._.c:2334:3: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2334 | SkipQuoted("absolute",referer,np,sp,xp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url._.c:2137:14: note: expanded from macro 'SkipQuoted' 2137 | 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' 2137 | 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' 2137 | while( ch = *sp ){ \ | ^ url._.c:2401:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2401 | 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 2401 | 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 2401 | 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] 2409 | SkipQuoted("deleate",referer,np,sp,xp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url._.c:2132:10: note: expanded from macro 'SkipQuoted' 2132 | 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' 2132 | 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' 2132 | if( qch = referer->r_tagctx.r_curquote ){ \ | ^ url._.c:2409:3: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2409 | SkipQuoted("deleate",referer,np,sp,xp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url._.c:2137:14: note: expanded from macro 'SkipQuoted' 2137 | 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' 2137 | 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' 2137 | while( ch = *sp ){ \ | ^ url._.c:2422:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2422 | while( np = html_nextTagAttr(sp,"",VStrNULL,NULL,NULL,NULL) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url._.c:2422:12: note: place parentheses around the assignment to silence this warning 2422 | while( np = html_nextTagAttr(sp,"",VStrNULL,NULL,NULL,NULL) ){ | ^ | ( ) url._.c:2422:12: note: use '==' to turn this assignment into an equality comparison 2422 | 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] 2423 | if( tp = strpbrk(np," \t\r\n\">") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ url._.c:2423:10: note: place parentheses around the assignment to silence this warning 2423 | if( tp = strpbrk(np," \t\r\n\">") ){ | ^ | ( ) url._.c:2423:10: note: use '==' to turn this assignment into an equality comparison 2423 | if( tp = strpbrk(np," \t\r\n\">") ){ | ^ | == url._.c:2745:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2745 | if( proto = getv(av,"proto") ) | ~~~~~~^~~~~~~~~~~~~~~~~~ url._.c:2745:14: note: place parentheses around the assignment to silence this warning 2745 | if( proto = getv(av,"proto") ) | ^ | ( ) url._.c:2745:14: note: use '==' to turn this assignment into an equality comparison 2745 | if( proto = getv(av,"proto") ) | ^ | == url._.c:2746:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2746 | if( host = getv(av,"host" ) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~ url._.c:2746:14: note: place parentheses around the assignment to silence this warning 2746 | if( host = getv(av,"host" ) ){ | ^ | ( ) url._.c:2746:14: note: use '==' to turn this assignment into an equality comparison 2746 | if( host = getv(av,"host" ) ){ | ^ | == url._.c:2747:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2747 | if( port = getv(av,"port") ) | ~~~~~^~~~~~~~~~~~~~~~~ url._.c:2747:14: note: place parentheses around the assignment to silence this warning 2747 | if( port = getv(av,"port") ) | ^ | ( ) url._.c:2747:14: note: use '==' to turn this assignment into an equality comparison 2747 | if( port = getv(av,"port") ) | ^ | == url._.c:2771:3: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2771 | SkipQuoted("partialize",referer,np,sp,xp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url._.c:2132:10: note: expanded from macro 'SkipQuoted' 2132 | 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' 2132 | 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' 2132 | if( qch = referer->r_tagctx.r_curquote ){ \ | ^ url._.c:2771:3: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2771 | SkipQuoted("partialize",referer,np,sp,xp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url._.c:2137:14: note: expanded from macro 'SkipQuoted' 2137 | 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' 2137 | 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' 2137 | while( ch = *sp ){ \ | ^ 76 warnings generated. ../mkcpp gopher.c gopher._.c -- mkcpp set time: 1773311907 -> 1250403944 gopher._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c gopher._.c -o gopher.o gopher._.c:51:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 51 | if( tab = strrchr(req,'\t') ) | ~~~~^~~~~~~~~~~~~~~~~~~ gopher._.c:51:10: note: place parentheses around the assignment to silence this warning 51 | if( tab = strrchr(req,'\t') ) | ^ | ( ) gopher._.c:51:10: note: use '==' to turn this assignment into an equality comparison 51 | if( tab = strrchr(req,'\t') ) | ^ | == gopher._.c:58:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 58 | if( dp = strpbrk(req,"\t\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~ gopher._.c:58:9: note: place parentheses around the assignment to silence this warning 58 | if( dp = strpbrk(req,"\t\r\n") ) | ^ | ( ) gopher._.c:58:9: note: use '==' to turn this assignment into an equality comparison 58 | if( dp = strpbrk(req,"\t\r\n") ) | ^ | == gopher._.c:227:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 227 | if( cgtype = CTX_get_clientgtype(Conn) ) /* sent from client */ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ gopher._.c:227:13: note: place parentheses around the assignment to silence this warning 227 | if( cgtype = CTX_get_clientgtype(Conn) ) /* sent from client */ | ^ | ( ) gopher._.c:227:13: note: use '==' to turn this assignment into an equality comparison 227 | 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] 272 | if( dp = strchr(req,'\t') ){ | ~~~^~~~~~~~~~~~~~~~~~ gopher._.c:272:10: note: place parentheses around the assignment to silence this warning 272 | if( dp = strchr(req,'\t') ){ | ^ | ( ) gopher._.c:272:10: note: use '==' to turn this assignment into an equality comparison 272 | if( dp = strchr(req,'\t') ){ | ^ | == gopher._.c:359:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 359 | if( cachefp = cache_fopen_rd("GOPHER",AVStr(cpath),expire,&cdate) ){ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gopher._.c:359:15: note: place parentheses around the assignment to silence this warning 359 | if( cachefp = cache_fopen_rd("GOPHER",AVStr(cpath),expire,&cdate) ){ | ^ | ( ) gopher._.c:359:15: note: use '==' to turn this assignment into an equality comparison 359 | 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] 379 | if( cachefp = cache_fopen_rw("GOPHER",AVStr(cpath)) ){ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gopher._.c:379:15: note: place parentheses around the assignment to silence this warning 379 | if( cachefp = cache_fopen_rw("GOPHER",AVStr(cpath)) ){ | ^ | ( ) gopher._.c:379:15: note: use '==' to turn this assignment into an equality comparison 379 | 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] 530 | if( dp = strchr(line,':') ){ | ~~~^~~~~~~~~~~~~~~~~~ gopher._.c:530:10: note: place parentheses around the assignment to silence this warning 530 | if( dp = strchr(line,':') ){ | ^ | ( ) gopher._.c:530:10: note: use '==' to turn this assignment into an equality comparison 530 | if( dp = strchr(line,':') ){ | ^ | == gopher._.c:544:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 544 | if(dp=strchr(dp,'\t')){ truncVStr(dp);dp++; *selector = dp; }else return 0; | ~~^~~~~~~~~~~~~~~~ gopher._.c:544:7: note: place parentheses around the assignment to silence this warning 544 | if(dp=strchr(dp,'\t')){ truncVStr(dp);dp++; *selector = dp; }else return 0; | ^ | ( ) gopher._.c:544:7: note: use '==' to turn this assignment into an equality comparison 544 | if(dp=strchr(dp,'\t')){ truncVStr(dp);dp++; *selector = dp; }else return 0; | ^ | == gopher._.c:545:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 545 | if(dp=strchr(dp,'\t')){ truncVStr(dp);dp++; *host = dp; }else return 0; | ~~^~~~~~~~~~~~~~~~ gopher._.c:545:7: note: place parentheses around the assignment to silence this warning 545 | if(dp=strchr(dp,'\t')){ truncVStr(dp);dp++; *host = dp; }else return 0; | ^ | ( ) gopher._.c:545:7: note: use '==' to turn this assignment into an equality comparison 545 | if(dp=strchr(dp,'\t')){ truncVStr(dp);dp++; *host = dp; }else return 0; | ^ | == gopher._.c:546:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 546 | if(dp=strchr(dp,'\t')){ truncVStr(dp);dp++; *iport=atoi(dp);}else return 0; | ~~^~~~~~~~~~~~~~~~ gopher._.c:546:7: note: place parentheses around the assignment to silence this warning 546 | if(dp=strchr(dp,'\t')){ truncVStr(dp);dp++; *iport=atoi(dp);}else return 0; | ^ | ( ) gopher._.c:546:7: note: use '==' to turn this assignment into an equality comparison 546 | if(dp=strchr(dp,'\t')){ truncVStr(dp);dp++; *iport=atoi(dp);}else return 0; | ^ | == gopher._.c:547:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 547 | if(dp=strchr(dp,'\t')){ *ext = dp; } | ~~^~~~~~~~~~~~~~~~ gopher._.c:547:7: note: place parentheses around the assignment to silence this warning 547 | if(dp=strchr(dp,'\t')){ *ext = dp; } | ^ | ( ) gopher._.c:547:7: note: use '==' to turn this assignment into an equality comparison 547 | if(dp=strchr(dp,'\t')){ *ext = dp; } | ^ | == gopher._.c:707:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 707 | if( dp = strchr(req,'?') ) | ~~~^~~~~~~~~~~~~~~~~ gopher._.c:707:10: note: place parentheses around the assignment to silence this warning 707 | if( dp = strchr(req,'?') ) | ^ | ( ) gopher._.c:707:10: note: use '==' to turn this assignment into an equality comparison 707 | if( dp = strchr(req,'?') ) | ^ | == 12 warnings generated. ../mkcpp icp.c icp._.c -- mkcpp set time: 1773311908 -> 1268471252 icp._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c icp._.c -o icp.o icp._.c:255:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 255 | if( tail = frex_match((struct fa_stat*)noicp_domain,host) ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ icp._.c:255:11: note: place parentheses around the assignment to silence this warning 255 | if( tail = frex_match((struct fa_stat*)noicp_domain,host) ) | ^ | ( ) icp._.c:255:11: note: use '==' to turn this assignment into an equality comparison 255 | 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] 308 | if( env = getenv("PARASERV") ) | ~~~~^~~~~~~~~~~~~~~~~~~~ icp._.c:308:11: note: place parentheses around the assignment to silence this warning 308 | if( env = getenv("PARASERV") ) | ^ | ( ) icp._.c:308:11: note: use '==' to turn this assignment into an equality comparison 308 | if( env = getenv("PARASERV") ) | ^ | == icp._.c:318:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 318 | if( env = getenv("NOICP_DOMAIN") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ icp._.c:318:10: note: place parentheses around the assignment to silence this warning 318 | if( env = getenv("NOICP_DOMAIN") ) | ^ | ( ) icp._.c:318:10: note: use '==' to turn this assignment into an equality comparison 318 | if( env = getenv("NOICP_DOMAIN") ) | ^ | == icp._.c:422:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 422 | if( fp = dirfopen("ICP",AVStr(cachepath),"r") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ icp._.c:422:10: note: place parentheses around the assignment to silence this warning 422 | if( fp = dirfopen("ICP",AVStr(cachepath),"r") ){ | ^ | ( ) icp._.c:422:10: note: use '==' to turn this assignment into an equality comparison 422 | if( fp = dirfopen("ICP",AVStr(cachepath),"r") ){ | ^ | == icp._.c:633:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 633 | if( arg = av[++ai] ){ | ~~~~^~~~~~~~~~ icp._.c:633:13: note: place parentheses around the assignment to silence this warning 633 | if( arg = av[++ai] ){ | ^ | ( ) icp._.c:633:13: note: use '==' to turn this assignment into an equality comparison 633 | if( arg = av[++ai] ){ | ^ | == icp._.c:1076:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1076 | if( addr = gethostaddr(icphost1) ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ icp._.c:1076:12: note: place parentheses around the assignment to silence this warning 1076 | if( addr = gethostaddr(icphost1) ) | ^ | ( ) icp._.c:1076:12: note: use '==' to turn this assignment into an equality comparison 1076 | if( addr = gethostaddr(icphost1) ) | ^ | == icp._.c:1087:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1087 | if( addr = gethostaddr(pxhost) ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~ icp._.c:1087:12: note: place parentheses around the assignment to silence this warning 1087 | if( addr = gethostaddr(pxhost) ) | ^ | ( ) icp._.c:1087:12: note: use '==' to turn this assignment into an equality comparison 1087 | if( addr = gethostaddr(pxhost) ) | ^ | == 7 warnings generated. ../mkcpp icap.c icap._.c -- mkcpp set time: 1773311909 -> 1276430216 icap._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c icap._.c -o icap.o ../mkcpp http.c http._.c -- mkcpp set time: 1773311909 -> 1411902324 http._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c http._.c -o http.o http._.c:561:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 561 | if( dp = strstr(UA,"MSIE ") ) | ~~~^~~~~~~~~~~~~~~~~~~~ http._.c:561:9: note: place parentheses around the assignment to silence this warning 561 | if( dp = strstr(UA,"MSIE ") ) | ^ | ( ) http._.c:561:9: note: use '==' to turn this assignment into an equality comparison 561 | if( dp = strstr(UA,"MSIE ") ) | ^ | == http._.c:568:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 568 | if( dp = strstr(UA,"MSIE ") ){ | ~~~^~~~~~~~~~~~~~~~~~~~ http._.c:568:10: note: place parentheses around the assignment to silence this warning 568 | if( dp = strstr(UA,"MSIE ") ){ | ^ | ( ) http._.c:568:10: note: use '==' to turn this assignment into an equality comparison 568 | if( dp = strstr(UA,"MSIE ") ){ | ^ | == http._.c:573:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 573 | if( dp = strstr(UA,"Mozilla/") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~ http._.c:573:10: note: place parentheses around the assignment to silence this warning 573 | if( dp = strstr(UA,"Mozilla/") ){ | ^ | ( ) http._.c:573:10: note: use '==' to turn this assignment into an equality comparison 573 | if( dp = strstr(UA,"Mozilla/") ){ | ^ | == http._.c:582:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 582 | if( dp = strstr(UA,"MSIE ") ) | ~~~^~~~~~~~~~~~~~~~~~~~ http._.c:582:9: note: place parentheses around the assignment to silence this warning 582 | if( dp = strstr(UA,"MSIE ") ) | ^ | ( ) http._.c:582:9: note: use '==' to turn this assignment into an equality comparison 582 | if( dp = strstr(UA,"MSIE ") ) | ^ | == http._.c:586:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 586 | if( dp = strstr(UA,"MSIE ") ) | ~~~^~~~~~~~~~~~~~~~~~~~ http._.c:586:9: note: place parentheses around the assignment to silence this warning 586 | if( dp = strstr(UA,"MSIE ") ) | ^ | ( ) http._.c:586:9: note: use '==' to turn this assignment into an equality comparison 586 | if( dp = strstr(UA,"MSIE ") ) | ^ | == http._.c:591:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 591 | if( dp = strstr(UA,"Mosaic") ) | ~~~^~~~~~~~~~~~~~~~~~~~~ http._.c:591:9: note: place parentheses around the assignment to silence this warning 591 | if( dp = strstr(UA,"Mosaic") ) | ^ | ( ) http._.c:591:9: note: use '==' to turn this assignment into an equality comparison 591 | if( dp = strstr(UA,"Mosaic") ) | ^ | == http._.c:592:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 592 | if( dp = strstr(dp,"/") ) | ~~~^~~~~~~~~~~~~~~~ http._.c:592:9: note: place parentheses around the assignment to silence this warning 592 | if( dp = strstr(dp,"/") ) | ^ | ( ) http._.c:592:9: note: use '==' to turn this assignment into an equality comparison 592 | if( dp = strstr(dp,"/") ) | ^ | == http._.c:602:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 602 | if( dp = strstr(UA,"Mozilla/5.0") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:602:9: note: place parentheses around the assignment to silence this warning 602 | if( dp = strstr(UA,"Mozilla/5.0") ) | ^ | ( ) http._.c:602:9: note: use '==' to turn this assignment into an equality comparison 602 | if( dp = strstr(UA,"Mozilla/5.0") ) | ^ | == http._.c:603:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 603 | if( dp = strstr(dp,"rv:1.7") ) | ~~~^~~~~~~~~~~~~~~~~~~~~ http._.c:603:9: note: place parentheses around the assignment to silence this warning 603 | if( dp = strstr(dp,"rv:1.7") ) | ^ | ( ) http._.c:603:9: note: use '==' to turn this assignment into an equality comparison 603 | if( dp = strstr(dp,"rv:1.7") ) | ^ | == http._.c:609:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 609 | if( dp = strstr(UA,"Lynx") ) | ~~~^~~~~~~~~~~~~~~~~~~ http._.c:609:9: note: place parentheses around the assignment to silence this warning 609 | if( dp = strstr(UA,"Lynx") ) | ^ | ( ) http._.c:609:9: note: use '==' to turn this assignment into an equality comparison 609 | if( dp = strstr(UA,"Lynx") ) | ^ | == http._.c:610:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 610 | if( dp = strstr(dp,"/") ) | ~~~^~~~~~~~~~~~~~~~ http._.c:610:9: note: place parentheses around the assignment to silence this warning 610 | if( dp = strstr(dp,"/") ) | ^ | ( ) http._.c:610:9: note: use '==' to turn this assignment into an equality comparison 610 | if( dp = strstr(dp,"/") ) | ^ | == http._.c:907:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 907 | if( qp = strchr(ourl,'?') ){ | ~~~^~~~~~~~~~~~~~~~~~ http._.c:907:10: note: place parentheses around the assignment to silence this warning 907 | if( qp = strchr(ourl,'?') ){ | ^ | ( ) http._.c:907:10: note: use '==' to turn this assignment into an equality comparison 907 | if( qp = strchr(ourl,'?') ){ | ^ | == http._.c:1290:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1290 | }else | ^ http._.c:1427:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1427 | for( sp = str; ch = *sp; sp++ ){ | ~~~^~~~~ http._.c:1427:20: note: place parentheses around the assignment to silence this warning 1427 | for( sp = str; ch = *sp; sp++ ){ | ^ | ( ) http._.c:1427:20: note: use '==' to turn this assignment into an equality comparison 1427 | for( sp = str; ch = *sp; sp++ ){ | ^ | == http._.c:1666:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1666 | if( fnlen = STRH(line,F_ContType) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ http._.c:1666:13: note: place parentheses around the assignment to silence this warning 1666 | if( fnlen = STRH(line,F_ContType) ) | ^ | ( ) http._.c:1666:13: note: use '==' to turn this assignment into an equality comparison 1666 | if( fnlen = STRH(line,F_ContType) ) | ^ | == http._.c:1669:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1669 | if( fnlen = STRH(line,F_ContLeng) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ http._.c:1669:13: note: place parentheses around the assignment to silence this warning 1669 | if( fnlen = STRH(line,F_ContLeng) ) | ^ | ( ) http._.c:1669:13: note: use '==' to turn this assignment into an equality comparison 1669 | if( fnlen = STRH(line,F_ContLeng) ) | ^ | == http._.c:1672:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1672 | if( fnlen = STRH(line,F_TransEncode) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:1672:13: note: place parentheses around the assignment to silence this warning 1672 | if( fnlen = STRH(line,F_TransEncode) ){ | ^ | ( ) http._.c:1672:13: note: use '==' to turn this assignment into an equality comparison 1672 | if( fnlen = STRH(line,F_TransEncode) ){ | ^ | == http._.c:1678:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1678 | if( fnlen = STRH(line,F_ContEncode) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:1678:13: note: place parentheses around the assignment to silence this warning 1678 | if( fnlen = STRH(line,F_ContEncode) ){ | ^ | ( ) http._.c:1678:13: note: use '==' to turn this assignment into an equality comparison 1678 | if( fnlen = STRH(line,F_ContEncode) ){ | ^ | == http._.c:1683:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1683 | if( fnlen = STRH(line,F_AccEncodeX) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:1683:13: note: place parentheses around the assignment to silence this warning 1683 | if( fnlen = STRH(line,F_AccEncodeX) ){ | ^ | ( ) http._.c:1683:13: note: use '==' to turn this assignment into an equality comparison 1683 | if( fnlen = STRH(line,F_AccEncodeX) ){ | ^ | == http._.c:1687:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1687 | if( fnlen = STRH(line,F_ContMD5) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ http._.c:1687:13: note: place parentheses around the assignment to silence this warning 1687 | if( fnlen = STRH(line,F_ContMD5) ){ | ^ | ( ) http._.c:1687:13: note: use '==' to turn this assignment into an equality comparison 1687 | if( fnlen = STRH(line,F_ContMD5) ){ | ^ | == http._.c:1739:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1739 | if( zip = Gzip(AVStr(cencode),in) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:1739:13: note: place parentheses around the assignment to silence this warning 1739 | if( zip = Gzip(AVStr(cencode),in) ){ | ^ | ( ) http._.c:1739:13: note: use '==' to turn this assignment into an equality comparison 1739 | if( zip = Gzip(AVStr(cencode),in) ){ | ^ | == http._.c:1759:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1759 | if( fnlen = STRH(line,F_ContMD5) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ http._.c:1759:13: note: place parentheses around the assignment to silence this warning 1759 | if( fnlen = STRH(line,F_ContMD5) ){ | ^ | ( ) http._.c:1759:13: note: use '==' to turn this assignment into an equality comparison 1759 | if( fnlen = STRH(line,F_ContMD5) ){ | ^ | == http._.c:1817:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1817 | if( fnlen = STRH(line,F_ContType) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ http._.c:1817:13: note: place parentheses around the assignment to silence this warning 1817 | if( fnlen = STRH(line,F_ContType) ){ | ^ | ( ) http._.c:1817:13: note: use '==' to turn this assignment into an equality comparison 1817 | if( fnlen = STRH(line,F_ContType) ){ | ^ | == http._.c:1821:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1821 | if( fnlen = STRH(line,F_ContLeng) ) continue; | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ http._.c:1821:13: note: place parentheses around the assignment to silence this warning 1821 | if( fnlen = STRH(line,F_ContLeng) ) continue; | ^ | ( ) http._.c:1821:13: note: use '==' to turn this assignment into an equality comparison 1821 | if( fnlen = STRH(line,F_ContLeng) ) continue; | ^ | == http._.c:1822:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1822 | if( fnlen = STRH(line,F_AccEncodeX) ) continue; | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:1822:13: note: place parentheses around the assignment to silence this warning 1822 | if( fnlen = STRH(line,F_AccEncodeX) ) continue; | ^ | ( ) http._.c:1822:13: note: use '==' to turn this assignment into an equality comparison 1822 | if( fnlen = STRH(line,F_AccEncodeX) ) continue; | ^ | == http._.c:1932:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1932 | if( rdy = exceptionReady(ClientSock) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:1932:10: note: place parentheses around the assignment to silence this warning 1932 | if( rdy = exceptionReady(ClientSock) ){ | ^ | ( ) http._.c:1932:10: note: use '==' to turn this assignment into an equality comparison 1932 | if( rdy = exceptionReady(ClientSock) ){ | ^ | == http._.c:1974:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1974 | if( xencbody = threadGzip(Conn,RX,tc) ){ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ http._.c:1974:16: note: place parentheses around the assignment to silence this warning 1974 | if( xencbody = threadGzip(Conn,RX,tc) ){ | ^ | ( ) http._.c:1974:16: note: use '==' to turn this assignment into an equality comparison 1974 | if( xencbody = threadGzip(Conn,RX,tc) ){ | ^ | == http._.c:1968:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1968 | }else | ^ http._.c:2006:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2006 | if( fnlen = STRH(field,F_ContType) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ http._.c:2006:13: note: place parentheses around the assignment to silence this warning 2006 | if( fnlen = STRH(field,F_ContType) ){ | ^ | ( ) http._.c:2006:13: note: use '==' to turn this assignment into an equality comparison 2006 | if( fnlen = STRH(field,F_ContType) ){ | ^ | == http._.c:2094:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2094 | if( fnlen = STRH(line,F_ContEncode) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:2094:12: note: place parentheses around the assignment to silence this warning 2094 | if( fnlen = STRH(line,F_ContEncode) ) | ^ | ( ) http._.c:2094:12: note: use '==' to turn this assignment into an equality comparison 2094 | if( fnlen = STRH(line,F_ContEncode) ) | ^ | == http._.c:2100:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2100 | if( fnlen = STRH(line,F_ContLeng) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ http._.c:2100:12: note: place parentheses around the assignment to silence this warning 2100 | if( fnlen = STRH(line,F_ContLeng) ) | ^ | ( ) http._.c:2100:12: note: use '==' to turn this assignment into an equality comparison 2100 | if( fnlen = STRH(line,F_ContLeng) ) | ^ | == http._.c:2104:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2104 | if( fnlen = STRH(line,F_ContLeng) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ http._.c:2104:13: note: place parentheses around the assignment to silence this warning 2104 | if( fnlen = STRH(line,F_ContLeng) ){ | ^ | ( ) http._.c:2104:13: note: use '==' to turn this assignment into an equality comparison 2104 | if( fnlen = STRH(line,F_ContLeng) ){ | ^ | == http._.c:2117:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2117 | if( fnlen = STRH(line,F_ContRange) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ http._.c:2117:12: note: place parentheses around the assignment to silence this warning 2117 | if( fnlen = STRH(line,F_ContRange) ){ | ^ | ( ) http._.c:2117:12: note: use '==' to turn this assignment into an equality comparison 2117 | if( fnlen = STRH(line,F_ContRange) ){ | ^ | == http._.c:2120:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2120 | if( fnlen = STRH(line,F_LastMod) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ http._.c:2120:12: note: place parentheses around the assignment to silence this warning 2120 | if( fnlen = STRH(line,F_LastMod) ){ | ^ | ( ) http._.c:2120:12: note: use '==' to turn this assignment into an equality comparison 2120 | if( fnlen = STRH(line,F_LastMod) ){ | ^ | == http._.c:2124:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2124 | if( fnlen = STRH(line,F_ContType) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ http._.c:2124:12: note: place parentheses around the assignment to silence this warning 2124 | if( fnlen = STRH(line,F_ContType) ){ | ^ | ( ) http._.c:2124:12: note: use '==' to turn this assignment into an equality comparison 2124 | if( fnlen = STRH(line,F_ContType) ){ | ^ | == http._.c:2128:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2128 | if( pp = strchr(RX_ctype,';') ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ http._.c:2128:10: note: place parentheses around the assignment to silence this warning 2128 | if( pp = strchr(RX_ctype,';') ) | ^ | ( ) http._.c:2128:10: note: use '==' to turn this assignment into an equality comparison 2128 | if( pp = strchr(RX_ctype,';') ) | ^ | == http._.c:2130:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2130 | if( cp = strstr(pp+1,"charset=") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:2130:14: note: place parentheses around the assignment to silence this warning 2130 | if( cp = strstr(pp+1,"charset=") ) | ^ | ( ) http._.c:2130:14: note: use '==' to turn this assignment into an equality comparison 2130 | if( cp = strstr(pp+1,"charset=") ) | ^ | == http._.c:2168:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2168 | if( fnlen = STRH(line,F_Server) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ http._.c:2168:12: note: place parentheses around the assignment to silence this warning 2168 | if( fnlen = STRH(line,F_Server) ){ | ^ | ( ) http._.c:2168:12: note: use '==' to turn this assignment into an equality comparison 2168 | if( fnlen = STRH(line,F_Server) ){ | ^ | == http._.c:2175:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2175 | if( fnlen = STRH(line,F_Pragma) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ http._.c:2175:12: note: place parentheses around the assignment to silence this warning 2175 | if( fnlen = STRH(line,F_Pragma) ){ | ^ | ( ) http._.c:2175:12: note: use '==' to turn this assignment into an equality comparison 2175 | if( fnlen = STRH(line,F_Pragma) ){ | ^ | == http._.c:2179:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2179 | if( fnlen = STRH(line,F_CacheControl) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:2179:12: note: place parentheses around the assignment to silence this warning 2179 | if( fnlen = STRH(line,F_CacheControl) ){ | ^ | ( ) http._.c:2179:12: note: use '==' to turn this assignment into an equality comparison 2179 | if( fnlen = STRH(line,F_CacheControl) ){ | ^ | == http._.c:2200:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2200 | if( ovia = findFieldValue(fields,"Via") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:2200:11: note: place parentheses around the assignment to silence this warning 2200 | if( ovia = findFieldValue(fields,"Via") ){ | ^ | ( ) http._.c:2200:11: note: use '==' to turn this assignment into an equality comparison 2200 | if( ovia = findFieldValue(fields,"Via") ){ | ^ | == http._.c:2202:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2202 | if( ovia = strpbrk(ovia,"\r\n") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ http._.c:2202:13: note: place parentheses around the assignment to silence this warning 2202 | if( ovia = strpbrk(ovia,"\r\n") ){ | ^ | ( ) http._.c:2202:13: note: use '==' to turn this assignment into an equality comparison 2202 | if( ovia = strpbrk(ovia,"\r\n") ){ | ^ | == http._.c:2204:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2204 | if( nvia = findFieldValue(ovia,"Via") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:2204:14: note: place parentheses around the assignment to silence this warning 2204 | if( nvia = findFieldValue(ovia,"Via") ){ | ^ | ( ) http._.c:2204:14: note: use '==' to turn this assignment into an equality comparison 2204 | if( nvia = findFieldValue(ovia,"Via") ){ | ^ | == http._.c:2244:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2244 | }else | ^ http._.c:2319:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2319 | for( sp = str; ch = *sp; sp++ ){ | ~~~^~~~~ http._.c:2319:20: note: place parentheses around the assignment to silence this warning 2319 | for( sp = str; ch = *sp; sp++ ){ | ^ | ( ) http._.c:2319:20: note: use '==' to turn this assignment into an equality comparison 2319 | for( sp = str; ch = *sp; sp++ ){ | ^ | == http._.c:2360:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2360 | if( rp = strchr(head,'?') ){ | ~~~^~~~~~~~~~~~~~~~~~ http._.c:2360:10: note: place parentheses around the assignment to silence this warning 2360 | if( rp = strchr(head,'?') ){ | ^ | ( ) http._.c:2360:10: note: use '==' to turn this assignment into an equality comparison 2360 | if( rp = strchr(head,'?') ){ | ^ | == http._.c:2363:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2363 | if( ctype = filename2ctype(head) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ http._.c:2363:13: note: place parentheses around the assignment to silence this warning 2363 | if( ctype = filename2ctype(head) ){ | ^ | ( ) http._.c:2363:13: note: use '==' to turn this assignment into an equality comparison 2363 | if( ctype = filename2ctype(head) ){ | ^ | == http._.c:2442:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2442 | }else | ^ http._.c:2449:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2449 | }else | ^ http._.c:2731:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2731 | if( xcharset = HTTP_outCharset(Conn) ) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ http._.c:2731:16: note: place parentheses around the assignment to silence this warning 2731 | if( xcharset = HTTP_outCharset(Conn) ) | ^ | ( ) http._.c:2731:16: note: use '==' to turn this assignment into an equality comparison 2731 | if( xcharset = HTTP_outCharset(Conn) ) | ^ | == http._.c:2773:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2773 | if( fnlen = STRH(field,F_ContEncode) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:2773:13: note: place parentheses around the assignment to silence this warning 2773 | if( fnlen = STRH(field,F_ContEncode) ){ | ^ | ( ) http._.c:2773:13: note: use '==' to turn this assignment into an equality comparison 2773 | if( fnlen = STRH(field,F_ContEncode) ){ | ^ | == http._.c:2780:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2780 | if( fnlen = STRH(field,F_Vary) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~ http._.c:2780:13: note: place parentheses around the assignment to silence this warning 2780 | if( fnlen = STRH(field,F_Vary) ){ | ^ | ( ) http._.c:2780:13: note: use '==' to turn this assignment into an equality comparison 2780 | if( fnlen = STRH(field,F_Vary) ){ | ^ | == http._.c:2809:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2809 | if( dp = strchr(line,';') ){ | ~~~^~~~~~~~~~~~~~~~~~ http._.c:2809:10: note: place parentheses around the assignment to silence this warning 2809 | if( dp = strchr(line,';') ){ | ^ | ( ) http._.c:2809:10: note: use '==' to turn this assignment into an equality comparison 2809 | if( dp = strchr(line,';') ){ | ^ | == http._.c:2826:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2826 | if( fnlen = STRH(line,F_ContType) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ http._.c:2826:12: note: place parentheses around the assignment to silence this warning 2826 | if( fnlen = STRH(line,F_ContType) ){ | ^ | ( ) http._.c:2826:12: note: use '==' to turn this assignment into an equality comparison 2826 | if( fnlen = STRH(line,F_ContType) ){ | ^ | == http._.c:2845:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2845 | }else | ^ http._.c:2855:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2855 | }else{ | ^ http._.c:2859:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2859 | if( fnlen = STRH(line,F_ContLeng) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ http._.c:2859:12: note: place parentheses around the assignment to silence this warning 2859 | if( fnlen = STRH(line,F_ContLeng) ){ | ^ | ( ) http._.c:2859:12: note: use '==' to turn this assignment into an equality comparison 2859 | if( fnlen = STRH(line,F_ContLeng) ){ | ^ | == http._.c:2889:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2889 | if( fnlen = STRH(line,F_PAuthenticate) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:2889:12: note: place parentheses around the assignment to silence this warning 2889 | if( fnlen = STRH(line,F_PAuthenticate) ){ | ^ | ( ) http._.c:2889:12: note: use '==' to turn this assignment into an equality comparison 2889 | if( fnlen = STRH(line,F_PAuthenticate) ){ | ^ | == http._.c:2904:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2904 | if( fnlen = STRH(line,F_Authenticate) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:2904:12: note: place parentheses around the assignment to silence this warning 2904 | if( fnlen = STRH(line,F_Authenticate) ){ | ^ | ( ) http._.c:2904:12: note: use '==' to turn this assignment into an equality comparison 2904 | if( fnlen = STRH(line,F_Authenticate) ){ | ^ | == http._.c:2920:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2920 | if( fnlen = STRH(line,F_SetCookie) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ http._.c:2920:12: note: place parentheses around the assignment to silence this warning 2920 | if( fnlen = STRH(line,F_SetCookie) ){ | ^ | ( ) http._.c:2920:12: note: use '==' to turn this assignment into an equality comparison 2920 | if( fnlen = STRH(line,F_SetCookie) ){ | ^ | == http._.c:2938:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2938 | if( fnlen = STRH(line,F_Location) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ http._.c:2938:12: note: place parentheses around the assignment to silence this warning 2938 | if( fnlen = STRH(line,F_Location) ){ | ^ | ( ) http._.c:2938:12: note: use '==' to turn this assignment into an equality comparison 2938 | if( fnlen = STRH(line,F_Location) ){ | ^ | == http._.c:2948:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2948 | }else | ^ http._.c:2960:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2960 | if( fnlen = STRH(line,F_KeepAlive) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ http._.c:2960:12: note: place parentheses around the assignment to silence this warning 2960 | if( fnlen = STRH(line,F_KeepAlive) ){ | ^ | ( ) http._.c:2960:12: note: use '==' to turn this assignment into an equality comparison 2960 | if( fnlen = STRH(line,F_KeepAlive) ){ | ^ | == http._.c:2964:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2964 | if( fnlen = STRH(line,F_Upgrade) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ http._.c:2964:12: note: place parentheses around the assignment to silence this warning 2964 | if( fnlen = STRH(line,F_Upgrade) ){ | ^ | ( ) http._.c:2964:12: note: use '==' to turn this assignment into an equality comparison 2964 | if( fnlen = STRH(line,F_Upgrade) ){ | ^ | == http._.c:2967:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2967 | if( fnlen = STRH_Connection(line) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ http._.c:2967:12: note: place parentheses around the assignment to silence this warning 2967 | if( fnlen = STRH_Connection(line) ){ | ^ | ( ) http._.c:2967:12: note: use '==' to turn this assignment into an equality comparison 2967 | if( fnlen = STRH_Connection(line) ){ | ^ | == http._.c:2971:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2971 | if( fnlen = STRH(line,F_TransEncode) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:2971:12: note: place parentheses around the assignment to silence this warning 2971 | if( fnlen = STRH(line,F_TransEncode) ){ | ^ | ( ) http._.c:2971:12: note: use '==' to turn this assignment into an equality comparison 2971 | if( fnlen = STRH(line,F_TransEncode) ){ | ^ | == http._.c:2979:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2979 | if( fnlen = STRH(line,F_ContMD5) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ http._.c:2979:12: note: place parentheses around the assignment to silence this warning 2979 | if( fnlen = STRH(line,F_ContMD5) ){ | ^ | ( ) http._.c:2979:12: note: use '==' to turn this assignment into an equality comparison 2979 | if( fnlen = STRH(line,F_ContMD5) ){ | ^ | == http._.c:3028:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3028 | if( fnlen = STRH(line,F_Expires) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ http._.c:3028:12: note: place parentheses around the assignment to silence this warning 3028 | if( fnlen = STRH(line,F_Expires) ){ | ^ | ( ) http._.c:3028:12: note: use '==' to turn this assignment into an equality comparison 3028 | if( fnlen = STRH(line,F_Expires) ){ | ^ | == http._.c:3031:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3031 | if( fnlen = STRH(line,"Via:") ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~ http._.c:3031:12: note: place parentheses around the assignment to silence this warning 3031 | if( fnlen = STRH(line,"Via:") ){ | ^ | ( ) http._.c:3031:12: note: use '==' to turn this assignment into an equality comparison 3031 | if( fnlen = STRH(line,"Via:") ){ | ^ | == http._.c:3071:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3071 | if( rcc = fgetBuffered(AVStr(buff),RX_remsize,RX_fsp) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:3071:10: note: place parentheses around the assignment to silence this warning 3071 | if( rcc = fgetBuffered(AVStr(buff),RX_remsize,RX_fsp) ){ | ^ | ( ) http._.c:3071:10: note: use '==' to turn this assignment into an equality comparison 3071 | 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] 3616 | if( op = strstr(old,"CL=") ) | ~~~^~~~~~~~~~~~~~~~~~~ http._.c:3616:11: note: place parentheses around the assignment to silence this warning 3616 | if( op = strstr(old,"CL=") ) | ^ | ( ) http._.c:3616:11: note: use '==' to turn this assignment into an equality comparison 3616 | if( op = strstr(old,"CL=") ) | ^ | == http._.c:3619:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3619 | if( op = strstr(old,"MT=") ) | ~~~^~~~~~~~~~~~~~~~~~~ http._.c:3619:11: note: place parentheses around the assignment to silence this warning 3619 | if( op = strstr(old,"MT=") ) | ^ | ( ) http._.c:3619:11: note: use '==' to turn this assignment into an equality comparison 3619 | if( op = strstr(old,"MT=") ) | ^ | == http._.c:3742:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3742 | if( acc = isinListX(rvers,ver,"h") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:3742:11: note: place parentheses around the assignment to silence this warning 3742 | if( acc = isinListX(rvers,ver,"h") ){ | ^ | ( ) http._.c:3742:11: note: use '==' to turn this assignment into an equality comparison 3742 | if( acc = isinListX(rvers,ver,"h") ){ | ^ | == http._.c:4374:16: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] 4374 | int IsSolaris(); | ^~ http._.c:4374:16: note: replace parentheses with an initializer to declare a variable 4374 | int IsSolaris(); | ^~ | = 0 http._.c:4732:21: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] 4732 | setVStrElem(stat,0,255); | ~~~~~~~~~~~~~~~~~~~^~~~ ../include/ystring.h:185:63: note: expanded from macro 'setVStrElem' 185 | #define setVStrElem(p,x,v) (rangeOK(p,x))?(((char*)p)[x] = v):XsetVStrEnd(AVStr(p),x) | ~ ^ http._.c:4801:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4801 | if( ofp = threadGzip(Conn,RX,RX_tc_sav) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:4801:12: note: place parentheses around the assignment to silence this warning 4801 | if( ofp = threadGzip(Conn,RX,RX_tc_sav) ){ | ^ | ( ) http._.c:4801:12: note: use '==' to turn this assignment into an equality comparison 4801 | 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] 4962 | if( hx = strSeekEOH(head) ){ | ~~~^~~~~~~~~~~~~~~~~~ http._.c:4962:9: note: place parentheses around the assignment to silence this warning 4962 | if( hx = strSeekEOH(head) ){ | ^ | ( ) http._.c:4962:9: note: use '==' to turn this assignment into an equality comparison 4962 | if( hx = strSeekEOH(head) ){ | ^ | == http._.c:5323:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5323 | if( val = findFieldValue(rhead,"Content-Type") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:5323:12: note: place parentheses around the assignment to silence this warning 5323 | if( val = findFieldValue(rhead,"Content-Type") ){ | ^ | ( ) http._.c:5323:12: note: use '==' to turn this assignment into an equality comparison 5323 | if( val = findFieldValue(rhead,"Content-Type") ){ | ^ | == http._.c:5351:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5351 | if( val = findFieldValue(rhead,"Content-Encoding") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:5351:12: note: place parentheses around the assignment to silence this warning 5351 | if( val = findFieldValue(rhead,"Content-Encoding") ){ | ^ | ( ) http._.c:5351:12: note: use '==' to turn this assignment into an equality comparison 5351 | if( val = findFieldValue(rhead,"Content-Encoding") ){ | ^ | == http._.c:5361:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5361 | if( val = findFieldValue(rhead,"Content-Length") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:5361:12: note: place parentheses around the assignment to silence this warning 5361 | if( val = findFieldValue(rhead,"Content-Length") ){ | ^ | ( ) http._.c:5361:12: note: use '==' to turn this assignment into an equality comparison 5361 | if( val = findFieldValue(rhead,"Content-Length") ){ | ^ | == http._.c:5371:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5371 | if( val = findFieldValue(rhead,"X-Pragma") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:5371:12: note: place parentheses around the assignment to silence this warning 5371 | if( val = findFieldValue(rhead,"X-Pragma") ){ | ^ | ( ) http._.c:5371:12: note: use '==' to turn this assignment into an equality comparison 5371 | if( val = findFieldValue(rhead,"X-Pragma") ){ | ^ | == http._.c:5377:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5377 | if( val = findFieldValue(rhead,"Proxy-Authenticate") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:5377:12: note: place parentheses around the assignment to silence this warning 5377 | if( val = findFieldValue(rhead,"Proxy-Authenticate") ){ | ^ | ( ) http._.c:5377:12: note: use '==' to turn this assignment into an equality comparison 5377 | if( val = findFieldValue(rhead,"Proxy-Authenticate") ){ | ^ | == http._.c:5382:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5382 | if( val = findFieldValue(rhead,"WWW-Authenticate") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:5382:12: note: place parentheses around the assignment to silence this warning 5382 | if( val = findFieldValue(rhead,"WWW-Authenticate") ){ | ^ | ( ) http._.c:5382:12: note: use '==' to turn this assignment into an equality comparison 5382 | if( val = findFieldValue(rhead,"WWW-Authenticate") ){ | ^ | == http._.c:5548:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5548 | while( got1 = GETRESPTXT(Conn,RX,fromcache) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:5548:16: note: place parentheses around the assignment to silence this warning 5548 | while( got1 = GETRESPTXT(Conn,RX,fromcache) ){ | ^ | ( ) http._.c:5548:16: note: use '==' to turn this assignment into an equality comparison 5548 | while( got1 = GETRESPTXT(Conn,RX,fromcache) ){ | ^ | == http._.c:5695:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 5695 | }else | ^ http._.c:5890:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5890 | if( fnlen = STRH_Connection(line) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ http._.c:5890:15: note: place parentheses around the assignment to silence this warning 5890 | if( fnlen = STRH_Connection(line) ){ | ^ | ( ) http._.c:5890:15: note: use '==' to turn this assignment into an equality comparison 5890 | if( fnlen = STRH_Connection(line) ){ | ^ | == http._.c:5960:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5960 | if( dp = strstr(line,"303") ) | ~~~^~~~~~~~~~~~~~~~~~~~ http._.c:5960:12: note: place parentheses around the assignment to silence this warning 5960 | if( dp = strstr(line,"303") ) | ^ | ( ) http._.c:5960:12: note: use '==' to turn this assignment into an equality comparison 5960 | if( dp = strstr(line,"303") ) | ^ | == http._.c:6018:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6018 | if( dp = strstr(line,"407") ) | ~~~^~~~~~~~~~~~~~~~~~~~ http._.c:6018:11: note: place parentheses around the assignment to silence this warning 6018 | if( dp = strstr(line,"407") ) | ^ | ( ) http._.c:6018:11: note: use '==' to turn this assignment into an equality comparison 6018 | if( dp = strstr(line,"407") ) | ^ | == http._.c:6041:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 6041 | }else{ | ^ http._.c:6064:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 6064 | }else | ^ http._.c:6420:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6420 | for( sp = line; ch = *sp; sp++ ){ | ~~~^~~~~ http._.c:6420:26: note: place parentheses around the assignment to silence this warning 6420 | for( sp = line; ch = *sp; sp++ ){ | ^ | ( ) http._.c:6420:26: note: use '==' to turn this assignment into an equality comparison 6420 | for( sp = line; ch = *sp; sp++ ){ | ^ | == http._.c:6671:24: warning: '/*' within block comment [-Wcomment] 6671 | /* 9.9.3 maybe image/* in gzip */ | ^ http._.c:6677:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 6677 | }else | ^ http._.c:6701:10: warning: left operand of comma operator has no effect [-Wunused-value] 6701 | 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] 7106 | for( sp = req; sc = *sp; sp++ ){ | ~~~^~~~~ http._.c:7106:20: note: place parentheses around the assignment to silence this warning 7106 | for( sp = req; sc = *sp; sp++ ){ | ^ | ( ) http._.c:7106:20: note: use '==' to turn this assignment into an equality comparison 7106 | for( sp = req; sc = *sp; sp++ ){ | ^ | == http._.c:7150:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 7150 | for( hp = bp; ch = *hp; hp++ ) | ~~~^~~~~ http._.c:7150:21: note: place parentheses around the assignment to silence this warning 7150 | for( hp = bp; ch = *hp; hp++ ) | ^ | ( ) http._.c:7150:21: note: use '==' to turn this assignment into an equality comparison 7150 | for( hp = bp; ch = *hp; hp++ ) | ^ | == http._.c:7198:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 7198 | for( hp = head; ch = *hp; hp++ ){ | ~~~^~~~~ http._.c:7198:21: note: place parentheses around the assignment to silence this warning 7198 | for( hp = head; ch = *hp; hp++ ){ | ^ | ( ) http._.c:7198:21: note: use '==' to turn this assignment into an equality comparison 7198 | for( hp = head; ch = *hp; hp++ ){ | ^ | == http._.c:7240:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 7240 | for( hp = head; ch = *hp; hp++ ){ | ~~~^~~~~ http._.c:7240:23: note: place parentheses around the assignment to silence this warning 7240 | for( hp = head; ch = *hp; hp++ ){ | ^ | ( ) http._.c:7240:23: note: use '==' to turn this assignment into an equality comparison 7240 | for( hp = head; ch = *hp; hp++ ){ | ^ | == http._.c:7269:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 7269 | while( ch = *++hp ) | ~~~^~~~~~~ http._.c:7269:13: note: place parentheses around the assignment to silence this warning 7269 | while( ch = *++hp ) | ^ | ( ) http._.c:7269:13: note: use '==' to turn this assignment into an equality comparison 7269 | while( ch = *++hp ) | ^ | == http._.c:7303:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 7303 | if( up = strchr(request,' ') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ http._.c:7303:9: note: place parentheses around the assignment to silence this warning 7303 | if( up = strchr(request,' ') ){ | ^ | ( ) http._.c:7303:9: note: use '==' to turn this assignment into an equality comparison 7303 | if( up = strchr(request,' ') ){ | ^ | == http._.c:7315:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 7315 | for( hp = hostport; hc = *hp; hp++ ){ | ~~~^~~~~ http._.c:7315:25: note: place parentheses around the assignment to silence this warning 7315 | for( hp = hostport; hc = *hp; hp++ ){ | ^ | ( ) http._.c:7315:25: note: use '==' to turn this assignment into an equality comparison 7315 | for( hp = hostport; hc = *hp; hp++ ){ | ^ | == http._.c:8173:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 8173 | if( fnlen = STRH(req,F_Upgrade) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ http._.c:8173:13: note: place parentheses around the assignment to silence this warning 8173 | if( fnlen = STRH(req,F_Upgrade) ){ | ^ | ( ) http._.c:8173:13: note: use '==' to turn this assignment into an equality comparison 8173 | if( fnlen = STRH(req,F_Upgrade) ){ | ^ | == http._.c:8187:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 8187 | if( fnlen = STRH(req,F_ContType) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ http._.c:8187:13: note: place parentheses around the assignment to silence this warning 8187 | if( fnlen = STRH(req,F_ContType) ){ | ^ | ( ) http._.c:8187:13: note: use '==' to turn this assignment into an equality comparison 8187 | if( fnlen = STRH(req,F_ContType) ){ | ^ | == http._.c:8191:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 8191 | if( fnlen = STRH(req,F_ContLeng) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ http._.c:8191:13: note: place parentheses around the assignment to silence this warning 8191 | if( fnlen = STRH(req,F_ContLeng) ){ | ^ | ( ) http._.c:8191:13: note: use '==' to turn this assignment into an equality comparison 8191 | if( fnlen = STRH(req,F_ContLeng) ){ | ^ | == http._.c:8203:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 8203 | if( fnlen = STRH(req,F_AccEncode) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ http._.c:8203:13: note: place parentheses around the assignment to silence this warning 8203 | if( fnlen = STRH(req,F_AccEncode) ){ | ^ | ( ) http._.c:8203:13: note: use '==' to turn this assignment into an equality comparison 8203 | if( fnlen = STRH(req,F_AccEncode) ){ | ^ | == http._.c:8326:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 8326 | if( fnlen = STRH(req,F_CacheControl) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:8326:13: note: place parentheses around the assignment to silence this warning 8326 | if( fnlen = STRH(req,F_CacheControl) ){ | ^ | ( ) http._.c:8326:13: note: use '==' to turn this assignment into an equality comparison 8326 | if( fnlen = STRH(req,F_CacheControl) ){ | ^ | == http._.c:8482:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 8482 | while( rcc = fgetBuffered(AVStr(buf),sizeof(buf),in) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:8482:13: note: place parentheses around the assignment to silence this warning 8482 | while( rcc = fgetBuffered(AVStr(buf),sizeof(buf),in) ){ | ^ | ( ) http._.c:8482:13: note: use '==' to turn this assignment into an equality comparison 8482 | 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] 8520 | if( auth = findFieldValue(REQ_FIELDS,"Authorization") ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:8520:11: note: place parentheses around the assignment to silence this warning 8520 | if( auth = findFieldValue(REQ_FIELDS,"Authorization") ) | ^ | ( ) http._.c:8520:11: note: use '==' to turn this assignment into an equality comparison 8520 | if( auth = findFieldValue(REQ_FIELDS,"Authorization") ) | ^ | == http._.c:8533:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 8533 | if( dp = strpbrk(buf,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~ http._.c:8533:10: note: place parentheses around the assignment to silence this warning 8533 | if( dp = strpbrk(buf,"\r\n") ) | ^ | ( ) http._.c:8533:10: note: use '==' to turn this assignment into an equality comparison 8533 | if( dp = strpbrk(buf,"\r\n") ) | ^ | == http._.c:8555:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 8555 | }else | ^ http._.c:8593:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 8593 | if( ver = strstr(req1," HTTP/1.") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:8593:10: note: place parentheses around the assignment to silence this warning 8593 | if( ver = strstr(req1," HTTP/1.") ) | ^ | ( ) http._.c:8593:10: note: use '==' to turn this assignment into an equality comparison 8593 | if( ver = strstr(req1," HTTP/1.") ) | ^ | == http._.c:8747:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 8747 | if( cpid = Fork("relayRequest") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ http._.c:8747:12: note: place parentheses around the assignment to silence this warning 8747 | if( cpid = Fork("relayRequest") ){ | ^ | ( ) http._.c:8747:12: note: use '==' to turn this assignment into an equality comparison 8747 | if( cpid = Fork("relayRequest") ){ | ^ | == http._.c:8960:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 8960 | }else DO_DELEGATE = 1; | ^ http._.c:8985:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 8985 | }else{ | ^ http._.c:9066:3: warning: '/*' within block comment [-Wcomment] 9066 | /* fclose(tc); */ | ^ http._.c:9095:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 9095 | if( dp = strchr(REQ,' ') ) | ~~~^~~~~~~~~~~~~~~~~ http._.c:9095:9: note: place parentheses around the assignment to silence this warning 9095 | if( dp = strchr(REQ,' ') ) | ^ | ( ) http._.c:9095:9: note: use '==' to turn this assignment into an equality comparison 9095 | if( dp = strchr(REQ,' ') ) | ^ | == http._.c:9097:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 9097 | if( dp = strchr(OREQ_MSG,' ') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ http._.c:9097:9: note: place parentheses around the assignment to silence this warning 9097 | if( dp = strchr(OREQ_MSG,' ') ){ | ^ | ( ) http._.c:9097:9: note: use '==' to turn this assignment into an equality comparison 9097 | if( dp = strchr(OREQ_MSG,' ') ){ | ^ | == http._.c:9195:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 9195 | if( cachefp = cache_fopen_rd("HTTP",AVStr(cpath),expire,&cdate) ) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:9195:14: note: place parentheses around the assignment to silence this warning 9195 | if( cachefp = cache_fopen_rd("HTTP",AVStr(cpath),expire,&cdate) ) | ^ | ( ) http._.c:9195:14: note: use '==' to turn this assignment into an equality comparison 9195 | if( cachefp = cache_fopen_rd("HTTP",AVStr(cpath),expire,&cdate) ) | ^ | == http._.c:9838:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 9838 | if( fnlen = STRH(line,F_PAuthenticate) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:9838:15: note: place parentheses around the assignment to silence this warning 9838 | if( fnlen = STRH(line,F_PAuthenticate) ){ | ^ | ( ) http._.c:9838:15: note: use '==' to turn this assignment into an equality comparison 9838 | if( fnlen = STRH(line,F_PAuthenticate) ){ | ^ | == http._.c:10023:3: warning: '/*' within block comment [-Wcomment] 10023 | /* so the request/response should be rewritten | ^ http._.c:10024:33: warning: '/*' within block comment [-Wcomment] 10024 | * with MOUNT="https://host:80/* http://host/* | ^ http._.c:10024:47: warning: '/*' within block comment [-Wcomment] 10024 | * with MOUNT="https://host:80/* http://host/* | ^ http._.c:10034:15: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] 10034 | int ServSock(); | ^~ http._.c:10034:15: note: replace parentheses with an initializer to declare a variable 10034 | int ServSock(); | ^~ | = 0 http._.c:10218:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 10218 | if( val = findFieldValue(REQ_FIELDS,"Cookie") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:10218:10: note: place parentheses around the assignment to silence this warning 10218 | if( val = findFieldValue(REQ_FIELDS,"Cookie") ){ | ^ | ( ) http._.c:10218:10: note: use '==' to turn this assignment into an equality comparison 10218 | if( val = findFieldValue(REQ_FIELDS,"Cookie") ){ | ^ | == http._.c:10284:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 10284 | 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 10284 | 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 10284 | if( QX_totalc = HttpToMyself(Conn,AVStr(REQ),REQ_FIELDS,fc,tc,&stcode) ){ | ^ | == http._.c:10480:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 10480 | if( dp = strchr(ident.i_user,'@') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:10480:10: note: place parentheses around the assignment to silence this warning 10480 | if( dp = strchr(ident.i_user,'@') ){ | ^ | ( ) http._.c:10480:10: note: use '==' to turn this assignment into an equality comparison 10480 | if( dp = strchr(ident.i_user,'@') ){ | ^ | == http._.c:10499:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 10499 | if( gtype = decomp_gopherURL(Conn,req,AVStr(path)) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:10499:13: note: place parentheses around the assignment to silence this warning 10499 | if( gtype = decomp_gopherURL(Conn,req,AVStr(path)) ){ | ^ | ( ) http._.c:10499:13: note: use '==' to turn this assignment into an equality comparison 10499 | 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] 10570 | 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 10570 | 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 10570 | 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] 10590 | if( dp = strtailstr(ocpath,LOADING) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:10590:9: note: place parentheses around the assignment to silence this warning 10590 | if( dp = strtailstr(ocpath,LOADING) ){ | ^ | ( ) http._.c:10590:9: note: use '==' to turn this assignment into an equality comparison 10590 | if( dp = strtailstr(ocpath,LOADING) ){ | ^ | == http._.c:10631:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 10631 | if( dp = strtailstr(QX_cpath,LOADING) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:10631:9: note: place parentheses around the assignment to silence this warning 10631 | if( dp = strtailstr(QX_cpath,LOADING) ){ | ^ | ( ) http._.c:10631:9: note: use '==' to turn this assignment into an equality comparison 10631 | if( dp = strtailstr(QX_cpath,LOADING) ){ | ^ | == http._.c:10638:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 10638 | 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 10638 | 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 10638 | 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] 10665 | if( dp = strtailstr(cpath,LOADING) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:10665:9: note: place parentheses around the assignment to silence this warning 10665 | if( dp = strtailstr(cpath,LOADING) ) | ^ | ( ) http._.c:10665:9: note: use '==' to turn this assignment into an equality comparison 10665 | if( dp = strtailstr(cpath,LOADING) ) | ^ | == http._.c:10715:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 10715 | if( QX_cachefp = cache_fopen_rw("HTTP",AVStr(xcpath)) ){ | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:10715:17: note: place parentheses around the assignment to silence this warning 10715 | if( QX_cachefp = cache_fopen_rw("HTTP",AVStr(xcpath)) ){ | ^ | ( ) http._.c:10715:17: note: use '==' to turn this assignment into an equality comparison 10715 | 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] 10754 | if( cp = strtailstr(QX_cpath,LOADING) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:10754:9: note: place parentheses around the assignment to silence this warning 10754 | if( cp = strtailstr(QX_cpath,LOADING) ){ | ^ | ( ) http._.c:10754:9: note: use '==' to turn this assignment into an equality comparison 10754 | if( cp = strtailstr(QX_cpath,LOADING) ){ | ^ | == http._.c:10815:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 10815 | if( op = strtailstr(opath,LOADING) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:10815:9: note: place parentheses around the assignment to silence this warning 10815 | if( op = strtailstr(opath,LOADING) ){ | ^ | ( ) http._.c:10815:9: note: use '==' to turn this assignment into an equality comparison 10815 | if( op = strtailstr(opath,LOADING) ){ | ^ | == http._.c:10820:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 10820 | if( fp = dirfopen("HTTPcache",AVStr(opath),"w") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:10820:11: note: place parentheses around the assignment to silence this warning 10820 | if( fp = dirfopen("HTTPcache",AVStr(opath),"w") ){ | ^ | ( ) http._.c:10820:11: note: use '==' to turn this assignment into an equality comparison 10820 | if( fp = dirfopen("HTTPcache",AVStr(opath),"w") ){ | ^ | == http._.c:10828:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 10828 | if( fp = fopen(opath,"r") ){ | ~~~^~~~~~~~~~~~~~~~~~ http._.c:10828:11: note: place parentheses around the assignment to silence this warning 10828 | if( fp = fopen(opath,"r") ){ | ^ | ( ) http._.c:10828:11: note: use '==' to turn this assignment into an equality comparison 10828 | if( fp = fopen(opath,"r") ){ | ^ | == http._.c:11039:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 11039 | if( dp = strtailstr(QX_cpath,LOADING) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:11039:9: note: place parentheses around the assignment to silence this warning 11039 | if( dp = strtailstr(QX_cpath,LOADING) ){ | ^ | ( ) http._.c:11039:9: note: use '==' to turn this assignment into an equality comparison 11039 | if( dp = strtailstr(QX_cpath,LOADING) ){ | ^ | == http._.c:11053:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 11053 | 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 11053 | 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 11053 | 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] 11168 | }else{ | ^ http._.c:11478:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 11478 | if( bp = strSeekEOHX(OREQ_MSG,OREQ_LEN) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:11478:10: note: place parentheses around the assignment to silence this warning 11478 | if( bp = strSeekEOHX(OREQ_MSG,OREQ_LEN) ){ | ^ | ( ) http._.c:11478:10: note: use '==' to turn this assignment into an equality comparison 11478 | if( bp = strSeekEOHX(OREQ_MSG,OREQ_LEN) ){ | ^ | == http._.c:11998:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 11998 | }else | ^ http._.c:12034:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 12034 | }else | ^ http._.c:12046:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 12046 | }else | ^ http._.c:12067:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 12067 | if( QX_upath = strchr(REQ,'/') ) | ~~~~~~~~~^~~~~~~~~~~~~~~~~ http._.c:12067:15: note: place parentheses around the assignment to silence this warning 12067 | if( QX_upath = strchr(REQ,'/') ) | ^ | ( ) http._.c:12067:15: note: use '==' to turn this assignment into an equality comparison 12067 | if( QX_upath = strchr(REQ,'/') ) | ^ | == http._.c:12142:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 12142 | if( Conn->sv_reusing = getServ(Conn) ) /* FromS is set ... */ | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ http._.c:12142:24: note: place parentheses around the assignment to silence this warning 12142 | if( Conn->sv_reusing = getServ(Conn) ) /* FromS is set ... */ | ^ | ( ) http._.c:12142:24: note: use '==' to turn this assignment into an equality comparison 12142 | if( Conn->sv_reusing = getServ(Conn) ) /* FromS is set ... */ | ^ | == http._.c:12169:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 12169 | }else | ^ http._.c:12569:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 12569 | if( fvp = findFieldValue(head,"Authorization") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:12569:10: note: place parentheses around the assignment to silence this warning 12569 | if( fvp = findFieldValue(head,"Authorization") ){ | ^ | ( ) http._.c:12569:10: note: use '==' to turn this assignment into an equality comparison 12569 | if( fvp = findFieldValue(head,"Authorization") ){ | ^ | == http._.c:12676:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 12676 | if( fvp = findFieldValue(OREQ_MSG,qfname) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:12676:10: note: place parentheses around the assignment to silence this warning 12676 | if( fvp = findFieldValue(OREQ_MSG,qfname) ){ | ^ | ( ) http._.c:12676:10: note: use '==' to turn this assignment into an equality comparison 12676 | if( fvp = findFieldValue(OREQ_MSG,qfname) ){ | ^ | == http._.c:12802:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 12802 | if( rp = strSeekEOH(RESP_MSG) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ http._.c:12802:11: note: place parentheses around the assignment to silence this warning 12802 | if( rp = strSeekEOH(RESP_MSG) ) | ^ | ( ) http._.c:12802:11: note: use '==' to turn this assignment into an equality comparison 12802 | if( rp = strSeekEOH(RESP_MSG) ) | ^ | == http._.c:12817:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 12817 | if( qp = strSeekEOH(OREQ_MSG) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ http._.c:12817:9: note: place parentheses around the assignment to silence this warning 12817 | if( qp = strSeekEOH(OREQ_MSG) ) | ^ | ( ) http._.c:12817:9: note: use '==' to turn this assignment into an equality comparison 12817 | if( qp = strSeekEOH(OREQ_MSG) ) | ^ | == http._.c:12836:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 12836 | if( rp = strSeekEOH(RESP_MSG) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ http._.c:12836:11: note: place parentheses around the assignment to silence this warning 12836 | if( rp = strSeekEOH(RESP_MSG) ) | ^ | ( ) http._.c:12836:11: note: use '==' to turn this assignment into an equality comparison 12836 | if( rp = strSeekEOH(RESP_MSG) ) | ^ | == http._.c:13474:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 13474 | }else | ^ 153 warnings generated. ../mkcpp httpx.c httpx._.c -- mkcpp set time: 1773311913 -> 1412511406 httpx._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c httpx._.c -o httpx.o httpx._.c:48:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 48 | }else | ^ httpx._.c:313:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 313 | if( fp = fopen(path,"r") ){ | ~~~^~~~~~~~~~~~~~~~~ httpx._.c:313:10: note: place parentheses around the assignment to silence this warning 313 | if( fp = fopen(path,"r") ){ | ^ | ( ) httpx._.c:313:10: note: use '==' to turn this assignment into an equality comparison 313 | if( fp = fopen(path,"r") ){ | ^ | == httpx._.c:522:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 522 | if( dp = strpbrk(loc,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~ httpx._.c:522:12: note: place parentheses around the assignment to silence this warning 522 | if( dp = strpbrk(loc,"\r\n") ) | ^ | ( ) httpx._.c:522:12: note: use '==' to turn this assignment into an equality comparison 522 | if( dp = strpbrk(loc,"\r\n") ) | ^ | == 3 warnings generated. ../mkcpp httplog.c httplog._.c -- mkcpp set time: 1773311914 -> 1275192613 httplog._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c httplog._.c -o httplog.o httplog._.c:54:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 54 | if( buff = LOG_buffer(log) ){ | ~~~~~^~~~~~~~~~~~~~~~~ httplog._.c:54:11: note: place parentheses around the assignment to silence this warning 54 | if( buff = LOG_buffer(log) ){ | ^ | ( ) httplog._.c:54:11: note: use '==' to turn this assignment into an equality comparison 54 | if( buff = LOG_buffer(log) ){ | ^ | == httplog._.c:125:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 125 | for( fp = fmt; fc = *fp; fp++ ){ | ~~~^~~~~ httplog._.c:125:20: note: place parentheses around the assignment to silence this warning 125 | for( fp = fmt; fc = *fp; fp++ ){ | ^ | ( ) httplog._.c:125:20: note: use '==' to turn this assignment into an equality comparison 125 | for( fp = fmt; fc = *fp; fp++ ){ | ^ | == httplog._.c:252:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 252 | if( upath = URL_toMyself(Conn,referer) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ httplog._.c:252:12: note: place parentheses around the assignment to silence this warning 252 | if( upath = URL_toMyself(Conn,referer) ){ | ^ | ( ) httplog._.c:252:12: note: use '==' to turn this assignment into an equality comparison 252 | if( upath = URL_toMyself(Conn,referer) ){ | ^ | == 3 warnings generated. ../mkcpp httphead.c httphead._.c -- mkcpp set time: 1773311914 -> 1407737111 httphead._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c httphead._.c -o httphead.o httphead._.c:281:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 281 | if( data = getMssg(url,&len) ) | ~~~~~^~~~~~~~~~~~~~~~~~~ httphead._.c:281:11: note: place parentheses around the assignment to silence this warning 281 | if( data = getMssg(url,&len) ) | ^ | ( ) httphead._.c:281:11: note: use '==' to turn this assignment into an equality comparison 281 | if( data = getMssg(url,&len) ) | ^ | == httphead._.c:444:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 444 | if( kp = strstr(val,"sign=\"rsa:") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead._.c:444:10: note: place parentheses around the assignment to silence this warning 444 | if( kp = strstr(val,"sign=\"rsa:") ){ | ^ | ( ) httphead._.c:444:10: note: use '==' to turn this assignment into an equality comparison 444 | if( kp = strstr(val,"sign=\"rsa:") ){ | ^ | == httphead._.c:515:10: warning: unsequenced modification and access to 'leng' [-Wunsequenced] 515 | leng += FPRINTF(tc,"Date: %s\r\n",date); | ~~ ^ httphead._.c:32:23: note: expanded from macro 'FPRINTF' 32 | #define FPRINTF leng += Fprintf | ^ httphead._.c:516:10: warning: unsequenced modification and access to 'leng' [-Wunsequenced] 516 | leng += FPRINTF(tc,"Server: %s\r\n",server); | ~~ ^ httphead._.c:32:23: note: expanded from macro 'FPRINTF' 32 | #define FPRINTF leng += Fprintf | ^ httphead._.c:520:11: warning: unsequenced modification and access to 'leng' [-Wunsequenced] 520 | leng += FPRINTF(tc,"ETag: %s\r\n",genETag); | ~~ ^ httphead._.c:32:23: note: expanded from macro 'FPRINTF' 32 | #define FPRINTF leng += Fprintf | ^ httphead._.c:524:11: warning: unsequenced modification and access to 'leng' [-Wunsequenced] 524 | leng += FPRINTF(tc,"%s",addRespHeaders); | ~~ ^ httphead._.c:32:23: note: expanded from macro 'FPRINTF' 32 | #define FPRINTF leng += Fprintf | ^ httphead._.c:677:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 677 | if( leng = getKeepAlive(Conn,AVStr(buff)) ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead._.c:677:11: note: place parentheses around the assignment to silence this warning 677 | if( leng = getKeepAlive(Conn,AVStr(buff)) ) | ^ | ( ) httphead._.c:677:11: note: use '==' to turn this assignment into an equality comparison 677 | if( leng = getKeepAlive(Conn,AVStr(buff)) ) | ^ | == httphead._.c:749:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 749 | if( ohpp = findFieldValue(head,"Host") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead._.c:749:11: note: place parentheses around the assignment to silence this warning 749 | if( ohpp = findFieldValue(head,"Host") ){ | ^ | ( ) httphead._.c:749:11: note: use '==' to turn this assignment into an equality comparison 749 | if( ohpp = findFieldValue(head,"Host") ){ | ^ | == httphead._.c:751:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 751 | for( hp = ohpb; hc = *hp; hp++ ){ | ~~~^~~~~ httphead._.c:751:22: note: place parentheses around the assignment to silence this warning 751 | for( hp = ohpb; hc = *hp; hp++ ){ | ^ | ( ) httphead._.c:751:22: note: use '==' to turn this assignment into an equality comparison 751 | for( hp = ohpb; hc = *hp; hp++ ){ | ^ | == httphead._.c:916:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 916 | if( url = strpbrk(request," \t") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ httphead._.c:916:11: note: place parentheses around the assignment to silence this warning 916 | if( url = strpbrk(request," \t") ){ | ^ | ( ) httphead._.c:916:11: note: use '==' to turn this assignment into an equality comparison 916 | if( url = strpbrk(request," \t") ){ | ^ | == httphead._.c:1051:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1051 | if( opts = vmount_referer(Conn,AVStr(url)) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead._.c:1051:12: note: place parentheses around the assignment to silence this warning 1051 | if( opts = vmount_referer(Conn,AVStr(url)) ){ | ^ | ( ) httphead._.c:1051:12: note: use '==' to turn this assignment into an equality comparison 1051 | if( opts = vmount_referer(Conn,AVStr(url)) ){ | ^ | == httphead._.c:1060:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1060 | if( nfp = strchr(val,'\n') ) | ~~~~^~~~~~~~~~~~~~~~~~ httphead._.c:1060:11: note: place parentheses around the assignment to silence this warning 1060 | if( nfp = strchr(val,'\n') ) | ^ | ( ) httphead._.c:1060:11: note: use '==' to turn this assignment into an equality comparison 1060 | if( nfp = strchr(val,'\n') ) | ^ | == httphead._.c:1075:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1075 | if( val = findFieldValue(fields,"Referer") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead._.c:1075:10: note: place parentheses around the assignment to silence this warning 1075 | if( val = findFieldValue(fields,"Referer") ){ | ^ | ( ) httphead._.c:1075:10: note: use '==' to turn this assignment into an equality comparison 1075 | if( val = findFieldValue(fields,"Referer") ){ | ^ | == httphead._.c:1106:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1106 | if( up = (char*)URL_toMyself(Conn,url) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead._.c:1106:9: note: place parentheses around the assignment to silence this warning 1106 | if( up = (char*)URL_toMyself(Conn,url) ){ | ^ | ( ) httphead._.c:1106:9: note: use '==' to turn this assignment into an equality comparison 1106 | if( up = (char*)URL_toMyself(Conn,url) ){ | ^ | == httphead._.c:1143:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1143 | if( port = forcedIF_H(Conn,BVStr(host)) ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead._.c:1143:11: note: place parentheses around the assignment to silence this warning 1143 | if( port = forcedIF_H(Conn,BVStr(host)) ) | ^ | ( ) httphead._.c:1143:11: note: use '==' to turn this assignment into an equality comparison 1143 | if( port = forcedIF_H(Conn,BVStr(host)) ) | ^ | == httphead._.c:1192:67: warning: '/*' within block comment [-Wcomment] 1192 | * 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] 1262 | 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 1262 | 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 1262 | 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] 1336 | if( query = strstr(moved_url,"?-.-=") ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead._.c:1336:12: note: place parentheses around the assignment to silence this warning 1336 | if( query = strstr(moved_url,"?-.-=") ){ | ^ | ( ) httphead._.c:1336:12: note: use '==' to turn this assignment into an equality comparison 1336 | if( query = strstr(moved_url,"?-.-=") ){ | ^ | == httphead._.c:1409:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1409 | if( rp = strstr(opts,"rcode=") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~ httphead._.c:1409:9: note: place parentheses around the assignment to silence this warning 1409 | if( rp = strstr(opts,"rcode=") ) | ^ | ( ) httphead._.c:1409:9: note: use '==' to turn this assignment into an equality comparison 1409 | if( rp = strstr(opts,"rcode=") ) | ^ | == httphead._.c:1410:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1410 | if( rcode = atoi(rp+6) ){ | ~~~~~~^~~~~~~~~~~~ httphead._.c:1410:12: note: place parentheses around the assignment to silence this warning 1410 | if( rcode = atoi(rp+6) ){ | ^ | ( ) httphead._.c:1410:12: note: use '==' to turn this assignment into an equality comparison 1410 | if( rcode = atoi(rp+6) ){ | ^ | == httphead._.c:1540:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1540 | if( dp = strcasestr(opts,"urlesc=") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead._.c:1540:10: note: place parentheses around the assignment to silence this warning 1540 | if( dp = strcasestr(opts,"urlesc=") ){ | ^ | ( ) httphead._.c:1540:10: note: use '==' to turn this assignment into an equality comparison 1540 | if( dp = strcasestr(opts,"urlesc=") ){ | ^ | == httphead._.c:1576:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1576 | 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 1576 | 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 1576 | 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] 1614 | for( tp = oval; tc = *tp; tp++ ) | ~~~^~~~~ httphead._.c:1614:21: note: place parentheses around the assignment to silence this warning 1614 | for( tp = oval; tc = *tp; tp++ ) | ^ | ( ) httphead._.c:1614:21: note: use '==' to turn this assignment into an equality comparison 1614 | for( tp = oval; tc = *tp; tp++ ) | ^ | == httphead._.c:1618:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1618 | for( sp = val; sc = *sp; sp++ ){ | ~~~^~~~~ httphead._.c:1618:20: note: place parentheses around the assignment to silence this warning 1618 | for( sp = val; sc = *sp; sp++ ){ | ^ | ( ) httphead._.c:1618:20: note: use '==' to turn this assignment into an equality comparison 1618 | for( sp = val; sc = *sp; sp++ ){ | ^ | == httphead._.c:1627:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1627 | for( sp = tp; sc = *sp; sp++ ) | ~~~^~~~~ httphead._.c:1627:20: note: place parentheses around the assignment to silence this warning 1627 | for( sp = tp; sc = *sp; sp++ ) | ^ | ( ) httphead._.c:1627:20: note: use '==' to turn this assignment into an equality comparison 1627 | for( sp = tp; sc = *sp; sp++ ) | ^ | == httphead._.c:1693:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1693 | if( dp = strchr(login,':') ) | ~~~^~~~~~~~~~~~~~~~~~~ httphead._.c:1693:9: note: place parentheses around the assignment to silence this warning 1693 | if( dp = strchr(login,':') ) | ^ | ( ) httphead._.c:1693:9: note: use '==' to turn this assignment into an equality comparison 1693 | if( dp = strchr(login,':') ) | ^ | == httphead._.c:1735:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1735 | if( cp = findFieldValue(OREQ_MSG,"Cookie") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead._.c:1735:9: note: place parentheses around the assignment to silence this warning 1735 | if( cp = findFieldValue(OREQ_MSG,"Cookie") ){ | ^ | ( ) httphead._.c:1735:9: note: use '==' to turn this assignment into an equality comparison 1735 | if( cp = findFieldValue(OREQ_MSG,"Cookie") ){ | ^ | == httphead._.c:1814:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1814 | for(; uc = url[ux]; ux++ ) | ~~~^~~~~~~~~ httphead._.c:1814:11: note: place parentheses around the assignment to silence this warning 1814 | for(; uc = url[ux]; ux++ ) | ^ | ( ) httphead._.c:1814:11: note: use '==' to turn this assignment into an equality comparison 1814 | for(; uc = url[ux]; ux++ ) | ^ | == httphead._.c:1861:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1861 | if( dp = strchr(rsite,'@') ){ | ~~~^~~~~~~~~~~~~~~~~~~ httphead._.c:1861:9: note: place parentheses around the assignment to silence this warning 1861 | if( dp = strchr(rsite,'@') ){ | ^ | ( ) httphead._.c:1861:9: note: use '==' to turn this assignment into an equality comparison 1861 | if( dp = strchr(rsite,'@') ){ | ^ | == httphead._.c:2080:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2080 | if( ncdate = HTTP_getLastModInCache(AVStr(scdate),size,cachefp,cpath) ) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead._.c:2080:13: note: place parentheses around the assignment to silence this warning 2080 | if( ncdate = HTTP_getLastModInCache(AVStr(scdate),size,cachefp,cpath) ) | ^ | ( ) httphead._.c:2080:13: note: use '==' to turn this assignment into an equality comparison 2080 | 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] 2128 | if( nesc = url_escapeX(aval,AVStr(aval),avsiz,HTTP_passesc,"") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead._.c:2128:12: note: place parentheses around the assignment to silence this warning 2128 | if( nesc = url_escapeX(aval,AVStr(aval),avsiz,HTTP_passesc,"") ){ | ^ | ( ) httphead._.c:2128:12: note: use '==' to turn this assignment into an equality comparison 2128 | 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] 2177 | if( dp = strrchr(ident->i_user,'@') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead._.c:2177:10: note: place parentheses around the assignment to silence this warning 2177 | if( dp = strrchr(ident->i_user,'@') ){ | ^ | ( ) httphead._.c:2177:10: note: use '==' to turn this assignment into an equality comparison 2177 | if( dp = strrchr(ident->i_user,'@') ){ | ^ | == httphead._.c:2247:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2247 | if( ratype = HTTP_getAuthorization2(Conn,&ident,0) ) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead._.c:2247:13: note: place parentheses around the assignment to silence this warning 2247 | if( ratype = HTTP_getAuthorization2(Conn,&ident,0) ) | ^ | ( ) httphead._.c:2247:13: note: use '==' to turn this assignment into an equality comparison 2247 | if( ratype = HTTP_getAuthorization2(Conn,&ident,0) ) | ^ | == httphead._.c:2264:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2264 | if( dp = strrchr(aval,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~~ httphead._.c:2264:9: note: place parentheses around the assignment to silence this warning 2264 | if( dp = strrchr(aval,'/') ){ | ^ | ( ) httphead._.c:2264:9: note: use '==' to turn this assignment into an equality comparison 2264 | if( dp = strrchr(aval,'/') ){ | ^ | == httphead._.c:2280:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2280 | if( rcode = doAuth(Conn,&ident) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ httphead._.c:2280:13: note: place parentheses around the assignment to silence this warning 2280 | if( rcode = doAuth(Conn,&ident) ){ | ^ | ( ) httphead._.c:2280:13: note: use '==' to turn this assignment into an equality comparison 2280 | if( rcode = doAuth(Conn,&ident) ){ | ^ | == httphead._.c:2397:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2397 | if( url = strpbrk(OREQ," \t") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~ httphead._.c:2397:11: note: place parentheses around the assignment to silence this warning 2397 | if( url = strpbrk(OREQ," \t") ){ | ^ | ( ) httphead._.c:2397:11: note: use '==' to turn this assignment into an equality comparison 2397 | if( url = strpbrk(OREQ," \t") ){ | ^ | == httphead._.c:2401:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2401 | if( up = URL_toMyself(Conn,url) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ httphead._.c:2401:11: note: place parentheses around the assignment to silence this warning 2401 | if( up = URL_toMyself(Conn,url) ) | ^ | ( ) httphead._.c:2401:11: note: use '==' to turn this assignment into an equality comparison 2401 | if( up = URL_toMyself(Conn,url) ) | ^ | == httphead._.c:2403:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2403 | if( up = URL_toMyself(Conn,urlc) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ httphead._.c:2403:11: note: place parentheses around the assignment to silence this warning 2403 | if( up = URL_toMyself(Conn,urlc) ) | ^ | ( ) httphead._.c:2403:11: note: use '==' to turn this assignment into an equality comparison 2403 | if( up = URL_toMyself(Conn,urlc) ) | ^ | == httphead._.c:2445:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2445 | while( ch = *sp ){ | ~~~^~~~~ httphead._.c:2445:12: note: place parentheses around the assignment to silence this warning 2445 | while( ch = *sp ){ | ^ | ( ) httphead._.c:2445:12: note: use '==' to turn this assignment into an equality comparison 2445 | while( ch = *sp ){ | ^ | == httphead._.c:2451:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2451 | while( ch = *sp ){ | ~~~^~~~~ httphead._.c:2451:13: note: place parentheses around the assignment to silence this warning 2451 | while( ch = *sp ){ | ^ | ( ) httphead._.c:2451:13: note: use '==' to turn this assignment into an equality comparison 2451 | while( ch = *sp ){ | ^ | == httphead._.c:2470:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2470 | if( ffname = findField(OREQ_MSG,fname,&ffbody) ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead._.c:2470:14: note: place parentheses around the assignment to silence this warning 2470 | if( ffname = findField(OREQ_MSG,fname,&ffbody) ){ | ^ | ( ) httphead._.c:2470:14: note: use '==' to turn this assignment into an equality comparison 2470 | if( ffname = findField(OREQ_MSG,fname,&ffbody) ){ | ^ | == httphead._.c:2505:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2505 | if( ffname = findField(CurEnv->r_fields,fname,&ffbody) ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead._.c:2505:13: note: place parentheses around the assignment to silence this warning 2505 | if( ffname = findField(CurEnv->r_fields,fname,&ffbody) ){ | ^ | ( ) httphead._.c:2505:13: note: use '==' to turn this assignment into an equality comparison 2505 | 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] 2543 | if( value = strchr(field,':') ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~ httphead._.c:2543:12: note: place parentheses around the assignment to silence this warning 2543 | if( value = strchr(field,':') ){ | ^ | ( ) httphead._.c:2543:12: note: use '==' to turn this assignment into an equality comparison 2543 | if( value = strchr(field,':') ){ | ^ | == httphead._.c:2554:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2554 | while( pp = strstr(value,"(pragma=") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ httphead._.c:2554:12: note: place parentheses around the assignment to silence this warning 2554 | while( pp = strstr(value,"(pragma=") ){ | ^ | ( ) httphead._.c:2554:12: note: use '==' to turn this assignment into an equality comparison 2554 | while( pp = strstr(value,"(pragma=") ){ | ^ | == httphead._.c:2564:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2564 | if( dp = strchr(pp,')') ) | ~~~^~~~~~~~~~~~~~~~ httphead._.c:2564:10: note: place parentheses around the assignment to silence this warning 2564 | if( dp = strchr(pp,')') ) | ^ | ( ) httphead._.c:2564:10: note: use '==' to turn this assignment into an equality comparison 2564 | if( dp = strchr(pp,')') ) | ^ | == httphead._.c:2591:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2591 | while( pp = strstr(value,"()") ) | ~~~^~~~~~~~~~~~~~~~~~~~ httphead._.c:2591:12: note: place parentheses around the assignment to silence this warning 2591 | while( pp = strstr(value,"()") ) | ^ | ( ) httphead._.c:2591:12: note: use '==' to turn this assignment into an equality comparison 2591 | while( pp = strstr(value,"()") ) | ^ | == httphead._.c:2652:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2652 | for( mi = 0; m1 = methodv[mi].m_name; mi++ ){ | ~~~^~~~~~~~~~~~~~~~~~~~ httphead._.c:2652:19: note: place parentheses around the assignment to silence this warning 2652 | for( mi = 0; m1 = methodv[mi].m_name; mi++ ){ | ^ | ( ) httphead._.c:2652:19: note: use '==' to turn this assignment into an equality comparison 2652 | 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] 2704 | for( mi = 0; m1 = methodv[mi].m_name; mi++ ){ | ~~~^~~~~~~~~~~~~~~~~~~~ httphead._.c:2704:18: note: place parentheses around the assignment to silence this warning 2704 | for( mi = 0; m1 = methodv[mi].m_name; mi++ ){ | ^ | ( ) httphead._.c:2704:18: note: use '==' to turn this assignment into an equality comparison 2704 | 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] 3034 | if( np = strchr(mp,'\n') ) | ~~~^~~~~~~~~~~~~~~~~ httphead._.c:3034:10: note: place parentheses around the assignment to silence this warning 3034 | if( np = strchr(mp,'\n') ) | ^ | ( ) httphead._.c:3034:10: note: use '==' to turn this assignment into an equality comparison 3034 | if( np = strchr(mp,'\n') ) | ^ | == httphead._.c:3045:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3045 | if( rhead = strstr(MountOptions,"rhead=+") ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead._.c:3045:13: note: place parentheses around the assignment to silence this warning 3045 | if( rhead = strstr(MountOptions,"rhead=+") ){ | ^ | ( ) httphead._.c:3045:13: note: use '==' to turn this assignment into an equality comparison 3045 | if( rhead = strstr(MountOptions,"rhead=+") ){ | ^ | == httphead._.c:3063:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3063 | if( sp = scanint(sp,&rcode) ){ | ~~~^~~~~~~~~~~~~~~~~~~~ httphead._.c:3063:10: note: place parentheses around the assignment to silence this warning 3063 | if( sp = scanint(sp,&rcode) ){ | ^ | ( ) httphead._.c:3063:10: note: use '==' to turn this assignment into an equality comparison 3063 | if( sp = scanint(sp,&rcode) ){ | ^ | == httphead._.c:3109:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 3109 | }else | ^ httphead._.c:3241:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3241 | if( dp = strstr(REQ_UA,"Mozilla/") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead._.c:3241:9: note: place parentheses around the assignment to silence this warning 3241 | if( dp = strstr(REQ_UA,"Mozilla/") ){ | ^ | ( ) httphead._.c:3241:9: note: use '==' to turn this assignment into an equality comparison 3241 | if( dp = strstr(REQ_UA,"Mozilla/") ){ | ^ | == httphead._.c:3305:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3305 | if( qop_auth = streq(seed->i_qop,"auth") ){ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead._.c:3305:15: note: place parentheses around the assignment to silence this warning 3305 | if( qop_auth = streq(seed->i_qop,"auth") ){ | ^ | ( ) httphead._.c:3305:15: note: use '==' to turn this assignment into an equality comparison 3305 | if( qop_auth = streq(seed->i_qop,"auth") ){ | ^ | == 54 warnings generated. ../mkcpp httpd.c httpd._.c -- mkcpp set time: 1773311916 -> 1411873597 httpd._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c httpd._.c -o httpd.o httpd._.c:339:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 339 | if( data = strchr(dataspec,',') ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ httpd._.c:339:11: note: place parentheses around the assignment to silence this warning 339 | if( data = strchr(dataspec,',') ){ | ^ | ( ) httpd._.c:339:11: note: use '==' to turn this assignment into an equality comparison 339 | if( data = strchr(dataspec,',') ){ | ^ | == httpd._.c:719:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 719 | if( leng = putRobotsTxt(Conn,tc,NULL,0) ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpd._.c:719:13: note: place parentheses around the assignment to silence this warning 719 | if( leng = putRobotsTxt(Conn,tc,NULL,0) ) | ^ | ( ) httpd._.c:719:13: note: use '==' to turn this assignment into an equality comparison 719 | if( leng = putRobotsTxt(Conn,tc,NULL,0) ) | ^ | == httpd._.c:734:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 734 | 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 734 | 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 734 | if( leng = putLocal(Conn,vno,method,AVStr(req),head,AVStr(path),fc,tc,stcodep) ) | ^ | == httpd._.c:744:15: warning: '/*' within block comment [-Wcomment] 744 | /* MOUNT="/p/* http://v/* vhost=-v */ | ^ httpd._.c:744:26: warning: '/*' within block comment [-Wcomment] 744 | /* MOUNT="/p/* http://v/* vhost=-v */ | ^ httpd._.c:897:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 897 | if( isnew = (Tmp == NULL) ){ | ~~~~~~^~~~~~~~~~~~~~~ httpd._.c:897:12: note: place parentheses around the assignment to silence this warning 897 | if( isnew = (Tmp == NULL) ){ | ^ | ( ) httpd._.c:897:12: note: use '==' to turn this assignment into an equality comparison 897 | if( isnew = (Tmp == NULL) ){ | ^ | == httpd._.c:917:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 917 | if( proto = Conn->my_vbase.u_proto ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ httpd._.c:917:13: note: place parentheses around the assignment to silence this warning 917 | if( proto = Conn->my_vbase.u_proto ){ | ^ | ( ) httpd._.c:917:13: note: use '==' to turn this assignment into an equality comparison 917 | if( proto = Conn->my_vbase.u_proto ){ | ^ | == httpd._.c:944:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 944 | if( dp = strchr(url+7,'/') ) | ~~~^~~~~~~~~~~~~~~~~~~ httpd._.c:944:11: note: place parentheses around the assignment to silence this warning 944 | if( dp = strchr(url+7,'/') ) | ^ | ( ) httpd._.c:944:11: note: use '==' to turn this assignment into an equality comparison 944 | if( dp = strchr(url+7,'/') ) | ^ | == httpd._.c:1228:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1228 | if( rpath = strstr(url,"://") ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~ httpd._.c:1228:12: note: place parentheses around the assignment to silence this warning 1228 | if( rpath = strstr(url,"://") ){ | ^ | ( ) httpd._.c:1228:12: note: use '==' to turn this assignment into an equality comparison 1228 | if( rpath = strstr(url,"://") ){ | ^ | == httpd._.c:1230:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1230 | if( rpath = strchr(rpath,'/') ) /* skip server part */ | ~~~~~~^~~~~~~~~~~~~~~~~~~ httpd._.c:1230:13: note: place parentheses around the assignment to silence this warning 1230 | if( rpath = strchr(rpath,'/') ) /* skip server part */ | ^ | ( ) httpd._.c:1230:13: note: use '==' to turn this assignment into an equality comparison 1230 | if( rpath = strchr(rpath,'/') ) /* skip server part */ | ^ | == httpd._.c:1233:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1233 | if( rpath = strstr(url,":/") ) | ~~~~~~^~~~~~~~~~~~~~~~~~ httpd._.c:1233:12: note: place parentheses around the assignment to silence this warning 1233 | if( rpath = strstr(url,":/") ) | ^ | ( ) httpd._.c:1233:12: note: use '==' to turn this assignment into an equality comparison 1233 | if( rpath = strstr(url,":/") ) | ^ | == httpd._.c:1382:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1382 | if( dp = strchr(kp->k_pat,'*') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~ httpd._.c:1382:9: note: place parentheses around the assignment to silence this warning 1382 | if( dp = strchr(kp->k_pat,'*') ){ | ^ | ( ) httpd._.c:1382:9: note: use '==' to turn this assignment into an equality comparison 1382 | if( dp = strchr(kp->k_pat,'*') ){ | ^ | == httpd._.c:1421:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1421 | if( np = strpbrk(hp,"\r\n") ){ | ~~~^~~~~~~~~~~~~~~~~~~~ httpd._.c:1421:11: note: place parentheses around the assignment to silence this warning 1421 | if( np = strpbrk(hp,"\r\n") ){ | ^ | ( ) httpd._.c:1421:11: note: use '==' to turn this assignment into an equality comparison 1421 | if( np = strpbrk(hp,"\r\n") ){ | ^ | == httpd._.c:1453:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1453 | if( dp = strchr(buf,':') ){ | ~~~^~~~~~~~~~~~~~~~~ httpd._.c:1453:9: note: place parentheses around the assignment to silence this warning 1453 | if( dp = strchr(buf,':') ){ | ^ | ( ) httpd._.c:1453:9: note: use '==' to turn this assignment into an equality comparison 1453 | if( dp = strchr(buf,':') ){ | ^ | == httpd._.c:1512:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1512 | if( mo = strstr(list,ot="add-head") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpd._.c:1512:9: note: place parentheses around the assignment to silence this warning 1512 | if( mo = strstr(list,ot="add-head") ) | ^ | ( ) httpd._.c:1512:9: note: use '==' to turn this assignment into an equality comparison 1512 | if( mo = strstr(list,ot="add-head") ) | ^ | == httpd._.c:2087:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2087 | if( fp = fopen(xpath,mode) ){ | ~~~^~~~~~~~~~~~~~~~~~~ httpd._.c:2087:10: note: place parentheses around the assignment to silence this warning 2087 | if( fp = fopen(xpath,mode) ){ | ^ | ( ) httpd._.c:2087:10: note: use '==' to turn this assignment into an equality comparison 2087 | if( fp = fopen(xpath,mode) ){ | ^ | == httpd._.c:2146:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2146 | if( fp = fopen(path,"w") ){ | ~~~^~~~~~~~~~~~~~~~~ httpd._.c:2146:9: note: place parentheses around the assignment to silence this warning 2146 | if( fp = fopen(path,"w") ){ | ^ | ( ) httpd._.c:2146:9: note: use '==' to turn this assignment into an equality comparison 2146 | if( fp = fopen(path,"w") ){ | ^ | == httpd._.c:2173:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2173 | for( sp = path; sc = *sp; sp++ ){ | ~~~^~~~~ httpd._.c:2173:22: note: place parentheses around the assignment to silence this warning 2173 | for( sp = path; sc = *sp; sp++ ){ | ^ | ( ) httpd._.c:2173:22: note: use '==' to turn this assignment into an equality comparison 2173 | for( sp = path; sc = *sp; sp++ ){ | ^ | == httpd._.c:2181:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2181 | if( fp = ftpxhttp(Conn,path,upath,"","",BVStr(ipath),mtimep) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpd._.c:2181:10: note: place parentheses around the assignment to silence this warning 2181 | if( fp = ftpxhttp(Conn,path,upath,"","",BVStr(ipath),mtimep) ){ | ^ | ( ) httpd._.c:2181:10: note: use '==' to turn this assignment into an equality comparison 2181 | 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] 2186 | for( ii = 0; file = indexurls[ii]; ii++ ){ | ~~~~~^~~~~~~~~~~~~~~ httpd._.c:2186:20: note: place parentheses around the assignment to silence this warning 2186 | for( ii = 0; file = indexurls[ii]; ii++ ){ | ^ | ( ) httpd._.c:2186:20: note: use '==' to turn this assignment into an equality comparison 2186 | for( ii = 0; file = indexurls[ii]; ii++ ){ | ^ | == httpd._.c:2218:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2218 | if( fp = extfopen(ipath,"r") ) | ~~~^~~~~~~~~~~~~~~~~~~~~ httpd._.c:2218:11: note: place parentheses around the assignment to silence this warning 2218 | if( fp = extfopen(ipath,"r") ) | ^ | ( ) httpd._.c:2218:11: note: use '==' to turn this assignment into an equality comparison 2218 | if( fp = extfopen(ipath,"r") ) | ^ | == httpd._.c:2349:17: warning: '/*' within block comment [-Wcomment] 2349 | * MOUNT="/vpath/* cgi:/rpath/*" | ^ httpd._.c:2349:30: warning: '/*' within block comment [-Wcomment] 2349 | * MOUNT="/vpath/* cgi:/rpath/*" | ^ httpd._.c:2379:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2379 | if( dp = strchr(surlb,'?') ){ | ~~~^~~~~~~~~~~~~~~~~~~ httpd._.c:2379:9: note: place parentheses around the assignment to silence this warning 2379 | if( dp = strchr(surlb,'?') ){ | ^ | ( ) httpd._.c:2379:9: note: use '==' to turn this assignment into an equality comparison 2379 | if( dp = strchr(surlb,'?') ){ | ^ | == httpd._.c:2418:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2418 | if( script_namlen = strlen(surlb) ){ | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ httpd._.c:2418:20: note: place parentheses around the assignment to silence this warning 2418 | if( script_namlen = strlen(surlb) ){ | ^ | ( ) httpd._.c:2418:20: note: use '==' to turn this assignment into an equality comparison 2418 | if( script_namlen = strlen(surlb) ){ | ^ | == httpd._.c:2420:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2420 | if( dp = strchr(extrapath,'?') ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~ httpd._.c:2420:10: note: place parentheses around the assignment to silence this warning 2420 | if( dp = strchr(extrapath,'?') ) | ^ | ( ) httpd._.c:2420:10: note: use '==' to turn this assignment into an equality comparison 2420 | if( dp = strchr(extrapath,'?') ) | ^ | == httpd._.c:2463:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2463 | while( dp = strrchr(ipath,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~~~ httpd._.c:2463:12: note: place parentheses around the assignment to silence this warning 2463 | while( dp = strrchr(ipath,'/') ){ | ^ | ( ) httpd._.c:2463:12: note: use '==' to turn this assignment into an equality comparison 2463 | while( dp = strrchr(ipath,'/') ){ | ^ | == httpd._.c:2475:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2475 | if( fp = openIndex(Conn,ipath,upath,AVStr(iexecpath),mode,mtimep) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpd._.c:2475:10: note: place parentheses around the assignment to silence this warning 2475 | if( fp = openIndex(Conn,ipath,upath,AVStr(iexecpath),mode,mtimep) ){ | ^ | ( ) httpd._.c:2475:10: note: use '==' to turn this assignment into an equality comparison 2475 | 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] 2477 | if( xp = strtailstr(script,expath) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ httpd._.c:2477:11: note: place parentheses around the assignment to silence this warning 2477 | if( xp = strtailstr(script,expath) ) | ^ | ( ) httpd._.c:2477:11: note: use '==' to turn this assignment into an equality comparison 2477 | if( xp = strtailstr(script,expath) ) | ^ | == httpd._.c:2486:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2486 | if( fp = extfopen(ipath,"r") ) | ~~~^~~~~~~~~~~~~~~~~~~~~ httpd._.c:2486:10: note: place parentheses around the assignment to silence this warning 2486 | if( fp = extfopen(ipath,"r") ) | ^ | ( ) httpd._.c:2486:10: note: use '==' to turn this assignment into an equality comparison 2486 | if( fp = extfopen(ipath,"r") ) | ^ | == httpd._.c:2490:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2490 | if( xp = strtailstr(script,expath) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ httpd._.c:2490:11: note: place parentheses around the assignment to silence this warning 2490 | if( xp = strtailstr(script,expath) ) | ^ | ( ) httpd._.c:2490:11: note: use '==' to turn this assignment into an equality comparison 2490 | if( xp = strtailstr(script,expath) ) | ^ | == httpd._.c:2570:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2570 | if( ep = strstr(OREQ_MSG,"\r\n\r\n") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpd._.c:2570:9: note: place parentheses around the assignment to silence this warning 2570 | if( ep = strstr(OREQ_MSG,"\r\n\r\n") ){ | ^ | ( ) httpd._.c:2570:9: note: use '==' to turn this assignment into an equality comparison 2570 | 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] 2573 | if( ep = strstr(OREQ_MSG,"\n\n") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ httpd._.c:2573:9: note: place parentheses around the assignment to silence this warning 2573 | if( ep = strstr(OREQ_MSG,"\n\n") ){ | ^ | ( ) httpd._.c:2573:9: note: use '==' to turn this assignment into an equality comparison 2573 | if( ep = strstr(OREQ_MSG,"\n\n") ){ | ^ | == httpd._.c:2640:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2640 | if( dp = strcasestr(MountOptions,"search:") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpd._.c:2640:10: note: place parentheses around the assignment to silence this warning 2640 | if( dp = strcasestr(MountOptions,"search:") ){ | ^ | ( ) httpd._.c:2640:10: note: use '==' to turn this assignment into an equality comparison 2640 | if( dp = strcasestr(MountOptions,"search:") ){ | ^ | == httpd._.c:2655:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2655 | if( search = strchr(script,'?') ) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~ httpd._.c:2655:13: note: place parentheses around the assignment to silence this warning 2655 | if( search = strchr(script,'?') ) | ^ | ( ) httpd._.c:2655:13: note: use '==' to turn this assignment into an equality comparison 2655 | if( search = strchr(script,'?') ) | ^ | == httpd._.c:2676:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2676 | if( search = strchr(url,'?') ){ | ~~~~~~~^~~~~~~~~~~~~~~~~ httpd._.c:2676:13: note: place parentheses around the assignment to silence this warning 2676 | if( search = strchr(url,'?') ){ | ^ | ( ) httpd._.c:2676:13: note: use '==' to turn this assignment into an equality comparison 2676 | if( search = strchr(url,'?') ){ | ^ | == httpd._.c:2740:16: warning: '/*' within block comment [-Wcomment] 2740 | * for MOUNT="/* file:Q:/*" | ^ httpd._.c:2740:26: warning: '/*' within block comment [-Wcomment] 2740 | * for MOUNT="/* file:Q:/*" | ^ httpd._.c:2793:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2793 | 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 2793 | 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 2793 | 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] 2810 | if( search = strchr(expath,'?') ) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~ httpd._.c:2810:15: note: place parentheses around the assignment to silence this warning 2810 | if( search = strchr(expath,'?') ) | ^ | ( ) httpd._.c:2810:15: note: use '==' to turn this assignment into an equality comparison 2810 | if( search = strchr(expath,'?') ) | ^ | == httpd._.c:2817:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2817 | 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 2817 | 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 2817 | 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] 2883 | if( leng = putRobotsTxt(Conn,tc,fp,0) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpd._.c:2883:11: note: place parentheses around the assignment to silence this warning 2883 | if( leng = putRobotsTxt(Conn,tc,fp,0) ){ | ^ | ( ) httpd._.c:2883:11: note: use '==' to turn this assignment into an equality comparison 2883 | if( leng = putRobotsTxt(Conn,tc,fp,0) ){ | ^ | == httpd._.c:2915:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2915 | if( fp = extfopen(xpath,"r") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ httpd._.c:2915:11: note: place parentheses around the assignment to silence this warning 2915 | if( fp = extfopen(xpath,"r") ){ | ^ | ( ) httpd._.c:2915:11: note: use '==' to turn this assignment into an equality comparison 2915 | if( fp = extfopen(xpath,"r") ){ | ^ | == httpd._.c:3018:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3018 | if( pp = strstr(path,".dhtml") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~ httpd._.c:3018:9: note: place parentheses around the assignment to silence this warning 3018 | if( pp = strstr(path,".dhtml") ) | ^ | ( ) httpd._.c:3018:9: note: use '==' to turn this assignment into an equality comparison 3018 | if( pp = strstr(path,".dhtml") ) | ^ | == httpd._.c:3180:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3180 | if( dstx = putPARTfilter(Conn,fp,tc,&size) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpd._.c:3180:12: note: place parentheses around the assignment to silence this warning 3180 | if( dstx = putPARTfilter(Conn,fp,tc,&size) ){ | ^ | ( ) httpd._.c:3180:12: note: use '==' to turn this assignment into an equality comparison 3180 | if( dstx = putPARTfilter(Conn,fp,tc,&size) ){ | ^ | == httpd._.c:3377:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3377 | if( fp = fopen(a1,"r") ){ | ~~~^~~~~~~~~~~~~~~ httpd._.c:3377:10: note: place parentheses around the assignment to silence this warning 3377 | if( fp = fopen(a1,"r") ){ | ^ | ( ) httpd._.c:3377:10: note: use '==' to turn this assignment into an equality comparison 3377 | if( fp = fopen(a1,"r") ){ | ^ | == httpd._.c:3610:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3610 | if( np = strchr(sp,'\n') ) | ~~~^~~~~~~~~~~~~~~~~ httpd._.c:3610:11: note: place parentheses around the assignment to silence this warning 3610 | if( np = strchr(sp,'\n') ) | ^ | ( ) httpd._.c:3610:11: note: use '==' to turn this assignment into an equality comparison 3610 | if( np = strchr(sp,'\n') ) | ^ | == httpd._.c:3738:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3738 | if( pxp = strstr(url,ProxyControlMARK) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpd._.c:3738:10: note: place parentheses around the assignment to silence this warning 3738 | if( pxp = strstr(url,ProxyControlMARK) ){ | ^ | ( ) httpd._.c:3738:10: note: use '==' to turn this assignment into an equality comparison 3738 | if( pxp = strstr(url,ProxyControlMARK) ){ | ^ | == 48 warnings generated. ../mkcpp cgi.c cgi._.c -- mkcpp set time: 1773311917 -> 1408282280 cgi._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c cgi._.c -o cgi.o cgi._.c:77:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 77 | while( np = strpbrk(fp,"\r\n") ){ | ~~~^~~~~~~~~~~~~~~~~~~~ cgi._.c:77:12: note: place parentheses around the assignment to silence this warning 77 | while( np = strpbrk(fp,"\r\n") ){ | ^ | ( ) cgi._.c:77:12: note: use '==' to turn this assignment into an equality comparison 77 | while( np = strpbrk(fp,"\r\n") ){ | ^ | == cgi._.c:142:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 142 | for( ei = 0; es = environ[ei]; ei++ ){ | ~~~^~~~~~~~~~~~~ cgi._.c:142:18: note: place parentheses around the assignment to silence this warning 142 | for( ei = 0; es = environ[ei]; ei++ ){ | ^ | ( ) cgi._.c:142:18: note: use '==' to turn this assignment into an equality comparison 142 | for( ei = 0; es = environ[ei]; ei++ ){ | ^ | == cgi._.c:182:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 182 | if( search = strchr(es,'?') ) | ~~~~~~~^~~~~~~~~~~~~~~~ cgi._.c:182:13: note: place parentheses around the assignment to silence this warning 182 | if( search = strchr(es,'?') ) | ^ | ( ) cgi._.c:182:13: note: use '==' to turn this assignment into an equality comparison 182 | if( search = strchr(es,'?') ) | ^ | == cgi._.c:190:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 190 | if( search = strchr(vpath,'?') ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~ cgi._.c:190:13: note: place parentheses around the assignment to silence this warning 190 | if( search = strchr(vpath,'?') ){ | ^ | ( ) cgi._.c:190:13: note: use '==' to turn this assignment into an equality comparison 190 | if( search = strchr(vpath,'?') ){ | ^ | == cgi._.c:258:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 258 | if( sva = gethostaddr(sv) ) | ~~~~^~~~~~~~~~~~~~~~~ cgi._.c:258:11: note: place parentheses around the assignment to silence this warning 258 | if( sva = gethostaddr(sv) ) | ^ | ( ) cgi._.c:258:11: note: use '==' to turn this assignment into an equality comparison 258 | if( sva = gethostaddr(sv) ) | ^ | == cgi._.c:271:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 271 | while( np = strchr(fp,'+') ){ | ~~~^~~~~~~~~~~~~~~~ cgi._.c:271:14: note: place parentheses around the assignment to silence this warning 271 | while( np = strchr(fp,'+') ){ | ^ | ( ) cgi._.c:271:14: note: use '==' to turn this assignment into an equality comparison 271 | while( np = strchr(fp,'+') ){ | ^ | == cgi._.c:390:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 390 | if( tp = strpbrk(line,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ cgi._.c:390:10: note: place parentheses around the assignment to silence this warning 390 | if( tp = strpbrk(line,"\r\n") ) | ^ | ( ) cgi._.c:390:10: note: use '==' to turn this assignment into an equality comparison 390 | if( tp = strpbrk(line,"\r\n") ) | ^ | == cgi._.c:583:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 583 | if( env = getenv("PATH") ) | ~~~~^~~~~~~~~~~~~~~~ cgi._.c:583:10: note: place parentheses around the assignment to silence this warning 583 | if( env = getenv("PATH") ) | ^ | ( ) cgi._.c:583:10: note: use '==' to turn this assignment into an equality comparison 583 | if( env = getenv("PATH") ) | ^ | == cgi._.c:666:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 666 | if( cfp = fopen(execpath,"r") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~ cgi._.c:666:10: note: place parentheses around the assignment to silence this warning 666 | if( cfp = fopen(execpath,"r") ){ | ^ | ( ) cgi._.c:666:10: note: use '==' to turn this assignment into an equality comparison 666 | if( cfp = fopen(execpath,"r") ){ | ^ | == cgi._.c:777:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 777 | if( tp = strrchr(workdir,'/') ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ cgi._.c:777:9: note: place parentheses around the assignment to silence this warning 777 | if( tp = strrchr(workdir,'/') ) | ^ | ( ) cgi._.c:777:9: note: use '==' to turn this assignment into an equality comparison 777 | if( tp = strrchr(workdir,'/') ) | ^ | == cgi._.c:901:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 901 | for( ei = 0; env = environ[ei]; ei++ ) | ~~~~^~~~~~~~~~~~~ cgi._.c:901:19: note: place parentheses around the assignment to silence this warning 901 | for( ei = 0; env = environ[ei]; ei++ ) | ^ | ( ) cgi._.c:901:19: note: use '==' to turn this assignment into an equality comparison 901 | for( ei = 0; env = environ[ei]; ei++ ) | ^ | == cgi._.c:1002:18: warning: '/*' within block comment [-Wcomment] 1002 | set_MOUNT(Conn,"/*",mount,""); | ^ cgi._.c:1038:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1038 | for( ei = 0; env = environ[ei]; ei++ ){ | ~~~~^~~~~~~~~~~~~ cgi._.c:1038:19: note: place parentheses around the assignment to silence this warning 1038 | for( ei = 0; env = environ[ei]; ei++ ){ | ^ | ( ) cgi._.c:1038:19: note: use '==' to turn this assignment into an equality comparison 1038 | for( ei = 0; env = environ[ei]; ei++ ){ | ^ | == cgi._.c:1071:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1071 | if( type = getenv("CONTENT_TYPE") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ cgi._.c:1071:12: note: place parentheses around the assignment to silence this warning 1071 | if( type = getenv("CONTENT_TYPE") ){ | ^ | ( ) cgi._.c:1071:12: note: use '==' to turn this assignment into an equality comparison 1071 | if( type = getenv("CONTENT_TYPE") ){ | ^ | == cgi._.c:1075:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1075 | if( leng = getenv("CONTENT_LENGTH") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ cgi._.c:1075:12: note: place parentheses around the assignment to silence this warning 1075 | if( leng = getenv("CONTENT_LENGTH") ){ | ^ | ( ) cgi._.c:1075:12: note: use '==' to turn this assignment into an equality comparison 1075 | if( leng = getenv("CONTENT_LENGTH") ){ | ^ | == cgi._.c:1108:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1108 | if( rcode = strchr(stat,' ') ){ | ~~~~~~^~~~~~~~~~~~~~~~~~ cgi._.c:1108:16: note: place parentheses around the assignment to silence this warning 1108 | if( rcode = strchr(stat,' ') ){ | ^ | ( ) cgi._.c:1108:16: note: use '==' to turn this assignment into an equality comparison 1108 | if( rcode = strchr(stat,' ') ){ | ^ | == cgi._.c:1178:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1178 | if( dp = strchr(sp,'&') ){ | ~~~^~~~~~~~~~~~~~~~ cgi._.c:1178:10: note: place parentheses around the assignment to silence this warning 1178 | if( dp = strchr(sp,'&') ){ | ^ | ( ) cgi._.c:1178:10: note: use '==' to turn this assignment into an equality comparison 1178 | if( dp = strchr(sp,'&') ){ | ^ | == cgi._.c:1209:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1209 | if( pp = strcasestr(ctype,"boundary=") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cgi._.c:1209:9: note: place parentheses around the assignment to silence this warning 1209 | if( pp = strcasestr(ctype,"boundary=") ){ | ^ | ( ) cgi._.c:1209:9: note: use '==' to turn this assignment into an equality comparison 1209 | if( pp = strcasestr(ctype,"boundary=") ){ | ^ | == cgi._.c:1257:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1257 | if( fnlen = STRH(line,F_ContDisp) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ cgi._.c:1257:14: note: place parentheses around the assignment to silence this warning 1257 | if( fnlen = STRH(line,F_ContDisp) ){ | ^ | ( ) cgi._.c:1257:14: note: use '==' to turn this assignment into an equality comparison 1257 | if( fnlen = STRH(line,F_ContDisp) ){ | ^ | == cgi._.c:1350:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1350 | }else{ | ^ cgi._.c:1416:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1416 | for( ei = 0; e1 = evp[ei]; ei++ ){ | ~~~^~~~~~~~~ cgi._.c:1416:18: note: place parentheses around the assignment to silence this warning 1416 | for( ei = 0; e1 = evp[ei]; ei++ ){ | ^ | ( ) cgi._.c:1416:18: note: use '==' to turn this assignment into an equality comparison 1416 | for( ei = 0; e1 = evp[ei]; ei++ ){ | ^ | == cgi._.c:1458:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1458 | for( ei = 0; e1 = ev[ei]; ei++ ){ | ~~~^~~~~~~~ cgi._.c:1458:19: note: place parentheses around the assignment to silence this warning 1458 | for( ei = 0; e1 = ev[ei]; ei++ ){ | ^ | ( ) cgi._.c:1458:19: note: use '==' to turn this assignment into an equality comparison 1458 | for( ei = 0; e1 = ev[ei]; ei++ ){ | ^ | == cgi._.c:1468:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1468 | for( ei = 0; e1 = ev[ei]; ei++ ){ | ~~~^~~~~~~~ cgi._.c:1468:18: note: place parentheses around the assignment to silence this warning 1468 | for( ei = 0; e1 = ev[ei]; ei++ ){ | ^ | ( ) cgi._.c:1468:18: note: use '==' to turn this assignment into an equality comparison 1468 | for( ei = 0; e1 = ev[ei]; ei++ ){ | ^ | == cgi._.c:1475:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1475 | for( ei = 0; e1 = environ[ei]; ei++ ){ | ~~~^~~~~~~~~~~~~ cgi._.c:1475:20: note: place parentheses around the assignment to silence this warning 1475 | for( ei = 0; e1 = environ[ei]; ei++ ){ | ^ | ( ) cgi._.c:1475:20: note: use '==' to turn this assignment into an equality comparison 1475 | for( ei = 0; e1 = environ[ei]; ei++ ){ | ^ | == cgi._.c:1511:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1511 | for( ei = 0; e1 = sv[ei]; ei++ ){ | ~~~^~~~~~~~ cgi._.c:1511:18: note: place parentheses around the assignment to silence this warning 1511 | for( ei = 0; e1 = sv[ei]; ei++ ){ | ^ | ( ) cgi._.c:1511:18: note: use '==' to turn this assignment into an equality comparison 1511 | for( ei = 0; e1 = sv[ei]; ei++ ){ | ^ | == cgi._.c:1614:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1614 | if( dp = strstr(head,"\r\n\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ cgi._.c:1614:9: note: place parentheses around the assignment to silence this warning 1614 | if( dp = strstr(head,"\r\n\r\n") ) | ^ | ( ) cgi._.c:1614:9: note: use '==' to turn this assignment into an equality comparison 1614 | 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] 1616 | if( dp = strstr(head,"\n\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~ cgi._.c:1616:9: note: place parentheses around the assignment to silence this warning 1616 | if( dp = strstr(head,"\n\n") ) | ^ | ( ) cgi._.c:1616:9: note: use '==' to turn this assignment into an equality comparison 1616 | if( dp = strstr(head,"\n\n") ) | ^ | == 27 warnings generated. ../mkcpp ssi.c ssi._.c -- mkcpp set time: 1773311917 -> 1408325459 ssi._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c ssi._.c -o ssi.o ssi._.c:169:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 169 | if( lp = strrchr(lpath,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~~~ ssi._.c:169:9: note: place parentheses around the assignment to silence this warning 169 | if( lp = strrchr(lpath,'/') ){ | ^ | ( ) ssi._.c:169:9: note: use '==' to turn this assignment into an equality comparison 169 | if( lp = strrchr(lpath,'/') ){ | ^ | == ssi._.c:190:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 190 | if( xp = strrchr(xdir,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~~ ssi._.c:190:9: note: place parentheses around the assignment to silence this warning 190 | if( xp = strrchr(xdir,'/') ){ | ^ | ( ) ssi._.c:190:9: note: use '==' to turn this assignment into an equality comparison 190 | if( xp = strrchr(xdir,'/') ){ | ^ | == ssi._.c:268:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 268 | if( ap = strchr(mssg->h_url,'?') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ssi._.c:268:9: note: place parentheses around the assignment to silence this warning 268 | if( ap = strchr(mssg->h_url,'?') ){ | ^ | ( ) ssi._.c:268:9: note: use '==' to turn this assignment into an equality comparison 268 | if( ap = strchr(mssg->h_url,'?') ){ | ^ | == ssi._.c:297:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 297 | for( fp = fmt; fc = *fp; fp++ ){ | ~~~^~~~~ ssi._.c:297:20: note: place parentheses around the assignment to silence this warning 297 | for( fp = fmt; fc = *fp; fp++ ){ | ^ | ( ) ssi._.c:297:20: note: use '==' to turn this assignment into an equality comparison 297 | for( fp = fmt; fc = *fp; fp++ ){ | ^ | == ssi._.c:488:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 488 | for( tp = tag; tc = *tp; tp++ ){ | ~~~^~~~~ ssi._.c:488:21: note: place parentheses around the assignment to silence this warning 488 | for( tp = tag; tc = *tp; tp++ ){ | ^ | ( ) ssi._.c:488:21: note: use '==' to turn this assignment into an equality comparison 488 | for( tp = tag; tc = *tp; tp++ ){ | ^ | == ssi._.c:523:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 523 | if( val = getFav(arg) ){ | ~~~~^~~~~~~~~~~~~ ssi._.c:523:11: note: place parentheses around the assignment to silence this warning 523 | if( val = getFav(arg) ){ | ^ | ( ) ssi._.c:523:11: note: use '==' to turn this assignment into an equality comparison 523 | if( val = getFav(arg) ){ | ^ | == ssi._.c:620:25: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] 620 | const char *ver_sendFd(); | ^~ ssi._.c:620:25: note: replace parentheses with an initializer to declare a variable 620 | const char *ver_sendFd(); | ^~ | = NULL ssi._.c:629:31: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] 629 | const char *DELEGATE_srcsign(); | ^~ ssi._.c:629:31: note: replace parentheses with an initializer to declare a variable 629 | const char *DELEGATE_srcsign(); | ^~ | = NULL ssi._.c:630:31: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] 630 | const char *DELEGATE_bldsign(); | ^~ ssi._.c:630:31: note: replace parentheses with an initializer to declare a variable 630 | const char *DELEGATE_bldsign(); | ^~ | = NULL ssi._.c:631:31: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] 631 | const char *DELEGATE_exesign(); | ^~ ssi._.c:631:31: note: replace parentheses with an initializer to declare a variable 631 | const char *DELEGATE_exesign(); | ^~ | = NULL ssi._.c:704:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 704 | if( eval = getv(ev,ename) ){ | ~~~~~^~~~~~~~~~~~~~~~ ssi._.c:704:11: note: place parentheses around the assignment to silence this warning 704 | if( eval = getv(ev,ename) ){ | ^ | ( ) ssi._.c:704:11: note: use '==' to turn this assignment into an equality comparison 704 | if( eval = getv(ev,ename) ){ | ^ | == ssi._.c:708:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 708 | for( ni = 0; sname = cgi_equiv[ni].n_ssi; ni++ ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ ssi._.c:708:22: note: place parentheses around the assignment to silence this warning 708 | for( ni = 0; sname = cgi_equiv[ni].n_ssi; ni++ ){ | ^ | ( ) ssi._.c:708:22: note: use '==' to turn this assignment into an equality comparison 708 | 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] 715 | if( eval = getv(ev,cname) ) | ~~~~~^~~~~~~~~~~~~~~~ ssi._.c:715:13: note: place parentheses around the assignment to silence this warning 715 | if( eval = getv(ev,cname) ) | ^ | ( ) ssi._.c:715:13: note: use '==' to turn this assignment into an equality comparison 715 | if( eval = getv(ev,cname) ) | ^ | == ssi._.c:810:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 810 | for( ei = 0; eval = ev[ei]; ei++ ) | ~~~~~^~~~~~~~ ssi._.c:810:21: note: place parentheses around the assignment to silence this warning 810 | for( ei = 0; eval = ev[ei]; ei++ ) | ^ | ( ) ssi._.c:810:21: note: use '==' to turn this assignment into an equality comparison 810 | for( ei = 0; eval = ev[ei]; ei++ ) | ^ | == ssi._.c:873:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 873 | if( base = getv(ev,"SCRIPT_NAME") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ssi._.c:873:11: note: place parentheses around the assignment to silence this warning 873 | if( base = getv(ev,"SCRIPT_NAME") ){ | ^ | ( ) ssi._.c:873:11: note: use '==' to turn this assignment into an equality comparison 873 | if( base = getv(ev,"SCRIPT_NAME") ){ | ^ | == ssi._.c:876:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 876 | if( base = getv(ev,"REQUEST_URI") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ssi._.c:876:11: note: place parentheses around the assignment to silence this warning 876 | if( base = getv(ev,"REQUEST_URI") ){ | ^ | ( ) ssi._.c:876:11: note: use '==' to turn this assignment into an equality comparison 876 | if( base = getv(ev,"REQUEST_URI") ){ | ^ | == ssi._.c:928:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 928 | while( pp = strstr(url,pat) ){ | ~~~^~~~~~~~~~~~~~~~~ ssi._.c:928:12: note: place parentheses around the assignment to silence this warning 928 | while( pp = strstr(url,pat) ){ | ^ | ( ) ssi._.c:928:12: note: use '==' to turn this assignment into an equality comparison 928 | while( pp = strstr(url,pat) ){ | ^ | == ssi._.c:929:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 929 | if( ep = strchr(pp,'}') ){ | ~~~^~~~~~~~~~~~~~~~ ssi._.c:929:10: note: place parentheses around the assignment to silence this warning 929 | if( ep = strchr(pp,'}') ){ | ^ | ( ) ssi._.c:929:10: note: use '==' to turn this assignment into an equality comparison 929 | if( ep = strchr(pp,'}') ){ | ^ | == ssi._.c:957:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 957 | if( qurl = CTX_reqURL(ctx) ){ | ~~~~~^~~~~~~~~~~~~~~~~ ssi._.c:957:11: note: place parentheses around the assignment to silence this warning 957 | if( qurl = CTX_reqURL(ctx) ){ | ^ | ( ) ssi._.c:957:11: note: use '==' to turn this assignment into an equality comparison 957 | if( qurl = CTX_reqURL(ctx) ){ | ^ | == ssi._.c:958:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 958 | if( qp = getv(ev,"QUERY_STRING") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ssi._.c:958:10: note: place parentheses around the assignment to silence this warning 958 | if( qp = getv(ev,"QUERY_STRING") ){ | ^ | ( ) ssi._.c:958:10: note: use '==' to turn this assignment into an equality comparison 958 | if( qp = getv(ev,"QUERY_STRING") ){ | ^ | == ssi._.c:961:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 961 | if( qp = strchr(qurl,'?') ){ | ~~~^~~~~~~~~~~~~~~~~~ ssi._.c:961:10: note: place parentheses around the assignment to silence this warning 961 | if( qp = strchr(qurl,'?') ){ | ^ | ( ) ssi._.c:961:10: note: use '==' to turn this assignment into an equality comparison 961 | if( qp = strchr(qurl,'?') ){ | ^ | == ssi._.c:1000:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1000 | if( up = strchr(url,'#') ){ | ~~~^~~~~~~~~~~~~~~~~ ssi._.c:1000:9: note: place parentheses around the assignment to silence this warning 1000 | if( up = strchr(url,'#') ){ | ^ | ( ) ssi._.c:1000:9: note: use '==' to turn this assignment into an equality comparison 1000 | if( up = strchr(url,'#') ){ | ^ | == ssi._.c:1006:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1006 | if( base = getv(ev,"SCRIPT_NAME") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ssi._.c:1006:12: note: place parentheses around the assignment to silence this warning 1006 | if( base = getv(ev,"SCRIPT_NAME") ){ | ^ | ( ) ssi._.c:1006:12: note: use '==' to turn this assignment into an equality comparison 1006 | if( base = getv(ev,"SCRIPT_NAME") ){ | ^ | == ssi._.c:1010:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1010 | if( base = getv(ev,"REQUEST_URI") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ssi._.c:1010:12: note: place parentheses around the assignment to silence this warning 1010 | if( base = getv(ev,"REQUEST_URI") ){ | ^ | ( ) ssi._.c:1010:12: note: use '==' to turn this assignment into an equality comparison 1010 | if( base = getv(ev,"REQUEST_URI") ){ | ^ | == ssi._.c:1039:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1039 | if( fp = fopen(file,"r") ){ | ~~~^~~~~~~~~~~~~~~~~ ssi._.c:1039:9: note: place parentheses around the assignment to silence this warning 1039 | if( fp = fopen(file,"r") ){ | ^ | ( ) ssi._.c:1039:9: note: use '==' to turn this assignment into an equality comparison 1039 | if( fp = fopen(file,"r") ){ | ^ | == ssi._.c:1331:16: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] 1331 | int NoHangWait(); | ^~ ssi._.c:1331:16: note: replace parentheses with an initializer to declare a variable 1331 | int NoHangWait(); | ^~ | = 0 ssi._.c:1351:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1351 | if( dp = strrpbrk(nwd,"/\\") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ ssi._.c:1351:10: note: place parentheses around the assignment to silence this warning 1351 | if( dp = strrpbrk(nwd,"/\\") ){ | ^ | ( ) ssi._.c:1351:10: note: use '==' to turn this assignment into an equality comparison 1351 | if( dp = strrpbrk(nwd,"/\\") ){ | ^ | == ssi._.c:1464:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1464 | if( cp = strcasestr(tagp,"content=") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ssi._.c:1464:9: note: place parentheses around the assignment to silence this warning 1464 | if( cp = strcasestr(tagp,"content=") ){ | ^ | ( ) ssi._.c:1464:9: note: use '==' to turn this assignment into an equality comparison 1464 | if( cp = strcasestr(tagp,"content=") ){ | ^ | == ssi._.c:1477:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1477 | for( sp = fvalue; fc = *sp; sp++ ){ | ~~~^~~~~ ssi._.c:1477:23: note: place parentheses around the assignment to silence this warning 1477 | for( sp = fvalue; fc = *sp; sp++ ){ | ^ | ( ) ssi._.c:1477:23: note: use '==' to turn this assignment into an equality comparison 1477 | for( sp = fvalue; fc = *sp; sp++ ){ | ^ | == ssi._.c:1494:8: warning: address of array 'cs' will always evaluate to 'true' [-Wpointer-bool-conversion] 1494 | if( cs ){ | ~~ ^~ ssi._.c:1535:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1535 | if( ep = strpbrk(np,">") ) sp = ep + 1; else | ~~~^~~~~~~~~~~~~~~~~ ssi._.c:1535:10: note: place parentheses around the assignment to silence this warning 1535 | if( ep = strpbrk(np,">") ) sp = ep + 1; else | ^ | ( ) ssi._.c:1535:10: note: use '==' to turn this assignment into an equality comparison 1535 | 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] 1536 | 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 1536 | 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 1536 | 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] 1544 | if( cont = strcasestr(tag,"content=") ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ssi._.c:1544:12: note: place parentheses around the assignment to silence this warning 1544 | if( cont = strcasestr(tag,"content=") ) | ^ | ( ) ssi._.c:1544:12: note: use '==' to turn this assignment into an equality comparison 1544 | if( cont = strcasestr(tag,"content=") ) | ^ | == ssi._.c:1576:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1576 | for( sp = np; sc = *sp; sp++ ){ | ~~~^~~~~ ssi._.c:1576:19: note: place parentheses around the assignment to silence this warning 1576 | for( sp = np; sc = *sp; sp++ ){ | ^ | ( ) ssi._.c:1576:19: note: use '==' to turn this assignment into an equality comparison 1576 | for( sp = np; sc = *sp; sp++ ){ | ^ | == ssi._.c:1669:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1669 | if( och = CCXident(CCXtoCL(ctx)) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ssi._.c:1669:13: note: place parentheses around the assignment to silence this warning 1669 | if( och = CCXident(CCXtoCL(ctx)) ){ | ^ | ( ) ssi._.c:1669:13: note: use '==' to turn this assignment into an equality comparison 1669 | if( och = CCXident(CCXtoCL(ctx)) ){ | ^ | == ssi._.c:1689:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1689 | if( fav1 = getFav("$DeleGate-Control-CCX") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ssi._.c:1689:12: note: place parentheses around the assignment to silence this warning 1689 | if( fav1 = getFav("$DeleGate-Control-CCX") ){ | ^ | ( ) ssi._.c:1689:12: note: use '==' to turn this assignment into an equality comparison 1689 | if( fav1 = getFav("$DeleGate-Control-CCX") ){ | ^ | == 36 warnings generated. ../mkcpp htaccept.c htaccept._.c -- mkcpp set time: 1773311918 -> 1414752137 htaccept._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c htaccept._.c -o htaccept.o htaccept._.c:66:55: warning: '/*' within block comment [-Wcomment] 66 | ACCEPT http://host:port/path -->> MOUNT="/path/* http://client/*" | ^ htaccept._.c:66:71: warning: '/*' within block comment [-Wcomment] 66 | ACCEPT http://host:port/path -->> MOUNT="/path/* http://client/*" | ^ 2 warnings generated. ../mkcpp htccx.c htccx._.c -- mkcpp set time: 1773311919 -> 1264937353 htccx._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c htccx._.c -o htccx.o htccx._.c:134:8: warning: add explicit braces to avoid dangling else [-Wdangling-else] 134 | }else{ | ^ htccx._.c:198:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 198 | if( dp = strpbrk(path,"=+&%") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ htccx._.c:198:11: note: place parentheses around the assignment to silence this warning 198 | if( dp = strpbrk(path,"=+&%") ) | ^ | ( ) htccx._.c:198:11: note: use '==' to turn this assignment into an equality comparison 198 | if( dp = strpbrk(path,"=+&%") ) | ^ | == htccx._.c:200:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 200 | if( dp = strchr(path,'?') ) | ~~~^~~~~~~~~~~~~~~~~~ htccx._.c:200:11: note: place parentheses around the assignment to silence this warning 200 | if( dp = strchr(path,'?') ) | ^ | ( ) htccx._.c:200:11: note: use '==' to turn this assignment into an equality comparison 200 | if( dp = strchr(path,'?') ) | ^ | == htccx._.c:203:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 203 | if( dp = strchr(path+1,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~~~ htccx._.c:203:11: note: place parentheses around the assignment to silence this warning 203 | if( dp = strchr(path+1,'/') ){ | ^ | ( ) htccx._.c:203:11: note: use '==' to turn this assignment into an equality comparison 203 | if( dp = strchr(path+1,'/') ){ | ^ | == htccx._.c:204:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 204 | if( np = strchr(dp+1,'/') ) | ~~~^~~~~~~~~~~~~~~~~~ htccx._.c:204:12: note: place parentheses around the assignment to silence this warning 204 | if( np = strchr(dp+1,'/') ) | ^ | ( ) htccx._.c:204:12: note: use '==' to turn this assignment into an equality comparison 204 | if( np = strchr(dp+1,'/') ) | ^ | == htccx._.c:243:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 243 | if( up = strchr(url,'?') ){ | ~~~^~~~~~~~~~~~~~~~~ htccx._.c:243:9: note: place parentheses around the assignment to silence this warning 243 | if( up = strchr(url,'?') ){ | ^ | ( ) htccx._.c:243:9: note: use '==' to turn this assignment into an equality comparison 243 | if( up = strchr(url,'?') ){ | ^ | == htccx._.c:372:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 372 | if( dp = strchr(dom,'/') ) | ~~~^~~~~~~~~~~~~~~~~ htccx._.c:372:10: note: place parentheses around the assignment to silence this warning 372 | if( dp = strchr(dom,'/') ) | ^ | ( ) htccx._.c:372:10: note: use '==' to turn this assignment into an equality comparison 372 | if( dp = strchr(dom,'/') ) | ^ | == htccx._.c:373:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 373 | if( dp = strchr(dp+1,'/') ) | ~~~^~~~~~~~~~~~~~~~~~ htccx._.c:373:10: note: place parentheses around the assignment to silence this warning 373 | if( dp = strchr(dp+1,'/') ) | ^ | ( ) htccx._.c:373:10: note: use '==' to turn this assignment into an equality comparison 373 | if( dp = strchr(dp+1,'/') ) | ^ | == htccx._.c:414:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 414 | if( icset = CCXident(gccx) ) | ~~~~~~^~~~~~~~~~~~~~~~ htccx._.c:414:12: note: place parentheses around the assignment to silence this warning 414 | if( icset = CCXident(gccx) ) | ^ | ( ) htccx._.c:414:12: note: use '==' to turn this assignment into an equality comparison 414 | if( icset = CCXident(gccx) ) | ^ | == htccx._.c:489:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 489 | if( xcharset = HTTP_outCharset(Conn) ) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ htccx._.c:489:15: note: place parentheses around the assignment to silence this warning 489 | if( xcharset = HTTP_outCharset(Conn) ) | ^ | ( ) htccx._.c:489:15: note: use '==' to turn this assignment into an equality comparison 489 | if( xcharset = HTTP_outCharset(Conn) ) | ^ | == htccx._.c:625:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 625 | if( fnlen = STRH(line,F_ContType) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ htccx._.c:625:12: note: place parentheses around the assignment to silence this warning 625 | if( fnlen = STRH(line,F_ContType) ) | ^ | ( ) htccx._.c:625:12: note: use '==' to turn this assignment into an equality comparison 625 | if( fnlen = STRH(line,F_ContType) ) | ^ | == htccx._.c:627:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 627 | if( xcharset = CCXident(CCX_TOCL) ){ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ htccx._.c:627:16: note: place parentheses around the assignment to silence this warning 627 | if( xcharset = CCXident(CCX_TOCL) ){ | ^ | ( ) htccx._.c:627:16: note: use '==' to turn this assignment into an equality comparison 627 | if( xcharset = CCXident(CCX_TOCL) ){ | ^ | == htccx._.c:730:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 730 | if( sp1 = strchr(url1,'?') ){ | ~~~~^~~~~~~~~~~~~~~~~~ htccx._.c:730:10: note: place parentheses around the assignment to silence this warning 730 | if( sp1 = strchr(url1,'?') ){ | ^ | ( ) htccx._.c:730:10: note: use '==' to turn this assignment into an equality comparison 730 | if( sp1 = strchr(url1,'?') ){ | ^ | == htccx._.c:764:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 764 | if( sp2 = strstr(url2,"-_-_-") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~ htccx._.c:764:11: note: place parentheses around the assignment to silence this warning 764 | if( sp2 = strstr(url2,"-_-_-") ) | ^ | ( ) htccx._.c:764:11: note: use '==' to turn this assignment into an equality comparison 764 | if( sp2 = strstr(url2,"-_-_-") ) | ^ | == htccx._.c:858:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 858 | if( ctp = findFieldValue(xfields,"Content-Type") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ htccx._.c:858:12: note: place parentheses around the assignment to silence this warning 858 | if( ctp = findFieldValue(xfields,"Content-Type") ) | ^ | ( ) htccx._.c:858:12: note: use '==' to turn this assignment into an equality comparison 858 | if( ctp = findFieldValue(xfields,"Content-Type") ) | ^ | == htccx._.c:934:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 934 | if( occ = CCXexec(ccx,"",0,AVStr(xlin),sizeof(xlin)) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ htccx._.c:934:10: note: place parentheses around the assignment to silence this warning 934 | if( occ = CCXexec(ccx,"",0,AVStr(xlin),sizeof(xlin)) ){ | ^ | ( ) htccx._.c:934:10: note: use '==' to turn this assignment into an equality comparison 934 | 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] 984 | if( len = erase_charset_param(AVStr(cont),AVStr(cset)) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ htccx._.c:984:10: note: place parentheses around the assignment to silence this warning 984 | if( len = erase_charset_param(AVStr(cont),AVStr(cset)) ){ | ^ | ( ) htccx._.c:984:10: note: use '==' to turn this assignment into an equality comparison 984 | 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] 1043 | if( fp = dirfopen("CCXMAP",AVStr(path),"w") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ htccx._.c:1043:10: note: place parentheses around the assignment to silence this warning 1043 | if( fp = dirfopen("CCXMAP",AVStr(path),"w") ){ | ^ | ( ) htccx._.c:1043:10: note: use '==' to turn this assignment into an equality comparison 1043 | if( fp = dirfopen("CCXMAP",AVStr(path),"w") ){ | ^ | == htccx._.c:1135:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1135 | if( fp = fopen("mlb.cnv","r") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ htccx._.c:1135:10: note: place parentheses around the assignment to silence this warning 1135 | if( fp = fopen("mlb.cnv","r") ){ | ^ | ( ) htccx._.c:1135:10: note: use '==' to turn this assignment into an equality comparison 1135 | if( fp = fopen("mlb.cnv","r") ){ | ^ | == 19 warnings generated. ../mkcpp htswitch.c htswitch._.c -- mkcpp set time: 1773311919 -> 1250403944 htswitch._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c htswitch._.c -o htswitch.o htswitch._.c:157:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 157 | if( dp = strcasestr(cookie,label) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ htswitch._.c:157:9: note: place parentheses around the assignment to silence this warning 157 | if( dp = strcasestr(cookie,label) ){ | ^ | ( ) htswitch._.c:157:9: note: use '==' to turn this assignment into an equality comparison 157 | if( dp = strcasestr(cookie,label) ){ | ^ | == htswitch._.c:219:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 219 | if( dp = strpbrk(postbody,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ htswitch._.c:219:10: note: place parentheses around the assignment to silence this warning 219 | if( dp = strpbrk(postbody,"\r\n") ) | ^ | ( ) htswitch._.c:219:10: note: use '==' to turn this assignment into an equality comparison 219 | if( dp = strpbrk(postbody,"\r\n") ) | ^ | == htswitch._.c:248:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 248 | for( swi = 0; sw = swv[swi]; swi++ ) | ~~~^~~~~~~~~~ htswitch._.c:248:19: note: place parentheses around the assignment to silence this warning 248 | for( swi = 0; sw = swv[swi]; swi++ ) | ^ | ( ) htswitch._.c:248:19: note: use '==' to turn this assignment into an equality comparison 248 | for( swi = 0; sw = swv[swi]; swi++ ) | ^ | == htswitch._.c:254:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 254 | for( swi = 1; sw = swv[swi]; swi++ ){ | ~~~^~~~~~~~~~ htswitch._.c:254:19: note: place parentheses around the assignment to silence this warning 254 | for( swi = 1; sw = swv[swi]; swi++ ){ | ^ | ( ) htswitch._.c:254:19: note: use '==' to turn this assignment into an equality comparison 254 | for( swi = 1; sw = swv[swi]; swi++ ){ | ^ | == htswitch._.c:263:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 263 | for( swi = 1; sw = swv[swi]; swi++ ) | ~~~^~~~~~~~~~ htswitch._.c:263:19: note: place parentheses around the assignment to silence this warning 263 | for( swi = 1; sw = swv[swi]; swi++ ) | ^ | ( ) htswitch._.c:263:19: note: use '==' to turn this assignment into an equality comparison 263 | for( swi = 1; sw = swv[swi]; swi++ ) | ^ | == htswitch._.c:279:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 279 | for( swi = 0; sw = swv[swi]; swi++ ){ | ~~~^~~~~~~~~~ htswitch._.c:279:19: note: place parentheses around the assignment to silence this warning 279 | for( swi = 0; sw = swv[swi]; swi++ ){ | ^ | ( ) htswitch._.c:279:19: note: use '==' to turn this assignment into an equality comparison 279 | for( swi = 0; sw = swv[swi]; swi++ ){ | ^ | == htswitch._.c:290:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 290 | for( swi = 1; sw = swv[swi]; swi++ ){ | ~~~^~~~~~~~~~ htswitch._.c:290:19: note: place parentheses around the assignment to silence this warning 290 | for( swi = 1; sw = swv[swi]; swi++ ){ | ^ | ( ) htswitch._.c:290:19: note: use '==' to turn this assignment into an equality comparison 290 | for( swi = 1; sw = swv[swi]; swi++ ){ | ^ | == 7 warnings generated. ../mkcpp htmlgen.c htmlgen._.c -- mkcpp set time: 1773311920 -> 1399198432 htmlgen._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c htmlgen._.c -o htmlgen.o htmlgen._.c:361:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 361 | if( data = getMssgX(iurl,&rcc,date) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ htmlgen._.c:361:12: note: place parentheses around the assignment to silence this warning 361 | if( data = getMssgX(iurl,&rcc,date) ){ | ^ | ( ) htmlgen._.c:361:12: note: use '==' to turn this assignment into an equality comparison 361 | if( data = getMssgX(iurl,&rcc,date) ){ | ^ | == htmlgen._.c:456:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 456 | if( dont_REWRITE = DONT_REWRITE ){ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ htmlgen._.c:456:20: note: place parentheses around the assignment to silence this warning 456 | if( dont_REWRITE = DONT_REWRITE ){ | ^ | ( ) htmlgen._.c:456:20: note: use '==' to turn this assignment into an equality comparison 456 | if( dont_REWRITE = DONT_REWRITE ){ | ^ | == htmlgen._.c:494:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 494 | if( DONT_REWRITE = dont_REWRITE ){ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ htmlgen._.c:494:20: note: place parentheses around the assignment to silence this warning 494 | if( DONT_REWRITE = dont_REWRITE ){ | ^ | ( ) htmlgen._.c:494:20: note: use '==' to turn this assignment into an equality comparison 494 | if( DONT_REWRITE = dont_REWRITE ){ | ^ | == htmlgen._.c:528:14: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 528 | HTMLSRC_EXT = 1; | ^ ~ htmlgen._.c:540:14: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 540 | HTMLSRC_EXT = 1; | ^ ~ htmlgen._.c:646:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 646 | for( sp = str; ch = *sp; sp++ ){ | ~~~^~~~~ htmlgen._.c:646:20: note: place parentheses around the assignment to silence this warning 646 | for( sp = str; ch = *sp; sp++ ){ | ^ | ( ) htmlgen._.c:646:20: note: use '==' to turn this assignment into an equality comparison 646 | for( sp = str; ch = *sp; sp++ ){ | ^ | == htmlgen._.c:669:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 669 | }else | ^ htmlgen._.c:689:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 689 | if( p = scanchr(itemexp,':',AVStr(name)) ) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ htmlgen._.c:689:8: note: place parentheses around the assignment to silence this warning 689 | if( p = scanchr(itemexp,':',AVStr(name)) ) | ^ | ( ) htmlgen._.c:689:8: note: use '==' to turn this assignment into an equality comparison 689 | if( p = scanchr(itemexp,':',AVStr(name)) ) | ^ | == htmlgen._.c:796:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 796 | if( dp = strpbrk(arg1,"[=") ) | ~~~^~~~~~~~~~~~~~~~~~~~ htmlgen._.c:796:10: note: place parentheses around the assignment to silence this warning 796 | if( dp = strpbrk(arg1,"[=") ) | ^ | ( ) htmlgen._.c:796:10: note: use '==' to turn this assignment into an equality comparison 796 | if( dp = strpbrk(arg1,"[=") ) | ^ | == htmlgen._.c:799:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 799 | if( dp = strchr(dp+1,']') ) | ~~~^~~~~~~~~~~~~~~~~~ htmlgen._.c:799:11: note: place parentheses around the assignment to silence this warning 799 | if( dp = strchr(dp+1,']') ) | ^ | ( ) htmlgen._.c:799:11: note: use '==' to turn this assignment into an equality comparison 799 | if( dp = strchr(dp+1,']') ) | ^ | == htmlgen._.c:813:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 813 | if( Not = strneq(item,"NOT.",4) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ htmlgen._.c:813:10: note: place parentheses around the assignment to silence this warning 813 | if( Not = strneq(item,"NOT.",4) ){ | ^ | ( ) htmlgen._.c:813:10: note: use '==' to turn this assignment into an equality comparison 813 | if( Not = strneq(item,"NOT.",4) ){ | ^ | == htmlgen._.c:816:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 816 | if( Nil = strneq(item,"NIL.",4) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ htmlgen._.c:816:10: note: place parentheses around the assignment to silence this warning 816 | if( Nil = strneq(item,"NIL.",4) ){ | ^ | ( ) htmlgen._.c:816:10: note: use '==' to turn this assignment into an equality comparison 816 | if( Nil = strneq(item,"NIL.",4) ){ | ^ | == htmlgen._.c:850:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 850 | if( dp = strrchr(curl,'/') ) | ~~~^~~~~~~~~~~~~~~~~~~ htmlgen._.c:850:10: note: place parentheses around the assignment to silence this warning 850 | if( dp = strrchr(curl,'/') ) | ^ | ( ) htmlgen._.c:850:10: note: use '==' to turn this assignment into an equality comparison 850 | if( dp = strrchr(curl,'/') ) | ^ | == htmlgen._.c:987:15: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 987 | ESCAPE_URL1 = 1; | ^ ~ htmlgen._.c:1027:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1027 | if( p = scanchr(condexp,'?',AVStr(conds)) ) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ htmlgen._.c:1027:8: note: place parentheses around the assignment to silence this warning 1027 | if( p = scanchr(condexp,'?',AVStr(conds)) ) | ^ | ( ) htmlgen._.c:1027:8: note: use '==' to turn this assignment into an equality comparison 1027 | if( p = scanchr(condexp,'?',AVStr(conds)) ) | ^ | == htmlgen._.c:1028:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1028 | if( p = scanchr(p,':',AVStr(trues)) ) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ htmlgen._.c:1028:8: note: place parentheses around the assignment to silence this warning 1028 | if( p = scanchr(p,':',AVStr(trues)) ) | ^ | ( ) htmlgen._.c:1028:8: note: use '==' to turn this assignment into an equality comparison 1028 | if( p = scanchr(p,':',AVStr(trues)) ) | ^ | == htmlgen._.c:1036:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1036 | if( p = scanchr(exp,dch,AVStr(left)) ) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ htmlgen._.c:1036:8: note: place parentheses around the assignment to silence this warning 1036 | if( p = scanchr(exp,dch,AVStr(left)) ) | ^ | ( ) htmlgen._.c:1036:8: note: use '==' to turn this assignment into an equality comparison 1036 | if( p = scanchr(exp,dch,AVStr(left)) ) | ^ | == htmlgen._.c:1049:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1049 | if( dp = strpbrk(conds,"<=&|") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~ htmlgen._.c:1049:9: note: place parentheses around the assignment to silence this warning 1049 | if( dp = strpbrk(conds,"<=&|") ){ | ^ | ( ) htmlgen._.c:1049:9: note: use '==' to turn this assignment into an equality comparison 1049 | if( dp = strpbrk(conds,"<=&|") ){ | ^ | == htmlgen._.c:1084:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1084 | if( dp = scanchr(item,'?',VStrNULL) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ htmlgen._.c:1084:9: note: place parentheses around the assignment to silence this warning 1084 | if( dp = scanchr(item,'?',VStrNULL) ){ | ^ | ( ) htmlgen._.c:1084:9: note: use '==' to turn this assignment into an equality comparison 1084 | if( dp = scanchr(item,'?',VStrNULL) ){ | ^ | == htmlgen._.c:1177:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1177 | for( sp = str; ch = *sp; sp++ ){ | ~~~^~~~~ htmlgen._.c:1177:20: note: place parentheses around the assignment to silence this warning 1177 | for( sp = str; ch = *sp; sp++ ){ | ^ | ( ) htmlgen._.c:1177:20: note: use '==' to turn this assignment into an equality comparison 1177 | for( sp = str; ch = *sp; sp++ ){ | ^ | == htmlgen._.c:1219:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1219 | if( dp = scanitem(sp+2) ){ | ~~~^~~~~~~~~~~~~~~~ htmlgen._.c:1219:14: note: place parentheses around the assignment to silence this warning 1219 | if( dp = scanitem(sp+2) ){ | ^ | ( ) htmlgen._.c:1219:14: note: use '==' to turn this assignment into an equality comparison 1219 | if( dp = scanitem(sp+2) ){ | ^ | == htmlgen._.c:1227:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1227 | if( vp = Nvfind(sp+3) ){ | ~~~^~~~~~~~~~~~~~ htmlgen._.c:1227:12: note: place parentheses around the assignment to silence this warning 1227 | if( vp = Nvfind(sp+3) ){ | ^ | ( ) htmlgen._.c:1227:12: note: use '==' to turn this assignment into an equality comparison 1227 | if( vp = Nvfind(sp+3) ){ | ^ | == htmlgen._.c:1276:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1276 | if( dp = strchr(ctag,'>') ){ | ~~~^~~~~~~~~~~~~~~~~~ htmlgen._.c:1276:14: note: place parentheses around the assignment to silence this warning 1276 | if( dp = strchr(ctag,'>') ){ | ^ | ( ) htmlgen._.c:1276:14: note: use '==' to turn this assignment into an equality comparison 1276 | if( dp = strchr(ctag,'>') ){ | ^ | == htmlgen._.c:1279:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1279 | for( ti = 0; tag = dhtml_tags[ti].tag; ti++ ){ | ~~~~^~~~~~~~~~~~~~~~~~~~ htmlgen._.c:1279:21: note: place parentheses around the assignment to silence this warning 1279 | for( ti = 0; tag = dhtml_tags[ti].tag; ti++ ){ | ^ | ( ) htmlgen._.c:1279:21: note: use '==' to turn this assignment into an equality comparison 1279 | for( ti = 0; tag = dhtml_tags[ti].tag; ti++ ){ | ^ | == htmlgen._.c:1284:7: warning: expression result unused [-Wunused-value] 1284 | *arg++; | ^~~~~~ htmlgen._.c:1501:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1501 | if( ouser = VA_getOriginatorIdent(Conn,&ident) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ htmlgen._.c:1501:14: note: place parentheses around the assignment to silence this warning 1501 | if( ouser = VA_getOriginatorIdent(Conn,&ident) ) | ^ | ( ) htmlgen._.c:1501:14: note: use '==' to turn this assignment into an equality comparison 1501 | if( ouser = VA_getOriginatorIdent(Conn,&ident) ) | ^ | == htmlgen._.c:1517:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1517 | if( dp = strstr(url,"MSIE ") ) | ~~~^~~~~~~~~~~~~~~~~~~~~ htmlgen._.c:1517:11: note: place parentheses around the assignment to silence this warning 1517 | if( dp = strstr(url,"MSIE ") ) | ^ | ( ) htmlgen._.c:1517:11: note: use '==' to turn this assignment into an equality comparison 1517 | if( dp = strstr(url,"MSIE ") ) | ^ | == htmlgen._.c:1520:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1520 | if( dp = strrchr(url,')') ) | ~~~^~~~~~~~~~~~~~~~~~ htmlgen._.c:1520:12: note: place parentheses around the assignment to silence this warning 1520 | if( dp = strrchr(url,')') ) | ^ | ( ) htmlgen._.c:1520:12: note: use '==' to turn this assignment into an equality comparison 1520 | if( dp = strrchr(url,')') ) | ^ | == htmlgen._.c:1648:15: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 1648 | HTMLSRC_EXT = 1; | ^ ~ htmlgen._.c:1666:15: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 1666 | HTMLSRC_EXT = 1; | ^ ~ htmlgen._.c:1683:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1683 | if( up = strrchr(url,'/') ) | ~~~^~~~~~~~~~~~~~~~~~ htmlgen._.c:1683:11: note: place parentheses around the assignment to silence this warning 1683 | if( up = strrchr(url,'/') ) | ^ | ( ) htmlgen._.c:1683:11: note: use '==' to turn this assignment into an equality comparison 1683 | if( up = strrchr(url,'/') ) | ^ | == htmlgen._.c:1696:15: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 1696 | HTMLSRC_EXT = 1; | ^ ~ htmlgen._.c:1834:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1834 | if( vp = Nvfind(arg) ){ | ~~~^~~~~~~~~~~~~ htmlgen._.c:1834:10: note: place parentheses around the assignment to silence this warning 1834 | if( vp = Nvfind(arg) ){ | ^ | ( ) htmlgen._.c:1834:10: note: use '==' to turn this assignment into an equality comparison 1834 | if( vp = Nvfind(arg) ){ | ^ | == htmlgen._.c:1881:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1881 | if( rcc = fread(script,1,sizeof(script)-1,fp) ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ htmlgen._.c:1881:11: note: place parentheses around the assignment to silence this warning 1881 | if( rcc = fread(script,1,sizeof(script)-1,fp) ) | ^ | ( ) htmlgen._.c:1881:11: note: use '==' to turn this assignment into an equality comparison 1881 | if( rcc = fread(script,1,sizeof(script)-1,fp) ) | ^ | == 34 warnings generated. ../mkcpp htfilter.c htfilter._.c -- mkcpp set time: 1773311922 -> 1411902331 htfilter._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c htfilter._.c -o htfilter.o htfilter._.c:54:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 54 | if( tp = strcasestr(tbuff,"TITLE=") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ htfilter._.c:54:9: note: place parentheses around the assignment to silence this warning 54 | if( tp = strcasestr(tbuff,"TITLE=") ){ | ^ | ( ) htfilter._.c:54:9: note: use '==' to turn this assignment into an equality comparison 54 | if( tp = strcasestr(tbuff,"TITLE=") ){ | ^ | == htfilter._.c:68:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 68 | if( ep = strstr(hp,"-->") ){ | ~~~^~~~~~~~~~~~~~~~~~ htfilter._.c:68:10: note: place parentheses around the assignment to silence this warning 68 | if( ep = strstr(hp,"-->") ){ | ^ | ( ) htfilter._.c:68:10: note: use '==' to turn this assignment into an equality comparison 68 | if( ep = strstr(hp,"-->") ){ | ^ | == htfilter._.c:83:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 83 | if( ep = strstr(hp+4,"-->") ){ | ~~~^~~~~~~~~~~~~~~~~~~~ htfilter._.c:83:12: note: place parentheses around the assignment to silence this warning 83 | if( ep = strstr(hp+4,"-->") ){ | ^ | ( ) htfilter._.c:83:12: note: use '==' to turn this assignment into an equality comparison 83 | if( ep = strstr(hp+4,"-->") ){ | ^ | == htfilter._.c:145:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 145 | for( sp = str; ch = *sp; sp++ ){ | ~~~^~~~~ htfilter._.c:145:20: note: place parentheses around the assignment to silence this warning 145 | for( sp = str; ch = *sp; sp++ ){ | ^ | ( ) htfilter._.c:145:20: note: use '==' to turn this assignment into an equality comparison 145 | for( sp = str; ch = *sp; sp++ ){ | ^ | == htfilter._.c:189:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 189 | if( np = strpbrk(lp,"\r\n") ){ | ~~~^~~~~~~~~~~~~~~~~~~~ htfilter._.c:189:10: note: place parentheses around the assignment to silence this warning 189 | if( np = strpbrk(lp,"\r\n") ){ | ^ | ( ) htfilter._.c:189:10: note: use '==' to turn this assignment into an equality comparison 189 | if( np = strpbrk(lp,"\r\n") ){ | ^ | == htfilter._.c:230:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 230 | if( dp = strcasestr(line,"") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ htfilter._.c:230:9: note: place parentheses around the assignment to silence this warning 230 | if( dp = strcasestr(line,"<TITLE>") ){ | ^ | ( ) htfilter._.c:230:9: note: use '==' to turn this assignment into an equality comparison 230 | if( dp = strcasestr(line,"<TITLE>") ){ | ^ | == htfilter._.c:235:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 235 | if( dp = strcasestr(line,"<nohrefgen>") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ htfilter._.c:235:9: note: place parentheses around the assignment to silence this warning 235 | if( dp = strcasestr(line,"<nohrefgen>") ){ | ^ | ( ) htfilter._.c:235:9: note: use '==' to turn this assignment into an equality comparison 235 | if( dp = strcasestr(line,"<nohrefgen>") ){ | ^ | == htfilter._.c:251:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 251 | while( tag = findTag(mp,"<META",&cm0) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ htfilter._.c:251:15: note: place parentheses around the assignment to silence this warning 251 | while( tag = findTag(mp,"<META",&cm0) ){ | ^ | ( ) htfilter._.c:251:15: note: use '==' to turn this assignment into an equality comparison 251 | while( tag = findTag(mp,"<META",&cm0) ){ | ^ | == htfilter._.c:252:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 252 | if( mp = strchr(tag,'>') ){ | ~~~^~~~~~~~~~~~~~~~~ htfilter._.c:252:12: note: place parentheses around the assignment to silence this warning 252 | if( mp = strchr(tag,'>') ){ | ^ | ( ) htfilter._.c:252:12: note: use '==' to turn this assignment into an equality comparison 252 | if( mp = strchr(tag,'>') ){ | ^ | == htfilter._.c:266:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 266 | if( stylebegin = findTag(lp,"<STYLE",&cm1) ){ | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ htfilter._.c:266:18: note: place parentheses around the assignment to silence this warning 266 | if( stylebegin = findTag(lp,"<STYLE",&cm1) ){ | ^ | ( ) htfilter._.c:266:18: note: use '==' to turn this assignment into an equality comparison 266 | if( stylebegin = findTag(lp,"<STYLE",&cm1) ){ | ^ | == htfilter._.c:268:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 268 | if( styleend = findTag(stylebegin,"</STYLE",&cm1) ){ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ htfilter._.c:268:18: note: place parentheses around the assignment to silence this warning 268 | if( styleend = findTag(stylebegin,"</STYLE",&cm1) ){ | ^ | ( ) htfilter._.c:268:18: note: use '==' to turn this assignment into an equality comparison 268 | if( styleend = findTag(stylebegin,"</STYLE",&cm1) ){ | ^ | == htfilter._.c:269:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 269 | if( styleend = strchr(styleend,'>') ){ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ htfilter._.c:269:20: note: place parentheses around the assignment to silence this warning 269 | if( styleend = strchr(styleend,'>') ){ | ^ | ( ) htfilter._.c:269:20: note: use '==' to turn this assignment into an equality comparison 269 | if( styleend = strchr(styleend,'>') ){ | ^ | == htfilter._.c:291:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 291 | while( tag = findTag(lp,"<A NAME=",&cm2) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ htfilter._.c:291:14: note: place parentheses around the assignment to silence this warning 291 | while( tag = findTag(lp,"<A NAME=",&cm2) ){ | ^ | ( ) htfilter._.c:291:14: note: use '==' to turn this assignment into an equality comparison 291 | while( tag = findTag(lp,"<A NAME=",&cm2) ){ | ^ | == htfilter._.c:309:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 309 | if( lp = strchr(tag,'>') ) | ~~~^~~~~~~~~~~~~~~~~ htfilter._.c:309:12: note: place parentheses around the assignment to silence this warning 309 | if( lp = strchr(tag,'>') ) | ^ | ( ) htfilter._.c:309:12: note: use '==' to turn this assignment into an equality comparison 309 | if( lp = strchr(tag,'>') ) | ^ | == htfilter._.c:349:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 349 | if( dp = strchr(Pf->p_Base,'?') ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ htfilter._.c:349:10: note: place parentheses around the assignment to silence this warning 349 | if( dp = strchr(Pf->p_Base,'?') ) | ^ | ( ) htfilter._.c:349:10: note: use '==' to turn this assignment into an equality comparison 349 | if( dp = strchr(Pf->p_Base,'?') ) | ^ | == htfilter._.c:351:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 351 | if( dp = strrchr(Pf->p_Base,'/') ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ htfilter._.c:351:10: note: place parentheses around the assignment to silence this warning 351 | if( dp = strrchr(Pf->p_Base,'/') ) | ^ | ( ) htfilter._.c:351:10: note: use '==' to turn this assignment into an equality comparison 351 | if( dp = strrchr(Pf->p_Base,'/') ) | ^ | == htfilter._.c:483:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 483 | if( lp = strchr(lp,'>') ) | ~~~^~~~~~~~~~~~~~~~ htfilter._.c:483:11: note: place parentheses around the assignment to silence this warning 483 | if( lp = strchr(lp,'>') ) | ^ | ( ) htfilter._.c:483:11: note: use '==' to turn this assignment into an equality comparison 483 | if( lp = strchr(lp,'>') ) | ^ | == htfilter._.c:489:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 489 | if( tag = findTag(lp,"<STYLE",&Pf->p_Incomment) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ htfilter._.c:489:12: note: place parentheses around the assignment to silence this warning 489 | if( tag = findTag(lp,"<STYLE",&Pf->p_Incomment) ){ | ^ | ( ) htfilter._.c:489:12: note: use '==' to turn this assignment into an equality comparison 489 | if( tag = findTag(lp,"<STYLE",&Pf->p_Incomment) ){ | ^ | == 18 warnings generated. ../mkcpp nntp.c nntp._.c -- mkcpp set time: 1773311923 -> 1276430216 nntp._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c nntp._.c -o nntp.o nntp._.c:59:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 59 | if( np = strpbrk(req,"\r\n") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ nntp._.c:59:11: note: place parentheses around the assignment to silence this warning 59 | if( np = strpbrk(req,"\r\n") ){ | ^ | ( ) nntp._.c:59:11: note: use '==' to turn this assignment into an equality comparison 59 | if( np = strpbrk(req,"\r\n") ){ | ^ | == nntp._.c:950:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 950 | for( hi = 0; hide = nm->nm_hide[hi]; hi++ ){ | ~~~~~^~~~~~~~~~~~~~~~~ nntp._.c:950:20: note: place parentheses around the assignment to silence this warning 950 | for( hi = 0; hide = nm->nm_hide[hi]; hi++ ){ | ^ | ( ) nntp._.c:950:20: note: use '==' to turn this assignment into an equality comparison 950 | for( hi = 0; hide = nm->nm_hide[hi]; hi++ ){ | ^ | == nntp._.c:1072:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1072 | if( dp = strchr(group1,',') ) | ~~~^~~~~~~~~~~~~~~~~~~~ nntp._.c:1072:9: note: place parentheses around the assignment to silence this warning 1072 | if( dp = strchr(group1,',') ) | ^ | ( ) nntp._.c:1072:9: note: use '==' to turn this assignment into an equality comparison 1072 | if( dp = strchr(group1,',') ) | ^ | == nntp._.c:1106:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1106 | if( tp = strchr(what,'>') ) | ~~~^~~~~~~~~~~~~~~~~~ nntp._.c:1106:10: note: place parentheses around the assignment to silence this warning 1106 | if( tp = strchr(what,'>') ) | ^ | ( ) nntp._.c:1106:10: note: use '==' to turn this assignment into an equality comparison 1106 | if( tp = strchr(what,'>') ) | ^ | == nntp._.c:1153:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1153 | for( mi = 0; m1 = methods[mi].qm_name; mi++ ) | ~~~^~~~~~~~~~~~~~~~~~~~~ nntp._.c:1153:18: note: place parentheses around the assignment to silence this warning 1153 | for( mi = 0; m1 = methods[mi].qm_name; mi++ ) | ^ | ( ) nntp._.c:1153:18: note: use '==' to turn this assignment into an equality comparison 1153 | for( mi = 0; m1 = methods[mi].qm_name; mi++ ) | ^ | == nntp._.c:1169:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1169 | for( mi = 0; m1 = methods[mi].qm_name; mi++ ) | ~~~^~~~~~~~~~~~~~~~~~~~~ nntp._.c:1169:18: note: place parentheses around the assignment to silence this warning 1169 | for( mi = 0; m1 = methods[mi].qm_name; mi++ ) | ^ | ( ) nntp._.c:1169:18: note: use '==' to turn this assignment into an equality comparison 1169 | for( mi = 0; m1 = methods[mi].qm_name; mi++ ) | ^ | == nntp._.c:1270:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1270 | if( nsid = (long int)Hsearch(permitted_nsid,group,0) ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:1270:11: note: place parentheses around the assignment to silence this warning 1270 | if( nsid = (long int)Hsearch(permitted_nsid,group,0) ) | ^ | ( ) nntp._.c:1270:11: note: use '==' to turn this assignment into an equality comparison 1270 | if( nsid = (long int)Hsearch(permitted_nsid,group,0) ) | ^ | == nntp._.c:1274:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1274 | if( nsid = permitted_group1(si,0,group) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:1274:12: note: place parentheses around the assignment to silence this warning 1274 | if( nsid = permitted_group1(si,0,group) ){ | ^ | ( ) nntp._.c:1274:12: note: use '==' to turn this assignment into an equality comparison 1274 | if( nsid = permitted_group1(si,0,group) ){ | ^ | == nntp._.c:1290:37: warning: '/*' within block comment [-Wcomment] 1290 | MOUNT="LOCALNEWS.* nntp://localnews/*" | ^ nntp._.c:1291:33: warning: '/*' within block comment [-Wcomment] 1291 | MOUNT="= nntp://news.aist.go.jp/*" | ^ nntp._.c:1309:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1309 | if( nm = mount_group_fromx(ns,ng) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:1309:9: note: place parentheses around the assignment to silence this warning 1309 | if( nm = mount_group_fromx(ns,ng) ){ | ^ | ( ) nntp._.c:1309:9: note: use '==' to turn this assignment into an equality comparison 1309 | if( nm = mount_group_fromx(ns,ng) ){ | ^ | == nntp._.c:1725:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1725 | if( lfp = LCfp(ns,li) ){ | ~~~~^~~~~~~~~~~~~ nntp._.c:1725:10: note: place parentheses around the assignment to silence this warning 1725 | if( lfp = LCfp(ns,li) ){ | ^ | ( ) nntp._.c:1725:10: note: use '==' to turn this assignment into an equality comparison 1725 | if( lfp = LCfp(ns,li) ){ | ^ | == nntp._.c:1799:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1799 | if( lfp = dirfopen("LIST.active",ZVStr(cachepath,1024),"w+") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:1799:11: note: place parentheses around the assignment to silence this warning 1799 | if( lfp = dirfopen("LIST.active",ZVStr(cachepath,1024),"w+") ) | ^ | ( ) nntp._.c:1799:11: note: use '==' to turn this assignment into an equality comparison 1799 | if( lfp = dirfopen("LIST.active",ZVStr(cachepath,1024),"w+") ) | ^ | == nntp._.c:1804:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1804 | if( lfp = TMPFILE("nntp-LIST-private") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:1804:11: note: place parentheses around the assignment to silence this warning 1804 | if( lfp = TMPFILE("nntp-LIST-private") ) | ^ | ( ) nntp._.c:1804:11: note: use '==' to turn this assignment into an equality comparison 1804 | if( lfp = TMPFILE("nntp-LIST-private") ) | ^ | == nntp._.c:1826:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1826 | if( fp = fopen(ucpath,"w") ){ | ~~~^~~~~~~~~~~~~~~~~~~ nntp._.c:1826:10: note: place parentheses around the assignment to silence this warning 1826 | if( fp = fopen(ucpath,"w") ){ | ^ | ( ) nntp._.c:1826:10: note: use '==' to turn this assignment into an equality comparison 1826 | if( fp = fopen(ucpath,"w") ){ | ^ | == nntp._.c:1851:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1851 | if( mtime = ns->ns_posted ){ | ~~~~~~^~~~~~~~~~~~~~~ nntp._.c:1851:12: note: place parentheses around the assignment to silence this warning 1851 | if( mtime = ns->ns_posted ){ | ^ | ( ) nntp._.c:1851:12: note: use '==' to turn this assignment into an equality comparison 1851 | if( mtime = ns->ns_posted ){ | ^ | == nntp._.c:1860:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1860 | if( mtime = listMtime(ns,li,0) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~ nntp._.c:1860:12: note: place parentheses around the assignment to silence this warning 1860 | if( mtime = listMtime(ns,li,0) ){ | ^ | ( ) nntp._.c:1860:12: note: use '==' to turn this assignment into an equality comparison 1860 | if( mtime = listMtime(ns,li,0) ){ | ^ | == nntp._.c:1954:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1954 | if( mtime = LCorigmtime(ns,li) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~ nntp._.c:1954:14: note: place parentheses around the assignment to silence this warning 1954 | if( mtime = LCorigmtime(ns,li) ){ | ^ | ( ) nntp._.c:1954:14: note: use '==' to turn this assignment into an equality comparison 1954 | if( mtime = LCorigmtime(ns,li) ){ | ^ | == nntp._.c:2167:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2167 | if( cfp = dirfopen(where,AVStr(cpath),"r") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:2167:11: note: place parentheses around the assignment to silence this warning 2167 | if( cfp = dirfopen(where,AVStr(cpath),"r") ){ | ^ | ( ) nntp._.c:2167:11: note: use '==' to turn this assignment into an equality comparison 2167 | if( cfp = dirfopen(where,AVStr(cpath),"r") ){ | ^ | == nntp._.c:2175:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2175 | if( cfp = dirfopen(where,AVStr(cpath),"w") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:2175:11: note: place parentheses around the assignment to silence this warning 2175 | if( cfp = dirfopen(where,AVStr(cpath),"w") ){ | ^ | ( ) nntp._.c:2175:11: note: use '==' to turn this assignment into an equality comparison 2175 | if( cfp = dirfopen(where,AVStr(cpath),"w") ){ | ^ | == nntp._.c:2187:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2187 | if( cfp = dirfopen(where,AVStr(cpath),"r") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:2187:11: note: place parentheses around the assignment to silence this warning 2187 | if( cfp = dirfopen(where,AVStr(cpath),"r") ){ | ^ | ( ) nntp._.c:2187:11: note: use '==' to turn this assignment into an equality comparison 2187 | if( cfp = dirfopen(where,AVStr(cpath),"r") ){ | ^ | == nntp._.c:2343:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2343 | if( phfp = dirfopen("PATHHOST",AVStr(cpath),"w") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:2343:11: note: place parentheses around the assignment to silence this warning 2343 | if( phfp = dirfopen("PATHHOST",AVStr(cpath),"w") ){ | ^ | ( ) nntp._.c:2343:11: note: use '==' to turn this assignment into an equality comparison 2343 | if( phfp = dirfopen("PATHHOST",AVStr(cpath),"w") ){ | ^ | == nntp._.c:2406:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2406 | if( lfp = dirfopen("PATHHOST",AVStr(cpath),"w") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:2406:12: note: place parentheses around the assignment to silence this warning 2406 | if( lfp = dirfopen("PATHHOST",AVStr(cpath),"w") ){ | ^ | ( ) nntp._.c:2406:12: note: use '==' to turn this assignment into an equality comparison 2406 | if( lfp = dirfopen("PATHHOST",AVStr(cpath),"w") ){ | ^ | == nntp._.c:2531:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2531 | if( match1 = mount_group_from1(si,AVStr(ngs)) ) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:2531:16: note: place parentheses around the assignment to silence this warning 2531 | if( match1 = mount_group_from1(si,AVStr(ngs)) ) | ^ | ( ) nntp._.c:2531:16: note: use '==' to turn this assignment into an equality comparison 2531 | if( match1 = mount_group_from1(si,AVStr(ngs)) ) | ^ | == nntp._.c:2535:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2535 | for(; ch = *ngs; ngs++){ | ~~~^~~~~~ nntp._.c:2535:12: note: place parentheses around the assignment to silence this warning 2535 | for(; ch = *ngs; ngs++){ | ^ | ( ) nntp._.c:2535:12: note: use '==' to turn this assignment into an equality comparison 2535 | for(; ch = *ngs; ngs++){ | ^ | == nntp._.c:2584:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2584 | if( dp = strchr(mid,'>') ) | ~~~^~~~~~~~~~~~~~~~~ nntp._.c:2584:10: note: place parentheses around the assignment to silence this warning 2584 | if( dp = strchr(mid,'>') ) | ^ | ( ) nntp._.c:2584:10: note: use '==' to turn this assignment into an equality comparison 2584 | if( dp = strchr(mid,'>') ) | ^ | == nntp._.c:2587:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2587 | if( afp = ENEWS_article(mid,group,anum) ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:2587:11: note: place parentheses around the assignment to silence this warning 2587 | if( afp = ENEWS_article(mid,group,anum) ) | ^ | ( ) nntp._.c:2587:11: note: use '==' to turn this assignment into an equality comparison 2587 | if( afp = ENEWS_article(mid,group,anum) ) | ^ | == nntp._.c:2604:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2604 | if( afp = ENEWS_article(NULL,group,anum) ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:2604:11: note: place parentheses around the assignment to silence this warning 2604 | if( afp = ENEWS_article(NULL,group,anum) ) | ^ | ( ) nntp._.c:2604:11: note: use '==' to turn this assignment into an equality comparison 2604 | if( afp = ENEWS_article(NULL,group,anum) ) | ^ | == nntp._.c:2695:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2695 | while( xp = wordScan(xp,xref1) ){ | ~~~^~~~~~~~~~~~~~~~~~~~ nntp._.c:2695:12: note: place parentheses around the assignment to silence this warning 2695 | while( xp = wordScan(xp,xref1) ){ | ^ | ( ) nntp._.c:2695:12: note: use '==' to turn this assignment into an equality comparison 2695 | while( xp = wordScan(xp,xref1) ){ | ^ | == nntp._.c:2745:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2745 | for( dp = groups; ch = *dp; dp++ ){ | ~~~^~~~~ nntp._.c:2745:24: note: place parentheses around the assignment to silence this warning 2745 | for( dp = groups; ch = *dp; dp++ ){ | ^ | ( ) nntp._.c:2745:24: note: use '==' to turn this assignment into an equality comparison 2745 | for( dp = groups; ch = *dp; dp++ ){ | ^ | == nntp._.c:2757:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2757 | for( dp = groups; ch = *dp; dp++ ){ | ~~~^~~~~ nntp._.c:2757:24: note: place parentheses around the assignment to silence this warning 2757 | for( dp = groups; ch = *dp; dp++ ){ | ^ | ( ) nntp._.c:2757:24: note: use '==' to turn this assignment into an equality comparison 2757 | for( dp = groups; ch = *dp; dp++ ){ | ^ | == nntp._.c:2846:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2846 | if( fp = ACL_fopen("nntp",host,port,"",0,AVStr(cpath)) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:2846:9: note: place parentheses around the assignment to silence this warning 2846 | if( fp = ACL_fopen("nntp",host,port,"",0,AVStr(cpath)) ){ | ^ | ( ) nntp._.c:2846:9: note: use '==' to turn this assignment into an equality comparison 2846 | if( fp = ACL_fopen("nntp",host,port,"",0,AVStr(cpath)) ){ | ^ | == nntp._.c:2862:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2862 | if( fp = ACL_fopen("nntp",host,port,path,0,AVStr(cpath)) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:2862:9: note: place parentheses around the assignment to silence this warning 2862 | if( fp = ACL_fopen("nntp",host,port,path,0,AVStr(cpath)) ){ | ^ | ( ) nntp._.c:2862:9: note: use '==' to turn this assignment into an equality comparison 2862 | if( fp = ACL_fopen("nntp",host,port,path,0,AVStr(cpath)) ){ | ^ | == nntp._.c:2900:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2900 | if( imask = MC_scanMasks(mask) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~ nntp._.c:2900:13: note: place parentheses around the assignment to silence this warning 2900 | if( imask = MC_scanMasks(mask) ){ | ^ | ( ) nntp._.c:2900:13: note: use '==' to turn this assignment into an equality comparison 2900 | if( imask = MC_scanMasks(mask) ){ | ^ | == nntp._.c:2911:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2911 | if( imask = MC_scanMasks(mask) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~ nntp._.c:2911:13: note: place parentheses around the assignment to silence this warning 2911 | if( imask = MC_scanMasks(mask) ){ | ^ | ( ) nntp._.c:2911:13: note: use '==' to turn this assignment into an equality comparison 2911 | if( imask = MC_scanMasks(mask) ){ | ^ | == nntp._.c:2918:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2918 | if( imask = MC_scanAnons(mask) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~ nntp._.c:2918:13: note: place parentheses around the assignment to silence this warning 2918 | if( imask = MC_scanAnons(mask) ){ | ^ | ( ) nntp._.c:2918:13: note: use '==' to turn this assignment into an equality comparison 2918 | if( imask = MC_scanAnons(mask) ){ | ^ | == nntp._.c:2925:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2925 | if( imask = MC_scanAnons(mask) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~ nntp._.c:2925:13: note: place parentheses around the assignment to silence this warning 2925 | if( imask = MC_scanAnons(mask) ){ | ^ | ( ) nntp._.c:2925:13: note: use '==' to turn this assignment into an equality comparison 2925 | if( imask = MC_scanAnons(mask) ){ | ^ | == nntp._.c:2977:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2977 | if( ft = findFieldValue(head,"X-From-Fp") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:2977:9: note: place parentheses around the assignment to silence this warning 2977 | if( ft = findFieldValue(head,"X-From-Fp") ){ | ^ | ( ) nntp._.c:2977:9: note: use '==' to turn this assignment into an equality comparison 2977 | if( ft = findFieldValue(head,"X-From-Fp") ){ | ^ | == nntp._.c:2984:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2984 | if( imask = MC_scanMasks(mask) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~ nntp._.c:2984:14: note: place parentheses around the assignment to silence this warning 2984 | if( imask = MC_scanMasks(mask) ) | ^ | ( ) nntp._.c:2984:14: note: use '==' to turn this assignment into an equality comparison 2984 | if( imask = MC_scanMasks(mask) ) | ^ | == nntp._.c:2987:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2987 | if( ft = findFieldValue(head,"From") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:2987:11: note: place parentheses around the assignment to silence this warning 2987 | if( ft = findFieldValue(head,"From") ){ | ^ | ( ) nntp._.c:2987:11: note: use '==' to turn this assignment into an equality comparison 2987 | if( ft = findFieldValue(head,"From") ){ | ^ | == nntp._.c:3010:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3010 | if( ng = findFieldValue(head,"Newsgroups") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:3010:9: note: place parentheses around the assignment to silence this warning 3010 | if( ng = findFieldValue(head,"Newsgroups") ){ | ^ | ( ) nntp._.c:3010:9: note: use '==' to turn this assignment into an equality comparison 3010 | if( ng = findFieldValue(head,"Newsgroups") ){ | ^ | == nntp._.c:3024:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3024 | if( ft = findFieldValue(head,"Followup-To") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:3024:9: note: place parentheses around the assignment to silence this warning 3024 | if( ft = findFieldValue(head,"Followup-To") ) | ^ | ( ) nntp._.c:3024:9: note: use '==' to turn this assignment into an equality comparison 3024 | if( ft = findFieldValue(head,"Followup-To") ) | ^ | == nntp._.c:3050:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3050 | while( xrv = findFieldValue(head,"Xref") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:3050:13: note: place parentheses around the assignment to silence this warning 3050 | while( xrv = findFieldValue(head,"Xref") ){ | ^ | ( ) nntp._.c:3050:13: note: use '==' to turn this assignment into an equality comparison 3050 | while( xrv = findFieldValue(head,"Xref") ){ | ^ | == nntp._.c:3062:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3062 | if( rp = strchr(xrv,'\r') ) | ~~~^~~~~~~~~~~~~~~~~~ nntp._.c:3062:10: note: place parentheses around the assignment to silence this warning 3062 | if( rp = strchr(xrv,'\r') ) | ^ | ( ) nntp._.c:3062:10: note: use '==' to turn this assignment into an equality comparison 3062 | if( rp = strchr(xrv,'\r') ) | ^ | == nntp._.c:3086:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3086 | if( path = findFieldValue(head,"Path") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:3086:12: note: place parentheses around the assignment to silence this warning 3086 | if( path = findFieldValue(head,"Path") ){ | ^ | ( ) nntp._.c:3086:12: note: use '==' to turn this assignment into an equality comparison 3086 | if( path = findFieldValue(head,"Path") ){ | ^ | == nntp._.c:3100:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3100 | if( ng = findFieldValue(head,"Newsgroups") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:3100:10: note: place parentheses around the assignment to silence this warning 3100 | if( ng = findFieldValue(head,"Newsgroups") ){ | ^ | ( ) nntp._.c:3100:10: note: use '==' to turn this assignment into an equality comparison 3100 | if( ng = findFieldValue(head,"Newsgroups") ){ | ^ | == nntp._.c:3102:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3102 | if( nm = mount_group_fromx(ns,ngs) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:3102:11: note: place parentheses around the assignment to silence this warning 3102 | if( nm = mount_group_fromx(ns,ngs) ) | ^ | ( ) nntp._.c:3102:11: note: use '==' to turn this assignment into an equality comparison 3102 | if( nm = mount_group_fromx(ns,ngs) ) | ^ | == nntp._.c:3154:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 3154 | }else | ^ nntp._.c:3211:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3211 | if( fname = ng_field(line) ){ | ~~~~~~^~~~~~~~~~~~~~~~ nntp._.c:3211:16: note: place parentheses around the assignment to silence this warning 3211 | if( fname = ng_field(line) ){ | ^ | ( ) nntp._.c:3211:16: note: use '==' to turn this assignment into an equality comparison 3211 | if( fname = ng_field(line) ){ | ^ | == nntp._.c:3394:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3394 | if( afp = lookaside_cache(ns->ns_nsid,DO_arg,DO_com,DO_arg) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:3394:10: note: place parentheses around the assignment to silence this warning 3394 | if( afp = lookaside_cache(ns->ns_nsid,DO_arg,DO_com,DO_arg) ){ | ^ | ( ) nntp._.c:3394:10: note: use '==' to turn this assignment into an equality comparison 3394 | if( afp = lookaside_cache(ns->ns_nsid,DO_arg,DO_com,DO_arg) ){ | ^ | == nntp._.c:3477:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3477 | if( rp = QueueTop ){ | ~~~^~~~~~~~~~ nntp._.c:3477:9: note: place parentheses around the assignment to silence this warning 3477 | if( rp = QueueTop ){ | ^ | ( ) nntp._.c:3477:9: note: use '==' to turn this assignment into an equality comparison 3477 | if( rp = QueueTop ){ | ^ | == nntp._.c:3478:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3478 | if( afp = rp->q_cache ){ | ~~~~^~~~~~~~~~~~~ nntp._.c:3478:11: note: place parentheses around the assignment to silence this warning 3478 | if( afp = rp->q_cache ){ | ^ | ( ) nntp._.c:3478:11: note: use '==' to turn this assignment into an equality comparison 3478 | if( afp = rp->q_cache ){ | ^ | == nntp._.c:3576:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3576 | if( postok = strstr(msg,okword) ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~ nntp._.c:3576:14: note: place parentheses around the assignment to silence this warning 3576 | if( postok = strstr(msg,okword) ){ | ^ | ( ) nntp._.c:3576:14: note: use '==' to turn this assignment into an equality comparison 3576 | if( postok = strstr(msg,okword) ){ | ^ | == nntp._.c:4001:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4001 | if( afp = ENEWS_article(NULL,curGroup,anum+ai) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:4001:12: note: place parentheses around the assignment to silence this warning 4001 | if( afp = ENEWS_article(NULL,curGroup,anum+ai) ){ | ^ | ( ) nntp._.c:4001:12: note: use '==' to turn this assignment into an equality comparison 4001 | if( afp = ENEWS_article(NULL,curGroup,anum+ai) ){ | ^ | == nntp._.c:4020:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4020 | if( afp = ENEWS_article(NULL,curGroup,anum-ai) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:4020:12: note: place parentheses around the assignment to silence this warning 4020 | if( afp = ENEWS_article(NULL,curGroup,anum-ai) ){ | ^ | ( ) nntp._.c:4020:12: note: use '==' to turn this assignment into an equality comparison 4020 | if( afp = ENEWS_article(NULL,curGroup,anum-ai) ){ | ^ | == nntp._.c:4042:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4042 | if( afp = ENEWS_article(NULL,ns->ns_curgroup,anum) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:4042:10: note: place parentheses around the assignment to silence this warning 4042 | if( afp = ENEWS_article(NULL,ns->ns_curgroup,anum) ){ | ^ | ( ) nntp._.c:4042:10: note: use '==' to turn this assignment into an equality comparison 4042 | if( afp = ENEWS_article(NULL,ns->ns_curgroup,anum) ){ | ^ | == nntp._.c:4090:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4090 | if( rfp = servers[si].ns_rfp ) | ~~~~^~~~~~~~~~~~~~~~~~~~ nntp._.c:4090:11: note: place parentheses around the assignment to silence this warning 4090 | if( rfp = servers[si].ns_rfp ) | ^ | ( ) nntp._.c:4090:11: note: use '==' to turn this assignment into an equality comparison 4090 | if( rfp = servers[si].ns_rfp ) | ^ | == nntp._.c:4312:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4312 | if( rewaddr = ns->ns_rewaddr ){ | ~~~~~~~~^~~~~~~~~~~~~~~~ nntp._.c:4312:14: note: place parentheses around the assignment to silence this warning 4312 | if( rewaddr = ns->ns_rewaddr ){ | ^ | ( ) nntp._.c:4312:14: note: use '==' to turn this assignment into an equality comparison 4312 | if( rewaddr = ns->ns_rewaddr ){ | ^ | == nntp._.c:4357:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4357 | if( afp = ENEWS_article(NULL,rgroup,anum) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:4357:12: note: place parentheses around the assignment to silence this warning 4357 | if( afp = ENEWS_article(NULL,rgroup,anum) ){ | ^ | ( ) nntp._.c:4357:12: note: use '==' to turn this assignment into an equality comparison 4357 | if( afp = ENEWS_article(NULL,rgroup,anum) ){ | ^ | == nntp._.c:4519:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4519 | if( afp = cachedResponse(&rserverx) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:4519:11: note: place parentheses around the assignment to silence this warning 4519 | if( afp = cachedResponse(&rserverx) ){ | ^ | ( ) nntp._.c:4519:11: note: use '==' to turn this assignment into an equality comparison 4519 | if( afp = cachedResponse(&rserverx) ){ | ^ | == nntp._.c:4664:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4664 | if( dp = wordScan(ReqBuf,com) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ nntp._.c:4664:10: note: place parentheses around the assignment to silence this warning 4664 | if( dp = wordScan(ReqBuf,com) ) | ^ | ( ) nntp._.c:4664:10: note: use '==' to turn this assignment into an equality comparison 4664 | if( dp = wordScan(ReqBuf,com) ) | ^ | == nntp._.c:4774:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 4774 | }else | ^ nntp._.c:5251:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5251 | if( actfp = openLIST(arg,host,port) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:5251:13: note: place parentheses around the assignment to silence this warning 5251 | if( actfp = openLIST(arg,host,port) ){ | ^ | ( ) nntp._.c:5251:13: note: use '==' to turn this assignment into an equality comparison 5251 | if( actfp = openLIST(arg,host,port) ){ | ^ | == nntp._.c:5259:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 5259 | else | ^ nntp._.c:5460:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5460 | if( found = !ns->ns_isself ) | ~~~~~~^~~~~~~~~~~~~~~~ nntp._.c:5460:13: note: place parentheses around the assignment to silence this warning 5460 | if( found = !ns->ns_isself ) | ^ | ( ) nntp._.c:5460:13: note: use '==' to turn this assignment into an equality comparison 5460 | if( found = !ns->ns_isself ) | ^ | == nntp._.c:5515:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5515 | if( ns = toNS(nsid) ) | ~~~^~~~~~~~~~~~ nntp._.c:5515:9: note: place parentheses around the assignment to silence this warning 5515 | if( ns = toNS(nsid) ) | ^ | ( ) nntp._.c:5515:9: note: use '==' to turn this assignment into an equality comparison 5515 | if( ns = toNS(nsid) ) | ^ | == nntp._.c:5610:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5610 | if( nsid = isServer(proto,host,port) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:5610:11: note: place parentheses around the assignment to silence this warning 5610 | if( nsid = isServer(proto,host,port) ){ | ^ | ( ) nntp._.c:5610:11: note: use '==' to turn this assignment into an equality comparison 5610 | if( nsid = isServer(proto,host,port) ){ | ^ | == nntp._.c:5904:32: warning: '/*' within block comment [-Wcomment] 5904 | * MOUNT="group.* file:/path/*" should be recursive... | ^ nntp._.c:6044:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6044 | if( fp = ns->ns_wfp ){ | ~~~^~~~~~~~~~~~ nntp._.c:6044:11: note: place parentheses around the assignment to silence this warning 6044 | if( fp = ns->ns_wfp ){ | ^ | ( ) nntp._.c:6044:11: note: use '==' to turn this assignment into an equality comparison 6044 | if( fp = ns->ns_wfp ){ | ^ | == nntp._.c:6060:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6060 | if( fp = ns->ns_rfp ) fclose(fp); | ~~~^~~~~~~~~~~~ nntp._.c:6060:10: note: place parentheses around the assignment to silence this warning 6060 | if( fp = ns->ns_rfp ) fclose(fp); | ^ | ( ) nntp._.c:6060:10: note: use '==' to turn this assignment into an equality comparison 6060 | if( fp = ns->ns_rfp ) fclose(fp); | ^ | == nntp._.c:6061:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6061 | if( fp = ns->ns_wfp ) fclose(fp); | ~~~^~~~~~~~~~~~ nntp._.c:6061:10: note: place parentheses around the assignment to silence this warning 6061 | if( fp = ns->ns_wfp ) fclose(fp); | ^ | ( ) nntp._.c:6061:10: note: use '==' to turn this assignment into an equality comparison 6061 | if( fp = ns->ns_wfp ) fclose(fp); | ^ | == nntp._.c:6259:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6259 | for( lp = src; ch = *lp; lp++ ){ | ~~~^~~~~ nntp._.c:6259:20: note: place parentheses around the assignment to silence this warning 6259 | for( lp = src; ch = *lp; lp++ ){ | ^ | ( ) nntp._.c:6259:20: note: use '==' to turn this assignment into an equality comparison 6259 | for( lp = src; ch = *lp; lp++ ){ | ^ | == nntp._.c:6331:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6331 | if( cfp = fopen(cachepath,"r+") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:6331:10: note: place parentheses around the assignment to silence this warning 6331 | if( cfp = fopen(cachepath,"r+") ){ | ^ | ( ) nntp._.c:6331:10: note: use '==' to turn this assignment into an equality comparison 6331 | if( cfp = fopen(cachepath,"r+") ){ | ^ | == nntp._.c:6387:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6387 | if( afp = openCACHE(nsid,0,NO_EXPIRE,DIR_SPOOL,group,anum,AVStr(cachepath)) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:6387:10: note: place parentheses around the assignment to silence this warning 6387 | if( afp = openCACHE(nsid,0,NO_EXPIRE,DIR_SPOOL,group,anum,AVStr(cachepath)) ){ | ^ | ( ) nntp._.c:6387:10: note: use '==' to turn this assignment into an equality comparison 6387 | if( afp = openCACHE(nsid,0,NO_EXPIRE,DIR_SPOOL,group,anum,AVStr(cachepath)) ){ | ^ | == nntp._.c:6435:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6435 | if( dp = strrchr(value,' ') ) | ~~~^~~~~~~~~~~~~~~~~~~~ nntp._.c:6435:11: note: place parentheses around the assignment to silence this warning 6435 | if( dp = strrchr(value,' ') ) | ^ | ( ) nntp._.c:6435:11: note: use '==' to turn this assignment into an equality comparison 6435 | if( dp = strrchr(value,' ') ) | ^ | == nntp._.c:6438:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6438 | for( vp = value; ch = *vp; vp++ ){ | ~~~^~~~~ nntp._.c:6438:23: note: place parentheses around the assignment to silence this warning 6438 | for( vp = value; ch = *vp; vp++ ){ | ^ | ( ) nntp._.c:6438:23: note: use '==' to turn this assignment into an equality comparison 6438 | for( vp = value; ch = *vp; vp++ ){ | ^ | == nntp._.c:6467:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6467 | if( xfp = openCACHE(nsid,0,NO_EXPIRE,DIR_XOVER,group,anum,AVStr(cachepath)) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:6467:10: note: place parentheses around the assignment to silence this warning 6467 | if( xfp = openCACHE(nsid,0,NO_EXPIRE,DIR_XOVER,group,anum,AVStr(cachepath)) ){ | ^ | ( ) nntp._.c:6467:10: note: use '==' to turn this assignment into an equality comparison 6467 | if( xfp = openCACHE(nsid,0,NO_EXPIRE,DIR_XOVER,group,anum,AVStr(cachepath)) ){ | ^ | == nntp._.c:6485:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6485 | if( xfp = openCACHE(nsid,1,NO_EXPIRE,DIR_XOVER,group,anum,AVStr(cachepath)) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:6485:10: note: place parentheses around the assignment to silence this warning 6485 | if( xfp = openCACHE(nsid,1,NO_EXPIRE,DIR_XOVER,group,anum,AVStr(cachepath)) ){ | ^ | ( ) nntp._.c:6485:10: note: use '==' to turn this assignment into an equality comparison 6485 | if( xfp = openCACHE(nsid,1,NO_EXPIRE,DIR_XOVER,group,anum,AVStr(cachepath)) ){ | ^ | == nntp._.c:6502:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6502 | if( afp = ENEWS_article(NULL,group,anum) ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:6502:11: note: place parentheses around the assignment to silence this warning 6502 | if( afp = ENEWS_article(NULL,group,anum) ) | ^ | ( ) nntp._.c:6502:11: note: use '==' to turn this assignment into an equality comparison 6502 | if( afp = ENEWS_article(NULL,group,anum) ) | ^ | == nntp._.c:6506:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6506 | if( afp = NNTP_openARTICLE(nsid,NO_EXPIRE,group,anum,AVStr(cpath)) ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:6506:10: note: place parentheses around the assignment to silence this warning 6506 | if( afp = NNTP_openARTICLE(nsid,NO_EXPIRE,group,anum,AVStr(cpath)) ) | ^ | ( ) nntp._.c:6506:10: note: use '==' to turn this assignment into an equality comparison 6506 | if( afp = NNTP_openARTICLE(nsid,NO_EXPIRE,group,anum,AVStr(cpath)) ) | ^ | == nntp._.c:6636:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6636 | if( fanum = matchMsgid(msgid,group,AVStr(rgroup),xover) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:6636:14: note: place parentheses around the assignment to silence this warning 6636 | if( fanum = matchMsgid(msgid,group,AVStr(rgroup),xover) ) | ^ | ( ) nntp._.c:6636:14: note: use '==' to turn this assignment into an equality comparison 6636 | if( fanum = matchMsgid(msgid,group,AVStr(rgroup),xover) ) | ^ | == nntp._.c:6683:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6683 | if( afp = openCACHE(nsid,0,expire,DIR_SPOOL,group,anum,AVStr(cpath)) ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:6683:10: note: place parentheses around the assignment to silence this warning 6683 | if( afp = openCACHE(nsid,0,expire,DIR_SPOOL,group,anum,AVStr(cpath)) ) | ^ | ( ) nntp._.c:6683:10: note: use '==' to turn this assignment into an equality comparison 6683 | if( afp = openCACHE(nsid,0,expire,DIR_SPOOL,group,anum,AVStr(cpath)) ) | ^ | == nntp._.c:6709:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6709 | if( afp = NNTP_openARTICLEC(nsid,expire,group,anum,AVStr(cpath)) ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:6709:10: note: place parentheses around the assignment to silence this warning 6709 | if( afp = NNTP_openARTICLEC(nsid,expire,group,anum,AVStr(cpath)) ) | ^ | ( ) nntp._.c:6709:10: note: use '==' to turn this assignment into an equality comparison 6709 | if( afp = NNTP_openARTICLEC(nsid,expire,group,anum,AVStr(cpath)) ) | ^ | == nntp._.c:6728:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 6728 | else return openCACHE(nsid,0,NO_EXPIRE,DIR_SPOOL,group,anum,AVStr(cpath)); | ^ nntp._.c:6800:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6800 | if( xafp = fopen(xapath,"r") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~ nntp._.c:6800:11: note: place parentheses around the assignment to silence this warning 6800 | if( xafp = fopen(xapath,"r") ){ | ^ | ( ) nntp._.c:6800:11: note: use '==' to turn this assignment into an equality comparison 6800 | if( xafp = fopen(xapath,"r") ){ | ^ | == nntp._.c:6870:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6870 | if( mp = strchr(msgid,'<') ){ | ~~~^~~~~~~~~~~~~~~~~~~ nntp._.c:6870:9: note: place parentheses around the assignment to silence this warning 6870 | if( mp = strchr(msgid,'<') ){ | ^ | ( ) nntp._.c:6870:9: note: use '==' to turn this assignment into an equality comparison 6870 | if( mp = strchr(msgid,'<') ){ | ^ | == nntp._.c:6872:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6872 | if( mp = strchr(msgid,'>') ) | ~~~^~~~~~~~~~~~~~~~~~~ nntp._.c:6872:10: note: place parentheses around the assignment to silence this warning 6872 | if( mp = strchr(msgid,'>') ) | ^ | ( ) nntp._.c:6872:10: note: use '==' to turn this assignment into an equality comparison 6872 | if( mp = strchr(msgid,'>') ) | ^ | == nntp._.c:7024:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 7024 | while( xp = wordScan(xp,xpath1) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ nntp._.c:7024:12: note: place parentheses around the assignment to silence this warning 7024 | while( xp = wordScan(xp,xpath1) ){ | ^ | ( ) nntp._.c:7024:12: note: use '==' to turn this assignment into an equality comparison 7024 | while( xp = wordScan(xp,xpath1) ){ | ^ | == nntp._.c:7059:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 7059 | if( anum = anomidToGroup(msgid,BVStr(rgroup)) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:7059:11: note: place parentheses around the assignment to silence this warning 7059 | if( anum = anomidToGroup(msgid,BVStr(rgroup)) ){ | ^ | ( ) nntp._.c:7059:11: note: use '==' to turn this assignment into an equality comparison 7059 | if( anum = anomidToGroup(msgid,BVStr(rgroup)) ){ | ^ | == nntp._.c:7063:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 7063 | if( afp = NNTP_openArticle(nsid,NO_EXPIRE,msgid,group,0,AVStr(cpath)) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:7063:10: note: place parentheses around the assignment to silence this warning 7063 | if( afp = NNTP_openArticle(nsid,NO_EXPIRE,msgid,group,0,AVStr(cpath)) ){ | ^ | ( ) nntp._.c:7063:10: note: use '==' to turn this assignment into an equality comparison 7063 | if( afp = NNTP_openArticle(nsid,NO_EXPIRE,msgid,group,0,AVStr(cpath)) ){ | ^ | == nntp._.c:7070:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 7070 | if( dp = strstr(xref,group) ) | ~~~^~~~~~~~~~~~~~~~~~~~ nntp._.c:7070:11: note: place parentheses around the assignment to silence this warning 7070 | if( dp = strstr(xref,group) ) | ^ | ( ) nntp._.c:7070:11: note: use '==' to turn this assignment into an equality comparison 7070 | if( dp = strstr(xref,group) ) | ^ | == nntp._.c:7076:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 7076 | if( dp = strchr(xref,' ') ) | ~~~^~~~~~~~~~~~~~~~~~ nntp._.c:7076:12: note: place parentheses around the assignment to silence this warning 7076 | if( dp = strchr(xref,' ') ) | ^ | ( ) nntp._.c:7076:12: note: use '==' to turn this assignment into an equality comparison 7076 | if( dp = strchr(xref,' ') ) | ^ | == nntp._.c:7094:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 7094 | if( anum = GroupanumbyXPATH(nsid,msgid,group,AVStr(rgroup)) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:7094:11: note: place parentheses around the assignment to silence this warning 7094 | if( anum = GroupanumbyXPATH(nsid,msgid,group,AVStr(rgroup)) ){ | ^ | ( ) nntp._.c:7094:11: note: use '==' to turn this assignment into an equality comparison 7094 | if( anum = GroupanumbyXPATH(nsid,msgid,group,AVStr(rgroup)) ){ | ^ | == nntp._.c:7117:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 7117 | if( anum = search1(nsid,msgid,group,anum1,anum1-40,AVStr(rgroup)) ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:7117:11: note: place parentheses around the assignment to silence this warning 7117 | if( anum = search1(nsid,msgid,group,anum1,anum1-40,AVStr(rgroup)) ) | ^ | ( ) nntp._.c:7117:11: note: use '==' to turn this assignment into an equality comparison 7117 | if( anum = search1(nsid,msgid,group,anum1,anum1-40,AVStr(rgroup)) ) | ^ | == nntp._.c:7119:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 7119 | if( anum = search1(nsid,msgid,group,anum1,anum1+10,AVStr(rgroup)) ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:7119:11: note: place parentheses around the assignment to silence this warning 7119 | if( anum = search1(nsid,msgid,group,anum1,anum1+10,AVStr(rgroup)) ) | ^ | ( ) nntp._.c:7119:11: note: use '==' to turn this assignment into an equality comparison 7119 | if( anum = search1(nsid,msgid,group,anum1,anum1+10,AVStr(rgroup)) ) | ^ | == nntp._.c:7140:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 7140 | if( lfp = openCACHE(nsid,0,expire,DIR_LIB,LIST_GROUP,ganum,AVStr(cache)) ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:7140:10: note: place parentheses around the assignment to silence this warning 7140 | if( lfp = openCACHE(nsid,0,expire,DIR_LIB,LIST_GROUP,ganum,AVStr(cache)) ) | ^ | ( ) nntp._.c:7140:10: note: use '==' to turn this assignment into an equality comparison 7140 | if( lfp = openCACHE(nsid,0,expire,DIR_LIB,LIST_GROUP,ganum,AVStr(cache)) ) | ^ | == nntp._.c:7219:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 7219 | if( lfp = NNTP_openLIST(nsid,expire,"NNTP_getGROUP") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:7219:10: note: place parentheses around the assignment to silence this warning 7219 | if( lfp = NNTP_openLIST(nsid,expire,"NNTP_getGROUP") ){ | ^ | ( ) nntp._.c:7219:10: note: use '==' to turn this assignment into an equality comparison 7219 | if( lfp = NNTP_openLIST(nsid,expire,"NNTP_getGROUP") ){ | ^ | == nntp._.c:7374:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 7374 | if( mno = cachedmno(mid) ) | ~~~~^~~~~~~~~~~~~~~~ nntp._.c:7374:10: note: place parentheses around the assignment to silence this warning 7374 | if( mno = cachedmno(mid) ) | ^ | ( ) nntp._.c:7374:10: note: use '==' to turn this assignment into an equality comparison 7374 | if( mno = cachedmno(mid) ) | ^ | == nntp._.c:7413:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 7413 | if( mno = POP_findMessageid(ts,fs,arg) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:7413:12: note: place parentheses around the assignment to silence this warning 7413 | if( mno = POP_findMessageid(ts,fs,arg) ){ | ^ | ( ) nntp._.c:7413:12: note: use '==' to turn this assignment into an equality comparison 7413 | if( mno = POP_findMessageid(ts,fs,arg) ){ | ^ | == nntp._.c:7835:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 7835 | if( pas = strchr(authb,':') ){ | ~~~~^~~~~~~~~~~~~~~~~~~ nntp._.c:7835:11: note: place parentheses around the assignment to silence this warning 7835 | if( pas = strchr(authb,':') ){ | ^ | ( ) nntp._.c:7835:11: note: use '==' to turn this assignment into an equality comparison 7835 | if( pas = strchr(authb,':') ){ | ^ | == nntp._.c:7997:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 7997 | if( act1 = ns->ns_actcache[neg][ai] ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:7997:12: note: place parentheses around the assignment to silence this warning 7997 | if( act1 = ns->ns_actcache[neg][ai] ){ | ^ | ( ) nntp._.c:7997:12: note: use '==' to turn this assignment into an equality comparison 7997 | if( act1 = ns->ns_actcache[neg][ai] ){ | ^ | == nntp._.c:8168:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 8168 | if( dfp = dirfopen("NG",AVStr(path),"r+") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:8168:10: note: place parentheses around the assignment to silence this warning 8168 | if( dfp = dirfopen("NG",AVStr(path),"r+") ){ | ^ | ( ) nntp._.c:8168:10: note: use '==' to turn this assignment into an equality comparison 8168 | if( dfp = dirfopen("NG",AVStr(path),"r+") ){ | ^ | == nntp._.c:8230:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 8230 | if( rv = NX.ne_redirecting_serv[fx] ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:8230:11: note: place parentheses around the assignment to silence this warning 8230 | if( rv = NX.ne_redirecting_serv[fx] ){ | ^ | ( ) nntp._.c:8230:11: note: use '==' to turn this assignment into an equality comparison 8230 | if( rv = NX.ne_redirecting_serv[fx] ){ | ^ | == nntp._.c:8251:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 8251 | if( tid = NX.ne_redirecting_tid[fx] ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:8251:12: note: place parentheses around the assignment to silence this warning 8251 | if( tid = NX.ne_redirecting_tid[fx] ){ | ^ | ( ) nntp._.c:8251:12: note: use '==' to turn this assignment into an equality comparison 8251 | if( tid = NX.ne_redirecting_tid[fx] ){ | ^ | == nntp._.c:8347:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 8347 | if( gfp = dirfopen("StatusCache",AVStr(cpath),"r") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:8347:10: note: place parentheses around the assignment to silence this warning 8347 | if( gfp = dirfopen("StatusCache",AVStr(cpath),"r") ){ | ^ | ( ) nntp._.c:8347:10: note: use '==' to turn this assignment into an equality comparison 8347 | if( gfp = dirfopen("StatusCache",AVStr(cpath),"r") ){ | ^ | == nntp._.c:8350:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 8350 | if( sp = strpbrk(sta1,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ nntp._.c:8350:10: note: place parentheses around the assignment to silence this warning 8350 | if( sp = strpbrk(sta1,"\r\n") ) | ^ | ( ) nntp._.c:8350:10: note: use '==' to turn this assignment into an equality comparison 8350 | if( sp = strpbrk(sta1,"\r\n") ) | ^ | == nntp._.c:8387:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 8387 | if( gfp = dirfopen("GROUPcache",AVStr(cpath),"w") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:8387:10: note: place parentheses around the assignment to silence this warning 8387 | if( gfp = dirfopen("GROUPcache",AVStr(cpath),"w") ){ | ^ | ( ) nntp._.c:8387:10: note: use '==' to turn this assignment into an equality comparison 8387 | if( gfp = dirfopen("GROUPcache",AVStr(cpath),"w") ){ | ^ | == 107 warnings generated. ../mkcpp nntplist.c nntplist._.c -- mkcpp set time: 1773311930 -> 1250403944 nntplist._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c nntplist._.c -o nntplist.o nntplist._.c:49:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 49 | for(vp = b64; ch = *vp; vp++){ | ~~~^~~~~ nntplist._.c:49:19: note: place parentheses around the assignment to silence this warning 49 | for(vp = b64; ch = *vp; vp++){ | ^ | ( ) nntplist._.c:49:19: note: use '==' to turn this assignment into an equality comparison 49 | for(vp = b64; ch = *vp; vp++){ | ^ | == nntplist._.c:77:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 77 | if( dp = strpbrk(buf,"\r\n") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ nntplist._.c:77:10: note: place parentheses around the assignment to silence this warning 77 | if( dp = strpbrk(buf,"\r\n") ){ | ^ | ( ) nntplist._.c:77:10: note: use '==' to turn this assignment into an equality comparison 77 | if( dp = strpbrk(buf,"\r\n") ){ | ^ | == 2 warnings generated. ../mkcpp nntpgw.c nntpgw._.c -- mkcpp set time: 1773311932 -> 1399942354 nntpgw._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c nntpgw._.c -o nntpgw.o nntpgw._.c:1043:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1043 | for( sp = name; ch = *sp; sp++ ){ | ~~~^~~~~ nntpgw._.c:1043:21: note: place parentheses around the assignment to silence this warning 1043 | for( sp = name; ch = *sp; sp++ ){ | ^ | ( ) nntpgw._.c:1043:21: note: use '==' to turn this assignment into an equality comparison 1043 | for( sp = name; ch = *sp; sp++ ){ | ^ | == nntpgw._.c:1128:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1128 | for( np = name; ch = *np; np++ ){ | ~~~^~~~~ nntpgw._.c:1128:21: note: place parentheses around the assignment to silence this warning 1128 | for( np = name; ch = *np; np++ ){ | ^ | ( ) nntpgw._.c:1128:21: note: use '==' to turn this assignment into an equality comparison 1128 | for( np = name; ch = *np; np++ ){ | ^ | == nntpgw._.c:1246:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1246 | for( sx = 1; ch = tmp[sx]; sx++ ){ | ~~~^~~~~~~~~ nntpgw._.c:1246:20: note: place parentheses around the assignment to silence this warning 1246 | for( sx = 1; ch = tmp[sx]; sx++ ){ | ^ | ( ) nntpgw._.c:1246:20: note: use '==' to turn this assignment into an equality comparison 1246 | for( sx = 1; ch = tmp[sx]; sx++ ){ | ^ | == nntpgw._.c:1278:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1278 | if( tp = strrchr(References,'>') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ nntpgw._.c:1278:9: note: place parentheses around the assignment to silence this warning 1278 | if( tp = strrchr(References,'>') ){ | ^ | ( ) nntpgw._.c:1278:9: note: use '==' to turn this assignment into an equality comparison 1278 | if( tp = strrchr(References,'>') ){ | ^ | == nntpgw._.c:1312:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1312 | if( dp = strrchr(url,'/') ) | ~~~^~~~~~~~~~~~~~~~~~ nntpgw._.c:1312:10: note: place parentheses around the assignment to silence this warning 1312 | if( dp = strrchr(url,'/') ) | ^ | ( ) nntpgw._.c:1312:10: note: use '==' to turn this assignment into an equality comparison 1312 | if( dp = strrchr(url,'/') ) | ^ | == nntpgw._.c:1353:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1353 | if( tp = strchr(str,'<') ) | ~~~^~~~~~~~~~~~~~~~~ nntpgw._.c:1353:9: note: place parentheses around the assignment to silence this warning 1353 | if( tp = strchr(str,'<') ) | ^ | ( ) nntpgw._.c:1353:9: note: use '==' to turn this assignment into an equality comparison 1353 | if( tp = strchr(str,'<') ) | ^ | == nntpgw._.c:1354:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1354 | if( ep = strchr(tp,'>') ){ | ~~~^~~~~~~~~~~~~~~~ nntpgw._.c:1354:9: note: place parentheses around the assignment to silence this warning 1354 | if( ep = strchr(tp,'>') ){ | ^ | ( ) nntpgw._.c:1354:9: note: use '==' to turn this assignment into an equality comparison 1354 | if( ep = strchr(tp,'>') ){ | ^ | == nntpgw._.c:1363:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1363 | for( sp = str; ch = *sp; ){ | ~~~^~~~~ nntpgw._.c:1363:20: note: place parentheses around the assignment to silence this warning 1363 | for( sp = str; ch = *sp; ){ | ^ | ( ) nntpgw._.c:1363:20: note: use '==' to turn this assignment into an equality comparison 1363 | for( sp = str; ch = *sp; ){ | ^ | == nntpgw._.c:1365:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1365 | for( sp++; ch = *sp; sp++ ){ | ~~~^~~~~ nntpgw._.c:1365:18: note: place parentheses around the assignment to silence this warning 1365 | for( sp++; ch = *sp; sp++ ){ | ^ | ( ) nntpgw._.c:1365:18: note: use '==' to turn this assignment into an equality comparison 1365 | for( sp++; ch = *sp; sp++ ){ | ^ | == nntpgw._.c:1400:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1400 | for( sp = istr; ch = *sp; sp++ ){ | ~~~^~~~~ nntpgw._.c:1400:21: note: place parentheses around the assignment to silence this warning 1400 | for( sp = istr; ch = *sp; sp++ ){ | ^ | ( ) nntpgw._.c:1400:21: note: use '==' to turn this assignment into an equality comparison 1400 | for( sp = istr; ch = *sp; sp++ ){ | ^ | == nntpgw._.c:1639:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1639 | for( sp = normsubj; ch = *sp++; ) | ~~~^~~~~~~ nntpgw._.c:1639:27: note: place parentheses around the assignment to silence this warning 1639 | for( sp = normsubj; ch = *sp++; ) | ^ | ( ) nntpgw._.c:1639:27: note: use '==' to turn this assignment into an equality comparison 1639 | for( sp = normsubj; ch = *sp++; ) | ^ | == nntpgw._.c:1657:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1657 | if( dp = strchr(prntsubj+1,']') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ nntpgw._.c:1657:13: note: place parentheses around the assignment to silence this warning 1657 | if( dp = strchr(prntsubj+1,']') ){ | ^ | ( ) nntpgw._.c:1657:13: note: use '==' to turn this assignment into an equality comparison 1657 | if( dp = strchr(prntsubj+1,']') ){ | ^ | == nntpgw._.c:1680:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1680 | if( dp = strchr(next,':') ){ | ~~~^~~~~~~~~~~~~~~~~~ nntpgw._.c:1680:11: note: place parentheses around the assignment to silence this warning 1680 | if( dp = strchr(next,':') ){ | ^ | ( ) nntpgw._.c:1680:11: note: use '==' to turn this assignment into an equality comparison 1680 | if( dp = strchr(next,':') ){ | ^ | == nntpgw._.c:1736:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1736 | if( fa1 = getv(Fav,"digest") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~ nntpgw._.c:1736:10: note: place parentheses around the assignment to silence this warning 1736 | if( fa1 = getv(Fav,"digest") ){ | ^ | ( ) nntpgw._.c:1736:10: note: use '==' to turn this assignment into an equality comparison 1736 | if( fa1 = getv(Fav,"digest") ){ | ^ | == nntpgw._.c:1841:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1841 | if( dp = strrchr(groups,'/') ) | ~~~^~~~~~~~~~~~~~~~~~~~~ nntpgw._.c:1841:10: note: place parentheses around the assignment to silence this warning 1841 | if( dp = strrchr(groups,'/') ) | ^ | ( ) nntpgw._.c:1841:10: note: use '==' to turn this assignment into an equality comparison 1841 | if( dp = strrchr(groups,'/') ) | ^ | == nntpgw._.c:1897:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1897 | if( dp = strrchr(group,'/') ) | ~~~^~~~~~~~~~~~~~~~~~~~ nntpgw._.c:1897:13: note: place parentheses around the assignment to silence this warning 1897 | if( dp = strrchr(group,'/') ) | ^ | ( ) nntpgw._.c:1897:13: note: use '==' to turn this assignment into an equality comparison 1897 | if( dp = strrchr(group,'/') ) | ^ | == nntpgw._.c:1941:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1941 | if( dp = strrchr(group,'/') ) | ~~~^~~~~~~~~~~~~~~~~~~~ nntpgw._.c:1941:12: note: place parentheses around the assignment to silence this warning 1941 | if( dp = strrchr(group,'/') ) | ^ | ( ) nntpgw._.c:1941:12: note: use '==' to turn this assignment into an equality comparison 1941 | if( dp = strrchr(group,'/') ) | ^ | == nntpgw._.c:2020:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2020 | if( dp = strrchr(urlrealm,'/') ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~ nntpgw._.c:2020:9: note: place parentheses around the assignment to silence this warning 2020 | if( dp = strrchr(urlrealm,'/') ) | ^ | ( ) nntpgw._.c:2020:9: note: use '==' to turn this assignment into an equality comparison 2020 | if( dp = strrchr(urlrealm,'/') ) | ^ | == nntpgw._.c:2303:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2303 | if( hostp = strchr(host,'@') ) | ~~~~~~^~~~~~~~~~~~~~~~~~ nntpgw._.c:2303:12: note: place parentheses around the assignment to silence this warning 2303 | if( hostp = strchr(host,'@') ) | ^ | ( ) nntpgw._.c:2303:12: note: use '==' to turn this assignment into an equality comparison 2303 | if( hostp = strchr(host,'@') ) | ^ | == nntpgw._.c:2339:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2339 | if( dp = strchr(UrlSelf,'?') ) | ~~~^~~~~~~~~~~~~~~~~~~~~ nntpgw._.c:2339:9: note: place parentheses around the assignment to silence this warning 2339 | if( dp = strchr(UrlSelf,'?') ) | ^ | ( ) nntpgw._.c:2339:9: note: use '==' to turn this assignment into an equality comparison 2339 | if( dp = strchr(UrlSelf,'?') ) | ^ | == nntpgw._.c:2373:38: warning: '/*' within block comment [-Wcomment] 2373 | * MOUNT="http://icon-server/icons/* /-/builtin/icons/*" | ^ nntpgw._.c:2373:57: warning: '/*' within block comment [-Wcomment] 2373 | * MOUNT="http://icon-server/icons/* /-/builtin/icons/*" | ^ nntpgw._.c:2375:30: warning: '/*' within block comment [-Wcomment] 2375 | * MOUNT="/-/builtin/icons/* http://icons-server/icons/* moved" | ^ nntpgw._.c:2375:58: warning: '/*' within block comment [-Wcomment] 2375 | * MOUNT="/-/builtin/icons/* http://icons-server/icons/* moved" | ^ nntpgw._.c:2379:38: warning: '/*' within block comment [-Wcomment] 2379 | * MOUNT="http://icon-server/icons/* builtin:/-/builtin/icons/*" | ^ nntpgw._.c:2379:65: warning: '/*' within block comment [-Wcomment] 2379 | * MOUNT="http://icon-server/icons/* builtin:/-/builtin/icons/*" | ^ nntpgw._.c:2395:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2395 | if( fp = strchr(groupanum,'?') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~ nntpgw._.c:2395:9: note: place parentheses around the assignment to silence this warning 2395 | if( fp = strchr(groupanum,'?') ){ | ^ | ( ) nntpgw._.c:2395:9: note: use '==' to turn this assignment into an equality comparison 2395 | if( fp = strchr(groupanum,'?') ){ | ^ | == nntpgw._.c:2507:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2507 | if( totalc = putViewerControl(Conn,env,fc,tc,stcodep) ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntpgw._.c:2507:15: note: place parentheses around the assignment to silence this warning 2507 | if( totalc = putViewerControl(Conn,env,fc,tc,stcodep) ){ | ^ | ( ) nntpgw._.c:2507:15: note: use '==' to turn this assignment into an equality comparison 2507 | if( totalc = putViewerControl(Conn,env,fc,tc,stcodep) ){ | ^ | == nntpgw._.c:2514:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2514 | if( totalc = putViewerControl(Conn,env,fc,tc,stcodep) ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntpgw._.c:2514:15: note: place parentheses around the assignment to silence this warning 2514 | if( totalc = putViewerControl(Conn,env,fc,tc,stcodep) ){ | ^ | ( ) nntpgw._.c:2514:15: note: use '==' to turn this assignment into an equality comparison 2514 | if( totalc = putViewerControl(Conn,env,fc,tc,stcodep) ){ | ^ | == nntpgw._.c:2553:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2553 | if( fa1 = getv(Fav,"digest") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~ nntpgw._.c:2553:10: note: place parentheses around the assignment to silence this warning 2553 | if( fa1 = getv(Fav,"digest") ){ | ^ | ( ) nntpgw._.c:2553:10: note: use '==' to turn this assignment into an equality comparison 2553 | if( fa1 = getv(Fav,"digest") ){ | ^ | == nntpgw._.c:2581:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2581 | if( dp = strrchr(url,'/') ) | ~~~^~~~~~~~~~~~~~~~~~ nntpgw._.c:2581:10: note: place parentheses around the assignment to silence this warning 2581 | if( dp = strrchr(url,'/') ) | ^ | ( ) nntpgw._.c:2581:10: note: use '==' to turn this assignment into an equality comparison 2581 | if( dp = strrchr(url,'/') ) | ^ | == nntpgw._.c:2604:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2604 | if( Lfp = NNTP_openLIST(Nsid,expireL,"active") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntpgw._.c:2604:11: note: place parentheses around the assignment to silence this warning 2604 | if( Lfp = NNTP_openLIST(Nsid,expireL,"active") ) | ^ | ( ) nntpgw._.c:2604:11: note: use '==' to turn this assignment into an equality comparison 2604 | if( Lfp = NNTP_openLIST(Nsid,expireL,"active") ) | ^ | == nntpgw._.c:2606:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2606 | if( notfound = matchgroup(Lfp,Group) <= 0 ) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntpgw._.c:2606:17: note: place parentheses around the assignment to silence this warning 2606 | if( notfound = matchgroup(Lfp,Group) <= 0 ) | ^ | ( ) nntpgw._.c:2606:17: note: use '==' to turn this assignment into an equality comparison 2606 | if( notfound = matchgroup(Lfp,Group) <= 0 ) | ^ | == nntpgw._.c:2629:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2629 | if( notfound = nart < 0 ){ /* 8.10.4 */ | ~~~~~~~~~^~~~~~~~~~ nntpgw._.c:2629:16: note: place parentheses around the assignment to silence this warning 2629 | if( notfound = nart < 0 ){ /* 8.10.4 */ | ^ | ( ) nntpgw._.c:2629:16: note: use '==' to turn this assignment into an equality comparison 2629 | if( notfound = nart < 0 ){ /* 8.10.4 */ | ^ | == nntpgw._.c:2638:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2638 | if( notfound = Max <= 0 ) | ~~~~~~~~~^~~~~~~~~~ nntpgw._.c:2638:16: note: place parentheses around the assignment to silence this warning 2638 | if( notfound = Max <= 0 ) | ^ | ( ) nntpgw._.c:2638:16: note: use '==' to turn this assignment into an equality comparison 2638 | if( notfound = Max <= 0 ) | ^ | == nntpgw._.c:2644:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2644 | if( notfound = (Anum1<Min && Anum2<Min) || (Max<Anum1 && Max<Anum2) ) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntpgw._.c:2644:16: note: place parentheses around the assignment to silence this warning 2644 | if( notfound = (Anum1<Min && Anum2<Min) || (Max<Anum1 && Max<Anum2) ) | ^ | ( ) nntpgw._.c:2644:16: note: use '==' to turn this assignment into an equality comparison 2644 | if( notfound = (Anum1<Min && Anum2<Min) || (Max<Anum1 && Max<Anum2) ) | ^ | == nntpgw._.c:2714:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2714 | if( fa1 = getv(Fav,"JumpTo") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~ nntpgw._.c:2714:10: note: place parentheses around the assignment to silence this warning 2714 | if( fa1 = getv(Fav,"JumpTo") ){ | ^ | ( ) nntpgw._.c:2714:10: note: use '==' to turn this assignment into an equality comparison 2714 | if( fa1 = getv(Fav,"JumpTo") ){ | ^ | == nntpgw._.c:2717:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2717 | if( dp = strrchr(url,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~ nntpgw._.c:2717:10: note: place parentheses around the assignment to silence this warning 2717 | if( dp = strrchr(url,'/') ){ | ^ | ( ) nntpgw._.c:2717:10: note: use '==' to turn this assignment into an equality comparison 2717 | if( dp = strrchr(url,'/') ){ | ^ | == nntpgw._.c:2804:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2804 | if( dp = strrchr(Group,'/') ) | ~~~^~~~~~~~~~~~~~~~~~~~ nntpgw._.c:2804:12: note: place parentheses around the assignment to silence this warning 2804 | if( dp = strrchr(Group,'/') ) | ^ | ( ) nntpgw._.c:2804:12: note: use '==' to turn this assignment into an equality comparison 2804 | if( dp = strrchr(Group,'/') ) | ^ | == nntpgw._.c:2948:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2948 | if( fa1 = getv(Fav,"Pragma") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~ nntpgw._.c:2948:12: note: place parentheses around the assignment to silence this warning 2948 | if( fa1 = getv(Fav,"Pragma") ){ | ^ | ( ) nntpgw._.c:2948:12: note: use '==' to turn this assignment into an equality comparison 2948 | if( fa1 = getv(Fav,"Pragma") ){ | ^ | == nntpgw._.c:3036:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3036 | if( ng = findFieldValue(head,"Newsgroups") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntpgw._.c:3036:9: note: place parentheses around the assignment to silence this warning 3036 | if( ng = findFieldValue(head,"Newsgroups") ){ | ^ | ( ) nntpgw._.c:3036:9: note: use '==' to turn this assignment into an equality comparison 3036 | if( ng = findFieldValue(head,"Newsgroups") ){ | ^ | == nntpgw._.c:3087:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3087 | if( afp = openArt1(Conn,env) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~ nntpgw._.c:3087:10: note: place parentheses around the assignment to silence this warning 3087 | if( afp = openArt1(Conn,env) ){ | ^ | ( ) nntpgw._.c:3087:10: note: use '==' to turn this assignment into an equality comparison 3087 | if( afp = openArt1(Conn,env) ){ | ^ | == nntpgw._.c:3385:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3385 | if( comment = getv(Fav,"comment") ){ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ nntpgw._.c:3385:15: note: place parentheses around the assignment to silence this warning 3385 | if( comment = getv(Fav,"comment") ){ | ^ | ( ) nntpgw._.c:3385:15: note: use '==' to turn this assignment into an equality comparison 3385 | if( comment = getv(Fav,"comment") ){ | ^ | == 43 warnings generated. ../mkcpp enews.c enews._.c -- mkcpp set time: 1773311937 -> 1264835169 enews._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c enews._.c -o enews.o enews._.c:54:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 54 | for( pp = gname; pc = *pp; pp++ ){ | ~~~^~~~~ enews._.c:54:22: note: place parentheses around the assignment to silence this warning 54 | for( pp = gname; pc = *pp; pp++ ){ | ^ | ( ) enews._.c:54:22: note: use '==' to turn this assignment into an equality comparison 54 | for( pp = gname; pc = *pp; pp++ ){ | ^ | == enews._.c:123:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 123 | if( hfp = dirfopen("ART-HISTORY",AVStr(path),"r+") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enews._.c:123:11: note: place parentheses around the assignment to silence this warning 123 | if( hfp = dirfopen("ART-HISTORY",AVStr(path),"r+") ) | ^ | ( ) enews._.c:123:11: note: use '==' to turn this assignment into an equality comparison 123 | if( hfp = dirfopen("ART-HISTORY",AVStr(path),"r+") ) | ^ | == enews._.c:143:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 143 | for( sp = group; sc = *sp; sp++ ){ | ~~~^~~~~ enews._.c:143:22: note: place parentheses around the assignment to silence this warning 143 | for( sp = group; sc = *sp; sp++ ){ | ^ | ( ) enews._.c:143:22: note: use '==' to turn this assignment into an equality comparison 143 | for( sp = group; sc = *sp; sp++ ){ | ^ | == enews._.c:151:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 151 | if( dp = strpbrk(line,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ enews._.c:151:10: note: place parentheses around the assignment to silence this warning 151 | if( dp = strpbrk(line,"\r\n") ) | ^ | ( ) enews._.c:151:10: note: use '==' to turn this assignment into an equality comparison 151 | if( dp = strpbrk(line,"\r\n") ) | ^ | == enews._.c:179:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 179 | for( sp = group; sc = *sp; sp++ ){ | ~~~^~~~~ enews._.c:179:22: note: place parentheses around the assignment to silence this warning 179 | for( sp = group; sc = *sp; sp++ ){ | ^ | ( ) enews._.c:179:22: note: use '==' to turn this assignment into an equality comparison 179 | for( sp = group; sc = *sp; sp++ ){ | ^ | == enews._.c:188:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 188 | if( dp = strpbrk(line,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ enews._.c:188:10: note: place parentheses around the assignment to silence this warning 188 | if( dp = strpbrk(line,"\r\n") ) | ^ | ( ) enews._.c:188:10: note: use '==' to turn this assignment into an equality comparison 188 | if( dp = strpbrk(line,"\r\n") ) | ^ | == enews._.c:192:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 192 | if( dp = strchr(line,' ') ) | ~~~^~~~~~~~~~~~~~~~~~ enews._.c:192:10: note: place parentheses around the assignment to silence this warning 192 | if( dp = strchr(line,' ') ) | ^ | ( ) enews._.c:192:10: note: use '==' to turn this assignment into an equality comparison 192 | if( dp = strchr(line,' ') ) | ^ | == enews._.c:226:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 226 | if( anum = anomidToGroup(msgid,AVStr(group)) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enews._.c:226:11: note: place parentheses around the assignment to silence this warning 226 | if( anum = anomidToGroup(msgid,AVStr(group)) ){ | ^ | ( ) enews._.c:226:11: note: use '==' to turn this assignment into an equality comparison 226 | if( anum = anomidToGroup(msgid,AVStr(group)) ){ | ^ | == enews._.c:245:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 245 | if( afp = open_anomid(msgid,"r") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ enews._.c:245:12: note: place parentheses around the assignment to silence this warning 245 | if( afp = open_anomid(msgid,"r") ){ | ^ | ( ) enews._.c:245:12: note: use '==' to turn this assignment into an equality comparison 245 | if( afp = open_anomid(msgid,"r") ){ | ^ | == enews._.c:262:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 262 | if( dp = strpbrk(line,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ enews._.c:262:10: note: place parentheses around the assignment to silence this warning 262 | if( dp = strpbrk(line,"\r\n") ) | ^ | ( ) enews._.c:262:10: note: use '==' to turn this assignment into an equality comparison 262 | if( dp = strpbrk(line,"\r\n") ) | ^ | == enews._.c:324:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 324 | if( artfp = open_anomid(msgid,"r") ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ enews._.c:324:13: note: place parentheses around the assignment to silence this warning 324 | if( artfp = open_anomid(msgid,"r") ) | ^ | ( ) enews._.c:324:13: note: use '==' to turn this assignment into an equality comparison 324 | if( artfp = open_anomid(msgid,"r") ) | ^ | == enews._.c:349:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 349 | if( artfmt = getartfmt(grppath,VStrNULL,VStrNULL) ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enews._.c:349:13: note: place parentheses around the assignment to silence this warning 349 | if( artfmt = getartfmt(grppath,VStrNULL,VStrNULL) ){ | ^ | ( ) enews._.c:349:13: note: use '==' to turn this assignment into an equality comparison 349 | if( artfmt = getartfmt(grppath,VStrNULL,VStrNULL) ){ | ^ | == enews._.c:383:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 383 | if( afp = fopen_article(msgid,group,anum,"r",AVStr(artpath)) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enews._.c:383:10: note: place parentheses around the assignment to silence this warning 383 | if( afp = fopen_article(msgid,group,anum,"r",AVStr(artpath)) ){ | ^ | ( ) enews._.c:383:10: note: use '==' to turn this assignment into an equality comparison 383 | if( afp = fopen_article(msgid,group,anum,"r",AVStr(artpath)) ){ | ^ | == enews._.c:475:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 475 | if( nfp = fopen(nartpath,"w") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~ enews._.c:475:12: note: place parentheses around the assignment to silence this warning 475 | if( nfp = fopen(nartpath,"w") ){ | ^ | ( ) enews._.c:475:12: note: use '==' to turn this assignment into an equality comparison 475 | if( nfp = fopen(nartpath,"w") ){ | ^ | == enews._.c:529:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 529 | if( rcode = controlMessage(AVStr(stat),afp) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enews._.c:529:13: note: place parentheses around the assignment to silence this warning 529 | if( rcode = controlMessage(AVStr(stat),afp) ) | ^ | ( ) enews._.c:529:13: note: use '==' to turn this assignment into an equality comparison 529 | if( rcode = controlMessage(AVStr(stat),afp) ) | ^ | == enews._.c:625:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 625 | if( artfp = fopen_article(NULL,group,anum,"r",AVStr(artpath)) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enews._.c:625:12: note: place parentheses around the assignment to silence this warning 625 | if( artfp = fopen_article(NULL,group,anum,"r",AVStr(artpath)) ){ | ^ | ( ) enews._.c:625:12: note: use '==' to turn this assignment into an equality comparison 625 | if( artfp = fopen_article(NULL,group,anum,"r",AVStr(artpath)) ){ | ^ | == enews._.c:733:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 733 | if( dp = strchr(dst,'>') ) | ~~~^~~~~~~~~~~~~~~~~ enews._.c:733:10: note: place parentheses around the assignment to silence this warning 733 | if( dp = strchr(dst,'>') ) | ^ | ( ) enews._.c:733:10: note: use '==' to turn this assignment into an equality comparison 733 | if( dp = strchr(dst,'>') ) | ^ | == enews._.c:817:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 817 | if( afp = fopen(actpath,"r") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~ enews._.c:817:10: note: place parentheses around the assignment to silence this warning 817 | if( afp = fopen(actpath,"r") ){ | ^ | ( ) enews._.c:817:10: note: use '==' to turn this assignment into an equality comparison 817 | if( afp = fopen(actpath,"r") ){ | ^ | == enews._.c:844:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 844 | if( ok = make_active(group,max,min,cdate,mdate,AVStr(dir)) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enews._.c:844:9: note: place parentheses around the assignment to silence this warning 844 | if( ok = make_active(group,max,min,cdate,mdate,AVStr(dir)) ) | ^ | ( ) enews._.c:844:9: note: use '==' to turn this assignment into an equality comparison 844 | if( ok = make_active(group,max,min,cdate,mdate,AVStr(dir)) ) | ^ | == enews._.c:845:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 845 | if( afp = dirfopen("ACTIVE-FILE1",AVStr(actpath),"w") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enews._.c:845:10: note: place parentheses around the assignment to silence this warning 845 | if( afp = dirfopen("ACTIVE-FILE1",AVStr(actpath),"w") ){ | ^ | ( ) enews._.c:845:10: note: use '==' to turn this assignment into an equality comparison 845 | if( afp = dirfopen("ACTIVE-FILE1",AVStr(actpath),"w") ){ | ^ | == enews._.c:930:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 930 | if( afp = fopen_active(group,"r",NULL) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enews._.c:930:10: note: place parentheses around the assignment to silence this warning 930 | if( afp = fopen_active(group,"r",NULL) ){ | ^ | ( ) enews._.c:930:10: note: use '==' to turn this assignment into an equality comparison 930 | if( afp = fopen_active(group,"r",NULL) ){ | ^ | == enews._.c:954:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 954 | if( afp = fopen_article(NULL,group,mean,"r",AVStr(apath)) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enews._.c:954:10: note: place parentheses around the assignment to silence this warning 954 | if( afp = fopen_article(NULL,group,mean,"r",AVStr(apath)) ){ | ^ | ( ) enews._.c:954:10: note: use '==' to turn this assignment into an equality comparison 954 | if( afp = fopen_article(NULL,group,mean,"r",AVStr(apath)) ){ | ^ | == enews._.c:975:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 975 | if( afp = ENEWS_article(NULL,group,mi) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enews._.c:975:11: note: place parentheses around the assignment to silence this warning 975 | if( afp = ENEWS_article(NULL,group,mi) ){ | ^ | ( ) enews._.c:975:11: note: use '==' to turn this assignment into an equality comparison 975 | if( afp = ENEWS_article(NULL,group,mi) ){ | ^ | == enews._.c:1044:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1044 | if( ap = strchr(apath,' ') ){ | ~~~^~~~~~~~~~~~~~~~~~~ enews._.c:1044:10: note: place parentheses around the assignment to silence this warning 1044 | if( ap = strchr(apath,' ') ){ | ^ | ( ) enews._.c:1044:10: note: use '==' to turn this assignment into an equality comparison 1044 | if( ap = strchr(apath,' ') ){ | ^ | == enews._.c:1047:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1047 | if( ap = strrchr(apath,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~~~ enews._.c:1047:10: note: place parentheses around the assignment to silence this warning 1047 | if( ap = strrchr(apath,'/') ){ | ^ | ( ) enews._.c:1047:10: note: use '==' to turn this assignment into an equality comparison 1047 | if( ap = strrchr(apath,'/') ){ | ^ | == enews._.c:1072:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1072 | if( ap = strchr(apath,':') ){ | ~~~^~~~~~~~~~~~~~~~~~~ enews._.c:1072:10: note: place parentheses around the assignment to silence this warning 1072 | if( ap = strchr(apath,':') ){ | ^ | ( ) enews._.c:1072:10: note: use '==' to turn this assignment into an equality comparison 1072 | if( ap = strchr(apath,':') ){ | ^ | == enews._.c:1080:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1080 | if( ap = strchr(apath,' ') ){ | ~~~^~~~~~~~~~~~~~~~~~~ enews._.c:1080:10: note: place parentheses around the assignment to silence this warning 1080 | if( ap = strchr(apath,' ') ){ | ^ | ( ) enews._.c:1080:10: note: use '==' to turn this assignment into an equality comparison 1080 | if( ap = strchr(apath,' ') ){ | ^ | == enews._.c:1083:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1083 | if( ap = strrchr(apath,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~~~ enews._.c:1083:10: note: place parentheses around the assignment to silence this warning 1083 | if( ap = strrchr(apath,'/') ){ | ^ | ( ) enews._.c:1083:10: note: use '==' to turn this assignment into an equality comparison 1083 | if( ap = strrchr(apath,'/') ){ | ^ | == enews._.c:1106:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1106 | if( dp = strstr(mid,"@-group.") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ enews._.c:1106:9: note: place parentheses around the assignment to silence this warning 1106 | if( dp = strstr(mid,"@-group.") ){ | ^ | ( ) enews._.c:1106:9: note: use '==' to turn this assignment into an equality comparison 1106 | if( dp = strstr(mid,"@-group.") ){ | ^ | == enews._.c:1115:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1115 | if( dp = strchr(mid,'@') ){ | ~~~^~~~~~~~~~~~~~~~~ enews._.c:1115:10: note: place parentheses around the assignment to silence this warning 1115 | if( dp = strchr(mid,'@') ){ | ^ | ( ) enews._.c:1115:10: note: use '==' to turn this assignment into an equality comparison 1115 | if( dp = strchr(mid,'@') ){ | ^ | == enews._.c:1118:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1118 | if( dp = strstr(rgroup,mmSg(0)) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ enews._.c:1118:12: note: place parentheses around the assignment to silence this warning 1118 | if( dp = strstr(rgroup,mmSg(0)) ) | ^ | ( ) enews._.c:1118:12: note: use '==' to turn this assignment into an equality comparison 1118 | if( dp = strstr(rgroup,mmSg(0)) ) | ^ | == 31 warnings generated. ../mkcpp pop.c pop._.c -- mkcpp set time: 1773311939 -> 1300865513 pop._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c pop._.c -o pop.o pop._.c:371:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 371 | if( pp = strstr(opts,"apop=") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ pop._.c:371:9: note: place parentheses around the assignment to silence this warning 371 | if( pp = strstr(opts,"apop=") ){ | ^ | ( ) pop._.c:371:9: note: use '==' to turn this assignment into an equality comparison 371 | if( pp = strstr(opts,"apop=") ){ | ^ | == pop._.c:388:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 388 | if( pp = strstr(opts,"pass=") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ pop._.c:388:9: note: place parentheses around the assignment to silence this warning 388 | if( pp = strstr(opts,"pass=") ){ | ^ | ( ) pop._.c:388:9: note: use '==' to turn this assignment into an equality comparison 388 | if( pp = strstr(opts,"pass=") ){ | ^ | == pop._.c:443:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 443 | if( dp = strrpbrk(userhost,POP_USERHOST_DELIMITER) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pop._.c:443:9: note: place parentheses around the assignment to silence this warning 443 | if( dp = strrpbrk(userhost,POP_USERHOST_DELIMITER) ) | ^ | ( ) pop._.c:443:9: note: use '==' to turn this assignment into an equality comparison 443 | if( dp = strrpbrk(userhost,POP_USERHOST_DELIMITER) ) | ^ | == pop._.c:446:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 446 | if( dp = strrchr(userhost,'@') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~ pop._.c:446:9: note: place parentheses around the assignment to silence this warning 446 | if( dp = strrchr(userhost,'@') ){ | ^ | ( ) pop._.c:446:9: note: use '==' to turn this assignment into an equality comparison 446 | if( dp = strrchr(userhost,'@') ){ | ^ | == pop._.c:456:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 456 | if( dp = strrpbrk(user,POP_USERHOST_ESCDELIM) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pop._.c:456:10: note: place parentheses around the assignment to silence this warning 456 | if( dp = strrpbrk(user,POP_USERHOST_ESCDELIM) ) | ^ | ( ) pop._.c:456:10: note: use '==' to turn this assignment into an equality comparison 456 | if( dp = strrpbrk(user,POP_USERHOST_ESCDELIM) ) | ^ | == pop._.c:539:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 539 | if( sp = strrchr(userb,'@') ){ | ~~~^~~~~~~~~~~~~~~~~~~~ pop._.c:539:10: note: place parentheses around the assignment to silence this warning 539 | if( sp = strrchr(userb,'@') ){ | ^ | ( ) pop._.c:539:10: note: use '==' to turn this assignment into an equality comparison 539 | if( sp = strrchr(userb,'@') ){ | ^ | == pop._.c:711:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 711 | if( sp = strchr(banner,'<') ) | ~~~^~~~~~~~~~~~~~~~~~~~ pop._.c:711:9: note: place parentheses around the assignment to silence this warning 711 | if( sp = strchr(banner,'<') ) | ^ | ( ) pop._.c:711:9: note: use '==' to turn this assignment into an equality comparison 711 | if( sp = strchr(banner,'<') ) | ^ | == pop._.c:712:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 712 | for(; ch = *sp; sp++ ){ | ~~~^~~~~ pop._.c:712:11: note: place parentheses around the assignment to silence this warning 712 | for(; ch = *sp; sp++ ){ | ^ | ( ) pop._.c:712:11: note: use '==' to turn this assignment into an equality comparison 712 | for(; ch = *sp; sp++ ){ | ^ | == pop._.c:745:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 745 | if( dp = strpbrk(req,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~ pop._.c:745:10: note: place parentheses around the assignment to silence this warning 745 | if( dp = strpbrk(req,"\r\n") ) | ^ | ( ) pop._.c:745:10: note: use '==' to turn this assignment into an equality comparison 745 | if( dp = strpbrk(req,"\r\n") ) | ^ | == pop._.c:927:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 927 | else | ^ pop._.c:990:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 990 | for( sp++; ch = *sp; sp++ ){ | ~~~^~~~~ pop._.c:990:18: note: place parentheses around the assignment to silence this warning 990 | for( sp++; ch = *sp; sp++ ){ | ^ | ( ) pop._.c:990:18: note: use '==' to turn this assignment into an equality comparison 990 | for( sp++; ch = *sp; sp++ ){ | ^ | == pop._.c:1064:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1064 | for( ri = 0; acom = pop_command[ri].name; ri++ ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ pop._.c:1064:21: note: place parentheses around the assignment to silence this warning 1064 | for( ri = 0; acom = pop_command[ri].name; ri++ ){ | ^ | ( ) pop._.c:1064:21: note: use '==' to turn this assignment into an equality comparison 1064 | for( ri = 0; acom = pop_command[ri].name; ri++ ){ | ^ | == pop._.c:1177:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1177 | if( dp = strpbrk(line,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ pop._.c:1177:9: note: place parentheses around the assignment to silence this warning 1177 | if( dp = strpbrk(line,"\r\n") ) | ^ | ( ) pop._.c:1177:9: note: use '==' to turn this assignment into an equality comparison 1177 | if( dp = strpbrk(line,"\r\n") ) | ^ | == 13 warnings generated. ../mkcpp smtp.c smtp._.c -- mkcpp set time: 1773311942 -> 1414457967 smtp._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c smtp._.c -o smtp.o smtp._.c:369:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 369 | if( np = strstr(rbuf,"] ") ){ /* Timestamp */ | ~~~^~~~~~~~~~~~~~~~~~~ smtp._.c:369:10: note: place parentheses around the assignment to silence this warning 369 | if( np = strstr(rbuf,"] ") ){ /* Timestamp */ | ^ | ( ) smtp._.c:369:10: note: use '==' to turn this assignment into an equality comparison 369 | if( np = strstr(rbuf,"] ") ){ /* Timestamp */ | ^ | == smtp._.c:504:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 504 | if( dp = strrchr(tob,'%') ) | ~~~^~~~~~~~~~~~~~~~~~ smtp._.c:504:9: note: place parentheses around the assignment to silence this warning 504 | if( dp = strrchr(tob,'%') ) | ^ | ( ) smtp._.c:504:9: note: use '==' to turn this assignment into an equality comparison 504 | if( dp = strrchr(tob,'%') ) | ^ | == smtp._.c:505:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 505 | if( op = strchr(dp,'@') ){ | ~~~^~~~~~~~~~~~~~~~ smtp._.c:505:9: note: place parentheses around the assignment to silence this warning 505 | if( op = strchr(dp,'@') ){ | ^ | ( ) smtp._.c:505:9: note: use '==' to turn this assignment into an equality comparison 505 | if( op = strchr(dp,'@') ){ | ^ | == smtp._.c:581:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 581 | if( np = strchr(sp,'\n') ) | ~~~^~~~~~~~~~~~~~~~~ smtp._.c:581:10: note: place parentheses around the assignment to silence this warning 581 | if( np = strchr(sp,'\n') ) | ^ | ( ) smtp._.c:581:10: note: use '==' to turn this assignment into an equality comparison 581 | if( np = strchr(sp,'\n') ) | ^ | == smtp._.c:826:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 826 | if( ep = strpbrk(line,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ smtp._.c:826:11: note: place parentheses around the assignment to silence this warning 826 | if( ep = strpbrk(line,"\r\n") ) | ^ | ( ) smtp._.c:826:11: note: use '==' to turn this assignment into an equality comparison 826 | if( ep = strpbrk(line,"\r\n") ) | ^ | == smtp._.c:1256:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1256 | if( dp = strchr(msg,'\n') ) | ~~~^~~~~~~~~~~~~~~~~~ smtp._.c:1256:9: note: place parentheses around the assignment to silence this warning 1256 | if( dp = strchr(msg,'\n') ) | ^ | ( ) smtp._.c:1256:9: note: use '==' to turn this assignment into an equality comparison 1256 | if( dp = strchr(msg,'\n') ) | ^ | == smtp._.c:1326:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1326 | else | ^ smtp._.c:1594:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1594 | if( pp = strpbrk(bplain,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ smtp._.c:1594:10: note: place parentheses around the assignment to silence this warning 1594 | if( pp = strpbrk(bplain,"\r\n") ) | ^ | ( ) smtp._.c:1594:10: note: use '==' to turn this assignment into an equality comparison 1594 | if( pp = strpbrk(bplain,"\r\n") ) | ^ | == smtp._.c:2257:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2257 | if( withMX = hostIsResolvable(mx) ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ smtp._.c:2257:14: note: place parentheses around the assignment to silence this warning 2257 | if( withMX = hostIsResolvable(mx) ){ | ^ | ( ) smtp._.c:2257:14: note: use '==' to turn this assignment into an equality comparison 2257 | if( withMX = hostIsResolvable(mx) ){ | ^ | == 9 warnings generated. ../mkcpp telnet.c telnet._.c -- mkcpp set time: 1773311945 -> 1279608155 telnet._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c telnet._.c -o telnet.o telnet._.c:347:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 347 | if( doga = ClientsDO[O_SUPAHEAD] ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ telnet._.c:347:11: note: place parentheses around the assignment to silence this warning 347 | if( doga = ClientsDO[O_SUPAHEAD] ) | ^ | ( ) telnet._.c:347:11: note: use '==' to turn this assignment into an equality comparison 347 | if( doga = ClientsDO[O_SUPAHEAD] ) | ^ | == telnet._.c:357:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 357 | if( doecho = ClientsDO[O_ECHO] ) | ~~~~~~~^~~~~~~~~~~~~~~~~~~ telnet._.c:357:13: note: place parentheses around the assignment to silence this warning 357 | if( doecho = ClientsDO[O_ECHO] ) | ^ | ( ) telnet._.c:357:13: note: use '==' to turn this assignment into an equality comparison 357 | if( doecho = ClientsDO[O_ECHO] ) | ^ | == telnet._.c:533:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 533 | if( mn = code(ch) ){ | ~~~^~~~~~~~~~ telnet._.c:533:12: note: place parentheses around the assignment to silence this warning 533 | if( mn = code(ch) ){ | ^ | ( ) telnet._.c:533:12: note: use '==' to turn this assignment into an equality comparison 533 | if( mn = code(ch) ){ | ^ | == telnet._.c:844:10: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] 844 | addIbuf(IAC); addIbuf(com); addIbuf(what); | ~~~~~~~~^~~~ telnet._.c:139:13: note: expanded from macro 'IAC' 139 | #define IAC 255 | ^~~ telnet._.c:838:43: note: expanded from macro 'addIbuf' 838 | #define addIbuf(v) setVStrElemInc(ibuf,ii,v) | ~~~~~~~~~~~~~~~~~~~~~~~^~ ../include/ystring.h:186:63: note: expanded from macro 'setVStrElemInc' 186 | #define setVStrElemInc(p,x,v) (rangeOK(p,x))?(((char*)p)[x++]=v):XsetVStrEnd(AVStr(p),x) | ~^ telnet._.c:920:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 920 | if( co = ClientsWill[op] ){ | ~~~^~~~~~~~~~~~~~~~~ telnet._.c:920:9: note: place parentheses around the assignment to silence this warning 920 | if( co = ClientsWill[op] ){ | ^ | ( ) telnet._.c:920:9: note: use '==' to turn this assignment into an equality comparison 920 | if( co = ClientsWill[op] ){ | ^ | == telnet._.c:1342:10: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] 1342 | addIbuf(IAC); addIbuf(WILL); addIbuf(opt); | ~~~~~~~~^~~~ telnet._.c:139:13: note: expanded from macro 'IAC' 139 | #define IAC 255 | ^~~ telnet._.c:838:43: note: expanded from macro 'addIbuf' 838 | #define addIbuf(v) setVStrElemInc(ibuf,ii,v) | ~~~~~~~~~~~~~~~~~~~~~~~^~ ../include/ystring.h:186:63: note: expanded from macro 'setVStrElemInc' 186 | #define setVStrElemInc(p,x,v) (rangeOK(p,x))?(((char*)p)[x++]=v):XsetVStrEnd(AVStr(p),x) | ~^ telnet._.c:1342:24: warning: implicit conversion from 'int' to 'char' changes value from 251 to -5 [-Wconstant-conversion] 1342 | addIbuf(IAC); addIbuf(WILL); addIbuf(opt); | ~~~~~~~~^~~~~ telnet._.c:135:14: note: expanded from macro 'WILL' 135 | #define WILL 251 | ^~~ telnet._.c:838:43: note: expanded from macro 'addIbuf' 838 | #define addIbuf(v) setVStrElemInc(ibuf,ii,v) | ~~~~~~~~~~~~~~~~~~~~~~~^~ ../include/ystring.h:186:63: note: expanded from macro 'setVStrElemInc' 186 | #define setVStrElemInc(p,x,v) (rangeOK(p,x))?(((char*)p)[x++]=v):XsetVStrEnd(AVStr(p),x) | ~^ telnet._.c:1343:10: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] 1343 | addIbuf(IAC); addIbuf(SB); addIbuf(opt); | ~~~~~~~~^~~~ telnet._.c:139:13: note: expanded from macro 'IAC' 139 | #define IAC 255 | ^~~ telnet._.c:838:43: note: expanded from macro 'addIbuf' 838 | #define addIbuf(v) setVStrElemInc(ibuf,ii,v) | ~~~~~~~~~~~~~~~~~~~~~~~^~ ../include/ystring.h:186:63: note: expanded from macro 'setVStrElemInc' 186 | #define setVStrElemInc(p,x,v) (rangeOK(p,x))?(((char*)p)[x++]=v):XsetVStrEnd(AVStr(p),x) | ~^ telnet._.c:1343:24: warning: implicit conversion from 'int' to 'char' changes value from 250 to -6 [-Wconstant-conversion] 1343 | addIbuf(IAC); addIbuf(SB); addIbuf(opt); | ~~~~~~~~^~~ telnet._.c:134:12: note: expanded from macro 'SB' 134 | #define SB 250 | ^~~ telnet._.c:838:43: note: expanded from macro 'addIbuf' 838 | #define addIbuf(v) setVStrElemInc(ibuf,ii,v) | ~~~~~~~~~~~~~~~~~~~~~~~^~ ../include/ystring.h:186:63: note: expanded from macro 'setVStrElemInc' 186 | #define setVStrElemInc(p,x,v) (rangeOK(p,x))?(((char*)p)[x++]=v):XsetVStrEnd(AVStr(p),x) | ~^ telnet._.c:1347:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1347 | for( ij = 0; ch = "DISPLAY"[ij]; ij++ ){ | ~~~^~~~~~~~~~~~~~~ telnet._.c:1347:19: note: place parentheses around the assignment to silence this warning 1347 | for( ij = 0; ch = "DISPLAY"[ij]; ij++ ){ | ^ | ( ) telnet._.c:1347:19: note: use '==' to turn this assignment into an equality comparison 1347 | for( ij = 0; ch = "DISPLAY"[ij]; ij++ ){ | ^ | == telnet._.c:1352:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1352 | for( ij = 0; ch = display[ij]; ij++ ){ | ~~~^~~~~~~~~~~~~ telnet._.c:1352:18: note: place parentheses around the assignment to silence this warning 1352 | for( ij = 0; ch = display[ij]; ij++ ){ | ^ | ( ) telnet._.c:1352:18: note: use '==' to turn this assignment into an equality comparison 1352 | for( ij = 0; ch = display[ij]; ij++ ){ | ^ | == telnet._.c:1357:10: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] 1357 | addIbuf(IAC); addIbuf(SE); | ~~~~~~~~^~~~ telnet._.c:139:13: note: expanded from macro 'IAC' 139 | #define IAC 255 | ^~~ telnet._.c:838:43: note: expanded from macro 'addIbuf' 838 | #define addIbuf(v) setVStrElemInc(ibuf,ii,v) | ~~~~~~~~~~~~~~~~~~~~~~~^~ ../include/ystring.h:186:63: note: expanded from macro 'setVStrElemInc' 186 | #define setVStrElemInc(p,x,v) (rangeOK(p,x))?(((char*)p)[x++]=v):XsetVStrEnd(AVStr(p),x) | ~^ telnet._.c:1357:24: warning: implicit conversion from 'int' to 'char' changes value from 240 to -16 [-Wconstant-conversion] 1357 | addIbuf(IAC); addIbuf(SE); | ~~~~~~~~^~~ telnet._.c:129:12: note: expanded from macro 'SE' 129 | #define SE 240 | ^~~ telnet._.c:838:43: note: expanded from macro 'addIbuf' 838 | #define addIbuf(v) setVStrElemInc(ibuf,ii,v) | ~~~~~~~~~~~~~~~~~~~~~~~^~ ../include/ystring.h:186:63: note: expanded from macro 'setVStrElemInc' 186 | #define setVStrElemInc(p,x,v) (rangeOK(p,x))?(((char*)p)[x++]=v):XsetVStrEnd(AVStr(p),x) | ~^ telnet._.c:1391:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1391 | if( dp = strchr(Xproxy,':') ){ | ~~~^~~~~~~~~~~~~~~~~~~~ telnet._.c:1391:11: note: place parentheses around the assignment to silence this warning 1391 | if( dp = strchr(Xproxy,':') ){ | ^ | ( ) telnet._.c:1391:11: note: use '==' to turn this assignment into an equality comparison 1391 | if( dp = strchr(Xproxy,':') ){ | ^ | == telnet._.c:1448:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1448 | if( mount_opts = CTX_mount_url_to(Conn,NULL,"GET",AVStr(comline)) ){ | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ telnet._.c:1448:18: note: place parentheses around the assignment to silence this warning 1448 | if( mount_opts = CTX_mount_url_to(Conn,NULL,"GET",AVStr(comline)) ){ | ^ | ( ) telnet._.c:1448:18: note: use '==' to turn this assignment into an equality comparison 1448 | if( mount_opts = CTX_mount_url_to(Conn,NULL,"GET",AVStr(comline)) ){ | ^ | == telnet._.c:1452:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1452 | if( dp = strchr(comline,':') ) | ~~~^~~~~~~~~~~~~~~~~~~~~ telnet._.c:1452:12: note: place parentheses around the assignment to silence this warning 1452 | if( dp = strchr(comline,':') ) | ^ | ( ) telnet._.c:1452:12: note: use '==' to turn this assignment into an equality comparison 1452 | if( dp = strchr(comline,':') ) | ^ | == telnet._.c:1565:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1565 | if( iuser = getClientHostPortUser(Conn,AVStr(clnt),NULL) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ telnet._.c:1565:13: note: place parentheses around the assignment to silence this warning 1565 | if( iuser = getClientHostPortUser(Conn,AVStr(clnt),NULL) ) | ^ | ( ) telnet._.c:1565:13: note: use '==' to turn this assignment into an equality comparison 1565 | if( iuser = getClientHostPortUser(Conn,AVStr(clnt),NULL) ) | ^ | == telnet._.c:1716:10: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] 1716 | addIbuf(IAC); addIbuf(WONT); addIbuf(O_ECHO); | ~~~~~~~~^~~~ telnet._.c:139:13: note: expanded from macro 'IAC' 139 | #define IAC 255 | ^~~ telnet._.c:838:43: note: expanded from macro 'addIbuf' 838 | #define addIbuf(v) setVStrElemInc(ibuf,ii,v) | ~~~~~~~~~~~~~~~~~~~~~~~^~ ../include/ystring.h:186:63: note: expanded from macro 'setVStrElemInc' 186 | #define setVStrElemInc(p,x,v) (rangeOK(p,x))?(((char*)p)[x++]=v):XsetVStrEnd(AVStr(p),x) | ~^ telnet._.c:1716:24: warning: implicit conversion from 'int' to 'char' changes value from 252 to -4 [-Wconstant-conversion] 1716 | addIbuf(IAC); addIbuf(WONT); addIbuf(O_ECHO); | ~~~~~~~~^~~~~ telnet._.c:136:14: note: expanded from macro 'WONT' 136 | #define WONT 252 | ^~~ telnet._.c:838:43: note: expanded from macro 'addIbuf' 838 | #define addIbuf(v) setVStrElemInc(ibuf,ii,v) | ~~~~~~~~~~~~~~~~~~~~~~~^~ ../include/ystring.h:186:63: note: expanded from macro 'setVStrElemInc' 186 | #define setVStrElemInc(p,x,v) (rangeOK(p,x))?(((char*)p)[x++]=v):XsetVStrEnd(AVStr(p),x) | ~^ telnet._.c:1717:10: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] 1717 | addIbuf(IAC); addIbuf(DO); addIbuf(O_ECHO); | ~~~~~~~~^~~~ telnet._.c:139:13: note: expanded from macro 'IAC' 139 | #define IAC 255 | ^~~ telnet._.c:838:43: note: expanded from macro 'addIbuf' 838 | #define addIbuf(v) setVStrElemInc(ibuf,ii,v) | ~~~~~~~~~~~~~~~~~~~~~~~^~ ../include/ystring.h:186:63: note: expanded from macro 'setVStrElemInc' 186 | #define setVStrElemInc(p,x,v) (rangeOK(p,x))?(((char*)p)[x++]=v):XsetVStrEnd(AVStr(p),x) | ~^ telnet._.c:1717:24: warning: implicit conversion from 'int' to 'char' changes value from 253 to -3 [-Wconstant-conversion] 1717 | addIbuf(IAC); addIbuf(DO); addIbuf(O_ECHO); | ~~~~~~~~^~~ telnet._.c:137:12: note: expanded from macro 'DO' 137 | #define DO 253 | ^~~ telnet._.c:838:43: note: expanded from macro 'addIbuf' 838 | #define addIbuf(v) setVStrElemInc(ibuf,ii,v) | ~~~~~~~~~~~~~~~~~~~~~~~^~ ../include/ystring.h:186:63: note: expanded from macro 'setVStrElemInc' 186 | #define setVStrElemInc(p,x,v) (rangeOK(p,x))?(((char*)p)[x++]=v):XsetVStrEnd(AVStr(p),x) | ~^ telnet._.c:1732:10: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] 1732 | addIbuf(IAC); addIbuf(WILL); addIbuf(O_ECHO); | ~~~~~~~~^~~~ telnet._.c:139:13: note: expanded from macro 'IAC' 139 | #define IAC 255 | ^~~ telnet._.c:838:43: note: expanded from macro 'addIbuf' 838 | #define addIbuf(v) setVStrElemInc(ibuf,ii,v) | ~~~~~~~~~~~~~~~~~~~~~~~^~ ../include/ystring.h:186:63: note: expanded from macro 'setVStrElemInc' 186 | #define setVStrElemInc(p,x,v) (rangeOK(p,x))?(((char*)p)[x++]=v):XsetVStrEnd(AVStr(p),x) | ~^ telnet._.c:1732:24: warning: implicit conversion from 'int' to 'char' changes value from 251 to -5 [-Wconstant-conversion] 1732 | addIbuf(IAC); addIbuf(WILL); addIbuf(O_ECHO); | ~~~~~~~~^~~~~ telnet._.c:135:14: note: expanded from macro 'WILL' 135 | #define WILL 251 | ^~~ telnet._.c:838:43: note: expanded from macro 'addIbuf' 838 | #define addIbuf(v) setVStrElemInc(ibuf,ii,v) | ~~~~~~~~~~~~~~~~~~~~~~~^~ ../include/ystring.h:186:63: note: expanded from macro 'setVStrElemInc' 186 | #define setVStrElemInc(p,x,v) (rangeOK(p,x))?(((char*)p)[x++]=v):XsetVStrEnd(AVStr(p),x) | ~^ telnet._.c:1733:10: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] 1733 | addIbuf(IAC); addIbuf(DONT); addIbuf(O_ECHO); | ~~~~~~~~^~~~ telnet._.c:139:13: note: expanded from macro 'IAC' 139 | #define IAC 255 | ^~~ telnet._.c:838:43: note: expanded from macro 'addIbuf' 838 | #define addIbuf(v) setVStrElemInc(ibuf,ii,v) | ~~~~~~~~~~~~~~~~~~~~~~~^~ ../include/ystring.h:186:63: note: expanded from macro 'setVStrElemInc' 186 | #define setVStrElemInc(p,x,v) (rangeOK(p,x))?(((char*)p)[x++]=v):XsetVStrEnd(AVStr(p),x) | ~^ telnet._.c:1733:24: warning: implicit conversion from 'int' to 'char' changes value from 254 to -2 [-Wconstant-conversion] 1733 | addIbuf(IAC); addIbuf(DONT); addIbuf(O_ECHO); | ~~~~~~~~^~~~~ telnet._.c:138:14: note: expanded from macro 'DONT' 138 | #define DONT 254 | ^~~ telnet._.c:838:43: note: expanded from macro 'addIbuf' 838 | #define addIbuf(v) setVStrElemInc(ibuf,ii,v) | ~~~~~~~~~~~~~~~~~~~~~~~^~ ../include/ystring.h:186:63: note: expanded from macro 'setVStrElemInc' 186 | #define setVStrElemInc(p,x,v) (rangeOK(p,x))?(((char*)p)[x++]=v):XsetVStrEnd(AVStr(p),x) | ~^ telnet._.c:1750:10: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] 1750 | addIbuf(IAC); addIbuf(WONT); addIbuf(O_ECHO); | ~~~~~~~~^~~~ telnet._.c:139:13: note: expanded from macro 'IAC' 139 | #define IAC 255 | ^~~ telnet._.c:838:43: note: expanded from macro 'addIbuf' 838 | #define addIbuf(v) setVStrElemInc(ibuf,ii,v) | ~~~~~~~~~~~~~~~~~~~~~~~^~ ../include/ystring.h:186:63: note: expanded from macro 'setVStrElemInc' 186 | #define setVStrElemInc(p,x,v) (rangeOK(p,x))?(((char*)p)[x++]=v):XsetVStrEnd(AVStr(p),x) | ~^ telnet._.c:1750:24: warning: implicit conversion from 'int' to 'char' changes value from 252 to -4 [-Wconstant-conversion] 1750 | addIbuf(IAC); addIbuf(WONT); addIbuf(O_ECHO); | ~~~~~~~~^~~~~ telnet._.c:136:14: note: expanded from macro 'WONT' 136 | #define WONT 252 | ^~~ telnet._.c:838:43: note: expanded from macro 'addIbuf' 838 | #define addIbuf(v) setVStrElemInc(ibuf,ii,v) | ~~~~~~~~~~~~~~~~~~~~~~~^~ ../include/ystring.h:186:63: note: expanded from macro 'setVStrElemInc' 186 | #define setVStrElemInc(p,x,v) (rangeOK(p,x))?(((char*)p)[x++]=v):XsetVStrEnd(AVStr(p),x) | ~^ telnet._.c:1751:10: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] 1751 | addIbuf(IAC); addIbuf(DO); addIbuf(O_ECHO); | ~~~~~~~~^~~~ telnet._.c:139:13: note: expanded from macro 'IAC' 139 | #define IAC 255 | ^~~ telnet._.c:838:43: note: expanded from macro 'addIbuf' 838 | #define addIbuf(v) setVStrElemInc(ibuf,ii,v) | ~~~~~~~~~~~~~~~~~~~~~~~^~ ../include/ystring.h:186:63: note: expanded from macro 'setVStrElemInc' 186 | #define setVStrElemInc(p,x,v) (rangeOK(p,x))?(((char*)p)[x++]=v):XsetVStrEnd(AVStr(p),x) | ~^ telnet._.c:1751:24: warning: implicit conversion from 'int' to 'char' changes value from 253 to -3 [-Wconstant-conversion] 1751 | addIbuf(IAC); addIbuf(DO); addIbuf(O_ECHO); | ~~~~~~~~^~~ telnet._.c:137:12: note: expanded from macro 'DO' 137 | #define DO 253 | ^~~ telnet._.c:838:43: note: expanded from macro 'addIbuf' 838 | #define addIbuf(v) setVStrElemInc(ibuf,ii,v) | ~~~~~~~~~~~~~~~~~~~~~~~^~ ../include/ystring.h:186:63: note: expanded from macro 'setVStrElemInc' 186 | #define setVStrElemInc(p,x,v) (rangeOK(p,x))?(((char*)p)[x++]=v):XsetVStrEnd(AVStr(p),x) | ~^ telnet._.c:1766:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1766 | if( dp = strpbrk(line,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ telnet._.c:1766:10: note: place parentheses around the assignment to silence this warning 1766 | if( dp = strpbrk(line,"\r\n") ) | ^ | ( ) telnet._.c:1766:10: note: use '==' to turn this assignment into an equality comparison 1766 | if( dp = strpbrk(line,"\r\n") ) | ^ | == telnet._.c:1780:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1780 | if( dp = strpbrk(line,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ telnet._.c:1780:11: note: place parentheses around the assignment to silence this warning 1780 | if( dp = strpbrk(line,"\r\n") ) | ^ | ( ) telnet._.c:1780:11: note: use '==' to turn this assignment into an equality comparison 1780 | if( dp = strpbrk(line,"\r\n") ) | ^ | == telnet._.c:2235:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2235 | if( dp = strpbrk(res,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~ telnet._.c:2235:10: note: place parentheses around the assignment to silence this warning 2235 | if( dp = strpbrk(res,"\r\n") ) | ^ | ( ) telnet._.c:2235:10: note: use '==' to turn this assignment into an equality comparison 2235 | if( dp = strpbrk(res,"\r\n") ) | ^ | == 32 warnings generated. ../mkcpp ftp.c ftp._.c -- mkcpp set time: 1773311947 -> 1406099502 ftp._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c ftp._.c -o ftp.o ftp._.c:600:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 600 | if( confv = parameq(conf,P_FTPCONF) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ftp._.c:600:14: note: place parentheses around the assignment to silence this warning 600 | if( confv = parameq(conf,P_FTPCONF) ){ | ^ | ( ) ftp._.c:600:14: note: use '==' to turn this assignment into an equality comparison 600 | if( confv = parameq(conf,P_FTPCONF) ){ | ^ | == ftp._.c:807:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 807 | if( xp = strrpbrk(arg,FCF.fc_usdelim) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftp._.c:807:9: note: place parentheses around the assignment to silence this warning 807 | if( xp = strrpbrk(arg,FCF.fc_usdelim) ){ | ^ | ( ) ftp._.c:807:9: note: use '==' to turn this assignment into an equality comparison 807 | if( xp = strrpbrk(arg,FCF.fc_usdelim) ){ | ^ | == ftp._.c:817:13: warning: '/*' within block comment [-Wcomment] 817 | * MOUNT="/* ftp://server/*" | ^ ftp._.c:817:28: warning: '/*' within block comment [-Wcomment] 817 | * MOUNT="/* ftp://server/*" | ^ ftp._.c:941:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 941 | if( dp = strchr(serv,'/') ) | ~~~^~~~~~~~~~~~~~~~~~ ftp._.c:941:9: note: place parentheses around the assignment to silence this warning 941 | if( dp = strchr(serv,'/') ) | ^ | ( ) ftp._.c:941:9: note: use '==' to turn this assignment into an equality comparison 941 | if( dp = strchr(serv,'/') ) | ^ | == ftp._.c:943:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 943 | if( dp = strchr(server,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~~~ ftp._.c:943:9: note: place parentheses around the assignment to silence this warning 943 | if( dp = strchr(server,'/') ){ | ^ | ( ) ftp._.c:943:9: note: use '==' to turn this assignment into an equality comparison 943 | if( dp = strchr(server,'/') ){ | ^ | == ftp._.c:953:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 953 | if( xp = strrchr(serv,':') ){ | ~~~^~~~~~~~~~~~~~~~~~~ ftp._.c:953:9: note: place parentheses around the assignment to silence this warning 953 | if( xp = strrchr(serv,':') ){ | ^ | ( ) ftp._.c:953:9: note: use '==' to turn this assignment into an equality comparison 953 | if( xp = strrchr(serv,':') ){ | ^ | == ftp._.c:1072:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1072 | for( np = sp; ch = *np; np++ ){ | ~~~^~~~~ ftp._.c:1072:20: note: place parentheses around the assignment to silence this warning 1072 | for( np = sp; ch = *np; np++ ){ | ^ | ( ) ftp._.c:1072:20: note: use '==' to turn this assignment into an equality comparison 1072 | for( np = sp; ch = *np; np++ ){ | ^ | == ftp._.c:1109:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1109 | if( np = strchr(sp,'\n') ) | ~~~^~~~~~~~~~~~~~~~~ ftp._.c:1109:10: note: place parentheses around the assignment to silence this warning 1109 | if( np = strchr(sp,'\n') ) | ^ | ( ) ftp._.c:1109:10: note: use '==' to turn this assignment into an equality comparison 1109 | if( np = strchr(sp,'\n') ) | ^ | == ftp._.c:1133:32: warning: '/*' within block comment [-Wcomment] 1133 | * in case such as MOUNT="/xxx/* /*" with CWD="/" | ^ ftp._.c:1133:35: warning: '/*' within block comment [-Wcomment] 1133 | * in case such as MOUNT="/xxx/* /*" with CWD="/" | ^ ftp._.c:1190:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1190 | if( tp = strrchr(npath,'/') ) | ~~~^~~~~~~~~~~~~~~~~~~~ ftp._.c:1190:9: note: place parentheses around the assignment to silence this warning 1190 | if( tp = strrchr(npath,'/') ) | ^ | ( ) ftp._.c:1190:9: note: use '==' to turn this assignment into an equality comparison 1190 | if( tp = strrchr(npath,'/') ) | ^ | == ftp._.c:1222:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1222 | if( opts = CTX_mount_url_to(FS->fs_Conn,NULL,method,AVStr(vurl)) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftp._.c:1222:12: note: place parentheses around the assignment to silence this warning 1222 | if( opts = CTX_mount_url_to(FS->fs_Conn,NULL,method,AVStr(vurl)) ){ | ^ | ( ) ftp._.c:1222:12: note: use '==' to turn this assignment into an equality comparison 1222 | if( opts = CTX_mount_url_to(FS->fs_Conn,NULL,method,AVStr(vurl)) ){ | ^ | == ftp._.c:1254:20: warning: '/*' within block comment [-Wcomment] 1254 | * by MOUNT="/X/* /dir/*" | ^ ftp._.c:1254:27: warning: '/*' within block comment [-Wcomment] 1254 | * by MOUNT="/X/* /dir/*" | ^ ftp._.c:1291:17: warning: '/*' within block comment [-Wcomment] 1291 | * MOUNT="/d1/* ..." (1) | ^ ftp._.c:1292:20: warning: '/*' within block comment [-Wcomment] 1292 | * MOUNT="/d1/d2/* ..." (2) | ^ ftp._.c:1300:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1300 | if( opts = CTX_mount_url_to(FS->fs_Conn,NULL,"GET",AVStr(vurl)) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftp._.c:1300:11: note: place parentheses around the assignment to silence this warning 1300 | if( opts = CTX_mount_url_to(FS->fs_Conn,NULL,"GET",AVStr(vurl)) ){ | ^ | ( ) ftp._.c:1300:11: note: use '==' to turn this assignment into an equality comparison 1300 | if( opts = CTX_mount_url_to(FS->fs_Conn,NULL,"GET",AVStr(vurl)) ){ | ^ | == ftp._.c:1311:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1311 | if( opts = CTX_mount_url_to(FS->fs_Conn,NULL,"GET",AVStr(vurl)) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftp._.c:1311:11: note: place parentheses around the assignment to silence this warning 1311 | if( opts = CTX_mount_url_to(FS->fs_Conn,NULL,"GET",AVStr(vurl)) ){ | ^ | ( ) ftp._.c:1311:11: note: use '==' to turn this assignment into an equality comparison 1311 | if( opts = CTX_mount_url_to(FS->fs_Conn,NULL,"GET",AVStr(vurl)) ){ | ^ | == ftp._.c:1568:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1568 | if( opt = CTX_mount_url_to(FS->fs_Conn,NULL,"PUT",AVStr(path)) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftp._.c:1568:10: note: place parentheses around the assignment to silence this warning 1568 | if( opt = CTX_mount_url_to(FS->fs_Conn,NULL,"PUT",AVStr(path)) ){ | ^ | ( ) ftp._.c:1568:10: note: use '==' to turn this assignment into an equality comparison 1568 | if( opt = CTX_mount_url_to(FS->fs_Conn,NULL,"PUT",AVStr(path)) ){ | ^ | == ftp._.c:1641:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1641 | if( vopt = strchr(xfopt,'v') ){ /* -v for test */ | ~~~~~^~~~~~~~~~~~~~~~~~~ ftp._.c:1641:12: note: place parentheses around the assignment to silence this warning 1641 | if( vopt = strchr(xfopt,'v') ){ /* -v for test */ | ^ | ( ) ftp._.c:1641:12: note: use '==' to turn this assignment into an equality comparison 1641 | if( vopt = strchr(xfopt,'v') ){ /* -v for test */ | ^ | == ftp._.c:1687:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1687 | for( sp = str; sc = *sp; sp++ ){ | ~~~^~~~~ ftp._.c:1687:20: note: place parentheses around the assignment to silence this warning 1687 | for( sp = str; sc = *sp; sp++ ){ | ^ | ( ) ftp._.c:1687:20: note: use '==' to turn this assignment into an equality comparison 1687 | for( sp = str; sc = *sp; sp++ ){ | ^ | == ftp._.c:1757:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1757 | if( fp = URLget(url,0,NULL) ) | ~~~^~~~~~~~~~~~~~~~~~~~ ftp._.c:1757:10: note: place parentheses around the assignment to silence this warning 1757 | if( fp = URLget(url,0,NULL) ) | ^ | ( ) ftp._.c:1757:10: note: use '==' to turn this assignment into an equality comparison 1757 | if( fp = URLget(url,0,NULL) ) | ^ | == ftp._.c:1875:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1875 | if( opt = isGateway(FS,0,vpath,AVStr(path),AVStr(scheme),AVStr(lphost),&lpport,AVStr(lpq),AVStr(fname)) ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftp._.c:1875:10: note: place parentheses around the assignment to silence this warning 1875 | if( opt = isGateway(FS,0,vpath,AVStr(path),AVStr(scheme),AVStr(lphost),&lpport,AVStr(lpq),AVStr(fname)) ) | ^ | ( ) ftp._.c:1875:10: note: use '==' to turn this assignment into an equality comparison 1875 | if( opt = isGateway(FS,0,vpath,AVStr(path),AVStr(scheme),AVStr(lphost),&lpport,AVStr(lpq),AVStr(fname)) ) | ^ | == ftp._.c:1940:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1940 | if( opts = isGateway(FS,0,vpath,AVStr(path),AVStr(scheme),AVStr(lphost),&lpport,AVStr(lpq),AVStr(fname)) ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftp._.c:1940:11: note: place parentheses around the assignment to silence this warning 1940 | if( opts = isGateway(FS,0,vpath,AVStr(path),AVStr(scheme),AVStr(lphost),&lpport,AVStr(lpq),AVStr(fname)) ) | ^ | ( ) ftp._.c:1940:11: note: use '==' to turn this assignment into an equality comparison 1940 | if( opts = isGateway(FS,0,vpath,AVStr(path),AVStr(scheme),AVStr(lphost),&lpport,AVStr(lpq),AVStr(fname)) ) | ^ | == ftp._.c:2173:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2173 | if( lp = strrchr(line,';') ) | ~~~^~~~~~~~~~~~~~~~~~~ ftp._.c:2173:9: note: place parentheses around the assignment to silence this warning 2173 | if( lp = strrchr(line,';') ) | ^ | ( ) ftp._.c:2173:9: note: use '==' to turn this assignment into an equality comparison 2173 | if( lp = strrchr(line,';') ) | ^ | == ftp._.c:2189:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2189 | if( rp = wordscanY(rp,AVStr(line),sizeof(line),"^\n") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftp._.c:2189:10: note: place parentheses around the assignment to silence this warning 2189 | if( rp = wordscanY(rp,AVStr(line),sizeof(line),"^\n") ){ | ^ | ( ) ftp._.c:2189:10: note: use '==' to turn this assignment into an equality comparison 2189 | if( rp = wordscanY(rp,AVStr(line),sizeof(line),"^\n") ){ | ^ | == ftp._.c:2446:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2446 | if( fp = localLIST(FS,tc,com,arg,AVStr(path)) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftp._.c:2446:10: note: place parentheses around the assignment to silence this warning 2446 | if( fp = localLIST(FS,tc,com,arg,AVStr(path)) ){ | ^ | ( ) ftp._.c:2446:10: note: use '==' to turn this assignment into an equality comparison 2446 | if( fp = localLIST(FS,tc,com,arg,AVStr(path)) ){ | ^ | == ftp._.c:2462:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2462 | if( fp = localRETR(FS,tc,com,arg,AVStr(path)) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftp._.c:2462:10: note: place parentheses around the assignment to silence this warning 2462 | if( fp = localRETR(FS,tc,com,arg,AVStr(path)) ){ | ^ | ( ) ftp._.c:2462:10: note: use '==' to turn this assignment into an equality comparison 2462 | if( fp = localRETR(FS,tc,com,arg,AVStr(path)) ){ | ^ | == ftp._.c:2528:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2528 | if( dp = strchr(mdir+2,'/') ) | ~~~^~~~~~~~~~~~~~~~~~~~ ftp._.c:2528:10: note: place parentheses around the assignment to silence this warning 2528 | if( dp = strchr(mdir+2,'/') ) | ^ | ( ) ftp._.c:2528:10: note: use '==' to turn this assignment into an equality comparison 2528 | if( dp = strchr(mdir+2,'/') ) | ^ | == ftp._.c:2729:25: warning: '/*' within block comment [-Wcomment] 2729 | /* 9.9.1 with MOUNT="/* ftp://server/%2F* */ | ^ ftp._.c:2827:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2827 | if( host = strchr(user,'@') ){ | ~~~~~^~~~~~~~~~~~~~~~~~ ftp._.c:2827:12: note: place parentheses around the assignment to silence this warning 2827 | if( host = strchr(user,'@') ){ | ^ | ( ) ftp._.c:2827:12: note: use '==' to turn this assignment into an equality comparison 2827 | if( host = strchr(user,'@') ){ | ^ | == ftp._.c:2862:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2862 | if( dp = strtailstr(me,":21") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ ftp._.c:2862:11: note: place parentheses around the assignment to silence this warning 2862 | if( dp = strtailstr(me,":21") ) | ^ | ( ) ftp._.c:2862:11: note: use '==' to turn this assignment into an equality comparison 2862 | if( dp = strtailstr(me,":21") ) | ^ | == ftp._.c:3175:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3175 | if( dp = strstr(pxuser,"//") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ ftp._.c:3175:12: note: place parentheses around the assignment to silence this warning 3175 | if( dp = strstr(pxuser,"//") ){ | ^ | ( ) ftp._.c:3175:12: note: use '==' to turn this assignment into an equality comparison 3175 | if( dp = strstr(pxuser,"//") ){ | ^ | == ftp._.c:3178:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3178 | if( dp = strchr(FS->fs_USER,'@') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ftp._.c:3178:13: note: place parentheses around the assignment to silence this warning 3178 | if( dp = strchr(FS->fs_USER,'@') ){ | ^ | ( ) ftp._.c:3178:13: note: use '==' to turn this assignment into an equality comparison 3178 | if( dp = strchr(FS->fs_USER,'@') ){ | ^ | == ftp._.c:3238:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 3238 | else | ^ ftp._.c:3265:25: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] 3265 | int nondefaultMounted(); | ^~ ftp._.c:3265:25: note: replace parentheses with an initializer to declare a variable 3265 | int nondefaultMounted(); | ^~ | = 0 ftp._.c:3516:36: warning: '/*' within block comment [-Wcomment] 3516 | CWD "/x" + CWD "y" for MOUNT="/x/y/* ftp://server/*" | ^ ftp._.c:3516:51: warning: '/*' within block comment [-Wcomment] 3516 | CWD "/x" + CWD "y" for MOUNT="/x/y/* ftp://server/*" | ^ ftp._.c:3879:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3879 | for( sp = snum; sc = *sp; sp++ ){ | ~~~^~~~~ ftp._.c:3879:21: note: place parentheses around the assignment to silence this warning 3879 | for( sp = snum; sc = *sp; sp++ ){ | ^ | ( ) ftp._.c:3879:21: note: use '==' to turn this assignment into an equality comparison 3879 | for( sp = snum; sc = *sp; sp++ ){ | ^ | == ftp._.c:3888:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3888 | for( ; sc = *sp; sp++ ){ | ~~~^~~~~ ftp._.c:3888:12: note: place parentheses around the assignment to silence this warning 3888 | for( ; sc = *sp; sp++ ){ | ^ | ( ) ftp._.c:3888:12: note: use '==' to turn this assignment into an equality comparison 3888 | for( ; sc = *sp; sp++ ){ | ^ | == ftp._.c:3943:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3943 | if( dp = strrchr(xpath,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~~~ ftp._.c:3943:10: note: place parentheses around the assignment to silence this warning 3943 | if( dp = strrchr(xpath,'/') ){ | ^ | ( ) ftp._.c:3943:10: note: use '==' to turn this assignment into an equality comparison 3943 | if( dp = strrchr(xpath,'/') ){ | ^ | == ftp._.c:4501:10: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] 4501 | qb[0] = 255; qb[1] = 244; /* IAC+IP */ | ~ ^~~ ftp._.c:4501:23: warning: implicit conversion from 'int' to 'char' changes value from 244 to -12 [-Wconstant-conversion] 4501 | qb[0] = 255; qb[1] = 244; /* IAC+IP */ | ~ ^~~ ftp._.c:4510:10: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] 4510 | qb[0] = 255; | ~ ^~~ ftp._.c:4515:10: warning: implicit conversion from 'int' to 'char' changes value from 242 to -14 [-Wconstant-conversion] 4515 | qb[0] = 242; /* SYNC */ | ~ ^~~ ftp._.c:4754:13: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] 4754 | int CCXsize(); | ^~ ftp._.c:4754:13: note: replace parentheses with an initializer to declare a variable 4754 | int CCXsize(); | ^~ | = 0 ftp._.c:4764:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4764 | if( fromcache = file_isreg(src) ){ | ~~~~~~~~~~^~~~~~~~~~~~~~~~~ ftp._.c:4764:16: note: place parentheses around the assignment to silence this warning 4764 | if( fromcache = file_isreg(src) ){ | ^ | ( ) ftp._.c:4764:16: note: use '==' to turn this assignment into an equality comparison 4764 | if( fromcache = file_isreg(src) ){ | ^ | == ftp._.c:5212:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5212 | if( dp = strrchr(path,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~~ ftp._.c:5212:10: note: place parentheses around the assignment to silence this warning 5212 | if( dp = strrchr(path,'/') ){ | ^ | ( ) ftp._.c:5212:10: note: use '==' to turn this assignment into an equality comparison 5212 | if( dp = strrchr(path,'/') ){ | ^ | == ftp._.c:5441:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5441 | if( dp = strstr(resp," bytes)") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ ftp._.c:5441:9: note: place parentheses around the assignment to silence this warning 5441 | if( dp = strstr(resp," bytes)") ){ | ^ | ( ) ftp._.c:5441:9: note: use '==' to turn this assignment into an equality comparison 5441 | if( dp = strstr(resp," bytes)") ){ | ^ | == ftp._.c:5651:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5651 | if( dp = strchr(FS->fs_auser,'@') ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ftp._.c:5651:10: note: place parentheses around the assignment to silence this warning 5651 | if( dp = strchr(FS->fs_auser,'@') ) | ^ | ( ) ftp._.c:5651:10: note: use '==' to turn this assignment into an equality comparison 5651 | if( dp = strchr(FS->fs_auser,'@') ) | ^ | == ftp._.c:5680:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5680 | if( FS->fs_anonymous = is_anonymous(user) ) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ftp._.c:5680:23: note: place parentheses around the assignment to silence this warning 5680 | if( FS->fs_anonymous = is_anonymous(user) ) | ^ | ( ) ftp._.c:5680:23: note: use '==' to turn this assignment into an equality comparison 5680 | if( FS->fs_anonymous = is_anonymous(user) ) | ^ | == ftp._.c:5716:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5716 | if( what = strrchr(path,'/') ) | ~~~~~^~~~~~~~~~~~~~~~~~~ ftp._.c:5716:12: note: place parentheses around the assignment to silence this warning 5716 | if( what = strrchr(path,'/') ) | ^ | ( ) ftp._.c:5716:12: note: use '==' to turn this assignment into an equality comparison 5716 | if( what = strrchr(path,'/') ) | ^ | == ftp._.c:5754:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5754 | if( dp = strrchr(tmp,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~ ftp._.c:5754:9: note: place parentheses around the assignment to silence this warning 5754 | if( dp = strrchr(tmp,'/') ){ | ^ | ( ) ftp._.c:5754:9: note: use '==' to turn this assignment into an equality comparison 5754 | if( dp = strrchr(tmp,'/') ){ | ^ | == ftp._.c:5812:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5812 | if( cfp = localLIST(FS,tc,com,arg,AVStr(path)) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftp._.c:5812:10: note: place parentheses around the assignment to silence this warning 5812 | if( cfp = localLIST(FS,tc,com,arg,AVStr(path)) ){ | ^ | ( ) ftp._.c:5812:10: note: use '==' to turn this assignment into an equality comparison 5812 | if( cfp = localLIST(FS,tc,com,arg,AVStr(path)) ){ | ^ | == ftp._.c:5818:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5818 | if( cfp = localRETR(FS,tc,com,arg,AVStr(path)) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftp._.c:5818:10: note: place parentheses around the assignment to silence this warning 5818 | if( cfp = localRETR(FS,tc,com,arg,AVStr(path)) ){ | ^ | ( ) ftp._.c:5818:10: note: use '==' to turn this assignment into an equality comparison 5818 | if( cfp = localRETR(FS,tc,com,arg,AVStr(path)) ){ | ^ | == ftp._.c:6029:4: warning: '/*' within block comment [-Wcomment] 6029 | /* accept() may cause blocking ther port number */ | ^ ftp._.c:6034:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 6034 | }else{ | ^ ftp._.c:6050:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 6050 | }else{ | ^ ftp._.c:6623:43: warning: '/*' within block comment [-Wcomment] 6623 | if( streq(prevurl,"ftp://") ){ /* MOUNT="/* ftp://*" */ | ^ ftp._.c:6623:51: warning: '/*' within block comment [-Wcomment] 6623 | if( streq(prevurl,"ftp://") ){ /* MOUNT="/* ftp://*" */ | ^ ftp._.c:7103:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 7103 | if( dp = strstr(resp,"\n331") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ ftp._.c:7103:10: note: place parentheses around the assignment to silence this warning 7103 | if( dp = strstr(resp,"\n331") ) | ^ | ( ) ftp._.c:7103:10: note: use '==' to turn this assignment into an equality comparison 7103 | if( dp = strstr(resp,"\n331") ) | ^ | == ftp._.c:7107:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 7107 | if( dp = strstr(resp,"\n230") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ ftp._.c:7107:11: note: place parentheses around the assignment to silence this warning 7107 | if( dp = strstr(resp,"\n230") ) | ^ | ( ) ftp._.c:7107:11: note: use '==' to turn this assignment into an equality comparison 7107 | if( dp = strstr(resp,"\n230") ) | ^ | == ftp._.c:7246:16: warning: '/*' within block comment [-Wcomment] 7246 | * (as MOUNT="/* ftp://Server/*") and the current server is not Server. | ^ ftp._.c:7246:31: warning: '/*' within block comment [-Wcomment] 7246 | * (as MOUNT="/* ftp://Server/*") and the current server is not Server. | ^ ftp._.c:7251:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 7251 | if( enable_mount = mounted ) | ~~~~~~~~~~~~~^~~~~~~~~ ftp._.c:7251:19: note: place parentheses around the assignment to silence this warning 7251 | if( enable_mount = mounted ) | ^ | ( ) ftp._.c:7251:19: note: use '==' to turn this assignment into an equality comparison 7251 | if( enable_mount = mounted ) | ^ | == ftp._.c:7351:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 7351 | if( tp = strpbrk(dp+1,"@") ) | ~~~^~~~~~~~~~~~~~~~~~~ ftp._.c:7351:11: note: place parentheses around the assignment to silence this warning 7351 | if( tp = strpbrk(dp+1,"@") ) | ^ | ( ) ftp._.c:7351:11: note: use '==' to turn this assignment into an equality comparison 7351 | if( tp = strpbrk(dp+1,"@") ) | ^ | == ftp._.c:8199:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 8199 | if( xp = strchr(xpath,'?') ){ | ~~~^~~~~~~~~~~~~~~~~~~ ftp._.c:8199:10: note: place parentheses around the assignment to silence this warning 8199 | if( xp = strchr(xpath,'?') ){ | ^ | ( ) ftp._.c:8199:10: note: use '==' to turn this assignment into an equality comparison 8199 | if( xp = strchr(xpath,'?') ){ | ^ | == ftp._.c:8253:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 8253 | if( dfp = cache_verify(Conn,ts,fs,path,AVStr(resp),rsize,isdirp) ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftp._.c:8253:10: note: place parentheses around the assignment to silence this warning 8253 | if( dfp = cache_verify(Conn,ts,fs,path,AVStr(resp),rsize,isdirp) ) | ^ | ( ) ftp._.c:8253:10: note: use '==' to turn this assignment into an equality comparison 8253 | if( dfp = cache_verify(Conn,ts,fs,path,AVStr(resp),rsize,isdirp) ) | ^ | == ftp._.c:8333:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 8333 | if( sp = strstr(resp,"bytes)") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~ ftp._.c:8333:9: note: place parentheses around the assignment to silence this warning 8333 | if( sp = strstr(resp,"bytes)") ){ | ^ | ( ) ftp._.c:8333:9: note: use '==' to turn this assignment into an equality comparison 8333 | if( sp = strstr(resp,"bytes)") ){ | ^ | == ftp._.c:8347:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 8347 | if( dp = strstr(stat,"150") ) | ~~~^~~~~~~~~~~~~~~~~~~~ ftp._.c:8347:9: note: place parentheses around the assignment to silence this warning 8347 | if( dp = strstr(stat,"150") ) | ^ | ( ) ftp._.c:8347:9: note: use '==' to turn this assignment into an equality comparison 8347 | if( dp = strstr(stat,"150") ) | ^ | == ftp._.c:8357:32: warning: '/*' within block comment [-Wcomment] 8357 | * MOUNT="/MagicPath* https://-/*" | ^ ftp._.c:8367:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 8367 | if( dp = strstr(path,"--") ){ | ~~~^~~~~~~~~~~~~~~~~~~ ftp._.c:8367:9: note: place parentheses around the assignment to silence this warning 8367 | if( dp = strstr(path,"--") ){ | ^ | ( ) ftp._.c:8367:9: note: use '==' to turn this assignment into an equality comparison 8367 | if( dp = strstr(path,"--") ){ | ^ | == ftp._.c:8465:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 8465 | if( dp = strstr(cmdopt,"ftpxcmd=") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ftp._.c:8465:9: note: place parentheses around the assignment to silence this warning 8465 | if( dp = strstr(cmdopt,"ftpxcmd=") ){ | ^ | ( ) ftp._.c:8465:9: note: use '==' to turn this assignment into an equality comparison 8465 | if( dp = strstr(cmdopt,"ftpxcmd=") ){ | ^ | == ftp._.c:8483:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 8483 | if( dp = strstr(cmdopt,"ftpxopt=") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ftp._.c:8483:9: note: place parentheses around the assignment to silence this warning 8483 | if( dp = strstr(cmdopt,"ftpxopt=") ){ | ^ | ( ) ftp._.c:8483:9: note: use '==' to turn this assignment into an equality comparison 8483 | if( dp = strstr(cmdopt,"ftpxopt=") ){ | ^ | == ftp._.c:8523:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 8523 | if( mopts = mount_ftparg(FS,com,path,AVStr(vurl)) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftp._.c:8523:12: note: place parentheses around the assignment to silence this warning 8523 | if( mopts = mount_ftparg(FS,com,path,AVStr(vurl)) ) | ^ | ( ) ftp._.c:8523:12: note: use '==' to turn this assignment into an equality comparison 8523 | if( mopts = mount_ftparg(FS,com,path,AVStr(vurl)) ) | ^ | == ftp._.c:8525:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 8525 | if( up = strchr(vurl+11,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ ftp._.c:8525:10: note: place parentheses around the assignment to silence this warning 8525 | if( up = strchr(vurl+11,'/') ){ | ^ | ( ) ftp._.c:8525:10: note: use '==' to turn this assignment into an equality comparison 8525 | if( up = strchr(vurl+11,'/') ){ | ^ | == ftp._.c:8739:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 8739 | if( dfp = fdopen(cdsock,"r") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~ ftp._.c:8739:10: note: place parentheses around the assignment to silence this warning 8739 | if( dfp = fdopen(cdsock,"r") ){ | ^ | ( ) ftp._.c:8739:10: note: use '==' to turn this assignment into an equality comparison 8739 | if( dfp = fdopen(cdsock,"r") ){ | ^ | == 78 warnings generated. ../mkcpp xferlog.c xferlog._.c -- mkcpp set time: 1773311953 -> 1320367169 xferlog._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c xferlog._.c -o xferlog.o ../mkcpp X.c X._.c -- mkcpp set time: 1773311954 -> 1404126254 X._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c X._.c -o X.o X._.c:800:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 800 | if( Fd = findFd(fd,0) ){ | ~~~^~~~~~~~~~~~~~ X._.c:800:10: note: place parentheses around the assignment to silence this warning 800 | if( Fd = findFd(fd,0) ){ | ^ | ( ) X._.c:800:10: note: use '==' to turn this assignment into an equality comparison 800 | if( Fd = findFd(fd,0) ){ | ^ | == X._.c:912:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 912 | if( Fd = findFd(fd,0) ){ | ~~~^~~~~~~~~~~~~~ X._.c:912:9: note: place parentheses around the assignment to silence this warning 912 | if( Fd = findFd(fd,0) ){ | ^ | ( ) X._.c:912:9: note: use '==' to turn this assignment into an equality comparison 912 | if( Fd = findFd(fd,0) ){ | ^ | == X._.c:993:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 993 | if( xhost = origDISPLAY() ){ | ~~~~~~^~~~~~~~~~~~~~~ X._.c:993:12: note: place parentheses around the assignment to silence this warning 993 | if( xhost = origDISPLAY() ){ | ^ | ( ) X._.c:993:12: note: use '==' to turn this assignment into an equality comparison 993 | if( xhost = origDISPLAY() ){ | ^ | == X._.c:1016:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1016 | }else{ | ^ X._.c:1154:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1154 | if( oe = getenv(name) ){ | ~~~^~~~~~~~~~~~~~ X._.c:1154:9: note: place parentheses around the assignment to silence this warning 1154 | if( oe = getenv(name) ){ | ^ | ( ) X._.c:1154:9: note: use '==' to turn this assignment into an equality comparison 1154 | if( oe = getenv(name) ){ | ^ | == X._.c:1229:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1229 | for( pi = 0; xp = yy_xpath[pi]; pi++ ){ | ~~~^~~~~~~~~~~~~~ X._.c:1229:18: note: place parentheses around the assignment to silence this warning 1229 | for( pi = 0; xp = yy_xpath[pi]; pi++ ){ | ^ | ( ) X._.c:1229:18: note: use '==' to turn this assignment into an equality comparison 1229 | for( pi = 0; xp = yy_xpath[pi]; pi++ ){ | ^ | == X._.c:2210:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2210 | if( hpos = inHTTPhead(hpos,ibuf,rcc) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ X._.c:2210:14: note: place parentheses around the assignment to silence this warning 2210 | if( hpos = inHTTPhead(hpos,ibuf,rcc) ){ | ^ | ( ) X._.c:2210:14: note: use '==' to turn this assignment into an equality comparison 2210 | if( hpos = inHTTPhead(hpos,ibuf,rcc) ){ | ^ | == X._.c:2567:17: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 2567 | MxRsmholdSet = 1; | ^ ~ X._.c:2675:17: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 2675 | MxRsmholdSet = 1; | ^ ~ X._.c:2699:18: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 2699 | MxRsmholdSet = 1; | ^ ~ X._.c:2815:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2815 | if( Mc = yy_Mcv[mi] ){ | ~~~^~~~~~~~~~~~ X._.c:2815:11: note: place parentheses around the assignment to silence this warning 2815 | if( Mc = yy_Mcv[mi] ){ | ^ | ( ) X._.c:2815:11: note: use '==' to turn this assignment into an equality comparison 2815 | if( Mc = yy_Mcv[mi] ){ | ^ | == X._.c:2844:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2844 | if( Mc = yy_Mcv[mi] ){ | ~~~^~~~~~~~~~~~ X._.c:2844:10: note: place parentheses around the assignment to silence this warning 2844 | if( Mc = yy_Mcv[mi] ){ | ^ | ( ) X._.c:2844:10: note: use '==' to turn this assignment into an equality comparison 2844 | if( Mc = yy_Mcv[mi] ){ | ^ | == X._.c:2858:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2858 | if( Mc = yy_Mcv[mi] ){ | ~~~^~~~~~~~~~~~ X._.c:2858:10: note: place parentheses around the assignment to silence this warning 2858 | if( Mc = yy_Mcv[mi] ){ | ^ | ( ) X._.c:2858:10: note: use '==' to turn this assignment into an equality comparison 2858 | if( Mc = yy_Mcv[mi] ){ | ^ | == X._.c:2872:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2872 | if( Mc = yy_Mcv[mi] ){ | ~~~^~~~~~~~~~~~ X._.c:2872:10: note: place parentheses around the assignment to silence this warning 2872 | if( Mc = yy_Mcv[mi] ){ | ^ | ( ) X._.c:2872:10: note: use '==' to turn this assignment into an equality comparison 2872 | if( Mc = yy_Mcv[mi] ){ | ^ | == X._.c:3010:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3010 | if( Mc = yy_Mcv[mi] ){ | ~~~^~~~~~~~~~~~ X._.c:3010:10: note: place parentheses around the assignment to silence this warning 3010 | if( Mc = yy_Mcv[mi] ){ | ^ | ( ) X._.c:3010:10: note: use '==' to turn this assignment into an equality comparison 3010 | if( Mc = yy_Mcv[mi] ){ | ^ | == X._.c:3022:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3022 | if( Mc = yy_Mcv[mi] ){ | ~~~^~~~~~~~~~~~ X._.c:3022:10: note: place parentheses around the assignment to silence this warning 3022 | if( Mc = yy_Mcv[mi] ){ | ^ | ( ) X._.c:3022:10: note: use '==' to turn this assignment into an equality comparison 3022 | if( Mc = yy_Mcv[mi] ){ | ^ | == X._.c:3089:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3089 | if( Mc = yy_Mcv[mi] ){ | ~~~^~~~~~~~~~~~ X._.c:3089:10: note: place parentheses around the assignment to silence this warning 3089 | if( Mc = yy_Mcv[mi] ){ | ^ | ( ) X._.c:3089:10: note: use '==' to turn this assignment into an equality comparison 3089 | if( Mc = yy_Mcv[mi] ){ | ^ | == X._.c:3226:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3226 | if( Mc = yy_Mcv[mi] ){ | ~~~^~~~~~~~~~~~ X._.c:3226:10: note: place parentheses around the assignment to silence this warning 3226 | if( Mc = yy_Mcv[mi] ){ | ^ | ( ) X._.c:3226:10: note: use '==' to turn this assignment into an equality comparison 3226 | if( Mc = yy_Mcv[mi] ){ | ^ | == X._.c:3602:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3602 | if( fp = fopen(file,"r") ){ | ~~~^~~~~~~~~~~~~~~~~ X._.c:3602:10: note: place parentheses around the assignment to silence this warning 3602 | if( fp = fopen(file,"r") ){ | ^ | ( ) X._.c:3602:10: note: use '==' to turn this assignment into an equality comparison 3602 | if( fp = fopen(file,"r") ){ | ^ | == X._.c:3618:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3618 | if( fp = fopen(file,"w") ){ | ~~~^~~~~~~~~~~~~~~~~ X._.c:3618:10: note: place parentheses around the assignment to silence this warning 3618 | if( fp = fopen(file,"w") ){ | ^ | ( ) X._.c:3618:10: note: use '==' to turn this assignment into an equality comparison 3618 | if( fp = fopen(file,"w") ){ | ^ | == X._.c:3626:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3626 | if( fp = fopen(file,"a") ){ | ~~~^~~~~~~~~~~~~~~~~ X._.c:3626:10: note: place parentheses around the assignment to silence this warning 3626 | if( fp = fopen(file,"a") ){ | ^ | ( ) X._.c:3626:10: note: use '==' to turn this assignment into an equality comparison 3626 | if( fp = fopen(file,"a") ){ | ^ | == X._.c:3767:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3767 | if( fp = dirfopen("SLVG",AVStr(path),"a") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ X._.c:3767:10: note: place parentheses around the assignment to silence this warning 3767 | if( fp = dirfopen("SLVG",AVStr(path),"a") ){ | ^ | ( ) X._.c:3767:10: note: use '==' to turn this assignment into an equality comparison 3767 | if( fp = dirfopen("SLVG",AVStr(path),"a") ){ | ^ | == X._.c:3781:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3781 | if( fp = dirfopen("SLVG",AVStr(path),"a") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ X._.c:3781:10: note: place parentheses around the assignment to silence this warning 3781 | if( fp = dirfopen("SLVG",AVStr(path),"a") ){ | ^ | ( ) X._.c:3781:10: note: use '==' to turn this assignment into an equality comparison 3781 | if( fp = dirfopen("SLVG",AVStr(path),"a") ){ | ^ | == X._.c:3826:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3826 | if( fp = fopen(path,"r") ){ | ~~~^~~~~~~~~~~~~~~~~ X._.c:3826:10: note: place parentheses around the assignment to silence this warning 3826 | if( fp = fopen(path,"r") ){ | ^ | ( ) X._.c:3826:10: note: use '==' to turn this assignment into an equality comparison 3826 | if( fp = fopen(path,"r") ){ | ^ | == X._.c:4079:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4079 | if( rp = strpbrk(resp,"\r\n") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ X._.c:4079:10: note: place parentheses around the assignment to silence this warning 4079 | if( rp = strpbrk(resp,"\r\n") ){ | ^ | ( ) X._.c:4079:10: note: use '==' to turn this assignment into an equality comparison 4079 | if( rp = strpbrk(resp,"\r\n") ){ | ^ | == X._.c:4283:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4283 | if( rp = strpbrk(req,"\r\n") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ X._.c:4283:10: note: place parentheses around the assignment to silence this warning 4283 | if( rp = strpbrk(req,"\r\n") ){ | ^ | ( ) X._.c:4283:10: note: use '==' to turn this assignment into an equality comparison 4283 | if( rp = strpbrk(req,"\r\n") ){ | ^ | == X._.c:4371:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4371 | if( bp = strpbrk(b64,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~ X._.c:4371:10: note: place parentheses around the assignment to silence this warning 4371 | if( bp = strpbrk(b64,"\r\n") ) | ^ | ( ) X._.c:4371:10: note: use '==' to turn this assignment into an equality comparison 4371 | if( bp = strpbrk(b64,"\r\n") ) | ^ | == X._.c:5039:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5039 | if( rp = strpbrk(req,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~ X._.c:5039:10: note: place parentheses around the assignment to silence this warning 5039 | if( rp = strpbrk(req,"\r\n") ) | ^ | ( ) X._.c:5039:10: note: use '==' to turn this assignment into an equality comparison 5039 | if( rp = strpbrk(req,"\r\n") ) | ^ | == X._.c:5177:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5177 | if( rp = strpbrk(res,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~ X._.c:5177:10: note: place parentheses around the assignment to silence this warning 5177 | if( rp = strpbrk(res,"\r\n") ) | ^ | ( ) X._.c:5177:10: note: use '==' to turn this assignment into an equality comparison 5177 | if( rp = strpbrk(res,"\r\n") ) | ^ | == X._.c:5226:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5226 | if( Pf = lastPFilter(Conn,getthreadid(),XF_FSV) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ X._.c:5226:11: note: place parentheses around the assignment to silence this warning 5226 | if( Pf = lastPFilter(Conn,getthreadid(),XF_FSV) ){ | ^ | ( ) X._.c:5226:11: note: use '==' to turn this assignment into an equality comparison 5226 | if( Pf = lastPFilter(Conn,getthreadid(),XF_FSV) ){ | ^ | == X._.c:5336:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5336 | if( pMc = MxParent ){ | ~~~~^~~~~~~~~~ X._.c:5336:10: note: place parentheses around the assignment to silence this warning 5336 | if( pMc = MxParent ){ | ^ | ( ) X._.c:5336:10: note: use '==' to turn this assignment into an equality comparison 5336 | if( pMc = MxParent ){ | ^ | == X._.c:5725:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 5725 | }else{ | ^ X._.c:5916:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5916 | if( pend = getXpend(Cv,Cn,Ci,0) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ X._.c:5916:11: note: place parentheses around the assignment to silence this warning 5916 | if( pend = getXpend(Cv,Cn,Ci,0) ){ | ^ | ( ) X._.c:5916:11: note: use '==' to turn this assignment into an equality comparison 5916 | if( pend = getXpend(Cv,Cn,Ci,0) ){ | ^ | == X._.c:6537:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6537 | if( Ci = findXin(Mc,mx->m_xsid) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ X._.c:6537:9: note: place parentheses around the assignment to silence this warning 6537 | if( Ci = findXin(Mc,mx->m_xsid) ){ | ^ | ( ) X._.c:6537:9: note: use '==' to turn this assignment into an equality comparison 6537 | if( Ci = findXin(Mc,mx->m_xsid) ){ | ^ | == X._.c:6773:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6773 | if( flag = isZCpack(bp,ilen) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~ X._.c:6773:11: note: place parentheses around the assignment to silence this warning 6773 | if( flag = isZCpack(bp,ilen) ){ | ^ | ( ) X._.c:6773:11: note: use '==' to turn this assignment into an equality comparison 6773 | if( flag = isZCpack(bp,ilen) ){ | ^ | == X._.c:6955:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6955 | if( Bp = C1->c_outbuf ){ | ~~~^~~~~~~~~~~~~~ X._.c:6955:10: note: place parentheses around the assignment to silence this warning 6955 | if( Bp = C1->c_outbuf ){ | ^ | ( ) X._.c:6955:10: note: use '==' to turn this assignment into an equality comparison 6955 | if( Bp = C1->c_outbuf ){ | ^ | == X._.c:7323:26: warning: '/*' within block comment [-Wcomment] 7323 | Xsprintf(AVStr(mount),"/* file:%s default",cwd); | ^ X._.c:7329:26: warning: '/*' within block comment [-Wcomment] 7329 | Xsprintf(AVStr(mount),"/* file:/* default,rw,noanon,AUTHORIZER=-list{%s:%s}",user,pass); | ^ X._.c:7329:34: warning: '/*' within block comment [-Wcomment] 7329 | Xsprintf(AVStr(mount),"/* file:/* default,rw,noanon,AUTHORIZER=-list{%s:%s}",user,pass); | ^ X._.c:7601:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 7601 | if( C1 = findUDP(Mc,Ci,clhost,clport) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ X._.c:7601:9: note: place parentheses around the assignment to silence this warning 7601 | if( C1 = findUDP(Mc,Ci,clhost,clport) ){ | ^ | ( ) X._.c:7601:9: note: use '==' to turn this assignment into an equality comparison 7601 | if( C1 = findUDP(Mc,Ci,clhost,clport) ){ | ^ | == X._.c:8913:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 8913 | if( dp = searchPortSpec(line) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ X._.c:8913:11: note: place parentheses around the assignment to silence this warning 8913 | if( dp = searchPortSpec(line) ) | ^ | ( ) X._.c:8913:11: note: use '==' to turn this assignment into an equality comparison 8913 | if( dp = searchPortSpec(line) ) | ^ | == X._.c:9307:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 9307 | if( xp = fullpathCOM(xxcom,"r",AVStr(fpath)) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ X._.c:9307:17: note: place parentheses around the assignment to silence this warning 9307 | if( xp = fullpathCOM(xxcom,"r",AVStr(fpath)) ){ | ^ | ( ) X._.c:9307:17: note: use '==' to turn this assignment into an equality comparison 9307 | if( xp = fullpathCOM(xxcom,"r",AVStr(fpath)) ){ | ^ | == X._.c:10263:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 10263 | if( viasocks = GetViaSocks(Conn,yhost,yport) ){ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ X._.c:10263:15: note: place parentheses around the assignment to silence this warning 10263 | if( viasocks = GetViaSocks(Conn,yhost,yport) ){ | ^ | ( ) X._.c:10263:15: note: use '==' to turn this assignment into an equality comparison 10263 | if( viasocks = GetViaSocks(Conn,yhost,yport) ){ | ^ | == X._.c:10297:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 10297 | if( viaYY = find_YYMUXX(Conn,cMc,proto,host,port,AVStr(yhost),&yport) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ X._.c:10297:12: note: place parentheses around the assignment to silence this warning 10297 | if( viaYY = find_YYMUXX(Conn,cMc,proto,host,port,AVStr(yhost),&yport) ){ | ^ | ( ) X._.c:10297:12: note: use '==' to turn this assignment into an equality comparison 10297 | if( viaYY = find_YYMUXX(Conn,cMc,proto,host,port,AVStr(yhost),&yport) ){ | ^ | == X._.c:10299:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 10299 | if( Mc = yy_Mcv[mi] ) | ~~~^~~~~~~~~~~~ X._.c:10299:11: note: place parentheses around the assignment to silence this warning 10299 | if( Mc = yy_Mcv[mi] ) | ^ | ( ) X._.c:10299:11: note: use '==' to turn this assignment into an equality comparison 10299 | if( Mc = yy_Mcv[mi] ) | ^ | == X._.c:10304:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 10304 | }else | ^ X._.c:10314:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 10314 | if( Mc = yy_Mcv[mi] ) | ~~~^~~~~~~~~~~~ X._.c:10314:10: note: place parentheses around the assignment to silence this warning 10314 | if( Mc = yy_Mcv[mi] ) | ^ | ( ) X._.c:10314:10: note: use '==' to turn this assignment into an equality comparison 10314 | if( Mc = yy_Mcv[mi] ) | ^ | == X._.c:10320:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 10320 | }else | ^ X._.c:10764:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 10764 | if( dp = strstr(a1,"//") ){ | ~~~^~~~~~~~~~~~~~~~~ X._.c:10764:12: note: place parentheses around the assignment to silence this warning 10764 | if( dp = strstr(a1,"//") ){ | ^ | ( ) X._.c:10764:12: note: use '==' to turn this assignment into an equality comparison 10764 | if( dp = strstr(a1,"//") ){ | ^ | == X._.c:11110:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 11110 | if( hp = strchr(hosts,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~~ X._.c:11110:10: note: place parentheses around the assignment to silence this warning 11110 | if( hp = strchr(hosts,'/') ){ | ^ | ( ) X._.c:11110:10: note: use '==' to turn this assignment into an equality comparison 11110 | if( hp = strchr(hosts,'/') ){ | ^ | == X._.c:11116:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 11116 | if( porti = atoi(ports) ){ | ~~~~~~^~~~~~~~~~~~~ X._.c:11116:12: note: place parentheses around the assignment to silence this warning 11116 | if( porti = atoi(ports) ){ | ^ | ( ) X._.c:11116:12: note: use '==' to turn this assignment into an equality comparison 11116 | if( porti = atoi(ports) ){ | ^ | == X._.c:11119:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 11119 | if( pp = strchr(ports,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~~ X._.c:11119:9: note: place parentheses around the assignment to silence this warning 11119 | if( pp = strchr(ports,'/') ){ | ^ | ( ) X._.c:11119:9: note: use '==' to turn this assignment into an equality comparison 11119 | if( pp = strchr(ports,'/') ){ | ^ | == X._.c:11123:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 11123 | if( pp = strchr(ports,'.') ){ | ~~~^~~~~~~~~~~~~~~~~~~ X._.c:11123:9: note: place parentheses around the assignment to silence this warning 11123 | if( pp = strchr(ports,'.') ){ | ^ | ( ) X._.c:11123:9: note: use '==' to turn this assignment into an equality comparison 11123 | if( pp = strchr(ports,'.') ){ | ^ | == X._.c:11156:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 11156 | if( lp = strpbrk(line,"\r\n") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ X._.c:11156:9: note: place parentheses around the assignment to silence this warning 11156 | if( lp = strpbrk(line,"\r\n") ){ | ^ | ( ) X._.c:11156:9: note: use '==' to turn this assignment into an equality comparison 11156 | if( lp = strpbrk(line,"\r\n") ){ | ^ | == X._.c:11256:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 11256 | if( env = getenv("TERM") ){ | ~~~~^~~~~~~~~~~~~~~~ X._.c:11256:10: note: place parentheses around the assignment to silence this warning 11256 | if( env = getenv("TERM") ){ | ^ | ( ) X._.c:11256:10: note: use '==' to turn this assignment into an equality comparison 11256 | if( env = getenv("TERM") ){ | ^ | == X._.c:11451:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 11451 | if( aerr = (CTX_withAuth(Conn) && MxAuthOK == 0) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ X._.c:11451:11: note: place parentheses around the assignment to silence this warning 11451 | if( aerr = (CTX_withAuth(Conn) && MxAuthOK == 0) ){ | ^ | ( ) X._.c:11451:11: note: use '==' to turn this assignment into an equality comparison 11451 | if( aerr = (CTX_withAuth(Conn) && MxAuthOK == 0) ){ | ^ | == X._.c:12115:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 12115 | if( up = strpbrk(user,"\r\n") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ X._.c:12115:10: note: place parentheses around the assignment to silence this warning 12115 | if( up = strpbrk(user,"\r\n") ){ | ^ | ( ) X._.c:12115:10: note: use '==' to turn this assignment into an equality comparison 12115 | if( up = strpbrk(user,"\r\n") ){ | ^ | == X._.c:12518:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 12518 | if( icodep = strchr(arg,'/') ){ | ~~~~~~~^~~~~~~~~~~~~~~~~ X._.c:12518:14: note: place parentheses around the assignment to silence this warning 12518 | if( icodep = strchr(arg,'/') ){ | ^ | ( ) X._.c:12518:14: note: use '==' to turn this assignment into an equality comparison 12518 | if( icodep = strchr(arg,'/') ){ | ^ | == X._.c:13356:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 13356 | if( Vflags = MxFlags & MX_WITH_YYANY ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ X._.c:13356:14: note: place parentheses around the assignment to silence this warning 13356 | if( Vflags = MxFlags & MX_WITH_YYANY ){ | ^ | ( ) X._.c:13356:14: note: use '==' to turn this assignment into an equality comparison 13356 | if( Vflags = MxFlags & MX_WITH_YYANY ){ | ^ | == X._.c:13647:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 13647 | if( fp = fopen(YxLfile,"r") ){ | ~~~^~~~~~~~~~~~~~~~~~~~ X._.c:13647:11: note: place parentheses around the assignment to silence this warning 13647 | if( fp = fopen(YxLfile,"r") ){ | ^ | ( ) X._.c:13647:11: note: use '==' to turn this assignment into an equality comparison 13647 | if( fp = fopen(YxLfile,"r") ){ | ^ | == X._.c:13659:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 13659 | if( fp = fopen(YxLfile,"w") ){ | ~~~^~~~~~~~~~~~~~~~~~~~ X._.c:13659:11: note: place parentheses around the assignment to silence this warning 13659 | if( fp = fopen(YxLfile,"w") ){ | ^ | ( ) X._.c:13659:11: note: use '==' to turn this assignment into an equality comparison 13659 | if( fp = fopen(YxLfile,"w") ){ | ^ | == 61 warnings generated. ../mkcpp wais.c wais._.c -- mkcpp set time: 1773311961 -> 1264836855 wais._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c wais._.c -o wais.o wais._.c:198:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 198 | if( np = (unsigned char*)STRCHR(ep,';') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wais._.c:198:10: note: place parentheses around the assignment to silence this warning 198 | if( np = (unsigned char*)STRCHR(ep,';') ){ | ^ | ( ) wais._.c:198:10: note: use '==' to turn this assignment into an equality comparison 198 | if( np = (unsigned char*)STRCHR(ep,';') ){ | ^ | == wais._.c:207:38: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 207 | for( fp = (unsigned char*)elem; ch = *fp++; ){ | ~~~^~~~~~~ wais._.c:207:38: note: place parentheses around the assignment to silence this warning 207 | for( fp = (unsigned char*)elem; ch = *fp++; ){ | ^ | ( ) wais._.c:207:38: note: use '==' to turn this assignment into an equality comparison 207 | for( fp = (unsigned char*)elem; ch = *fp++; ){ | ^ | == wais._.c:234:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 234 | for( ti = 0; tname = ttab[ti].t_name; ti++ ) | ~~~~~~^~~~~~~~~~~~~~~~~ wais._.c:234:21: note: place parentheses around the assignment to silence this warning 234 | for( ti = 0; tname = ttab[ti].t_name; ti++ ) | ^ | ( ) wais._.c:234:21: note: use '==' to turn this assignment into an equality comparison 234 | for( ti = 0; tname = ttab[ti].t_name; ti++ ) | ^ | == wais._.c:332:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 332 | if( hfp = findFieldValue(dhg,"Score") ) score = atoi(hfp); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wais._.c:332:10: note: place parentheses around the assignment to silence this warning 332 | if( hfp = findFieldValue(dhg,"Score") ) score = atoi(hfp); | ^ | ( ) wais._.c:332:10: note: use '==' to turn this assignment into an equality comparison 332 | if( hfp = findFieldValue(dhg,"Score") ) score = atoi(hfp); | ^ | == wais._.c:333:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 333 | if( hfp = findFieldValue(dhg,"Lines") ) lines = atoi(hfp); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wais._.c:333:10: note: place parentheses around the assignment to silence this warning 333 | if( hfp = findFieldValue(dhg,"Lines") ) lines = atoi(hfp); | ^ | ( ) wais._.c:333:10: note: use '==' to turn this assignment into an equality comparison 333 | if( hfp = findFieldValue(dhg,"Lines") ) lines = atoi(hfp); | ^ | == wais._.c:334:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 334 | if( hfp = findFieldValue(dhg,"Document-Length") ) bytes = atoi(hfp); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wais._.c:334:10: note: place parentheses around the assignment to silence this warning 334 | if( hfp = findFieldValue(dhg,"Document-Length") ) bytes = atoi(hfp); | ^ | ( ) wais._.c:334:10: note: use '==' to turn this assignment into an equality comparison 334 | if( hfp = findFieldValue(dhg,"Document-Length") ) bytes = atoi(hfp); | ^ | == wais._.c:335:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 335 | if( hfp = findFieldValue(dhg,"Date") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ wais._.c:335:10: note: place parentheses around the assignment to silence this warning 335 | if( hfp = findFieldValue(dhg,"Date") ) | ^ | ( ) wais._.c:335:10: note: use '==' to turn this assignment into an equality comparison 335 | if( hfp = findFieldValue(dhg,"Date") ) | ^ | == wais._.c:337:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 337 | if( hfp = findFieldValue(dhg,"Type") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ wais._.c:337:10: note: place parentheses around the assignment to silence this warning 337 | if( hfp = findFieldValue(dhg,"Type") ) | ^ | ( ) wais._.c:337:10: note: use '==' to turn this assignment into an equality comparison 337 | if( hfp = findFieldValue(dhg,"Type") ) | ^ | == wais._.c:339:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 339 | if( hfp = findFieldValue(dhg,"Document-ID") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wais._.c:339:10: note: place parentheses around the assignment to silence this warning 339 | if( hfp = findFieldValue(dhg,"Document-ID") ) | ^ | ( ) wais._.c:339:10: note: use '==' to turn this assignment into an equality comparison 339 | if( hfp = findFieldValue(dhg,"Document-ID") ) | ^ | == wais._.c:341:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 341 | if( hfp = findFieldValue(dhg,"Headline") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wais._.c:341:10: note: place parentheses around the assignment to silence this warning 341 | if( hfp = findFieldValue(dhg,"Headline") ){ | ^ | ( ) wais._.c:341:10: note: use '==' to turn this assignment into an equality comparison 341 | if( hfp = findFieldValue(dhg,"Headline") ){ | ^ | == wais._.c:540:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 540 | while( cc = relay_record(Conn,1,fc,ts,VStrNULL,VStrNULL) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wais._.c:540:12: note: place parentheses around the assignment to silence this warning 540 | while( cc = relay_record(Conn,1,fc,ts,VStrNULL,VStrNULL) ){ | ^ | ( ) wais._.c:540:12: note: use '==' to turn this assignment into an equality comparison 540 | while( cc = relay_record(Conn,1,fc,ts,VStrNULL,VStrNULL) ){ | ^ | == wais._.c:721:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 721 | if( hfp = findFieldValue(head,"Search-Returned") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wais._.c:721:11: note: place parentheses around the assignment to silence this warning 721 | if( hfp = findFieldValue(head,"Search-Returned") ) | ^ | ( ) wais._.c:721:11: note: use '==' to turn this assignment into an equality comparison 721 | if( hfp = findFieldValue(head,"Search-Returned") ) | ^ | == wais._.c:761:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 761 | if( words = strchr(dbname,'?') ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~ wais._.c:761:12: note: place parentheses around the assignment to silence this warning 761 | if( words = strchr(dbname,'?') ){ | ^ | ( ) wais._.c:761:12: note: use '==' to turn this assignment into an equality comparison 761 | if( words = strchr(dbname,'?') ){ | ^ | == wais._.c:769:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 769 | if( type = strchr(dbname,'/') ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~ wais._.c:769:11: note: place parentheses around the assignment to silence this warning 769 | if( type = strchr(dbname,'/') ){ | ^ | ( ) wais._.c:769:11: note: use '==' to turn this assignment into an equality comparison 769 | if( type = strchr(dbname,'/') ){ | ^ | == wais._.c:771:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 771 | if( dp = strchr(type,'/') ){ | ~~~^~~~~~~~~~~~~~~~~~ wais._.c:771:10: note: place parentheses around the assignment to silence this warning 771 | if( dp = strchr(type,'/') ){ | ^ | ( ) wais._.c:771:10: note: use '==' to turn this assignment into an equality comparison 771 | if( dp = strchr(type,'/') ){ | ^ | == wais._.c:774:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 774 | if( docid = strchr(dp,'/') ){ | ~~~~~~^~~~~~~~~~~~~~~~ wais._.c:774:14: note: place parentheses around the assignment to silence this warning 774 | if( docid = strchr(dp,'/') ){ | ^ | ( ) wais._.c:774:14: note: use '==' to turn this assignment into an equality comparison 774 | if( docid = strchr(dp,'/') ){ | ^ | == 16 warnings generated. ../mkcpp whois.c whois._.c -- mkcpp set time: 1773311961 -> 1250403944 whois._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c whois._.c -o whois.o ../mkcpp xflash.c xflash._.c -- mkcpp set time: 1773311962 -> 1413964484 xflash._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c xflash._.c -o xflash.o xflash._.c:188:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 188 | if( sym = opsym(opcode,0) ) | ~~~~^~~~~~~~~~~~~~~~~ xflash._.c:188:10: note: place parentheses around the assignment to silence this warning 188 | if( sym = opsym(opcode,0) ) | ^ | ( ) xflash._.c:188:10: note: use '==' to turn this assignment into an equality comparison 188 | if( sym = opsym(opcode,0) ) | ^ | == 1 warning generated. ../mkcpp imap.c imap._.c -- mkcpp set time: 1773311963 -> 1276430632 imap._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c imap._.c -o imap.o imap._.c:43:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 43 | if( dp = strrpbrk(user,"@%") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ imap._.c:43:9: note: place parentheses around the assignment to silence this warning 43 | if( dp = strrpbrk(user,"@%") ){ | ^ | ( ) imap._.c:43:9: note: use '==' to turn this assignment into an equality comparison 43 | if( dp = strrpbrk(user,"@%") ){ | ^ | == imap._.c:123:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 123 | if( sp = strstr(caps,"STARTTLS") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ imap._.c:123:9: note: place parentheses around the assignment to silence this warning 123 | if( sp = strstr(caps,"STARTTLS") ){ | ^ | ( ) imap._.c:123:9: note: use '==' to turn this assignment into an equality comparison 123 | if( sp = strstr(caps,"STARTTLS") ){ | ^ | == imap._.c:139:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 139 | if( dp = strstr(resp,"[ALERT]") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ imap._.c:139:10: note: place parentheses around the assignment to silence this warning 139 | if( dp = strstr(resp,"[ALERT]") ) | ^ | ( ) imap._.c:139:10: note: use '==' to turn this assignment into an equality comparison 139 | if( dp = strstr(resp,"[ALERT]") ) | ^ | == imap._.c:140:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 140 | if( dp = strstr(dp,pfx) ) | ~~~^~~~~~~~~~~~~~~~ imap._.c:140:10: note: place parentheses around the assignment to silence this warning 140 | if( dp = strstr(dp,pfx) ) | ^ | ( ) imap._.c:140:10: note: use '==' to turn this assignment into an equality comparison 140 | if( dp = strstr(dp,pfx) ) | ^ | == 4 warnings generated. ../mkcpp ldap.c ldap._.c -- mkcpp set time: 1773311963 -> 1258754955 ldap._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c ldap._.c -o ldap.o ldap._.c:372:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 372 | for( ei = 0; edit = mssgEdit[ei].e_edit; ei++ ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~ ldap._.c:372:21: note: place parentheses around the assignment to silence this warning 372 | for( ei = 0; edit = mssgEdit[ei].e_edit; ei++ ){ | ^ | ( ) ldap._.c:372:21: note: use '==' to turn this assignment into an equality comparison 372 | for( ei = 0; edit = mssgEdit[ei].e_edit; ei++ ){ | ^ | == ldap._.c:398:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 398 | if( wleng = Mp->m_btm - Mp->m_push ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ldap._.c:398:14: note: place parentheses around the assignment to silence this warning 398 | if( wleng = Mp->m_btm - Mp->m_push ){ | ^ | ( ) ldap._.c:398:14: note: use '==' to turn this assignment into an equality comparison 398 | if( wleng = Mp->m_btm - Mp->m_push ){ | ^ | == ldap._.c:433:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 433 | if( dp = (Message)strrchr((char*)Mp->m_work,'@') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ldap._.c:433:11: note: place parentheses around the assignment to silence this warning 433 | if( dp = (Message)strrchr((char*)Mp->m_work,'@') ){ | ^ | ( ) ldap._.c:433:11: note: use '==' to turn this assignment into an equality comparison 433 | if( dp = (Message)strrchr((char*)Mp->m_work,'@') ){ | ^ | == ldap._.c:672:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 672 | if( opts = CTX_mount_url_to(Conn,NULL,"GET",AVStr(server)) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ldap._.c:672:11: note: place parentheses around the assignment to silence this warning 672 | if( opts = CTX_mount_url_to(Conn,NULL,"GET",AVStr(server)) ){ | ^ | ( ) ldap._.c:672:11: note: use '==' to turn this assignment into an equality comparison 672 | if( opts = CTX_mount_url_to(Conn,NULL,"GET",AVStr(server)) ){ | ^ | == 4 warnings generated. ../mkcpp smtpgate.c smtpgate._.c -- mkcpp set time: 1773311964 -> 1409131138 smtpgate._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c smtpgate._.c -o smtpgate.o smtpgate._.c:254:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 254 | if( dp = strchr(pname,'/') ) | ~~~^~~~~~~~~~~~~~~~~~~ smtpgate._.c:254:9: note: place parentheses around the assignment to silence this warning 254 | if( dp = strchr(pname,'/') ) | ^ | ( ) smtpgate._.c:254:9: note: use '==' to turn this assignment into an equality comparison 254 | if( dp = strchr(pname,'/') ) | ^ | == smtpgate._.c:398:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 398 | for( pi = 0; line = lines[pi]; pi++ ){ | ~~~~~^~~~~~~~~~~ smtpgate._.c:398:21: note: place parentheses around the assignment to silence this warning 398 | for( pi = 0; line = lines[pi]; pi++ ){ | ^ | ( ) smtpgate._.c:398:21: note: use '==' to turn this assignment into an equality comparison 398 | for( pi = 0; line = lines[pi]; pi++ ){ | ^ | == smtpgate._.c:413:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 413 | for( gwi = 0; gname1 = builtins[gwi].g_pv[GWTYPE]; gwi++ ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:413:23: note: place parentheses around the assignment to silence this warning 413 | for( gwi = 0; gname1 = builtins[gwi].g_pv[GWTYPE]; gwi++ ){ | ^ | ( ) smtpgate._.c:413:23: note: use '==' to turn this assignment into an equality comparison 413 | for( gwi = 0; gname1 = builtins[gwi].g_pv[GWTYPE]; gwi++ ){ | ^ | == smtpgate._.c:476:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 476 | if( np = strchr(name,'/') ) | ~~~^~~~~~~~~~~~~~~~~~ smtpgate._.c:476:10: note: place parentheses around the assignment to silence this warning 476 | if( np = strchr(name,'/') ) | ^ | ( ) smtpgate._.c:476:10: note: use '==' to turn this assignment into an equality comparison 476 | if( np = strchr(name,'/') ) | ^ | == smtpgate._.c:545:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 545 | for( ui = 0; xclass = user_class[ui]; ui++ ){ | ~~~~~~~^~~~~~~~~~~~~~~~ smtpgate._.c:545:22: note: place parentheses around the assignment to silence this warning 545 | for( ui = 0; xclass = user_class[ui]; ui++ ){ | ^ | ( ) smtpgate._.c:545:22: note: use '==' to turn this assignment into an equality comparison 545 | for( ui = 0; xclass = user_class[ui]; ui++ ){ | ^ | == smtpgate._.c:551:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 551 | if( fp = fopen(cpath,mode) ) | ~~~^~~~~~~~~~~~~~~~~~~ smtpgate._.c:551:10: note: place parentheses around the assignment to silence this warning 551 | if( fp = fopen(cpath,mode) ) | ^ | ( ) smtpgate._.c:551:10: note: use '==' to turn this assignment into an equality comparison 551 | if( fp = fopen(cpath,mode) ) | ^ | == smtpgate._.c:738:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 738 | for( sp = subj; sc = *sp; ){ | ~~~^~~~~ smtpgate._.c:738:21: note: place parentheses around the assignment to silence this warning 738 | for( sp = subj; sc = *sp; ){ | ^ | ( ) smtpgate._.c:738:21: note: use '==' to turn this assignment into an equality comparison 738 | for( sp = subj; sc = *sp; ){ | ^ | == smtpgate._.c:748:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 748 | for( sp++; sc = *sp; sp++ ) | ~~~^~~~~ smtpgate._.c:748:18: note: place parentheses around the assignment to silence this warning 748 | for( sp++; sc = *sp; sp++ ) | ^ | ( ) smtpgate._.c:748:18: note: use '==' to turn this assignment into an equality comparison 748 | for( sp++; sc = *sp; sp++ ) | ^ | == smtpgate._.c:987:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 987 | if( sp = strstr(dst,V_REWADDR) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:987:9: note: place parentheses around the assignment to silence this warning 987 | if( sp = strstr(dst,V_REWADDR) ) | ^ | ( ) smtpgate._.c:987:9: note: use '==' to turn this assignment into an equality comparison 987 | if( sp = strstr(dst,V_REWADDR) ) | ^ | == smtpgate._.c:988:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 988 | if( dp = strchr(sp,'}') ){ | ~~~^~~~~~~~~~~~~~~~ smtpgate._.c:988:9: note: place parentheses around the assignment to silence this warning 988 | if( dp = strchr(sp,'}') ){ | ^ | ( ) smtpgate._.c:988:9: note: use '==' to turn this assignment into an equality comparison 988 | if( dp = strchr(sp,'}') ){ | ^ | == smtpgate._.c:1017:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1017 | if( sp = strstr(dst,V_ORIGHEADER) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:1017:9: note: place parentheses around the assignment to silence this warning 1017 | if( sp = strstr(dst,V_ORIGHEADER) ) | ^ | ( ) smtpgate._.c:1017:9: note: use '==' to turn this assignment into an equality comparison 1017 | if( sp = strstr(dst,V_ORIGHEADER) ) | ^ | == smtpgate._.c:1018:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1018 | if( dp = strchr(sp,'}') ){ | ~~~^~~~~~~~~~~~~~~~ smtpgate._.c:1018:9: note: place parentheses around the assignment to silence this warning 1018 | if( dp = strchr(sp,'}') ){ | ^ | ( ) smtpgate._.c:1018:9: note: use '==' to turn this assignment into an equality comparison 1018 | if( dp = strchr(sp,'}') ){ | ^ | == smtpgate._.c:1036:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1036 | if( p1 = getv(OUT_REPLY_TO) ){ | ~~~^~~~~~~~~~~~~~~~~~~~ smtpgate._.c:1036:9: note: place parentheses around the assignment to silence this warning 1036 | if( p1 = getv(OUT_REPLY_TO) ){ | ^ | ( ) smtpgate._.c:1036:9: note: use '==' to turn this assignment into an equality comparison 1036 | if( p1 = getv(OUT_REPLY_TO) ){ | ^ | == smtpgate._.c:1040:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1040 | if( p1 = getv(OUT_SUBJECT) ){ | ~~~^~~~~~~~~~~~~~~~~~~ smtpgate._.c:1040:9: note: place parentheses around the assignment to silence this warning 1040 | if( p1 = getv(OUT_SUBJECT) ){ | ^ | ( ) smtpgate._.c:1040:9: note: use '==' to turn this assignment into an equality comparison 1040 | if( p1 = getv(OUT_SUBJECT) ){ | ^ | == smtpgate._.c:1045:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1045 | if( p1 = getv(OUT_FROM) ){ | ~~~^~~~~~~~~~~~~~~~ smtpgate._.c:1045:9: note: place parentheses around the assignment to silence this warning 1045 | if( p1 = getv(OUT_FROM) ){ | ^ | ( ) smtpgate._.c:1045:9: note: use '==' to turn this assignment into an equality comparison 1045 | if( p1 = getv(OUT_FROM) ){ | ^ | == smtpgate._.c:1049:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1049 | if(p1 = getv(OUT_MESSAGE_ID) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:1049:8: note: place parentheses around the assignment to silence this warning 1049 | if(p1 = getv(OUT_MESSAGE_ID) ){ | ^ | ( ) smtpgate._.c:1049:8: note: use '==' to turn this assignment into an equality comparison 1049 | if(p1 = getv(OUT_MESSAGE_ID) ){ | ^ | == smtpgate._.c:1174:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1174 | if( p1 = getv(OUT_NEWSGROUPS) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:1174:9: note: place parentheses around the assignment to silence this warning 1174 | if( p1 = getv(OUT_NEWSGROUPS) ){ | ^ | ( ) smtpgate._.c:1174:9: note: use '==' to turn this assignment into an equality comparison 1174 | if( p1 = getv(OUT_NEWSGROUPS) ){ | ^ | == smtpgate._.c:1178:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1178 | if( p1 = getv(OUT_DISTRIBUTION) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:1178:9: note: place parentheses around the assignment to silence this warning 1178 | if( p1 = getv(OUT_DISTRIBUTION) ){ | ^ | ( ) smtpgate._.c:1178:9: note: use '==' to turn this assignment into an equality comparison 1178 | if( p1 = getv(OUT_DISTRIBUTION) ){ | ^ | == smtpgate._.c:1268:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1268 | if( admin = DELEGATE_ADMIN ) | ~~~~~~^~~~~~~~~~~~~~~~ smtpgate._.c:1268:13: note: place parentheses around the assignment to silence this warning 1268 | if( admin = DELEGATE_ADMIN ) | ^ | ( ) smtpgate._.c:1268:13: note: use '==' to turn this assignment into an equality comparison 1268 | if( admin = DELEGATE_ADMIN ) | ^ | == smtpgate._.c:1425:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1425 | if( p1 = getv(SERVPORT) ) | ~~~^~~~~~~~~~~~~~~~ smtpgate._.c:1425:9: note: place parentheses around the assignment to silence this warning 1425 | if( p1 = getv(SERVPORT) ) | ^ | ( ) smtpgate._.c:1425:9: note: use '==' to turn this assignment into an equality comparison 1425 | if( p1 = getv(SERVPORT) ) | ^ | == smtpgate._.c:1453:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1453 | if( auth = getv(CTL_MYAUTH) ){ | ~~~~~^~~~~~~~~~~~~~~~~~ smtpgate._.c:1453:11: note: place parentheses around the assignment to silence this warning 1453 | if( auth = getv(CTL_MYAUTH) ){ | ^ | ( ) smtpgate._.c:1453:11: note: use '==' to turn this assignment into an equality comparison 1453 | if( auth = getv(CTL_MYAUTH) ){ | ^ | == smtpgate._.c:1795:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1795 | if( mxaddr = gethostaddr(mxhost) ) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:1795:13: note: place parentheses around the assignment to silence this warning 1795 | if( mxaddr = gethostaddr(mxhost) ) | ^ | ( ) smtpgate._.c:1795:13: note: use '==' to turn this assignment into an equality comparison 1795 | if( mxaddr = gethostaddr(mxhost) ) | ^ | == smtpgate._.c:1798:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1798 | if( mxaddr = gethostaddr(rechost) ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:1798:13: note: place parentheses around the assignment to silence this warning 1798 | if( mxaddr = gethostaddr(rechost) ){ | ^ | ( ) smtpgate._.c:1798:13: note: use '==' to turn this assignment into an equality comparison 1798 | if( mxaddr = gethostaddr(rechost) ){ | ^ | == smtpgate._.c:1858:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1858 | if( dp = strchr(recv[ri],'@') ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:1858:10: note: place parentheses around the assignment to silence this warning 1858 | if( dp = strchr(recv[ri],'@') ){ | ^ | ( ) smtpgate._.c:1858:10: note: use '==' to turn this assignment into an equality comparison 1858 | if( dp = strchr(recv[ri],'@') ){ | ^ | == smtpgate._.c:1887:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1887 | if( np = strpbrk(recipient,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:1887:9: note: place parentheses around the assignment to silence this warning 1887 | if( np = strpbrk(recipient,"\r\n") ) | ^ | ( ) smtpgate._.c:1887:9: note: use '==' to turn this assignment into an equality comparison 1887 | if( np = strpbrk(recipient,"\r\n") ) | ^ | == smtpgate._.c:1913:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1913 | if( np = strpbrk(recipient,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:1913:11: note: place parentheses around the assignment to silence this warning 1913 | if( np = strpbrk(recipient,"\r\n") ) | ^ | ( ) smtpgate._.c:1913:11: note: use '==' to turn this assignment into an equality comparison 1913 | if( np = strpbrk(recipient,"\r\n") ) | ^ | == smtpgate._.c:1977:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1977 | if( gwlog = open_file(Rname,"smmdgate.log","a",AVStr(rpath)) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:1977:12: note: place parentheses around the assignment to silence this warning 1977 | if( gwlog = open_file(Rname,"smmdgate.log","a",AVStr(rpath)) ){ | ^ | ( ) smtpgate._.c:1977:12: note: use '==' to turn this assignment into an equality comparison 1977 | if( gwlog = open_file(Rname,"smmdgate.log","a",AVStr(rpath)) ){ | ^ | == smtpgate._.c:2064:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2064 | if( from = getv(CTL_SENDER) ) | ~~~~~^~~~~~~~~~~~~~~~~~ smtpgate._.c:2064:11: note: place parentheses around the assignment to silence this warning 2064 | if( from = getv(CTL_SENDER) ) | ^ | ( ) smtpgate._.c:2064:11: note: use '==' to turn this assignment into an equality comparison 2064 | if( from = getv(CTL_SENDER) ) | ^ | == smtpgate._.c:2086:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2086 | if( p1 = getv(SERVPORT) ) | ~~~^~~~~~~~~~~~~~~~ smtpgate._.c:2086:10: note: place parentheses around the assignment to silence this warning 2086 | if( p1 = getv(SERVPORT) ) | ^ | ( ) smtpgate._.c:2086:10: note: use '==' to turn this assignment into an equality comparison 2086 | if( p1 = getv(SERVPORT) ) | ^ | == smtpgate._.c:2132:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2132 | if( i1 = mxaddr(bcc,AVStr(addr) )) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:2132:9: note: place parentheses around the assignment to silence this warning 2132 | if( i1 = mxaddr(bcc,AVStr(addr) )) | ^ | ( ) smtpgate._.c:2132:9: note: use '==' to turn this assignment into an equality comparison 2132 | if( i1 = mxaddr(bcc,AVStr(addr) )) | ^ | == smtpgate._.c:2176:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2176 | if( counter = open_file(name,"count","r+",AVStr(rpath)) ){ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:2176:14: note: place parentheses around the assignment to silence this warning 2176 | if( counter = open_file(name,"count","r+",AVStr(rpath)) ){ | ^ | ( ) smtpgate._.c:2176:14: note: use '==' to turn this assignment into an equality comparison 2176 | if( counter = open_file(name,"count","r+",AVStr(rpath)) ){ | ^ | == smtpgate._.c:2188:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2188 | if( counter = open_file(name,"count","w+",AVStr(rpath)) ){ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:2188:14: note: place parentheses around the assignment to silence this warning 2188 | if( counter = open_file(name,"count","w+",AVStr(rpath)) ){ | ^ | ( ) smtpgate._.c:2188:14: note: use '==' to turn this assignment into an equality comparison 2188 | if( counter = open_file(name,"count","w+",AVStr(rpath)) ){ | ^ | == smtpgate._.c:2237:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2237 | if( dp = strpbrk(line,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:2237:10: note: place parentheses around the assignment to silence this warning 2237 | if( dp = strpbrk(line,"\r\n") ) | ^ | ( ) smtpgate._.c:2237:10: note: use '==' to turn this assignment into an equality comparison 2237 | if( dp = strpbrk(line,"\r\n") ) | ^ | == smtpgate._.c:2288:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2288 | if( negate = (*acl1 == '!') ) | ~~~~~~~^~~~~~~~~~~~~~~~ smtpgate._.c:2288:14: note: place parentheses around the assignment to silence this warning 2288 | if( negate = (*acl1 == '!') ) | ^ | ( ) smtpgate._.c:2288:14: note: use '==' to turn this assignment into an equality comparison 2288 | if( negate = (*acl1 == '!') ) | ^ | == smtpgate._.c:2291:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2291 | if( subst = isFullpath(acl1) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~ smtpgate._.c:2291:13: note: place parentheses around the assignment to silence this warning 2291 | if( subst = isFullpath(acl1) ){ | ^ | ( ) smtpgate._.c:2291:13: note: use '==' to turn this assignment into an equality comparison 2291 | if( subst = isFullpath(acl1) ){ | ^ | == smtpgate._.c:2299:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2299 | if( subst = (strncmp(acl1,"${expn:",7)==0) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:2299:13: note: place parentheses around the assignment to silence this warning 2299 | if( subst = (strncmp(acl1,"${expn:",7)==0) ){ | ^ | ( ) smtpgate._.c:2299:13: note: use '==' to turn this assignment into an equality comparison 2299 | if( subst = (strncmp(acl1,"${expn:",7)==0) ){ | ^ | == smtpgate._.c:2322:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2322 | if( match = strmatch_list(addr,aclc,"",(iFUNCP)lfprintf1,log) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:2322:12: note: place parentheses around the assignment to silence this warning 2322 | if( match = strmatch_list(addr,aclc,"",(iFUNCP)lfprintf1,log) ){ | ^ | ( ) smtpgate._.c:2322:12: note: use '==' to turn this assignment into an equality comparison 2322 | if( match = strmatch_list(addr,aclc,"",(iFUNCP)lfprintf1,log) ){ | ^ | == smtpgate._.c:2449:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2449 | if( last = QPsplitLine(0,AVStr(line),0) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:2449:14: note: place parentheses around the assignment to silence this warning 2449 | if( last = QPsplitLine(0,AVStr(line),0) ){ | ^ | ( ) smtpgate._.c:2449:14: note: use '==' to turn this assignment into an equality comparison 2449 | if( last = QPsplitLine(0,AVStr(line),0) ){ | ^ | == smtpgate._.c:2485:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2485 | if( opt = strchr(code,',') ) | ~~~~^~~~~~~~~~~~~~~~~~ smtpgate._.c:2485:11: note: place parentheses around the assignment to silence this warning 2485 | if( opt = strchr(code,',') ) | ^ | ( ) smtpgate._.c:2485:11: note: use '==' to turn this assignment into an equality comparison 2485 | if( opt = strchr(code,',') ) | ^ | == smtpgate._.c:2587:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2587 | if( parent = getv(INHERIT) ) | ~~~~~~~^~~~~~~~~~~~~~~ smtpgate._.c:2587:15: note: place parentheses around the assignment to silence this warning 2587 | if( parent = getv(INHERIT) ) | ^ | ( ) smtpgate._.c:2587:15: note: use '==' to turn this assignment into an equality comparison 2587 | if( parent = getv(INHERIT) ) | ^ | == smtpgate._.c:2615:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2615 | if( BGw = builtinGw(parent,1) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:2615:11: note: place parentheses around the assignment to silence this warning 2615 | if( BGw = builtinGw(parent,1) ){ | ^ | ( ) smtpgate._.c:2615:11: note: use '==' to turn this assignment into an equality comparison 2615 | if( BGw = builtinGw(parent,1) ){ | ^ | == smtpgate._.c:2643:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2643 | if( p1 = getv(ACC_CLIENT_HOST) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:2643:9: note: place parentheses around the assignment to silence this warning 2643 | if( p1 = getv(ACC_CLIENT_HOST) ){ | ^ | ( ) smtpgate._.c:2643:9: note: use '==' to turn this assignment into an equality comparison 2643 | if( p1 = getv(ACC_CLIENT_HOST) ){ | ^ | == smtpgate._.c:2657:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2657 | if( p1 = getv(ACC_SENDER) ){ | ~~~^~~~~~~~~~~~~~~~~~ smtpgate._.c:2657:9: note: place parentheses around the assignment to silence this warning 2657 | if( p1 = getv(ACC_SENDER) ){ | ^ | ( ) smtpgate._.c:2657:9: note: use '==' to turn this assignment into an equality comparison 2657 | if( p1 = getv(ACC_SENDER) ){ | ^ | == smtpgate._.c:2665:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2665 | if( p1 = getv(ACC_RECIPIENT) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:2665:9: note: place parentheses around the assignment to silence this warning 2665 | if( p1 = getv(ACC_RECIPIENT) ){ | ^ | ( ) smtpgate._.c:2665:9: note: use '==' to turn this assignment into an equality comparison 2665 | if( p1 = getv(ACC_RECIPIENT) ){ | ^ | == smtpgate._.c:2672:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2672 | if( p1 = getv(ACC_TO) ){ /* case of lacking To: */ | ~~~^~~~~~~~~~~~~~ smtpgate._.c:2672:9: note: place parentheses around the assignment to silence this warning 2672 | if( p1 = getv(ACC_TO) ){ /* case of lacking To: */ | ^ | ( ) smtpgate._.c:2672:9: note: use '==' to turn this assignment into an equality comparison 2672 | if( p1 = getv(ACC_TO) ){ /* case of lacking To: */ | ^ | == smtpgate._.c:2685:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2685 | if( p1 = getv(ACC_MESSAGE_ID) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:2685:9: note: place parentheses around the assignment to silence this warning 2685 | if( p1 = getv(ACC_MESSAGE_ID) ){ | ^ | ( ) smtpgate._.c:2685:9: note: use '==' to turn this assignment into an equality comparison 2685 | if( p1 = getv(ACC_MESSAGE_ID) ){ | ^ | == smtpgate._.c:2694:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2694 | if( p1 = getv(ACC_CONTTYPE) ){ | ~~~^~~~~~~~~~~~~~~~~~~~ smtpgate._.c:2694:9: note: place parentheses around the assignment to silence this warning 2694 | if( p1 = getv(ACC_CONTTYPE) ){ | ^ | ( ) smtpgate._.c:2694:9: note: use '==' to turn this assignment into an equality comparison 2694 | if( p1 = getv(ACC_CONTTYPE) ){ | ^ | == smtpgate._.c:2703:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2703 | if( p1 = getv(ACC_MAX_BYTES) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:2703:9: note: place parentheses around the assignment to silence this warning 2703 | if( p1 = getv(ACC_MAX_BYTES) ){ | ^ | ( ) smtpgate._.c:2703:9: note: use '==' to turn this assignment into an equality comparison 2703 | if( p1 = getv(ACC_MAX_BYTES) ){ | ^ | == smtpgate._.c:2719:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2719 | if( p1 = getv(ACC_MIN_BYTES) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:2719:9: note: place parentheses around the assignment to silence this warning 2719 | if( p1 = getv(ACC_MIN_BYTES) ){ | ^ | ( ) smtpgate._.c:2719:9: note: use '==' to turn this assignment into an equality comparison 2719 | if( p1 = getv(ACC_MIN_BYTES) ){ | ^ | == smtpgate._.c:2733:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2733 | if( p1 = getv(ACC_MIN_BODY_BYTES) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:2733:9: note: place parentheses around the assignment to silence this warning 2733 | if( p1 = getv(ACC_MIN_BODY_BYTES) ){ | ^ | ( ) smtpgate._.c:2733:9: note: use '==' to turn this assignment into an equality comparison 2733 | if( p1 = getv(ACC_MIN_BODY_BYTES) ){ | ^ | == smtpgate._.c:2750:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2750 | if( p1 = getv(ACC_USERTEXT) ){ | ~~~^~~~~~~~~~~~~~~~~~~~ smtpgate._.c:2750:9: note: place parentheses around the assignment to silence this warning 2750 | if( p1 = getv(ACC_USERTEXT) ){ | ^ | ( ) smtpgate._.c:2750:9: note: use '==' to turn this assignment into an equality comparison 2750 | if( p1 = getv(ACC_USERTEXT) ){ | ^ | == smtpgate._.c:2757:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2757 | if( p1 = getv(REJ_USERTEXT) ){ | ~~~^~~~~~~~~~~~~~~~~~~~ smtpgate._.c:2757:9: note: place parentheses around the assignment to silence this warning 2757 | if( p1 = getv(REJ_USERTEXT) ){ | ^ | ( ) smtpgate._.c:2757:9: note: use '==' to turn this assignment into an equality comparison 2757 | if( p1 = getv(REJ_USERTEXT) ){ | ^ | == smtpgate._.c:2764:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2764 | if( p1 = getv(REJ_HEADER) ){ | ~~~^~~~~~~~~~~~~~~~~~ smtpgate._.c:2764:9: note: place parentheses around the assignment to silence this warning 2764 | if( p1 = getv(REJ_HEADER) ){ | ^ | ( ) smtpgate._.c:2764:9: note: use '==' to turn this assignment into an equality comparison 2764 | if( p1 = getv(REJ_HEADER) ){ | ^ | == smtpgate._.c:2766:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2766 | if( rc = find_header(tc,mfp,soff,log,p1) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:2766:10: note: place parentheses around the assignment to silence this warning 2766 | if( rc = find_header(tc,mfp,soff,log,p1) ){ | ^ | ( ) smtpgate._.c:2766:10: note: use '==' to turn this assignment into an equality comparison 2766 | if( rc = find_header(tc,mfp,soff,log,p1) ){ | ^ | == smtpgate._.c:2772:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2772 | if( p1 = getv(ACC_MAX_EXCLAMS) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:2772:9: note: place parentheses around the assignment to silence this warning 2772 | if( p1 = getv(ACC_MAX_EXCLAMS) ){ | ^ | ( ) smtpgate._.c:2772:9: note: use '==' to turn this assignment into an equality comparison 2772 | if( p1 = getv(ACC_MAX_EXCLAMS) ){ | ^ | == smtpgate._.c:2785:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2785 | if( p1 = getv(DELAY_MESSAGE_ID) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:2785:9: note: place parentheses around the assignment to silence this warning 2785 | if( p1 = getv(DELAY_MESSAGE_ID) ){ | ^ | ( ) smtpgate._.c:2785:9: note: use '==' to turn this assignment into an equality comparison 2785 | if( p1 = getv(DELAY_MESSAGE_ID) ){ | ^ | == smtpgate._.c:2803:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2803 | if( p1 = getv(OPTION) ) | ~~~^~~~~~~~~~~~~~ smtpgate._.c:2803:9: note: place parentheses around the assignment to silence this warning 2803 | if( p1 = getv(OPTION) ) | ^ | ( ) smtpgate._.c:2803:9: note: use '==' to turn this assignment into an equality comparison 2803 | if( p1 = getv(OPTION) ) | ^ | == smtpgate._.c:2868:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2868 | if( sfp = open_file(local2,spath,"w",AVStr(rpath)) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:2868:11: note: place parentheses around the assignment to silence this warning 2868 | if( sfp = open_file(local2,spath,"w",AVStr(rpath)) ){ | ^ | ( ) smtpgate._.c:2868:11: note: use '==' to turn this assignment into an equality comparison 2868 | if( sfp = open_file(local2,spath,"w",AVStr(rpath)) ){ | ^ | == smtpgate._.c:2880:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2880 | if( arcspec = getv(ARCHIVE) ){ | ~~~~~~~~^~~~~~~~~~~~~~~ smtpgate._.c:2880:15: note: place parentheses around the assignment to silence this warning 2880 | if( arcspec = getv(ARCHIVE) ){ | ^ | ( ) smtpgate._.c:2880:15: note: use '==' to turn this assignment into an equality comparison 2880 | if( arcspec = getv(ARCHIVE) ){ | ^ | == smtpgate._.c:2886:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2886 | if( sfp = open_file(local2,spath,"a",AVStr(rpath)) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:2886:12: note: place parentheses around the assignment to silence this warning 2886 | if( sfp = open_file(local2,spath,"a",AVStr(rpath)) ){ | ^ | ( ) smtpgate._.c:2886:12: note: use '==' to turn this assignment into an equality comparison 2886 | if( sfp = open_file(local2,spath,"a",AVStr(rpath)) ){ | ^ | == smtpgate._.c:2905:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2905 | if( log1 = open_file(local2,"log","a",AVStr(rpath)) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:2905:12: note: place parentheses around the assignment to silence this warning 2905 | if( log1 = open_file(local2,"log","a",AVStr(rpath)) ){ | ^ | ( ) smtpgate._.c:2905:12: note: use '==' to turn this assignment into an equality comparison 2905 | if( log1 = open_file(local2,"log","a",AVStr(rpath)) ){ | ^ | == smtpgate._.c:2926:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2926 | if( rfp = open_file(local2,rfile,"a",AVStr(rpath)) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:2926:11: note: place parentheses around the assignment to silence this warning 2926 | if( rfp = open_file(local2,rfile,"a",AVStr(rpath)) ){ | ^ | ( ) smtpgate._.c:2926:11: note: use '==' to turn this assignment into an equality comparison 2926 | if( rfp = open_file(local2,rfile,"a",AVStr(rpath)) ){ | ^ | == smtpgate._.c:2936:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2936 | if( p1 = getv(CTL_REJTO) ){ | ~~~^~~~~~~~~~~~~~~~~ smtpgate._.c:2936:10: note: place parentheses around the assignment to silence this warning 2936 | if( p1 = getv(CTL_REJTO) ){ | ^ | ( ) smtpgate._.c:2936:10: note: use '==' to turn this assignment into an equality comparison 2936 | if( p1 = getv(CTL_REJTO) ){ | ^ | == smtpgate._.c:2938:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2938 | if( rfp = TMPFILE("Reject-To") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:2938:15: note: place parentheses around the assignment to silence this warning 2938 | if( rfp = TMPFILE("Reject-To") ){ | ^ | ( ) smtpgate._.c:2938:15: note: use '==' to turn this assignment into an equality comparison 2938 | if( rfp = TMPFILE("Reject-To") ){ | ^ | == smtpgate._.c:2957:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2957 | if( p1 = getv(CTL_ETO) ){ | ~~~^~~~~~~~~~~~~~~ smtpgate._.c:2957:10: note: place parentheses around the assignment to silence this warning 2957 | if( p1 = getv(CTL_ETO) ){ | ^ | ( ) smtpgate._.c:2957:10: note: use '==' to turn this assignment into an equality comparison 2957 | if( p1 = getv(CTL_ETO) ){ | ^ | == smtpgate._.c:2959:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2959 | if( rfp = TMPFILE("Errors-To") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:2959:15: note: place parentheses around the assignment to silence this warning 2959 | if( rfp = TMPFILE("Errors-To") ){ | ^ | ( ) smtpgate._.c:2959:15: note: use '==' to turn this assignment into an equality comparison 2959 | if( rfp = TMPFILE("Errors-To") ){ | ^ | == 66 warnings generated. ../mkcpp alias.c alias._.c -- mkcpp set time: 1773311964 -> 1250403944 alias._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c alias._.c -o alias.o alias._.c:48:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 48 | if( afp = fopen(recipient,"r") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~ alias._.c:48:11: note: place parentheses around the assignment to silence this warning 48 | if( afp = fopen(recipient,"r") ){ | ^ | ( ) alias._.c:48:11: note: use '==' to turn this assignment into an equality comparison 48 | if( afp = fopen(recipient,"r") ){ | ^ | == alias._.c:50:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 50 | if( np = strpbrk(rb,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~ alias._.c:50:12: note: place parentheses around the assignment to silence this warning 50 | if( np = strpbrk(rb,"\r\n") ) | ^ | ( ) alias._.c:50:12: note: use '==' to turn this assignment into an equality comparison 50 | if( np = strpbrk(rb,"\r\n") ) | ^ | == alias._.c:52:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 52 | if( rcode = exp1(rb,RCPT,log) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~ alias._.c:52:15: note: place parentheses around the assignment to silence this warning 52 | if( rcode = exp1(rb,RCPT,log) ) | ^ | ( ) alias._.c:52:15: note: use '==' to turn this assignment into an equality comparison 52 | if( rcode = exp1(rb,RCPT,log) ) | ^ | == alias._.c:89:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 89 | if( afp = expand_aliases(av[1],stderr) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alias._.c:89:10: note: place parentheses around the assignment to silence this warning 89 | if( afp = expand_aliases(av[1],stderr) ){ | ^ | ( ) alias._.c:89:10: note: use '==' to turn this assignment into an equality comparison 89 | if( afp = expand_aliases(av[1],stderr) ){ | ^ | == 4 warnings generated. ../mkcpp domain.c domain._.c -- mkcpp set time: 1773311965 -> 1279664449 domain._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c domain._.c -o domain.o domain._.c:218:19: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] 218 | double Start,Time(); | ^~ domain._.c:218:19: note: replace parentheses with an initializer to declare a variable 218 | double Start,Time(); | ^~ | = 0.0 domain._.c:257:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 257 | if( dp = strchr(froma,':') ){ | ~~~^~~~~~~~~~~~~~~~~~~ domain._.c:257:11: note: place parentheses around the assignment to silence this warning 257 | if( dp = strchr(froma,':') ){ | ^ | ( ) domain._.c:257:11: note: use '==' to turn this assignment into an equality comparison 257 | if( dp = strchr(froma,':') ){ | ^ | == domain._.c:396:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 396 | if( dp = strchr(DNS_ORIGIN,'.') ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ domain._.c:396:10: note: place parentheses around the assignment to silence this warning 396 | if( dp = strchr(DNS_ORIGIN,'.') ) | ^ | ( ) domain._.c:396:10: note: use '==' to turn this assignment into an equality comparison 396 | if( dp = strchr(DNS_ORIGIN,'.') ) | ^ | == 3 warnings generated. ../mkcpp lpr.c lpr._.c -- mkcpp set time: 1773311965 -> 1250403944 lpr._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c lpr._.c -o lpr.o ../mkcpp sftp.c sftp._.c -- mkcpp set time: 1773311965 -> 1372393927 sftp._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c sftp._.c -o sftp.o sftp._.c:177:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 177 | if( dp = strpbrk(res,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~ sftp._.c:177:10: note: place parentheses around the assignment to silence this warning 177 | if( dp = strpbrk(res,"\r\n") ) | ^ | ( ) sftp._.c:177:10: note: use '==' to turn this assignment into an equality comparison 177 | if( dp = strpbrk(res,"\r\n") ) | ^ | == sftp._.c:635:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 635 | if( tmpdir = getTMPDIR() ){ | ~~~~~~~^~~~~~~~~~~~~ sftp._.c:635:13: note: place parentheses around the assignment to silence this warning 635 | if( tmpdir = getTMPDIR() ){ | ^ | ( ) sftp._.c:635:13: note: use '==' to turn this assignment into an equality comparison 635 | if( tmpdir = getTMPDIR() ){ | ^ | == sftp._.c:679:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 679 | if( np = strchr(sp,'\n') ){ | ~~~^~~~~~~~~~~~~~~~~ sftp._.c:679:10: note: place parentheses around the assignment to silence this warning 679 | if( np = strchr(sp,'\n') ){ | ^ | ( ) sftp._.c:679:10: note: use '==' to turn this assignment into an equality comparison 679 | if( np = strchr(sp,'\n') ){ | ^ | == sftp._.c:687:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 687 | if( sp = linehead(sresp,head,0) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ sftp._.c:687:9: note: place parentheses around the assignment to silence this warning 687 | if( sp = linehead(sresp,head,0) ){ | ^ | ( ) sftp._.c:687:9: note: use '==' to turn this assignment into an equality comparison 687 | if( sp = linehead(sresp,head,0) ){ | ^ | == sftp._.c:1218:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1218 | if( dp = strstr(sresp,"Couldn't") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ sftp._.c:1218:11: note: place parentheses around the assignment to silence this warning 1218 | if( dp = strstr(sresp,"Couldn't") ){ | ^ | ( ) sftp._.c:1218:11: note: use '==' to turn this assignment into an equality comparison 1218 | if( dp = strstr(sresp,"Couldn't") ){ | ^ | == sftp._.c:1239:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1239 | if( dp = strstr(sresp,"Couldn't") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ sftp._.c:1239:11: note: place parentheses around the assignment to silence this warning 1239 | if( dp = strstr(sresp,"Couldn't") ){ | ^ | ( ) sftp._.c:1239:11: note: use '==' to turn this assignment into an equality comparison 1239 | if( dp = strstr(sresp,"Couldn't") ){ | ^ | == sftp._.c:1284:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1284 | if( bp = strchr(buf,'\n') ) | ~~~^~~~~~~~~~~~~~~~~~ sftp._.c:1284:11: note: place parentheses around the assignment to silence this warning 1284 | if( bp = strchr(buf,'\n') ) | ^ | ( ) sftp._.c:1284:11: note: use '==' to turn this assignment into an equality comparison 1284 | if( bp = strchr(buf,'\n') ) | ^ | == 7 warnings generated. ../mkcpp socks.c socks._.c -- mkcpp set time: 1773311966 -> 1405429149 socks._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c socks._.c -o socks.o socks._.c:69:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 69 | }else{ | ^ socks._.c:166:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 166 | if( opts = strchr(svportver,'/') ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ socks._.c:166:12: note: place parentheses around the assignment to silence this warning 166 | if( opts = strchr(svportver,'/') ) | ^ | ( ) socks._.c:166:12: note: use '==' to turn this assignment into an equality comparison 166 | if( opts = strchr(svportver,'/') ) | ^ | == socks._.c:183:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 183 | for( sx = 0; host1 = sockservs[sx].s_Host; sx++ ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ socks._.c:183:21: note: place parentheses around the assignment to silence this warning 183 | for( sx = 0; host1 = sockservs[sx].s_Host; sx++ ){ | ^ | ( ) socks._.c:183:21: note: use '==' to turn this assignment into an equality comparison 183 | for( sx = 0; host1 = sockservs[sx].s_Host; sx++ ){ | ^ | == socks._.c:330:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 330 | if( sv = getViaSocks(host,port,vlocal) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ socks._.c:330:9: note: place parentheses around the assignment to silence this warning 330 | if( sv = getViaSocks(host,port,vlocal) ){ | ^ | ( ) socks._.c:330:9: note: use '==' to turn this assignment into an equality comparison 330 | if( sv = getViaSocks(host,port,vlocal) ){ | ^ | == socks._.c:340:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 340 | if( sv = tobeViaSocks(&toConn) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~ socks._.c:340:9: note: place parentheses around the assignment to silence this warning 340 | if( sv = tobeViaSocks(&toConn) ){ | ^ | ( ) socks._.c:340:9: note: use '==' to turn this assignment into an equality comparison 340 | if( sv = tobeViaSocks(&toConn) ){ | ^ | == socks._.c:383:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 383 | for( sx = 0; host = sockservs[sx].s_Host; sx++ ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ socks._.c:383:20: note: place parentheses around the assignment to silence this warning 383 | for( sx = 0; host = sockservs[sx].s_Host; sx++ ) | ^ | ( ) socks._.c:383:20: note: use '==' to turn this assignment into an equality comparison 383 | for( sx = 0; host = sockservs[sx].s_Host; sx++ ) | ^ | == socks._.c:427:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 427 | if( addr = gethostaddr(host) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~ socks._.c:427:11: note: place parentheses around the assignment to silence this warning 427 | if( addr = gethostaddr(host) ){ | ^ | ( ) socks._.c:427:11: note: use '==' to turn this assignment into an equality comparison 427 | if( addr = gethostaddr(host) ){ | ^ | == socks._.c:449:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 449 | if( addr = gethostaddr(host) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~ socks._.c:449:13: note: place parentheses around the assignment to silence this warning 449 | if( addr = gethostaddr(host) ){ | ^ | ( ) socks._.c:449:13: note: use '==' to turn this assignment into an equality comparison 449 | if( addr = gethostaddr(host) ){ | ^ | == socks._.c:546:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 546 | if( sv = getViaSocksX(gethostint_nboV4(host),port,vlocal) ) return sv; | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ socks._.c:546:9: note: place parentheses around the assignment to silence this warning 546 | if( sv = getViaSocksX(gethostint_nboV4(host),port,vlocal) ) return sv; | ^ | ( ) socks._.c:546:9: note: use '==' to turn this assignment into an equality comparison 546 | if( sv = getViaSocksX(gethostint_nboV4(host),port,vlocal) ) return sv; | ^ | == socks._.c:547:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 547 | if( sv = getViaSocksX(gethostintMin(host),port,vlocal) ) return sv; | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ socks._.c:547:9: note: place parentheses around the assignment to silence this warning 547 | if( sv = getViaSocksX(gethostintMin(host),port,vlocal) ) return sv; | ^ | ( ) socks._.c:547:9: note: use '==' to turn this assignment into an equality comparison 547 | if( sv = getViaSocksX(gethostintMin(host),port,vlocal) ) return sv; | ^ | == socks._.c:548:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 548 | if( sv = getViaSocksX(_inet_addrV4(host),port,vlocal) ) return sv; | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ socks._.c:548:9: note: place parentheses around the assignment to silence this warning 548 | if( sv = getViaSocksX(_inet_addrV4(host),port,vlocal) ) return sv; | ^ | ( ) socks._.c:548:9: note: use '==' to turn this assignment into an equality comparison 548 | if( sv = getViaSocksX(_inet_addrV4(host),port,vlocal) ) return sv; | ^ | == socks._.c:698:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 698 | if( sv = getViaSocksX(gethostint_nboV4(dsthost),dstport,NULL) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ socks._.c:698:9: note: place parentheses around the assignment to silence this warning 698 | if( sv = getViaSocksX(gethostint_nboV4(dsthost),dstport,NULL) ){ | ^ | ( ) socks._.c:698:9: note: use '==' to turn this assignment into an equality comparison 698 | if( sv = getViaSocksX(gethostint_nboV4(dsthost),dstport,NULL) ){ | ^ | == socks._.c:787:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 787 | if( sv = getViaSocksX(gethostint_nboV4(dsthost),dstport,NULL) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ socks._.c:787:9: note: place parentheses around the assignment to silence this warning 787 | if( sv = getViaSocksX(gethostint_nboV4(dsthost),dstport,NULL) ){ | ^ | ( ) socks._.c:787:9: note: use '==' to turn this assignment into an equality comparison 787 | if( sv = getViaSocksX(gethostint_nboV4(dsthost),dstport,NULL) ){ | ^ | == 13 warnings generated. ../mkcpp socks4.c socks4._.c -- mkcpp set time: 1773311966 -> 1276430632 socks4._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c socks4._.c -o socks4.o socks4._.c:74:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 74 | if( forwrslv = !isinetAddr(addr) ){ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~ socks4._.c:74:15: note: place parentheses around the assignment to silence this warning 74 | if( forwrslv = !isinetAddr(addr) ){ | ^ | ( ) socks4._.c:74:15: note: use '==' to turn this assignment into an equality comparison 74 | if( forwrslv = !isinetAddr(addr) ){ | ^ | == socks4._.c:198:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 198 | if( addr = gethostaddr(host) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~ socks4._.c:198:12: note: place parentheses around the assignment to silence this warning 198 | if( addr = gethostaddr(host) ){ | ^ | ( ) socks4._.c:198:12: note: use '==' to turn this assignment into an equality comparison 198 | if( addr = gethostaddr(host) ){ | ^ | == 2 warnings generated. ../mkcpp sox.c sox._.c -- mkcpp set time: 1773311967 -> 1414752137 sox._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c sox._.c -o sox.o sox._.c:1326:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1326 | if( pp = parameq(arg,P_SOXOUTPORT) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ sox._.c:1326:10: note: place parentheses around the assignment to silence this warning 1326 | if( pp = parameq(arg,P_SOXOUTPORT) ){ | ^ | ( ) sox._.c:1326:10: note: use '==' to turn this assignment into an equality comparison 1326 | if( pp = parameq(arg,P_SOXOUTPORT) ){ | ^ | == sox._.c:1403:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1403 | if( dp = wordScanY(from,addr,"^:") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ sox._.c:1403:10: note: place parentheses around the assignment to silence this warning 1403 | if( dp = wordScanY(from,addr,"^:") ) | ^ | ( ) sox._.c:1403:10: note: use '==' to turn this assignment into an equality comparison 1403 | if( dp = wordScanY(from,addr,"^:") ) | ^ | == sox._.c:1412:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1412 | if( dp = strchr(addr,':') ){ | ~~~^~~~~~~~~~~~~~~~~~ sox._.c:1412:10: note: place parentheses around the assignment to silence this warning 1412 | if( dp = strchr(addr,':') ){ | ^ | ( ) sox._.c:1412:10: note: use '==' to turn this assignment into an equality comparison 1412 | if( dp = strchr(addr,':') ){ | ^ | == sox._.c:1530:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1530 | if( dp = strchr(servU,'(') ){ | ~~~^~~~~~~~~~~~~~~~~~~ sox._.c:1530:9: note: place parentheses around the assignment to silence this warning 1530 | if( dp = strchr(servU,'(') ){ | ^ | ( ) sox._.c:1530:9: note: use '==' to turn this assignment into an equality comparison 1530 | if( dp = strchr(servU,'(') ){ | ^ | == sox._.c:1532:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1532 | if( ep = strchr(servU,')') ) | ~~~^~~~~~~~~~~~~~~~~~~ sox._.c:1532:10: note: place parentheses around the assignment to silence this warning 1532 | if( ep = strchr(servU,')') ) | ^ | ( ) sox._.c:1532:10: note: use '==' to turn this assignment into an equality comparison 1532 | if( ep = strchr(servU,')') ) | ^ | == sox._.c:1536:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1536 | if( dp = strchr(servU,',') ){ | ~~~^~~~~~~~~~~~~~~~~~~ sox._.c:1536:9: note: place parentheses around the assignment to silence this warning 1536 | if( dp = strchr(servU,',') ){ | ^ | ( ) sox._.c:1536:9: note: use '==' to turn this assignment into an equality comparison 1536 | if( dp = strchr(servU,',') ){ | ^ | == sox._.c:1651:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1651 | if( dp = strstr(fifo,"@") ) | ~~~^~~~~~~~~~~~~~~~~~ sox._.c:1651:9: note: place parentheses around the assignment to silence this warning 1651 | if( dp = strstr(fifo,"@") ) | ^ | ( ) sox._.c:1651:9: note: use '==' to turn this assignment into an equality comparison 1651 | if( dp = strstr(fifo,"@") ) | ^ | == sox._.c:1725:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1725 | if( pp = parameq(a1,P_SYNCHTMUX) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ sox._.c:1725:11: note: place parentheses around the assignment to silence this warning 1725 | if( pp = parameq(a1,P_SYNCHTMUX) ){ | ^ | ( ) sox._.c:1725:11: note: use '==' to turn this assignment into an equality comparison 1725 | if( pp = parameq(a1,P_SYNCHTMUX) ){ | ^ | == sox._.c:1728:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1728 | if( pp = parameq(a1,P_SOXINPORTS) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ sox._.c:1728:11: note: place parentheses around the assignment to silence this warning 1728 | if( pp = parameq(a1,P_SOXINPORTS) ){ | ^ | ( ) sox._.c:1728:11: note: use '==' to turn this assignment into an equality comparison 1728 | if( pp = parameq(a1,P_SOXINPORTS) ){ | ^ | == sox._.c:1942:20: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] 1942 | int getParentSock(); | ^~ sox._.c:1942:20: note: replace parentheses with an initializer to declare a variable 1942 | int getParentSock(); | ^~ | = 0 sox._.c:2114:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2114 | else | ^ sox._.c:2301:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2301 | if( sent = rem - Api->a_lbuf.b_rem ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ sox._.c:2301:13: note: place parentheses around the assignment to silence this warning 2301 | if( sent = rem - Api->a_lbuf.b_rem ){ | ^ | ( ) sox._.c:2301:13: note: use '==' to turn this assignment into an equality comparison 2301 | if( sent = rem - Api->a_lbuf.b_rem ){ | ^ | == sox._.c:2511:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2511 | }else{ | ^ 13 warnings generated. ../mkcpp cuseeme.c cuseeme._.c -- mkcpp set time: 1773311967 -> 1264841019 cuseeme._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c cuseeme._.c -o cuseeme.o cuseeme._.c:226:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 226 | if( ci = isClient(caddr) ) | ~~~^~~~~~~~~~~~~~~~~ cuseeme._.c:226:9: note: place parentheses around the assignment to silence this warning 226 | if( ci = isClient(caddr) ) | ^ | ( ) cuseeme._.c:226:9: note: use '==' to turn this assignment into an equality comparison 226 | if( ci = isClient(caddr) ) | ^ | == cuseeme._.c:428:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 428 | if( file = getenv("CUIN") ){ | ~~~~~^~~~~~~~~~~~~~~~ cuseeme._.c:428:11: note: place parentheses around the assignment to silence this warning 428 | if( file = getenv("CUIN") ){ | ^ | ( ) cuseeme._.c:428:11: note: use '==' to turn this assignment into an equality comparison 428 | if( file = getenv("CUIN") ){ | ^ | == 2 warnings generated. ../mkcpp coupler.c coupler._.c -- mkcpp set time: 1773311968 -> 1250403944 coupler._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c coupler._.c -o coupler.o coupler._.c:42:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 42 | if( sfp = fopen(spath,"r") ){ | ~~~~^~~~~~~~~~~~~~~~~~ coupler._.c:42:10: note: place parentheses around the assignment to silence this warning 42 | if( sfp = fopen(spath,"r") ){ | ^ | ( ) coupler._.c:42:10: note: use '==' to turn this assignment into an equality comparison 42 | if( sfp = fopen(spath,"r") ){ | ^ | == 1 warning generated. ../mkcpp vsap.c vsap._.c -- mkcpp set time: 1773311968 -> 1414752137 vsap._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c vsap._.c -o vsap.o vsap._.c:114:22: warning: '/*' within block comment [-Wcomment] 114 | ... MOUNT="/path/* http://realserver/" | ^ 1 warning generated. ../mkcpp tcprelay.c tcprelay._.c -- mkcpp set time: 1773311968 -> 1268627511 tcprelay._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c tcprelay._.c -o tcprelay.o ../mkcpp udprelay.c udprelay._.c -- mkcpp set time: 1773311969 -> 1279663489 udprelay._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c udprelay._.c -o udprelay.o udprelay._.c:72:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 72 | for( ai = 0; ua = uav[ai]; ai++ ){ | ~~~^~~~~~~~~ udprelay._.c:72:18: note: place parentheses around the assignment to silence this warning 72 | for( ai = 0; ua = uav[ai]; ai++ ){ | ^ | ( ) udprelay._.c:72:18: note: use '==' to turn this assignment into an equality comparison 72 | for( ai = 0; ua = uav[ai]; ai++ ){ | ^ | == udprelay._.c:83:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 83 | for( ai = 0; ua1 = uav[ai]; ai++ ){ | ~~~~^~~~~~~~~ udprelay._.c:83:19: note: place parentheses around the assignment to silence this warning 83 | for( ai = 0; ua1 = uav[ai]; ai++ ){ | ^ | ( ) udprelay._.c:83:19: note: use '==' to turn this assignment into an equality comparison 83 | for( ai = 0; ua1 = uav[ai]; ai++ ){ | ^ | == udprelay._.c:97:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 97 | for( ai = 0; ua = uav[ai]; ai++ ){ | ~~~^~~~~~~~~ udprelay._.c:97:18: note: place parentheses around the assignment to silence this warning 97 | for( ai = 0; ua = uav[ai]; ai++ ){ | ^ | ( ) udprelay._.c:97:18: note: use '==' to turn this assignment into an equality comparison 97 | for( ai = 0; ua = uav[ai]; ai++ ){ | ^ | == udprelay._.c:252:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 252 | for( ux = 0; ua = uav[ux]; ux++ ){ | ~~~^~~~~~~~~ udprelay._.c:252:18: note: place parentheses around the assignment to silence this warning 252 | for( ux = 0; ua = uav[ux]; ux++ ){ | ^ | ( ) udprelay._.c:252:18: note: use '==' to turn this assignment into an equality comparison 252 | for( ux = 0; ua = uav[ux]; ux++ ){ | ^ | == udprelay._.c:373:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 373 | for( ai = 0; ua = uassocv[ai]; ai++ ){ | ~~~^~~~~~~~~~~~~ udprelay._.c:373:20: note: place parentheses around the assignment to silence this warning 373 | for( ai = 0; ua = uassocv[ai]; ai++ ){ | ^ | ( ) udprelay._.c:373:20: note: use '==' to turn this assignment into an equality comparison 373 | for( ai = 0; ua = uassocv[ai]; ai++ ){ | ^ | == udprelay._.c:381:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 381 | for( ai = 0; ua = uassocv[ai]; ai++ ){ | ~~~^~~~~~~~~~~~~ udprelay._.c:381:20: note: place parentheses around the assignment to silence this warning 381 | for( ai = 0; ua = uassocv[ai]; ai++ ){ | ^ | ( ) udprelay._.c:381:20: note: use '==' to turn this assignment into an equality comparison 381 | for( ai = 0; ua = uassocv[ai]; ai++ ){ | ^ | == udprelay._.c:387:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 387 | for( ai = 0; ua = uassocv[ai]; ai++ ){ | ~~~^~~~~~~~~~~~~ udprelay._.c:387:20: note: place parentheses around the assignment to silence this warning 387 | for( ai = 0; ua = uassocv[ai]; ai++ ){ | ^ | ( ) udprelay._.c:387:20: note: use '==' to turn this assignment into an equality comparison 387 | for( ai = 0; ua = uassocv[ai]; ai++ ){ | ^ | == 7 warnings generated. ../mkcpp ftpgw.c ftpgw._.c -- mkcpp set time: 1773311969 -> 1285276136 ftpgw._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c ftpgw._.c -o ftpgw.o ftpgw._.c:113:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 113 | for( pb = pathbuf; dp = strchr(pb,'/'); pb = dp +1 ){ | ~~~^~~~~~~~~~~~~~~~ ftpgw._.c:113:24: note: place parentheses around the assignment to silence this warning 113 | for( pb = pathbuf; dp = strchr(pb,'/'); pb = dp +1 ){ | ^ | ( ) ftpgw._.c:113:24: note: use '==' to turn this assignment into an equality comparison 113 | for( pb = pathbuf; dp = strchr(pb,'/'); pb = dp +1 ){ | ^ | == ftpgw._.c:226:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 226 | if( dp = strstr(resp,busy) ){ | ~~~^~~~~~~~~~~~~~~~~~~ ftpgw._.c:226:10: note: place parentheses around the assignment to silence this warning 226 | if( dp = strstr(resp,busy) ){ | ^ | ( ) ftpgw._.c:226:10: note: use '==' to turn this assignment into an equality comparison 226 | if( dp = strstr(resp,busy) ){ | ^ | == ftpgw._.c:420:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 420 | if( rcode = ftp_cachepath(Conn,host,port,path,AVStr(cachepath)) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftpgw._.c:420:12: note: place parentheses around the assignment to silence this warning 420 | if( rcode = ftp_cachepath(Conn,host,port,path,AVStr(cachepath)) ){ | ^ | ( ) ftpgw._.c:420:12: note: use '==' to turn this assignment into an equality comparison 420 | if( rcode = ftp_cachepath(Conn,host,port,path,AVStr(cachepath)) ){ | ^ | == ftpgw._.c:449:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 449 | if( dp = strrchr(ppath,'/') ) | ~~~^~~~~~~~~~~~~~~~~~~~ ftpgw._.c:449:9: note: place parentheses around the assignment to silence this warning 449 | if( dp = strrchr(ppath,'/') ) | ^ | ( ) ftpgw._.c:449:9: note: use '==' to turn this assignment into an equality comparison 449 | if( dp = strrchr(ppath,'/') ) | ^ | == ftpgw._.c:455:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 455 | if( pfp = fopen(ppath,"r") ) | ~~~~^~~~~~~~~~~~~~~~~~ ftpgw._.c:455:10: note: place parentheses around the assignment to silence this warning 455 | if( pfp = fopen(ppath,"r") ) | ^ | ( ) ftpgw._.c:455:10: note: use '==' to turn this assignment into an equality comparison 455 | if( pfp = fopen(ppath,"r") ) | ^ | == ftpgw._.c:473:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 473 | if( dp = strrchr(ocpath,'/') ) | ~~~^~~~~~~~~~~~~~~~~~~~~ ftpgw._.c:473:9: note: place parentheses around the assignment to silence this warning 473 | if( dp = strrchr(ocpath,'/') ) | ^ | ( ) ftpgw._.c:473:9: note: use '==' to turn this assignment into an equality comparison 473 | if( dp = strrchr(ocpath,'/') ) | ^ | == ftpgw._.c:476:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 476 | if( file = strrchr(ocpath,'/') ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~ ftpgw._.c:476:11: note: place parentheses around the assignment to silence this warning 476 | if( file = strrchr(ocpath,'/') ) | ^ | ( ) ftpgw._.c:476:11: note: use '==' to turn this assignment into an equality comparison 476 | if( file = strrchr(ocpath,'/') ) | ^ | == ftpgw._.c:654:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 654 | if( qp = strchr(url,'?') ){ | ~~~^~~~~~~~~~~~~~~~~ ftpgw._.c:654:9: note: place parentheses around the assignment to silence this warning 654 | if( qp = strchr(url,'?') ){ | ^ | ( ) ftpgw._.c:654:9: note: use '==' to turn this assignment into an equality comparison 654 | if( qp = strchr(url,'?') ){ | ^ | == ftpgw._.c:704:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 704 | if( totalc = putMovedToDir(Conn,tc) ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ftpgw._.c:704:14: note: place parentheses around the assignment to silence this warning 704 | if( totalc = putMovedToDir(Conn,tc) ){ | ^ | ( ) ftpgw._.c:704:14: note: use '==' to turn this assignment into an equality comparison 704 | if( totalc = putMovedToDir(Conn,tc) ){ | ^ | == ftpgw._.c:842:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 842 | if( qp = strchr(path,'?') ){ | ~~~^~~~~~~~~~~~~~~~~~ ftpgw._.c:842:9: note: place parentheses around the assignment to silence this warning 842 | if( qp = strchr(path,'?') ){ | ^ | ( ) ftpgw._.c:842:9: note: use '==' to turn this assignment into an equality comparison 842 | if( qp = strchr(path,'?') ){ | ^ | == ftpgw._.c:1128:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1128 | if( totalc = putMovedToDir(Conn,tc) ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ftpgw._.c:1128:15: note: place parentheses around the assignment to silence this warning 1128 | if( totalc = putMovedToDir(Conn,tc) ){ | ^ | ( ) ftpgw._.c:1128:15: note: use '==' to turn this assignment into an equality comparison 1128 | if( totalc = putMovedToDir(Conn,tc) ){ | ^ | == ftpgw._.c:1399:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1399 | else | ^ ftpgw._.c:1516:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1516 | if( dp = strpbrk(lsl,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~ ftpgw._.c:1516:9: note: place parentheses around the assignment to silence this warning 1516 | if( dp = strpbrk(lsl,"\r\n") ) | ^ | ( ) ftpgw._.c:1516:9: note: use '==' to turn this assignment into an equality comparison 1516 | if( dp = strpbrk(lsl,"\r\n") ) | ^ | == ftpgw._.c:1550:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1550 | if( len = strlen(links) ){ | ~~~~^~~~~~~~~~~~~~~ ftpgw._.c:1550:10: note: place parentheses around the assignment to silence this warning 1550 | if( len = strlen(links) ){ | ^ | ( ) ftpgw._.c:1550:10: note: use '==' to turn this assignment into an equality comparison 1550 | if( len = strlen(links) ){ | ^ | == ftpgw._.c:1596:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1596 | if( slp = strstr(name," -> ") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~ ftpgw._.c:1596:11: note: place parentheses around the assignment to silence this warning 1596 | if( slp = strstr(name," -> ") ){ | ^ | ( ) ftpgw._.c:1596:11: note: use '==' to turn this assignment into an equality comparison 1596 | if( slp = strstr(name," -> ") ){ | ^ | == ftpgw._.c:1629:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1629 | if( dp = strpbrk(name,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ ftpgw._.c:1629:10: note: place parentheses around the assignment to silence this warning 1629 | if( dp = strpbrk(name,"\r\n") ) | ^ | ( ) ftpgw._.c:1629:10: note: use '==' to turn this assignment into an equality comparison 1629 | if( dp = strpbrk(name,"\r\n") ) | ^ | == ftpgw._.c:1633:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1633 | if( dp = strrchr(name,' ') ) | ~~~^~~~~~~~~~~~~~~~~~~ ftpgw._.c:1633:10: note: place parentheses around the assignment to silence this warning 1633 | if( dp = strrchr(name,' ') ) | ^ | ( ) ftpgw._.c:1633:10: note: use '==' to turn this assignment into an equality comparison 1633 | if( dp = strrchr(name,' ') ) | ^ | == ftpgw._.c:1651:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1651 | if( dp = strrchr(line,' ') ){ | ~~~^~~~~~~~~~~~~~~~~~~ ftpgw._.c:1651:9: note: place parentheses around the assignment to silence this warning 1651 | if( dp = strrchr(line,' ') ){ | ^ | ( ) ftpgw._.c:1651:9: note: use '==' to turn this assignment into an equality comparison 1651 | if( dp = strrchr(line,' ') ){ | ^ | == ftpgw._.c:1676:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1676 | if( lastdir = strrchr(dir,'/') ) | ~~~~~~~~^~~~~~~~~~~~~~~~~~ ftpgw._.c:1676:16: note: place parentheses around the assignment to silence this warning 1676 | if( lastdir = strrchr(dir,'/') ) | ^ | ( ) ftpgw._.c:1676:16: note: use '==' to turn this assignment into an equality comparison 1676 | if( lastdir = strrchr(dir,'/') ) | ^ | == ftpgw._.c:1695:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1695 | while( cdir = strstr(path,"/./") ) | ~~~~~^~~~~~~~~~~~~~~~~~~~ ftpgw._.c:1695:15: note: place parentheses around the assignment to silence this warning 1695 | while( cdir = strstr(path,"/./") ) | ^ | ( ) ftpgw._.c:1695:15: note: use '==' to turn this assignment into an equality comparison 1695 | while( cdir = strstr(path,"/./") ) | ^ | == ftpgw._.c:1698:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1698 | while( pdir = strstr(path,"/../") ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~ ftpgw._.c:1698:15: note: place parentheses around the assignment to silence this warning 1698 | while( pdir = strstr(path,"/../") ){ | ^ | ( ) ftpgw._.c:1698:15: note: use '==' to turn this assignment into an equality comparison 1698 | while( pdir = strstr(path,"/../") ){ | ^ | == 21 warnings generated. ../mkcpp filetype.c filetype._.c -- mkcpp set time: 1773311970 -> 1274037944 filetype._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c filetype._.c -o filetype.o filetype._.c:135:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 135 | for( fx = 0; filetype = dflt_filetypes[fx]; fx++ ) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ filetype._.c:135:24: note: place parentheses around the assignment to silence this warning 135 | for( fx = 0; filetype = dflt_filetypes[fx]; fx++ ) | ^ | ( ) filetype._.c:135:24: note: use '==' to turn this assignment into an equality comparison 135 | for( fx = 0; filetype = dflt_filetypes[fx]; fx++ ) | ^ | == filetype._.c:143:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 143 | if( sp = strrcasestr(path,sfx) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~ filetype._.c:143:9: note: place parentheses around the assignment to silence this warning 143 | if( sp = strrcasestr(path,sfx) ){ | ^ | ( ) filetype._.c:143:9: note: use '==' to turn this assignment into an equality comparison 143 | if( sp = strrcasestr(path,sfx) ){ | ^ | == filetype._.c:155:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 155 | for( ci = 0; ft = filetypes[ci]; ci++ ){ | ~~~^~~~~~~~~~~~~~~ filetype._.c:155:18: note: place parentheses around the assignment to silence this warning 155 | for( ci = 0; ft = filetypes[ci]; ci++ ){ | ^ | ( ) filetype._.c:155:18: note: use '==' to turn this assignment into an equality comparison 155 | for( ci = 0; ft = filetypes[ci]; ci++ ){ | ^ | == filetype._.c:169:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 169 | for( ci = 0; ft = filetypes[ci]; ci++ ){ | ~~~^~~~~~~~~~~~~~~ filetype._.c:169:18: note: place parentheses around the assignment to silence this warning 169 | for( ci = 0; ft = filetypes[ci]; ci++ ){ | ^ | ( ) filetype._.c:169:18: note: use '==' to turn this assignment into an equality comparison 169 | for( ci = 0; ft = filetypes[ci]; ci++ ){ | ^ | == filetype._.c:177:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 177 | if( gt = filename2gtypeX(name) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~ filetype._.c:177:9: note: place parentheses around the assignment to silence this warning 177 | if( gt = filename2gtypeX(name) ) | ^ | ( ) filetype._.c:177:9: note: use '==' to turn this assignment into an equality comparison 177 | if( gt = filename2gtypeX(name) ) | ^ | == filetype._.c:186:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 186 | for( ci = 0; ft = filetypes[ci]; ci++ ){ | ~~~^~~~~~~~~~~~~~~ filetype._.c:186:18: note: place parentheses around the assignment to silence this warning 186 | for( ci = 0; ft = filetypes[ci]; ci++ ){ | ^ | ( ) filetype._.c:186:18: note: use '==' to turn this assignment into an equality comparison 186 | for( ci = 0; ft = filetypes[ci]; ci++ ){ | ^ | == filetype._.c:212:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 212 | if( ctype = filename2ctype(path/*,0L*/) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ filetype._.c:212:12: note: place parentheses around the assignment to silence this warning 212 | if( ctype = filename2ctype(path/*,0L*/) ) | ^ | ( ) filetype._.c:212:12: note: use '==' to turn this assignment into an equality comparison 212 | if( ctype = filename2ctype(path/*,0L*/) ) | ^ | == filetype._.c:220:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 220 | if( gtype = filename2gtypeX(path) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ filetype._.c:220:12: note: place parentheses around the assignment to silence this warning 220 | if( gtype = filename2gtypeX(path) ){ | ^ | ( ) filetype._.c:220:12: note: use '==' to turn this assignment into an equality comparison 220 | if( gtype = filename2gtypeX(path) ){ | ^ | == 8 warnings generated. rm -f ../lib/libdelegate.a ar cr ../lib/libdelegate.a version.o ../srcsign.o editconf.o admin.o notify.o shutter.o abort.o form2conf.o process.o vaddr.o conf.o svport.o ddi.o textconv.o script.o param.o env.o thmain.o syslog.o log.o svstat.o iotimeout.o misc.o msg.o yshell.o shio.o db.o hostlist.o cond.o service.o svconf.o filter.o master.o qstest.o delegate.o caps.o spinach.o stls.o tsp.o sudo.o gacl.o access.o ident.o dgauth.o dgsign.o ccache.o cache.o distrib.o bcounter.o ipno.o inets.o uns.o rident.o inetd.o thruwayd.o dget.o urlfind.o mount.o url.o gopher.o icp.o icap.o http.o httpx.o httplog.o httphead.o httpd.o cgi.o ssi.o htaccept.o htccx.o htswitch.o htmlgen.o htfilter.o nntp.o nntplist.o nntpgw.o enews.o pop.o smtp.o telnet.o ftp.o xferlog.o X.o wais.o whois.o xflash.o imap.o ldap.o smtpgate.o alias.o domain.o lpr.o sftp.o socks.o socks4.o sox.o cuseeme.o coupler.o vsap.o tcprelay.o udprelay.o ftpgw.o filetype.o /usr/bin/ranlib ../lib/libdelegate.a "/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe" -touch "../lib/libdelegate.a" ../mkcpp embed.c embed._.c -- mkcpp set time: 1773311970 -> 1403842561 embed._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c embed._.c -o embed.o -DADMINPASS=\"\" -DADMIN=\"admin@example.com\" \ -DIMPSIZE=10000 embed._.c:127:19: warning: data argument not used by format string [-Wformat-extra-args] 127 | printf("\"\n\n",nc,st.st_mtime); | ~~~~~~~~ ^ embed._.c:128:24: warning: data argument not used by format string [-Wformat-extra-args] 128 | else printf("\";\n\n",nc,st.st_mtime); | ~~~~~~~~~ ^ embed._.c:191:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 191 | if( az = strheadstrX(a1,"-IMPSIZE=",0) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ embed._.c:191:10: note: place parentheses around the assignment to silence this warning 191 | if( az = strheadstrX(a1,"-IMPSIZE=",0) ){ | ^ | ( ) embed._.c:191:10: note: use '==' to turn this assignment into an equality comparison 191 | if( az = strheadstrX(a1,"-IMPSIZE=",0) ){ | ^ | == embed._.c:277:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 277 | if( filter = (char*)strrchr(dirfile,'/') ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ embed._.c:277:14: note: place parentheses around the assignment to silence this warning 277 | if( filter = (char*)strrchr(dirfile,'/') ){ | ^ | ( ) embed._.c:277:14: note: use '==' to turn this assignment into an equality comparison 277 | if( filter = (char*)strrchr(dirfile,'/') ){ | ^ | == embed._.c:279:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 279 | if( recursive = strstr(dirfile,"**") ){ | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ embed._.c:279:18: note: place parentheses around the assignment to silence this warning 279 | if( recursive = strstr(dirfile,"**") ){ | ^ | ( ) embed._.c:279:18: note: use '==' to turn this assignment into an equality comparison 279 | if( recursive = strstr(dirfile,"**") ){ | ^ | == embed._.c:335:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 335 | if( np = strchr(psp,':') ) | ~~~^~~~~~~~~~~~~~~~~ embed._.c:335:12: note: place parentheses around the assignment to silence this warning 335 | if( np = strchr(psp,':') ) | ^ | ( ) embed._.c:335:12: note: use '==' to turn this assignment into an equality comparison 335 | if( np = strchr(psp,':') ) | ^ | == 6 warnings generated. cc -L../lib -o embed embed.o version.o ../srcsign.o \ ../lib/library.a ../lib/libgates.a ../lib/libcfi.a ../lib/libmimekit.a ../lib/libmd5.a \ -ldl -lutil -lpthread -lpam -lstdc++ -lc ../lib/libsubst.a -ldl -lutil -lpthread -lpam -lstdc++ ./embed -IMPSIZE=10000 > _builtin.c "../COPYRIGHT" "builtin/**/*.gif" "builtin/**/*.ico" "builtin/**/*.bmp" "builtin/**/*.dll" "builtin/**/*.dhtml" "builtin/**/*.pem" "builtin/**/*.cnf" "builtin/**/*.cnv" "builtin/config/smtpgate/**/conf" embed: R=44 r=98 L=296 f=209 ../mkcpp builtin.c builtin._.c -- mkcpp set time: 1773311970 -> 1399198412 builtin._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c builtin._.c -o builtin.o In file included from builtin._.c:19: ./_builtin.c:1:313: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] 1 | const char *DELEGATE_exesign(){ return "\n{EXESIGN=9.9.13:20260312103930+0000:0000000000000000:none@nowhere:''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''}\n"+10; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./_builtin.c:1:313: note: use array indexing to silence this warning 1 | const char *DELEGATE_exesign(){ return "\n{EXESIGN=9.9.13:20260312103930+0000:0000000000000000:none@nowhere:''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''}\n"+10; } | ^ | & [ ] ./_builtin.c:89:44: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] 2 | # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3 | " "\ | ~~~~ 4 | # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 | # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 | # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7 | # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8 | # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9 | # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10 | # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11 | # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 12 | " "\ | ~~~~ 13 | # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 14 | # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 15 | # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 16 | # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 17 | # # # # # # # # # # # # # # # # # # #}\"\n"+10+8; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./_builtin.c:89:44: note: use array indexing to silence this warning 2 | # # # # # # # # # # # # # # # # # # #}\"\n"+10+8; } | ^ | [ ] builtin._.c:81:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 81 | for(i = 0; file1 = get_builtin_file(i); i++){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ builtin._.c:81:19: note: place parentheses around the assignment to silence this warning 81 | for(i = 0; file1 = get_builtin_file(i); i++){ | ^ | ( ) builtin._.c:81:19: note: use '==' to turn this assignment into an equality comparison 81 | for(i = 0; file1 = get_builtin_file(i); i++){ | ^ | == builtin._.c:104:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 104 | for(i = 0; file1 = get_builtin_file(i); i++){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ builtin._.c:104:19: note: place parentheses around the assignment to silence this warning 104 | for(i = 0; file1 = get_builtin_file(i); i++){ | ^ | ( ) builtin._.c:104:19: note: use '==' to turn this assignment into an equality comparison 104 | for(i = 0; file1 = get_builtin_file(i); i++){ | ^ | == builtin._.c:126:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 126 | if( fp = fopen(path,"r") ){ | ~~~^~~~~~~~~~~~~~~~~ builtin._.c:126:9: note: place parentheses around the assignment to silence this warning 126 | if( fp = fopen(path,"r") ){ | ^ | ( ) builtin._.c:126:9: note: use '==' to turn this assignment into an equality comparison 126 | if( fp = fopen(path,"r") ){ | ^ | == builtin._.c:130:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 130 | if( fp = dirfopen("builtin-data",AVStr(path),"w") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ builtin._.c:130:9: note: place parentheses around the assignment to silence this warning 130 | if( fp = dirfopen("builtin-data",AVStr(path),"w") ){ | ^ | ( ) builtin._.c:130:9: note: use '==' to turn this assignment into an equality comparison 130 | if( fp = dirfopen("builtin-data",AVStr(path),"w") ){ | ^ | == 6 warnings generated. ../mkcpp delegated.c delegated._.c -- mkcpp set time: 1773311971 -> 1414752076 delegated._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c delegated._.c -o delegated.o delegated._.c:493:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 493 | if( fp = LOG_openLogFile(form,"r") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:493:9: note: place parentheses around the assignment to silence this warning 493 | if( fp = LOG_openLogFile(form,"r") ){ | ^ | ( ) delegated._.c:493:9: note: use '==' to turn this assignment into an equality comparison 493 | if( fp = LOG_openLogFile(form,"r") ){ | ^ | == delegated._.c:502:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 502 | if( fp = LOG_openLogFile(form,"w") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:502:10: note: place parentheses around the assignment to silence this warning 502 | if( fp = LOG_openLogFile(form,"w") ){ | ^ | ( ) delegated._.c:502:10: note: use '==' to turn this assignment into an equality comparison 502 | if( fp = LOG_openLogFile(form,"w") ){ | ^ | == delegated._.c:711:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 711 | if( fp = fopen(NoTmpSpaceLog,"a") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:711:9: note: place parentheses around the assignment to silence this warning 711 | if( fp = fopen(NoTmpSpaceLog,"a") ){ | ^ | ( ) delegated._.c:711:9: note: use '==' to turn this assignment into an equality comparison 711 | if( fp = fopen(NoTmpSpaceLog,"a") ){ | ^ | == delegated._.c:1205:33: warning: '/*' within block comment [-Wcomment] 1205 | * status via file like "/proc/*" | ^ delegated._.c:1302:19: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] 1302 | int closeSoxSync(); | ^~ delegated._.c:1302:19: note: replace parentheses with an initializer to declare a variable 1302 | int closeSoxSync(); | ^~ | = 0 delegated._.c:1303:20: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] 1303 | int closeSoxLocal(); | ^~ delegated._.c:1303:20: note: replace parentheses with an initializer to declare a variable 1303 | int closeSoxLocal(); | ^~ | = 0 delegated._.c:1360:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1360 | for( ei = 0; e1 = environ[ei]; ei++ ){ | ~~~^~~~~~~~~~~~~ delegated._.c:1360:19: note: place parentheses around the assignment to silence this warning 1360 | for( ei = 0; e1 = environ[ei]; ei++ ){ | ^ | ( ) delegated._.c:1360:19: note: use '==' to turn this assignment into an equality comparison 1360 | for( ei = 0; e1 = environ[ei]; ei++ ){ | ^ | == delegated._.c:1460:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1460 | if( logfp = fopen(lpath,"r") ){ | ~~~~~~^~~~~~~~~~~~~~~~~~ delegated._.c:1460:12: note: place parentheses around the assignment to silence this warning 1460 | if( logfp = fopen(lpath,"r") ){ | ^ | ( ) delegated._.c:1460:12: note: use '==' to turn this assignment into an equality comparison 1460 | if( logfp = fopen(lpath,"r") ){ | ^ | == delegated._.c:1668:23: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] 1668 | int doDeleteOnExit(); | ^~ delegated._.c:1668:23: note: replace parentheses with an initializer to declare a variable 1668 | int doDeleteOnExit(); | ^~ | = 0 delegated._.c:1687:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1687 | while( pid = wait(0) ){ | ~~~~^~~~~~~~~ delegated._.c:1687:16: note: place parentheses around the assignment to silence this warning 1687 | while( pid = wait(0) ){ | ^ | ( ) delegated._.c:1687:16: note: use '==' to turn this assignment into an equality comparison 1687 | while( pid = wait(0) ){ | ^ | == delegated._.c:1917:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1917 | if( dp = strchr(arg,':') ){ | ~~~^~~~~~~~~~~~~~~~~ delegated._.c:1917:11: note: place parentheses around the assignment to silence this warning 1917 | if( dp = strchr(arg,':') ){ | ^ | ( ) delegated._.c:1917:11: note: use '==' to turn this assignment into an equality comparison 1917 | if( dp = strchr(arg,':') ){ | ^ | == delegated._.c:1947:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1947 | if( dp = strchr(arg,'=') ){ | ~~~^~~~~~~~~~~~~~~~~ delegated._.c:1947:9: note: place parentheses around the assignment to silence this warning 1947 | if( dp = strchr(arg,'=') ){ | ^ | ( ) delegated._.c:1947:9: note: use '==' to turn this assignment into an equality comparison 1947 | if( dp = strchr(arg,'=') ){ | ^ | == delegated._.c:1977:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1977 | if( list = strchr(arg,'=') ){ | ~~~~~^~~~~~~~~~~~~~~~~ delegated._.c:1977:11: note: place parentheses around the assignment to silence this warning 1977 | if( list = strchr(arg,'=') ){ | ^ | ( ) delegated._.c:1977:11: note: use '==' to turn this assignment into an equality comparison 1977 | if( list = strchr(arg,'=') ){ | ^ | == delegated._.c:1984:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1984 | if( dp = strstr(arg,":+=") ) | ~~~^~~~~~~~~~~~~~~~~~~ delegated._.c:1984:10: note: place parentheses around the assignment to silence this warning 1984 | if( dp = strstr(arg,":+=") ) | ^ | ( ) delegated._.c:1984:10: note: use '==' to turn this assignment into an equality comparison 1984 | if( dp = strstr(arg,":+=") ) | ^ | == delegated._.c:1987:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1987 | if( dp = strstr(arg,",+=") ) | ~~~^~~~~~~~~~~~~~~~~~~ delegated._.c:1987:10: note: place parentheses around the assignment to silence this warning 1987 | if( dp = strstr(arg,",+=") ) | ^ | ( ) delegated._.c:1987:10: note: use '==' to turn this assignment into an equality comparison 1987 | if( dp = strstr(arg,",+=") ) | ^ | == delegated._.c:1986:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1986 | else | ^ delegated._.c:2301:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2301 | if( nfp = fdopen(0,"r") ){ | ~~~~^~~~~~~~~~~~~~~ delegated._.c:2301:12: note: place parentheses around the assignment to silence this warning 2301 | if( nfp = fdopen(0,"r") ){ | ^ | ( ) delegated._.c:2301:12: note: use '==' to turn this assignment into an equality comparison 2301 | if( nfp = fdopen(0,"r") ){ | ^ | == delegated._.c:2305:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2305 | }else{ | ^ delegated._.c:2318:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2318 | if( nfp = fdopen(1,"a") ){ | ~~~~^~~~~~~~~~~~~~~ delegated._.c:2318:12: note: place parentheses around the assignment to silence this warning 2318 | if( nfp = fdopen(1,"a") ){ | ^ | ( ) delegated._.c:2318:12: note: use '==' to turn this assignment into an equality comparison 2318 | if( nfp = fdopen(1,"a") ){ | ^ | == delegated._.c:2323:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2323 | if( nfp = fdopen(2,"a") ){ | ~~~~^~~~~~~~~~~~~~~ delegated._.c:2323:12: note: place parentheses around the assignment to silence this warning 2323 | if( nfp = fdopen(2,"a") ){ | ^ | ( ) delegated._.c:2323:12: note: use '==' to turn this assignment into an equality comparison 2323 | if( nfp = fdopen(2,"a") ){ | ^ | == delegated._.c:2397:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2397 | if( hl = strstr(serverspec,":-:") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:2397:9: note: place parentheses around the assignment to silence this warning 2397 | if( hl = strstr(serverspec,":-:") ){ | ^ | ( ) delegated._.c:2397:9: note: use '==' to turn this assignment into an equality comparison 2397 | if( hl = strstr(serverspec,":-:") ){ | ^ | == delegated._.c:2408:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2408 | if( op = strstr(url,",-") ){ | ~~~^~~~~~~~~~~~~~~~~~ delegated._.c:2408:10: note: place parentheses around the assignment to silence this warning 2408 | if( op = strstr(url,",-") ){ | ^ | ( ) delegated._.c:2408:10: note: use '==' to turn this assignment into an equality comparison 2408 | if( op = strstr(url,",-") ){ | ^ | == delegated._.c:2416:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2416 | if( op = strstr(url,",-") ){ | ~~~^~~~~~~~~~~~~~~~~~ delegated._.c:2416:9: note: place parentheses around the assignment to silence this warning 2416 | if( op = strstr(url,",-") ){ | ^ | ( ) delegated._.c:2416:9: note: use '==' to turn this assignment into an equality comparison 2416 | if( op = strstr(url,",-") ){ | ^ | == delegated._.c:2431:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2431 | if( op = strstr(url,":") ){ | ~~~^~~~~~~~~~~~~~~~~ delegated._.c:2431:9: note: place parentheses around the assignment to silence this warning 2431 | if( op = strstr(url,":") ){ | ^ | ( ) delegated._.c:2431:9: note: use '==' to turn this assignment into an equality comparison 2431 | if( op = strstr(url,":") ){ | ^ | == delegated._.c:2602:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2602 | if( isorigdst = strheadstrX(svsite,ORIGDST_HOST,0) != 0 ){ | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:2602:16: note: place parentheses around the assignment to silence this warning 2602 | if( isorigdst = strheadstrX(svsite,ORIGDST_HOST,0) != 0 ){ | ^ | ( ) delegated._.c:2602:16: note: use '==' to turn this assignment into an equality comparison 2602 | if( isorigdst = strheadstrX(svsite,ORIGDST_HOST,0) != 0 ){ | ^ | == delegated._.c:2617:53: warning: '/*' within block comment [-Wcomment] 2617 | /* if SERVER=http://server then this should be "%s/*" */ | ^ delegated._.c:2632:14: warning: '/*' within block comment [-Wcomment] 2632 | /* MOUNT="/* //-/*" causes virtual hosting, | ^ delegated._.c:2632:20: warning: '/*' within block comment [-Wcomment] 2632 | /* MOUNT="/* //-/*" causes virtual hosting, | ^ delegated._.c:2642:26: warning: '/*' within block comment [-Wcomment] 2642 | set_MOUNT_ifndef(Conn,"/*","file:/-stab-/*","default"); | ^ delegated._.c:2642:43: warning: '/*' within block comment [-Wcomment] 2642 | set_MOUNT_ifndef(Conn,"/*","file:/-stab-/*","default"); | ^ delegated._.c:2788:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2788 | if( Log = LOG_which(DFLT_PROTO,filter,0) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:2788:10: note: place parentheses around the assignment to silence this warning 2788 | if( Log = LOG_which(DFLT_PROTO,filter,0) ){ | ^ | ( ) delegated._.c:2788:10: note: use '==' to turn this assignment into an equality comparison 2788 | if( Log = LOG_which(DFLT_PROTO,filter,0) ){ | ^ | == delegated._.c:2959:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2959 | if( startdir = getenv("STARTDIR") ) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ delegated._.c:2959:16: note: place parentheses around the assignment to silence this warning 2959 | if( startdir = getenv("STARTDIR") ) | ^ | ( ) delegated._.c:2959:16: note: use '==' to turn this assignment into an equality comparison 2959 | if( startdir = getenv("STARTDIR") ) | ^ | == delegated._.c:3087:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3087 | if( dp = strrpbrk(xpath,"/\\") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:3087:9: note: place parentheses around the assignment to silence this warning 3087 | if( dp = strrpbrk(xpath,"/\\") ){ | ^ | ( ) delegated._.c:3087:9: note: use '==' to turn this assignment into an equality comparison 3087 | if( dp = strrpbrk(xpath,"/\\") ){ | ^ | == delegated._.c:3116:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3116 | if( name = strrpbrk(main_argv[0],"/\\") ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:3116:12: note: place parentheses around the assignment to silence this warning 3116 | if( name = strrpbrk(main_argv[0],"/\\") ) | ^ | ( ) delegated._.c:3116:12: note: use '==' to turn this assignment into an equality comparison 3116 | if( name = strrpbrk(main_argv[0],"/\\") ) | ^ | == delegated._.c:3120:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3120 | if( np = strrchr(nameb,'.') ){ | ~~~^~~~~~~~~~~~~~~~~~~~ delegated._.c:3120:10: note: place parentheses around the assignment to silence this warning 3120 | if( np = strrchr(nameb,'.') ){ | ^ | ( ) delegated._.c:3120:10: note: use '==' to turn this assignment into an equality comparison 3120 | if( np = strrchr(nameb,'.') ){ | ^ | == delegated._.c:3182:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3182 | if( fp = fopen(conf,"r") ){ | ~~~^~~~~~~~~~~~~~~~~ delegated._.c:3182:9: note: place parentheses around the assignment to silence this warning 3182 | if( fp = fopen(conf,"r") ){ | ^ | ( ) delegated._.c:3182:9: note: use '==' to turn this assignment into an equality comparison 3182 | if( fp = fopen(conf,"r") ){ | ^ | == delegated._.c:3233:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3233 | if( fp = fopen(conf,"r") ){ | ~~~^~~~~~~~~~~~~~~~~ delegated._.c:3233:9: note: place parentheses around the assignment to silence this warning 3233 | if( fp = fopen(conf,"r") ){ | ^ | ( ) delegated._.c:3233:9: note: use '==' to turn this assignment into an equality comparison 3233 | if( fp = fopen(conf,"r") ){ | ^ | == delegated._.c:3246:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3246 | if( vp = strchr(arg,'=') ){ | ~~~^~~~~~~~~~~~~~~~~ delegated._.c:3246:11: note: place parentheses around the assignment to silence this warning 3246 | if( vp = strchr(arg,'=') ){ | ^ | ( ) delegated._.c:3246:11: note: use '==' to turn this assignment into an equality comparison 3246 | if( vp = strchr(arg,'=') ){ | ^ | == delegated._.c:3273:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3273 | if( dconf = getEnv(P_DGCONF) ) | ~~~~~~^~~~~~~~~~~~~~~~~~ delegated._.c:3273:12: note: place parentheses around the assignment to silence this warning 3273 | if( dconf = getEnv(P_DGCONF) ) | ^ | ( ) delegated._.c:3273:12: note: use '==' to turn this assignment into an equality comparison 3273 | if( dconf = getEnv(P_DGCONF) ) | ^ | == delegated._.c:3397:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3397 | for( len = 0; ec = estr[len]; len++ ){ | ~~~^~~~~~~~~~~ delegated._.c:3397:19: note: place parentheses around the assignment to silence this warning 3397 | for( len = 0; ec = estr[len]; len++ ){ | ^ | ( ) delegated._.c:3397:19: note: use '==' to turn this assignment into an equality comparison 3397 | for( len = 0; ec = estr[len]; len++ ){ | ^ | == delegated._.c:3403:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3403 | for( ei = 0; env1 = ev[ei]; ei++ ){ | ~~~~~^~~~~~~~ delegated._.c:3403:20: note: place parentheses around the assignment to silence this warning 3403 | for( ei = 0; env1 = ev[ei]; ei++ ){ | ^ | ( ) delegated._.c:3403:20: note: use '==' to turn this assignment into an equality comparison 3403 | for( ei = 0; env1 = ev[ei]; ei++ ){ | ^ | == delegated._.c:3423:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3423 | for( ei = 0; env = oenv[ei]; ei++ ){ | ~~~~^~~~~~~~~~ delegated._.c:3423:19: note: place parentheses around the assignment to silence this warning 3423 | for( ei = 0; env = oenv[ei]; ei++ ){ | ^ | ( ) delegated._.c:3423:19: note: use '==' to turn this assignment into an equality comparison 3423 | for( ei = 0; env = oenv[ei]; ei++ ){ | ^ | == delegated._.c:3429:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3429 | for( di = 0; name = direnvs[di]; di++ ){ | ~~~~~^~~~~~~~~~~~~ delegated._.c:3429:20: note: place parentheses around the assignment to silence this warning 3429 | for( di = 0; name = direnvs[di]; di++ ){ | ^ | ( ) delegated._.c:3429:20: note: use '==' to turn this assignment into an equality comparison 3429 | for( di = 0; name = direnvs[di]; di++ ){ | ^ | == delegated._.c:3432:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3432 | if( xp = putDirEnv1(AVStr(ep),name) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:3432:10: note: place parentheses around the assignment to silence this warning 3432 | if( xp = putDirEnv1(AVStr(ep),name) ){ | ^ | ( ) delegated._.c:3432:10: note: use '==' to turn this assignment into an equality comparison 3432 | if( xp = putDirEnv1(AVStr(ep),name) ){ | ^ | == delegated._.c:3459:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3459 | for( ei = 0; e1 = environ[ei]; ei++ ){ | ~~~^~~~~~~~~~~~~ delegated._.c:3459:18: note: place parentheses around the assignment to silence this warning 3459 | for( ei = 0; e1 = environ[ei]; ei++ ){ | ^ | ( ) delegated._.c:3459:18: note: use '==' to turn this assignment into an equality comparison 3459 | for( ei = 0; e1 = environ[ei]; ei++ ){ | ^ | == delegated._.c:3465:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3465 | for( ei = 0; e1 = direnv_environ[ei]; ei++ ){ | ~~~^~~~~~~~~~~~~~~~~~~~ delegated._.c:3465:18: note: place parentheses around the assignment to silence this warning 3465 | for( ei = 0; e1 = direnv_environ[ei]; ei++ ){ | ^ | ( ) delegated._.c:3465:18: note: use '==' to turn this assignment into an equality comparison 3465 | for( ei = 0; e1 = direnv_environ[ei]; ei++ ){ | ^ | == delegated._.c:3495:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3495 | if( dp = strrchr(path,':') ) | ~~~^~~~~~~~~~~~~~~~~~~ delegated._.c:3495:9: note: place parentheses around the assignment to silence this warning 3495 | if( dp = strrchr(path,':') ) | ^ | ( ) delegated._.c:3495:9: note: use '==' to turn this assignment into an equality comparison 3495 | if( dp = strrchr(path,':') ) | ^ | == delegated._.c:3524:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3524 | if( fmt = (char*)logfmtpart(logspec) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:3524:10: note: place parentheses around the assignment to silence this warning 3524 | if( fmt = (char*)logfmtpart(logspec) ){ | ^ | ( ) delegated._.c:3524:10: note: use '==' to turn this assignment into an equality comparison 3524 | if( fmt = (char*)logfmtpart(logspec) ){ | ^ | == delegated._.c:3529:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3529 | if( dp = logfmtpart(path) ) | ~~~^~~~~~~~~~~~~~~~~~ delegated._.c:3529:11: note: place parentheses around the assignment to silence this warning 3529 | if( dp = logfmtpart(path) ) | ^ | ( ) delegated._.c:3529:11: note: use '==' to turn this assignment into an equality comparison 3529 | if( dp = logfmtpart(path) ) | ^ | == delegated._.c:3676:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3676 | if( env = getEnv(P_ADMIN ) ) | ~~~~^~~~~~~~~~~~~~~~~~ delegated._.c:3676:10: note: place parentheses around the assignment to silence this warning 3676 | if( env = getEnv(P_ADMIN ) ) | ^ | ( ) delegated._.c:3676:10: note: use '==' to turn this assignment into an equality comparison 3676 | if( env = getEnv(P_ADMIN ) ) | ^ | == delegated._.c:3679:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3679 | if( env = getEnv(P_MANAGER) ){ | ~~~~^~~~~~~~~~~~~~~~~~~ delegated._.c:3679:10: note: place parentheses around the assignment to silence this warning 3679 | if( env = getEnv(P_MANAGER) ){ | ^ | ( ) delegated._.c:3679:10: note: use '==' to turn this assignment into an equality comparison 3679 | if( env = getEnv(P_MANAGER) ){ | ^ | == delegated._.c:3703:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3703 | if( env = getEnv(P_MIMECONV) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~ delegated._.c:3703:10: note: place parentheses around the assignment to silence this warning 3703 | if( env = getEnv(P_MIMECONV) ){ | ^ | ( ) delegated._.c:3703:10: note: use '==' to turn this assignment into an equality comparison 3703 | if( env = getEnv(P_MIMECONV) ){ | ^ | == delegated._.c:3729:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3729 | if( env = getEnv(P_SSLTUNNEL) ) | ~~~~^~~~~~~~~~~~~~~~~~~~~ delegated._.c:3729:10: note: place parentheses around the assignment to silence this warning 3729 | if( env = getEnv(P_SSLTUNNEL) ) | ^ | ( ) delegated._.c:3729:10: note: use '==' to turn this assignment into an equality comparison 3729 | if( env = getEnv(P_SSLTUNNEL) ) | ^ | == delegated._.c:3734:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3734 | if( env = getEnv(P_SMTPSERVER) ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~ delegated._.c:3734:10: note: place parentheses around the assignment to silence this warning 3734 | if( env = getEnv(P_SMTPSERVER) ) | ^ | ( ) delegated._.c:3734:10: note: use '==' to turn this assignment into an equality comparison 3734 | if( env = getEnv(P_SMTPSERVER) ) | ^ | == delegated._.c:3759:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3759 | if( env = getEnv(P_REMITTABLE) ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~ delegated._.c:3759:10: note: place parentheses around the assignment to silence this warning 3759 | if( env = getEnv(P_REMITTABLE) ) | ^ | ( ) delegated._.c:3759:10: note: use '==' to turn this assignment into an equality comparison 3759 | if( env = getEnv(P_REMITTABLE) ) | ^ | == delegated._.c:3767:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3767 | if( env = getEnv(P_PERMIT) ) | ~~~~^~~~~~~~~~~~~~~~~~ delegated._.c:3767:10: note: place parentheses around the assignment to silence this warning 3767 | if( env = getEnv(P_PERMIT) ) | ^ | ( ) delegated._.c:3767:10: note: use '==' to turn this assignment into an equality comparison 3767 | if( env = getEnv(P_PERMIT) ) | ^ | == delegated._.c:3791:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3791 | if( env = getEnv(P_RELAY) ) | ~~~~^~~~~~~~~~~~~~~~~ delegated._.c:3791:10: note: place parentheses around the assignment to silence this warning 3791 | if( env = getEnv(P_RELAY) ) | ^ | ( ) delegated._.c:3791:10: note: use '==' to turn this assignment into an equality comparison 3791 | if( env = getEnv(P_RELAY) ) | ^ | == delegated._.c:3814:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3814 | if( env = getEnv(P_SMTPGATE) ) | ~~~~^~~~~~~~~~~~~~~~~~~~ delegated._.c:3814:11: note: place parentheses around the assignment to silence this warning 3814 | if( env = getEnv(P_SMTPGATE) ) | ^ | ( ) delegated._.c:3814:11: note: use '==' to turn this assignment into an equality comparison 3814 | if( env = getEnv(P_SMTPGATE) ) | ^ | == delegated._.c:3819:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3819 | if( env = getEnv(P_CGIENV) ) | ~~~~^~~~~~~~~~~~~~~~~~ delegated._.c:3819:10: note: place parentheses around the assignment to silence this warning 3819 | if( env = getEnv(P_CGIENV) ) | ^ | ( ) delegated._.c:3819:10: note: use '==' to turn this assignment into an equality comparison 3819 | if( env = getEnv(P_CGIENV) ) | ^ | == delegated._.c:3822:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3822 | if( env = getEnv(P_DELAY) ) | ~~~~^~~~~~~~~~~~~~~~~ delegated._.c:3822:10: note: place parentheses around the assignment to silence this warning 3822 | if( env = getEnv(P_DELAY) ) | ^ | ( ) delegated._.c:3822:10: note: use '==' to turn this assignment into an equality comparison 3822 | if( env = getEnv(P_DELAY) ) | ^ | == delegated._.c:3872:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3872 | if( env = getEnv(P_BASEURL) ) | ~~~~^~~~~~~~~~~~~~~~~~~ delegated._.c:3872:10: note: place parentheses around the assignment to silence this warning 3872 | if( env = getEnv(P_BASEURL) ) | ^ | ( ) delegated._.c:3872:10: note: use '==' to turn this assignment into an equality comparison 3872 | if( env = getEnv(P_BASEURL) ) | ^ | == delegated._.c:3875:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3875 | if( env = getEnv(P_DELEGATE) ) | ~~~~^~~~~~~~~~~~~~~~~~~~ delegated._.c:3875:10: note: place parentheses around the assignment to silence this warning 3875 | if( env = getEnv(P_DELEGATE) ) | ^ | ( ) delegated._.c:3875:10: note: use '==' to turn this assignment into an equality comparison 3875 | if( env = getEnv(P_DELEGATE) ) | ^ | == delegated._.c:3878:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3878 | if( env = getEnv(P_OVERRIDE) ) | ~~~~^~~~~~~~~~~~~~~~~~~~ delegated._.c:3878:10: note: place parentheses around the assignment to silence this warning 3878 | if( env = getEnv(P_OVERRIDE) ) | ^ | ( ) delegated._.c:3878:10: note: use '==' to turn this assignment into an equality comparison 3878 | if( env = getEnv(P_OVERRIDE) ) | ^ | == delegated._.c:3906:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3906 | if( env = getEnv(P_LIBPATH) ) | ~~~~^~~~~~~~~~~~~~~~~~~ delegated._.c:3906:10: note: place parentheses around the assignment to silence this warning 3906 | if( env = getEnv(P_LIBPATH) ) | ^ | ( ) delegated._.c:3906:10: note: use '==' to turn this assignment into an equality comparison 3906 | if( env = getEnv(P_LIBPATH) ) | ^ | == delegated._.c:3908:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3908 | if( env = getEnv(P_DATAPATH) ) | ~~~~^~~~~~~~~~~~~~~~~~~~ delegated._.c:3908:10: note: place parentheses around the assignment to silence this warning 3908 | if( env = getEnv(P_DATAPATH) ) | ^ | ( ) delegated._.c:3908:10: note: use '==' to turn this assignment into an equality comparison 3908 | if( env = getEnv(P_DATAPATH) ) | ^ | == delegated._.c:3910:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3910 | if( env = getEnv(P_LDPATH) ) | ~~~~^~~~~~~~~~~~~~~~~~ delegated._.c:3910:10: note: place parentheses around the assignment to silence this warning 3910 | if( env = getEnv(P_LDPATH) ) | ^ | ( ) delegated._.c:3910:10: note: use '==' to turn this assignment into an equality comparison 3910 | if( env = getEnv(P_LDPATH) ) | ^ | == delegated._.c:3913:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3913 | if( env = getEnv(P_VARDIR) ) DELEGATE_VARDIR = stralloc(env); | ~~~~^~~~~~~~~~~~~~~~~~ delegated._.c:3913:10: note: place parentheses around the assignment to silence this warning 3913 | if( env = getEnv(P_VARDIR) ) DELEGATE_VARDIR = stralloc(env); | ^ | ( ) delegated._.c:3913:10: note: use '==' to turn this assignment into an equality comparison 3913 | if( env = getEnv(P_VARDIR) ) DELEGATE_VARDIR = stralloc(env); | ^ | == delegated._.c:3914:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3914 | if( env = getEnv(P_LOGFILE) ) DELEGATE_LOGFILE = stralloc(env); | ~~~~^~~~~~~~~~~~~~~~~~~ delegated._.c:3914:10: note: place parentheses around the assignment to silence this warning 3914 | if( env = getEnv(P_LOGFILE) ) DELEGATE_LOGFILE = stralloc(env); | ^ | ( ) delegated._.c:3914:10: note: use '==' to turn this assignment into an equality comparison 3914 | if( env = getEnv(P_LOGFILE) ) DELEGATE_LOGFILE = stralloc(env); | ^ | == delegated._.c:3915:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3915 | if( env = getEnv(P_ERRORLOG) ) DELEGATE_ERRORLOG = stralloc(env); | ~~~~^~~~~~~~~~~~~~~~~~~~ delegated._.c:3915:10: note: place parentheses around the assignment to silence this warning 3915 | if( env = getEnv(P_ERRORLOG) ) DELEGATE_ERRORLOG = stralloc(env); | ^ | ( ) delegated._.c:3915:10: note: use '==' to turn this assignment into an equality comparison 3915 | if( env = getEnv(P_ERRORLOG) ) DELEGATE_ERRORLOG = stralloc(env); | ^ | == delegated._.c:3916:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3916 | if( env = getEnv(P_STDOUTLOG)) DELEGATE_STDOUTLOG = stralloc(env); | ~~~~^~~~~~~~~~~~~~~~~~~~~ delegated._.c:3916:10: note: place parentheses around the assignment to silence this warning 3916 | if( env = getEnv(P_STDOUTLOG)) DELEGATE_STDOUTLOG = stralloc(env); | ^ | ( ) delegated._.c:3916:10: note: use '==' to turn this assignment into an equality comparison 3916 | if( env = getEnv(P_STDOUTLOG)) DELEGATE_STDOUTLOG = stralloc(env); | ^ | == delegated._.c:3917:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3917 | if( env = getEnv(P_TRACELOG) ) DELEGATE_TRACELOG = stralloc(env); | ~~~~^~~~~~~~~~~~~~~~~~~~ delegated._.c:3917:10: note: place parentheses around the assignment to silence this warning 3917 | if( env = getEnv(P_TRACELOG) ) DELEGATE_TRACELOG = stralloc(env); | ^ | ( ) delegated._.c:3917:10: note: use '==' to turn this assignment into an equality comparison 3917 | if( env = getEnv(P_TRACELOG) ) DELEGATE_TRACELOG = stralloc(env); | ^ | == delegated._.c:3918:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3918 | if( env = getEnv(P_PIDFILE) ) DELEGATE_PIDFILE = stralloc(env); | ~~~~^~~~~~~~~~~~~~~~~~~ delegated._.c:3918:10: note: place parentheses around the assignment to silence this warning 3918 | if( env = getEnv(P_PIDFILE) ) DELEGATE_PIDFILE = stralloc(env); | ^ | ( ) delegated._.c:3918:10: note: use '==' to turn this assignment into an equality comparison 3918 | if( env = getEnv(P_PIDFILE) ) DELEGATE_PIDFILE = stralloc(env); | ^ | == delegated._.c:3919:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3919 | if( env = getEnv(P_PROTOLOG) ){ | ~~~~^~~~~~~~~~~~~~~~~~~~ delegated._.c:3919:10: note: place parentheses around the assignment to silence this warning 3919 | if( env = getEnv(P_PROTOLOG) ){ | ^ | ( ) delegated._.c:3919:10: note: use '==' to turn this assignment into an equality comparison 3919 | if( env = getEnv(P_PROTOLOG) ){ | ^ | == delegated._.c:3925:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3925 | if( fmt = logfmtpart(logspec) ) | ~~~~^~~~~~~~~~~~~~~~~~~~~ delegated._.c:3925:12: note: place parentheses around the assignment to silence this warning 3925 | if( fmt = logfmtpart(logspec) ) | ^ | ( ) delegated._.c:3925:12: note: use '==' to turn this assignment into an equality comparison 3925 | if( fmt = logfmtpart(logspec) ) | ^ | == delegated._.c:3932:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3932 | if( env = getEnv(P_CERTDIR) ) scan_CERTDIR(Conn,env); | ~~~~^~~~~~~~~~~~~~~~~~~ delegated._.c:3932:10: note: place parentheses around the assignment to silence this warning 3932 | if( env = getEnv(P_CERTDIR) ) scan_CERTDIR(Conn,env); | ^ | ( ) delegated._.c:3932:10: note: use '==' to turn this assignment into an equality comparison 3932 | if( env = getEnv(P_CERTDIR) ) scan_CERTDIR(Conn,env); | ^ | == delegated._.c:3944:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3944 | if( env = getEnv("IMAGEDIR") ) DELEGATE_IMAGEDIR = stralloc(env); | ~~~~^~~~~~~~~~~~~~~~~~~~ delegated._.c:3944:10: note: place parentheses around the assignment to silence this warning 3944 | if( env = getEnv("IMAGEDIR") ) DELEGATE_IMAGEDIR = stralloc(env); | ^ | ( ) delegated._.c:3944:10: note: use '==' to turn this assignment into an equality comparison 3944 | if( env = getEnv("IMAGEDIR") ) DELEGATE_IMAGEDIR = stralloc(env); | ^ | == delegated._.c:3946:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3946 | if( env = getEnv(P_CACHEARC) ) scan_CACHEARC(stralloc(env)); | ~~~~^~~~~~~~~~~~~~~~~~~~ delegated._.c:3946:10: note: place parentheses around the assignment to silence this warning 3946 | if( env = getEnv(P_CACHEARC) ) scan_CACHEARC(stralloc(env)); | ^ | ( ) delegated._.c:3946:10: note: use '==' to turn this assignment into an equality comparison 3946 | if( env = getEnv(P_CACHEARC) ) scan_CACHEARC(stralloc(env)); | ^ | == delegated._.c:3947:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3947 | if( env = getEnv(P_CACHEDIR) ) scan_CACHEDIR(stralloc(env)); | ~~~~^~~~~~~~~~~~~~~~~~~~ delegated._.c:3947:10: note: place parentheses around the assignment to silence this warning 3947 | if( env = getEnv(P_CACHEDIR) ) scan_CACHEDIR(stralloc(env)); | ^ | ( ) delegated._.c:3947:10: note: use '==' to turn this assignment into an equality comparison 3947 | if( env = getEnv(P_CACHEDIR) ) scan_CACHEDIR(stralloc(env)); | ^ | == delegated._.c:3948:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3948 | if( env = getEnv(P_CACHEFILE)) scan_CACHEFILE(stralloc(env)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ delegated._.c:3948:10: note: place parentheses around the assignment to silence this warning 3948 | if( env = getEnv(P_CACHEFILE)) scan_CACHEFILE(stralloc(env)); | ^ | ( ) delegated._.c:3948:10: note: use '==' to turn this assignment into an equality comparison 3948 | if( env = getEnv(P_CACHEFILE)) scan_CACHEFILE(stralloc(env)); | ^ | == delegated._.c:3953:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3953 | if( env = getEnv(P_COUNTER) ) scan_COUNTER(Conn,env); | ~~~~^~~~~~~~~~~~~~~~~~~ delegated._.c:3953:10: note: place parentheses around the assignment to silence this warning 3953 | if( env = getEnv(P_COUNTER) ) scan_COUNTER(Conn,env); | ^ | ( ) delegated._.c:3953:10: note: use '==' to turn this assignment into an equality comparison 3953 | if( env = getEnv(P_COUNTER) ) scan_COUNTER(Conn,env); | ^ | == delegated._.c:3960:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3960 | if( env = getEnv(P_EXPIRE) ) scanEnv(Conn,P_EXPIRE,scan_EXPIRE); | ~~~~^~~~~~~~~~~~~~~~~~ delegated._.c:3960:10: note: place parentheses around the assignment to silence this warning 3960 | if( env = getEnv(P_EXPIRE) ) scanEnv(Conn,P_EXPIRE,scan_EXPIRE); | ^ | ( ) delegated._.c:3960:10: note: use '==' to turn this assignment into an equality comparison 3960 | if( env = getEnv(P_EXPIRE) ) scanEnv(Conn,P_EXPIRE,scan_EXPIRE); | ^ | == delegated._.c:4099:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4099 | if( env = getEnv("HUPENV") ){ | ~~~~^~~~~~~~~~~~~~~~~~ delegated._.c:4099:10: note: place parentheses around the assignment to silence this warning 4099 | if( env = getEnv("HUPENV") ){ | ^ | ( ) delegated._.c:4099:10: note: use '==' to turn this assignment into an equality comparison 4099 | if( env = getEnv("HUPENV") ){ | ^ | == delegated._.c:4179:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4179 | if( dp = strheadstrX(av[ai],"-Fkill-",0) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:4179:10: note: place parentheses around the assignment to silence this warning 4179 | if( dp = strheadstrX(av[ai],"-Fkill-",0) ){ | ^ | ( ) delegated._.c:4179:10: note: use '==' to turn this assignment into an equality comparison 4179 | if( dp = strheadstrX(av[ai],"-Fkill-",0) ){ | ^ | == delegated._.c:4637:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4637 | if( na = aliveServ(Conn) ){ | ~~~^~~~~~~~~~~~~~~~~ delegated._.c:4637:11: note: place parentheses around the assignment to silence this warning 4637 | if( na = aliveServ(Conn) ){ | ^ | ( ) delegated._.c:4637:11: note: use '==' to turn this assignment into an equality comparison 4637 | if( na = aliveServ(Conn) ){ | ^ | == delegated._.c:4671:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 4671 | }else{ | ^ delegated._.c:4926:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4926 | if( port = getClientHostPort(Conn,QVStr(from+4,from)) ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:4926:10: note: place parentheses around the assignment to silence this warning 4926 | if( port = getClientHostPort(Conn,QVStr(from+4,from)) ) | ^ | ( ) delegated._.c:4926:10: note: use '==' to turn this assignment into an equality comparison 4926 | if( port = getClientHostPort(Conn,QVStr(from+4,from)) ) | ^ | == delegated._.c:5115:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5115 | if( name = strrpbrk(EXEC_PATH,"/\\") ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:5115:11: note: place parentheses around the assignment to silence this warning 5115 | if( name = strrpbrk(EXEC_PATH,"/\\") ) | ^ | ( ) delegated._.c:5115:11: note: use '==' to turn this assignment into an equality comparison 5115 | if( name = strrpbrk(EXEC_PATH,"/\\") ) | ^ | == delegated._.c:5141:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5141 | if( closestdIO = frominetd || IamCGI ){ | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ delegated._.c:5141:17: note: place parentheses around the assignment to silence this warning 5141 | if( closestdIO = frominetd || IamCGI ){ | ^ | ( ) delegated._.c:5141:17: note: use '==' to turn this assignment into an equality comparison 5141 | if( closestdIO = frominetd || IamCGI ){ | ^ | == delegated._.c:5362:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5362 | if( nonexist = !File_is(apath) ){ | ~~~~~~~~~^~~~~~~~~~~~~~~~~ delegated._.c:5362:15: note: place parentheses around the assignment to silence this warning 5362 | if( nonexist = !File_is(apath) ){ | ^ | ( ) delegated._.c:5362:15: note: use '==' to turn this assignment into an equality comparison 5362 | if( nonexist = !File_is(apath) ){ | ^ | == delegated._.c:5363:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5363 | if( dp = strpbrk(apath," \t") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ delegated._.c:5363:10: note: place parentheses around the assignment to silence this warning 5363 | if( dp = strpbrk(apath," \t") ){ | ^ | ( ) delegated._.c:5363:10: note: use '==' to turn this assignment into an equality comparison 5363 | if( dp = strpbrk(apath," \t") ){ | ^ | == delegated._.c:5424:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5424 | if( dp = strrpbrk(av[ai],"/\\") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:5424:10: note: place parentheses around the assignment to silence this warning 5424 | if( dp = strrpbrk(av[ai],"/\\") ) | ^ | ( ) delegated._.c:5424:10: note: use '==' to turn this assignment into an equality comparison 5424 | if( dp = strrpbrk(av[ai],"/\\") ) | ^ | == delegated._.c:5582:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5582 | if( dgargs = getenv("DELEGATE_ARGS") ){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:5582:13: note: place parentheses around the assignment to silence this warning 5582 | if( dgargs = getenv("DELEGATE_ARGS") ){ | ^ | ( ) delegated._.c:5582:13: note: use '==' to turn this assignment into an equality comparison 5582 | if( dgargs = getenv("DELEGATE_ARGS") ){ | ^ | == delegated._.c:5619:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5619 | for( fi = 0; file = sysfiles[fi]; fi++ ){ | ~~~~~^~~~~~~~~~~~~~ delegated._.c:5619:20: note: place parentheses around the assignment to silence this warning 5619 | for( fi = 0; file = sysfiles[fi]; fi++ ){ | ^ | ( ) delegated._.c:5619:20: note: use '==' to turn this assignment into an equality comparison 5619 | for( fi = 0; file = sysfiles[fi]; fi++ ){ | ^ | == delegated._.c:5667:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5667 | if( env = getenv("PATH") ){ | ~~~~^~~~~~~~~~~~~~~~ delegated._.c:5667:10: note: place parentheses around the assignment to silence this warning 5667 | if( env = getenv("PATH") ){ | ^ | ( ) delegated._.c:5667:10: note: use '==' to turn this assignment into an equality comparison 5667 | if( env = getenv("PATH") ){ | ^ | == delegated._.c:5675:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5675 | if( dgd = strrpbrk(av[0],"/\\") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:5675:10: note: place parentheses around the assignment to silence this warning 5675 | if( dgd = strrpbrk(av[0],"/\\") ) | ^ | ( ) delegated._.c:5675:10: note: use '==' to turn this assignment into an equality comparison 5675 | if( dgd = strrpbrk(av[0],"/\\") ) | ^ | == delegated._.c:5726:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5726 | for( ei = 0; env = environ[ei]; ei++ ){ | ~~~~^~~~~~~~~~~~~ delegated._.c:5726:19: note: place parentheses around the assignment to silence this warning 5726 | for( ei = 0; env = environ[ei]; ei++ ){ | ^ | ( ) delegated._.c:5726:19: note: use '==' to turn this assignment into an equality comparison 5726 | for( ei = 0; env = environ[ei]; ei++ ){ | ^ | == delegated._.c:6147:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6147 | if( pid = Fork("SUDO") ){ | ~~~~^~~~~~~~~~~~~~ delegated._.c:6147:10: note: place parentheses around the assignment to silence this warning 6147 | if( pid = Fork("SUDO") ){ | ^ | ( ) delegated._.c:6147:10: note: use '==' to turn this assignment into an equality comparison 6147 | if( pid = Fork("SUDO") ){ | ^ | == delegated._.c:6286:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6286 | if( env = getEnv(P_RES_DEBUG) ) | ~~~~^~~~~~~~~~~~~~~~~~~~~ delegated._.c:6286:11: note: place parentheses around the assignment to silence this warning 6286 | if( env = getEnv(P_RES_DEBUG) ) | ^ | ( ) delegated._.c:6286:11: note: use '==' to turn this assignment into an equality comparison 6286 | if( env = getEnv(P_RES_DEBUG) ) | ^ | == delegated._.c:6289:15: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 6289 | RAND_TRACE = 1; | ^ ~ delegated._.c:6325:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6325 | if( root = getEnv(P_CHROOT) ){ | ~~~~~^~~~~~~~~~~~~~~~~~ delegated._.c:6325:11: note: place parentheses around the assignment to silence this warning 6325 | if( root = getEnv(P_CHROOT) ){ | ^ | ( ) delegated._.c:6325:11: note: use '==' to turn this assignment into an equality comparison 6325 | if( root = getEnv(P_CHROOT) ){ | ^ | == delegated._.c:6420:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6420 | if( fp = dirfopen(wh,AVStr(path),"r-") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:6420:10: note: place parentheses around the assignment to silence this warning 6420 | if( fp = dirfopen(wh,AVStr(path),"r-") ){ | ^ | ( ) delegated._.c:6420:10: note: use '==' to turn this assignment into an equality comparison 6420 | if( fp = dirfopen(wh,AVStr(path),"r-") ){ | ^ | == delegated._.c:6441:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6441 | if( fp = dirfopen("SoftBreak",AVStr(path),"w") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:6441:10: note: place parentheses around the assignment to silence this warning 6441 | if( fp = dirfopen("SoftBreak",AVStr(path),"w") ){ | ^ | ( ) delegated._.c:6441:10: note: use '==' to turn this assignment into an equality comparison 6441 | if( fp = dirfopen("SoftBreak",AVStr(path),"w") ){ | ^ | == delegated._.c:6467:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6467 | for( np = name; nc = (unsigned char)*np; np++ ){ | ~~~^~~~~~~~~~~~~~~~~~~~ delegated._.c:6467:21: note: place parentheses around the assignment to silence this warning 6467 | for( np = name; nc = (unsigned char)*np; np++ ){ | ^ | ( ) delegated._.c:6467:21: note: use '==' to turn this assignment into an equality comparison 6467 | for( np = name; nc = (unsigned char)*np; np++ ){ | ^ | == delegated._.c:6517:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6517 | if( fp = dirfopen("getConfig",AVStr(path),"r") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:6517:9: note: place parentheses around the assignment to silence this warning 6517 | if( fp = dirfopen("getConfig",AVStr(path),"r") ){ | ^ | ( ) delegated._.c:6517:9: note: use '==' to turn this assignment into an equality comparison 6517 | if( fp = dirfopen("getConfig",AVStr(path),"r") ){ | ^ | == delegated._.c:6527:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6527 | if( fp = dirfopen("putConfig",AVStr(path),mode) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:6527:9: note: place parentheses around the assignment to silence this warning 6527 | if( fp = dirfopen("putConfig",AVStr(path),mode) ){ | ^ | ( ) delegated._.c:6527:9: note: use '==' to turn this assignment into an equality comparison 6527 | if( fp = dirfopen("putConfig",AVStr(path),mode) ){ | ^ | == delegated._.c:6561:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6561 | if( fp = dirfopen("DGHTML",AVStr(path),"w") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:6561:10: note: place parentheses around the assignment to silence this warning 6561 | if( fp = dirfopen("DGHTML",AVStr(path),"w") ){ | ^ | ( ) delegated._.c:6561:10: note: use '==' to turn this assignment into an equality comparison 6561 | if( fp = dirfopen("DGHTML",AVStr(path),"w") ){ | ^ | == delegated._.c:6622:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6622 | if( env = getv(av,"_isService") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:6622:10: note: place parentheses around the assignment to silence this warning 6622 | if( env = getv(av,"_isService") ){ | ^ | ( ) delegated._.c:6622:10: note: use '==' to turn this assignment into an equality comparison 6622 | if( env = getv(av,"_isService") ){ | ^ | == delegated._.c:6631:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6631 | if( env = getEnv("_ServerPid") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~ delegated._.c:6631:10: note: place parentheses around the assignment to silence this warning 6631 | if( env = getEnv("_ServerPid") ){ | ^ | ( ) delegated._.c:6631:10: note: use '==' to turn this assignment into an equality comparison 6631 | if( env = getEnv("_ServerPid") ){ | ^ | == delegated._.c:6704:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6704 | if( name = strrpbrk(EXEC_PATH,"/\\") ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:6704:11: note: place parentheses around the assignment to silence this warning 6704 | if( name = strrpbrk(EXEC_PATH,"/\\") ) | ^ | ( ) delegated._.c:6704:11: note: use '==' to turn this assignment into an equality comparison 6704 | if( name = strrpbrk(EXEC_PATH,"/\\") ) | ^ | == delegated._.c:6709:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6709 | if( func = getEnvBin(P_FUNC) ){ | ~~~~~^~~~~~~~~~~~~~~~~~~ delegated._.c:6709:11: note: place parentheses around the assignment to silence this warning 6709 | if( func = getEnvBin(P_FUNC) ){ | ^ | ( ) delegated._.c:6709:11: note: use '==' to turn this assignment into an equality comparison 6709 | if( func = getEnvBin(P_FUNC) ){ | ^ | == delegated._.c:6758:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6758 | if( env = getEnv(P_DGPATH) ) | ~~~~^~~~~~~~~~~~~~~~~~ delegated._.c:6758:11: note: place parentheses around the assignment to silence this warning 6758 | if( env = getEnv(P_DGPATH) ) | ^ | ( ) delegated._.c:6758:11: note: use '==' to turn this assignment into an equality comparison 6758 | if( env = getEnv(P_DGPATH) ) | ^ | == delegated._.c:6788:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6788 | if( env = getEnv(P_DGPATH) ) | ~~~~^~~~~~~~~~~~~~~~~~ delegated._.c:6788:11: note: place parentheses around the assignment to silence this warning 6788 | if( env = getEnv(P_DGPATH) ) | ^ | ( ) delegated._.c:6788:11: note: use '==' to turn this assignment into an equality comparison 6788 | if( env = getEnv(P_DGPATH) ) | ^ | == delegated._.c:6815:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6815 | if( env = getEnv(P_DGPATH) ) | ~~~~^~~~~~~~~~~~~~~~~~ delegated._.c:6815:11: note: place parentheses around the assignment to silence this warning 6815 | if( env = getEnv(P_DGPATH) ) | ^ | ( ) delegated._.c:6815:11: note: use '==' to turn this assignment into an equality comparison 6815 | if( env = getEnv(P_DGPATH) ) | ^ | == delegated._.c:6868:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6868 | if( env = getEnv(P_INPARAM) ) | ~~~~^~~~~~~~~~~~~~~~~~~ delegated._.c:6868:12: note: place parentheses around the assignment to silence this warning 6868 | if( env = getEnv(P_INPARAM) ) | ^ | ( ) delegated._.c:6868:12: note: use '==' to turn this assignment into an equality comparison 6868 | if( env = getEnv(P_INPARAM) ) | ^ | == delegated._.c:6985:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6985 | if( fp = fopenInitLog(get_svname(),mode) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:6985:10: note: place parentheses around the assignment to silence this warning 6985 | if( fp = fopenInitLog(get_svname(),mode) ){ | ^ | ( ) delegated._.c:6985:10: note: use '==' to turn this assignment into an equality comparison 6985 | if( fp = fopenInitLog(get_svname(),mode) ){ | ^ | == delegated._.c:7014:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 7014 | if( env = getEnv(P_TIMEOUT)) scanEnv(Conn,P_TIMEOUT,scan_TIMEOUT); | ~~~~^~~~~~~~~~~~~~~~~~~ delegated._.c:7014:10: note: place parentheses around the assignment to silence this warning 7014 | if( env = getEnv(P_TIMEOUT)) scanEnv(Conn,P_TIMEOUT,scan_TIMEOUT); | ^ | ( ) delegated._.c:7014:10: note: use '==' to turn this assignment into an equality comparison 7014 | if( env = getEnv(P_TIMEOUT)) scanEnv(Conn,P_TIMEOUT,scan_TIMEOUT); | ^ | == delegated._.c:7015:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 7015 | if( env = getEnv(P_MAXIMA)) scanEnv(Conn,P_MAXIMA,scan_MAXIMA); | ~~~~^~~~~~~~~~~~~~~~~~ delegated._.c:7015:10: note: place parentheses around the assignment to silence this warning 7015 | if( env = getEnv(P_MAXIMA)) scanEnv(Conn,P_MAXIMA,scan_MAXIMA); | ^ | ( ) delegated._.c:7015:10: note: use '==' to turn this assignment into an equality comparison 7015 | if( env = getEnv(P_MAXIMA)) scanEnv(Conn,P_MAXIMA,scan_MAXIMA); | ^ | == delegated._.c:7060:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 7060 | if( env = getEnv(P_LOGCENTER) ) | ~~~~^~~~~~~~~~~~~~~~~~~~~ delegated._.c:7060:10: note: place parentheses around the assignment to silence this warning 7060 | if( env = getEnv(P_LOGCENTER) ) | ^ | ( ) delegated._.c:7060:10: note: use '==' to turn this assignment into an equality comparison 7060 | if( env = getEnv(P_LOGCENTER) ) | ^ | == delegated._.c:7191:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 7191 | if( env = getEnv("LINGER") ) DELEGATE_LINGER = atoi(env); | ~~~~^~~~~~~~~~~~~~~~~~ delegated._.c:7191:10: note: place parentheses around the assignment to silence this warning 7191 | if( env = getEnv("LINGER") ) DELEGATE_LINGER = atoi(env); | ^ | ( ) delegated._.c:7191:10: note: use '==' to turn this assignment into an equality comparison 7191 | if( env = getEnv("LINGER") ) DELEGATE_LINGER = atoi(env); | ^ | == delegated._.c:7198:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 7198 | if( env = getEnv(P_TUNNEL) ){ | ~~~~^~~~~~~~~~~~~~~~~~ delegated._.c:7198:10: note: place parentheses around the assignment to silence this warning 7198 | if( env = getEnv(P_TUNNEL) ){ | ^ | ( ) delegated._.c:7198:10: note: use '==' to turn this assignment into an equality comparison 7198 | if( env = getEnv(P_TUNNEL) ){ | ^ | == delegated._.c:7214:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 7214 | if( env = getEnv("_masterp") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~ delegated._.c:7214:11: note: place parentheses around the assignment to silence this warning 7214 | if( env = getEnv("_masterp") ){ | ^ | ( ) delegated._.c:7214:11: note: use '==' to turn this assignment into an equality comparison 7214 | if( env = getEnv("_masterp") ){ | ^ | == delegated._.c:7217:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 7217 | if( env = getEnv(P_MASTERP) ){ | ~~~~^~~~~~~~~~~~~~~~~~~ delegated._.c:7217:11: note: place parentheses around the assignment to silence this warning 7217 | if( env = getEnv(P_MASTERP) ){ | ^ | ( ) delegated._.c:7217:11: note: use '==' to turn this assignment into an equality comparison 7217 | if( env = getEnv(P_MASTERP) ){ | ^ | == delegated._.c:7240:25: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] 7240 | int openLocalServPorts(); | ^~ delegated._.c:7240:25: note: replace parentheses with an initializer to declare a variable 7240 | int openLocalServPorts(); | ^~ | = 0 delegated._.c:7561:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 7561 | if( logMMap = filemmap("","w+",0,sizeof(LogControls)) ){ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:7561:14: note: place parentheses around the assignment to silence this warning 7561 | if( logMMap = filemmap("","w+",0,sizeof(LogControls)) ){ | ^ | ( ) delegated._.c:7561:14: note: use '==' to turn this assignment into an equality comparison 7561 | if( logMMap = filemmap("","w+",0,sizeof(LogControls)) ){ | ^ | == delegated._.c:7998:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 7998 | if( ndead = cleanup_zombis(0) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~ delegated._.c:7998:13: note: place parentheses around the assignment to silence this warning 7998 | if( ndead = cleanup_zombis(0) ){ | ^ | ( ) delegated._.c:7998:13: note: use '==' to turn this assignment into an equality comparison 7998 | if( ndead = cleanup_zombis(0) ){ | ^ | == delegated._.c:8029:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 8029 | if( pid = ForkX("SequentialServer",xproc) ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:8029:10: note: place parentheses around the assignment to silence this warning 8029 | if( pid = ForkX("SequentialServer",xproc) ) | ^ | ( ) delegated._.c:8029:10: note: use '==' to turn this assignment into an equality comparison 8029 | if( pid = ForkX("SequentialServer",xproc) ) | ^ | == delegated._.c:8136:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 8136 | if( pid = ForkX("OnetimeServer",xproc) ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:8136:10: note: place parentheses around the assignment to silence this warning 8136 | if( pid = ForkX("OnetimeServer",xproc) ) | ^ | ( ) delegated._.c:8136:10: note: use '==' to turn this assignment into an equality comparison 8136 | if( pid = ForkX("OnetimeServer",xproc) ) | ^ | == delegated._.c:8182:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 8182 | if( ep = strrpbrk(eb,"/\\") ){ | ~~~^~~~~~~~~~~~~~~~~~~~ delegated._.c:8182:10: note: place parentheses around the assignment to silence this warning 8182 | if( ep = strrpbrk(eb,"/\\") ){ | ^ | ( ) delegated._.c:8182:10: note: use '==' to turn this assignment into an equality comparison 8182 | if( ep = strrpbrk(eb,"/\\") ){ | ^ | == delegated._.c:8273:24: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] 8273 | const char *myExePath(); | ^~ delegated._.c:8273:24: note: replace parentheses with an initializer to declare a variable 8273 | const char *myExePath(); | ^~ | = NULL delegated._.c:8276:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 8276 | if( env = getEnv(P_EXEC_PATH) ) | ~~~~^~~~~~~~~~~~~~~~~~~~~ delegated._.c:8276:10: note: place parentheses around the assignment to silence this warning 8276 | if( env = getEnv(P_EXEC_PATH) ) | ^ | ( ) delegated._.c:8276:10: note: use '==' to turn this assignment into an equality comparison 8276 | if( env = getEnv(P_EXEC_PATH) ) | ^ | == delegated._.c:8280:24: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] 8280 | const char *myExePath(); | ^~ delegated._.c:8280:24: note: replace parentheses with an initializer to declare a variable 8280 | const char *myExePath(); | ^~ | = NULL delegated._.c:8328:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 8328 | if( pid = Fork("FilterTrace") ){ | ~~~~^~~~~~~~~~~~~~~~~~~~~ delegated._.c:8328:11: note: place parentheses around the assignment to silence this warning 8328 | if( pid = Fork("FilterTrace") ){ | ^ | ( ) delegated._.c:8328:11: note: use '==' to turn this assignment into an equality comparison 8328 | if( pid = Fork("FilterTrace") ){ | ^ | == delegated._.c:8388:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 8388 | if( ndead = cleanup_zombis(1) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~ delegated._.c:8388:12: note: place parentheses around the assignment to silence this warning 8388 | if( ndead = cleanup_zombis(1) ) | ^ | ( ) delegated._.c:8388:12: note: use '==' to turn this assignment into an equality comparison 8388 | if( ndead = cleanup_zombis(1) ) | ^ | == delegated._.c:8424:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 8424 | if( ndead = cleanup_zombis(1) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~ delegated._.c:8424:12: note: place parentheses around the assignment to silence this warning 8424 | if( ndead = cleanup_zombis(1) ) | ^ | ( ) delegated._.c:8424:12: note: use '==' to turn this assignment into an equality comparison 8424 | if( ndead = cleanup_zombis(1) ) | ^ | == delegated._.c:8479:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 8479 | if( ndone = StickyDone - lastdoneN ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:8479:12: note: place parentheses around the assignment to silence this warning 8479 | if( ndone = StickyDone - lastdoneN ){ | ^ | ( ) delegated._.c:8479:12: note: use '==' to turn this assignment into an equality comparison 8479 | if( ndone = StickyDone - lastdoneN ){ | ^ | == delegated._.c:8484:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 8484 | if( nserved = StickyNserved - lastserveN ){ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:8484:14: note: place parentheses around the assignment to silence this warning 8484 | if( nserved = StickyNserved - lastserveN ){ | ^ | ( ) delegated._.c:8484:14: note: use '==' to turn this assignment into an equality comparison 8484 | if( nserved = StickyNserved - lastserveN ){ | ^ | == delegated._.c:8495:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 8495 | if( idle = getStickyIdle("lo1",shlock) ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:8495:12: note: place parentheses around the assignment to silence this warning 8495 | if( idle = getStickyIdle("lo1",shlock) ) | ^ | ( ) delegated._.c:8495:12: note: use '==' to turn this assignment into an equality comparison 8495 | if( idle = getStickyIdle("lo1",shlock) ) | ^ | == delegated._.c:9089:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 9089 | if( to = strstr(opts,"expire/") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:9089:9: note: place parentheses around the assignment to silence this warning 9089 | if( to = strstr(opts,"expire/") ){ | ^ | ( ) delegated._.c:9089:9: note: use '==' to turn this assignment into an equality comparison 9089 | if( to = strstr(opts,"expire/") ){ | ^ | == delegated._.c:9339:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 9339 | if( sport = clSock->_clif._portProto ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:9339:12: note: place parentheses around the assignment to silence this warning 9339 | if( sport = clSock->_clif._portProto ){ | ^ | ( ) delegated._.c:9339:12: note: use '==' to turn this assignment into an equality comparison 9339 | if( sport = clSock->_clif._portProto ){ | ^ | == delegated._.c:9340:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 9340 | if( sname = servicename(sport,0) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ delegated._.c:9340:13: note: place parentheses around the assignment to silence this warning 9340 | if( sname = servicename(sport,0) ){ | ^ | ( ) delegated._.c:9340:13: note: use '==' to turn this assignment into an equality comparison 9340 | if( sname = servicename(sport,0) ){ | ^ | == delegated._.c:9735:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 9735 | if( logaddr = setmmap(logmmap,0,sizeof(LogControls)) ){ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:9735:15: note: place parentheses around the assignment to silence this warning 9735 | if( logaddr = setmmap(logmmap,0,sizeof(LogControls)) ){ | ^ | ( ) delegated._.c:9735:15: note: use '==' to turn this assignment into an equality comparison 9735 | if( logaddr = setmmap(logmmap,0,sizeof(LogControls)) ){ | ^ | == delegated._.c:9809:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 9809 | if( env = getEnv(P_EXEC_ENV) ) | ~~~~^~~~~~~~~~~~~~~~~~~~ delegated._.c:9809:11: note: place parentheses around the assignment to silence this warning 9809 | if( env = getEnv(P_EXEC_ENV) ) | ^ | ( ) delegated._.c:9809:11: note: use '==' to turn this assignment into an equality comparison 9809 | if( env = getEnv(P_EXEC_ENV) ) | ^ | == delegated._.c:9835:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 9835 | if( env = getEnv(P_EXEC_PATH) ) strcpy(EXEC_PATH,env); | ~~~~^~~~~~~~~~~~~~~~~~~~~ delegated._.c:9835:10: note: place parentheses around the assignment to silence this warning 9835 | if( env = getEnv(P_EXEC_PATH) ) strcpy(EXEC_PATH,env); | ^ | ( ) delegated._.c:9835:10: note: use '==' to turn this assignment into an equality comparison 9835 | if( env = getEnv(P_EXEC_PATH) ) strcpy(EXEC_PATH,env); | ^ | == delegated._.c:9836:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 9836 | if( env = getEnv(P_START_TIME) ) START_TIME = atoi(env); | ~~~~^~~~~~~~~~~~~~~~~~~~~~ delegated._.c:9836:10: note: place parentheses around the assignment to silence this warning 9836 | if( env = getEnv(P_START_TIME) ) START_TIME = atoi(env); | ^ | ( ) delegated._.c:9836:10: note: use '==' to turn this assignment into an equality comparison 9836 | if( env = getEnv(P_START_TIME) ) START_TIME = atoi(env); | ^ | == delegated._.c:9837:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 9837 | if( env = getEnv(P_ALIVE_PEERS)) NUM_CHILDREN = atoi(env); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:9837:10: note: place parentheses around the assignment to silence this warning 9837 | if( env = getEnv(P_ALIVE_PEERS)) NUM_CHILDREN = atoi(env); | ^ | ( ) delegated._.c:9837:10: note: use '==' to turn this assignment into an equality comparison 9837 | if( env = getEnv(P_ALIVE_PEERS)) NUM_CHILDREN = atoi(env); | ^ | == delegated._.c:9909:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 9909 | if( fp = dirfopen("WORKFILE",AVStr(pid),"w") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:9909:10: note: place parentheses around the assignment to silence this warning 9909 | if( fp = dirfopen("WORKFILE",AVStr(pid),"w") ) | ^ | ( ) delegated._.c:9909:10: note: use '==' to turn this assignment into an equality comparison 9909 | if( fp = dirfopen("WORKFILE",AVStr(pid),"w") ) | ^ | == delegated._.c:9945:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 9945 | for( tx = 0; workfile = workFiles[tx]; tx++ ){ | ~~~~~~~~~^~~~~~~~~~~~~~~ delegated._.c:9945:24: note: place parentheses around the assignment to silence this warning 9945 | for( tx = 0; workfile = workFiles[tx]; tx++ ){ | ^ | ( ) delegated._.c:9945:24: note: use '==' to turn this assignment into an equality comparison 9945 | for( tx = 0; workfile = workFiles[tx]; tx++ ){ | ^ | == delegated._.c:9946:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 9946 | if( dp = strrpbrk(workfile,"/\\") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:9946:10: note: place parentheses around the assignment to silence this warning 9946 | if( dp = strrpbrk(workfile,"/\\") ) | ^ | ( ) delegated._.c:9946:10: note: use '==' to turn this assignment into an equality comparison 9946 | if( dp = strrpbrk(workfile,"/\\") ) | ^ | == delegated._.c:9958:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 9958 | if( file = getEnv("STATFILE") ) | ~~~~~^~~~~~~~~~~~~~~~~~~~ delegated._.c:9958:11: note: place parentheses around the assignment to silence this warning 9958 | if( file = getEnv("STATFILE") ) | ^ | ( ) delegated._.c:9958:11: note: use '==' to turn this assignment into an equality comparison 9958 | if( file = getEnv("STATFILE") ) | ^ | == delegated._.c:9959:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 9959 | if( fp = openStatusFile(file) ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ delegated._.c:9959:9: note: place parentheses around the assignment to silence this warning 9959 | if( fp = openStatusFile(file) ){ | ^ | ( ) delegated._.c:9959:9: note: use '==' to turn this assignment into an equality comparison 9959 | if( fp = openStatusFile(file) ){ | ^ | == delegated._.c:9971:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 9971 | if( pxaddr = gethostaddr(pxhost) ) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~ delegated._.c:9971:13: note: place parentheses around the assignment to silence this warning 9971 | if( pxaddr = gethostaddr(pxhost) ) | ^ | ( ) delegated._.c:9971:13: note: use '==' to turn this assignment into an equality comparison 9971 | if( pxaddr = gethostaddr(pxhost) ) | ^ | == delegated._.c:10011:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 10011 | if( cachefp = fopen(cachepath,"r+") ){ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:10011:15: note: place parentheses around the assignment to silence this warning 10011 | if( cachefp = fopen(cachepath,"r+") ){ | ^ | ( ) delegated._.c:10011:15: note: use '==' to turn this assignment into an equality comparison 10011 | if( cachefp = fopen(cachepath,"r+") ){ | ^ | == delegated._.c:10054:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 10054 | if( cachefp = dirfopen("X-Proxy",AVStr(cachepath),"w") ){ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:10054:15: note: place parentheses around the assignment to silence this warning 10054 | if( cachefp = dirfopen("X-Proxy",AVStr(cachepath),"w") ){ | ^ | ( ) delegated._.c:10054:15: note: use '==' to turn this assignment into an equality comparison 10054 | if( cachefp = dirfopen("X-Proxy",AVStr(cachepath),"w") ){ | ^ | == delegated._.c:10096:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 10096 | if( env = getEnv(P_CONNECT) ){ | ~~~~^~~~~~~~~~~~~~~~~~~ delegated._.c:10096:10: note: place parentheses around the assignment to silence this warning 10096 | if( env = getEnv(P_CONNECT) ){ | ^ | ( ) delegated._.c:10096:10: note: use '==' to turn this assignment into an equality comparison 10096 | if( env = getEnv(P_CONNECT) ){ | ^ | == delegated._.c:10118:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 10118 | if( env = getEnv(P_VARDIR) ){ | ~~~~^~~~~~~~~~~~~~~~~~ delegated._.c:10118:10: note: place parentheses around the assignment to silence this warning 10118 | if( env = getEnv(P_VARDIR) ){ | ^ | ( ) delegated._.c:10118:10: note: use '==' to turn this assignment into an equality comparison 10118 | if( env = getEnv(P_VARDIR) ){ | ^ | == delegated._.c:10122:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 10122 | if( env = getEnv(P_LOGDIR) ){ | ~~~~^~~~~~~~~~~~~~~~~~ delegated._.c:10122:10: note: place parentheses around the assignment to silence this warning 10122 | if( env = getEnv(P_LOGDIR) ){ | ^ | ( ) delegated._.c:10122:10: note: use '==' to turn this assignment into an equality comparison 10122 | if( env = getEnv(P_LOGDIR) ){ | ^ | == delegated._.c:10126:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 10126 | if( env = getEnv(P_LOGFILE) ){ | ~~~~^~~~~~~~~~~~~~~~~~~ delegated._.c:10126:10: note: place parentheses around the assignment to silence this warning 10126 | if( env = getEnv(P_LOGFILE) ){ | ^ | ( ) delegated._.c:10126:10: note: use '==' to turn this assignment into an equality comparison 10126 | if( env = getEnv(P_LOGFILE) ){ | ^ | == delegated._.c:10193:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 10193 | if( pid = fork() ) | ~~~~^~~~~~~~ delegated._.c:10193:11: note: place parentheses around the assignment to silence this warning 10193 | if( pid = fork() ) | ^ | ( ) delegated._.c:10193:11: note: use '==' to turn this assignment into an equality comparison 10193 | if( pid = fork() ) | ^ | == delegated._.c:10463:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 10463 | for( ei = 0; e1 = environ[ei]; ei++ ){ | ~~~^~~~~~~~~~~~~ delegated._.c:10463:18: note: place parentheses around the assignment to silence this warning 10463 | for( ei = 0; e1 = environ[ei]; ei++ ){ | ^ | ( ) delegated._.c:10463:18: note: use '==' to turn this assignment into an equality comparison 10463 | for( ei = 0; e1 = environ[ei]; ei++ ){ | ^ | == delegated._.c:10501:15: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 10501 | RAND_TRACE = 1; | ^ ~ delegated._.c:10537:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 10537 | if( mask = sigblock(0) ){ | ~~~~~^~~~~~~~~~~~~ delegated._.c:10537:12: note: place parentheses around the assignment to silence this warning 10537 | if( mask = sigblock(0) ){ | ^ | ( ) delegated._.c:10537:12: note: use '==' to turn this assignment into an equality comparison 10537 | if( mask = sigblock(0) ){ | ^ | == 161 warnings generated. ../mkcpp commands.c commands._.c -- mkcpp set time: 1773311979 -> 1300499075 commands._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c commands._.c -o commands.o commands._.c:279:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 279 | for( fi = 0; name = subfuncs[fi].f_name; fi++ ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~ commands._.c:279:20: note: place parentheses around the assignment to silence this warning 279 | for( fi = 0; name = subfuncs[fi].f_name; fi++ ) | ^ | ( ) commands._.c:279:20: note: use '==' to turn this assignment into an equality comparison 279 | for( fi = 0; name = subfuncs[fi].f_name; fi++ ) | ^ | == commands._.c:289:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 289 | if( dp = strrpbrk(name,"\\/") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ commands._.c:289:9: note: place parentheses around the assignment to silence this warning 289 | if( dp = strrpbrk(name,"\\/") ) | ^ | ( ) commands._.c:289:9: note: use '==' to turn this assignment into an equality comparison 289 | if( dp = strrpbrk(name,"\\/") ) | ^ | == commands._.c:291:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 291 | if( dp = strtailstrX(name,".exe",1) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ commands._.c:291:9: note: place parentheses around the assignment to silence this warning 291 | if( dp = strtailstrX(name,".exe",1) ) | ^ | ( ) commands._.c:291:9: note: use '==' to turn this assignment into an equality comparison 291 | if( dp = strtailstrX(name,".exe",1) ) | ^ | == commands._.c:293:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 293 | for( fi = 0; n1 = subfuncs[fi].f_name; fi++ ){ | ~~~^~~~~~~~~~~~~~~~~~~~~ commands._.c:293:18: note: place parentheses around the assignment to silence this warning 293 | for( fi = 0; n1 = subfuncs[fi].f_name; fi++ ){ | ^ | ( ) commands._.c:293:18: note: use '==' to turn this assignment into an equality comparison 293 | for( fi = 0; n1 = subfuncs[fi].f_name; fi++ ){ | ^ | == commands._.c:320:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 320 | if( fi = asFunc(func) ){ | ~~~^~~~~~~~~~~~~~ commands._.c:320:10: note: place parentheses around the assignment to silence this warning 320 | if( fi = asFunc(func) ){ | ^ | ( ) commands._.c:320:10: note: use '==' to turn this assignment into an equality comparison 320 | if( fi = asFunc(func) ){ | ^ | == commands._.c:332:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 332 | if( fi = asFunc(func) ) | ~~~^~~~~~~~~~~~~~ commands._.c:332:9: note: place parentheses around the assignment to silence this warning 332 | if( fi = asFunc(func) ) | ^ | ( ) commands._.c:332:9: note: use '==' to turn this assignment into an equality comparison 332 | if( fi = asFunc(func) ) | ^ | == commands._.c:396:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 396 | if( fp = fopen(kfile,"w") ){ | ~~~^~~~~~~~~~~~~~~~~~ commands._.c:396:9: note: place parentheses around the assignment to silence this warning 396 | if( fp = fopen(kfile,"w") ){ | ^ | ( ) commands._.c:396:9: note: use '==' to turn this assignment into an equality comparison 396 | if( fp = fopen(kfile,"w") ){ | ^ | == commands._.c:403:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 403 | if( pp = popen(command,"w") ){ | ~~~^~~~~~~~~~~~~~~~~~~~ commands._.c:403:9: note: place parentheses around the assignment to silence this warning 403 | if( pp = popen(command,"w") ){ | ^ | ( ) commands._.c:403:9: note: use '==' to turn this assignment into an equality comparison 403 | if( pp = popen(command,"w") ){ | ^ | == commands._.c:414:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 414 | for( fi = 0; fname = subfuncs[fi].f_name; fi++ ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ commands._.c:414:21: note: place parentheses around the assignment to silence this warning 414 | for( fi = 0; fname = subfuncs[fi].f_name; fi++ ) | ^ | ( ) commands._.c:414:21: note: use '==' to turn this assignment into an equality comparison 414 | for( fi = 0; fname = subfuncs[fi].f_name; fi++ ) | ^ | == commands._.c:519:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 519 | for( fi = 0; fname = subfuncs[fi].f_name; fi++ ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ commands._.c:519:21: note: place parentheses around the assignment to silence this warning 519 | for( fi = 0; fname = subfuncs[fi].f_name; fi++ ){ | ^ | ( ) commands._.c:519:21: note: use '==' to turn this assignment into an equality comparison 519 | for( fi = 0; fname = subfuncs[fi].f_name; fi++ ){ | ^ | == 10 warnings generated. ../mkcpp croncom.c croncom._.c -- mkcpp set time: 1773311980 -> 1275177909 croncom._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c croncom._.c -o croncom.o croncom._.c:156:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 156 | if( env = DELEGATE_getEnv(P_EXPIRE) ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ croncom._.c:156:11: note: place parentheses around the assignment to silence this warning 156 | if( env = DELEGATE_getEnv(P_EXPIRE) ) | ^ | ( ) croncom._.c:156:11: note: use '==' to turn this assignment into an equality comparison 156 | if( env = DELEGATE_getEnv(P_EXPIRE) ) | ^ | == 1 warning generated. ../mkcpp remote.c remote._.c -- mkcpp set time: 1773311982 -> 1252611708 remote._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c remote._.c -o remote.o ../mkcpp inets_lib.c inets_lib._.c -- mkcpp set time: 1773311982 -> 1250403944 inets_lib._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c inets_lib._.c -o inets_lib.o In file included from inets_lib._.c:2: ./inets.c:318:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 318 | if( hp = gethostbyname(host) ) | ~~~^~~~~~~~~~~~~~~~~~~~~ ./inets.c:318:9: note: place parentheses around the assignment to silence this warning 318 | if( hp = gethostbyname(host) ) | ^ | ( ) ./inets.c:318:9: note: use '==' to turn this assignment into an equality comparison 318 | if( hp = gethostbyname(host) ) | ^ | == 1 warning generated. ../mkcpp smtp_lib.c smtp_lib._.c -- mkcpp set time: 1773311983 -> 1258854713 smtp_lib._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c smtp_lib._.c -o smtp_lib.o smtp_lib._.c:387:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 387 | if( np = strstr(rbuf,"] ") ){ /* Timestamp */ | ~~~^~~~~~~~~~~~~~~~~~~ smtp_lib._.c:387:10: note: place parentheses around the assignment to silence this warning 387 | if( np = strstr(rbuf,"] ") ){ /* Timestamp */ | ^ | ( ) smtp_lib._.c:387:10: note: use '==' to turn this assignment into an equality comparison 387 | if( np = strstr(rbuf,"] ") ){ /* Timestamp */ | ^ | == smtp_lib._.c:522:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 522 | if( dp = strrchr(tob,'%') ) | ~~~^~~~~~~~~~~~~~~~~~ smtp_lib._.c:522:9: note: place parentheses around the assignment to silence this warning 522 | if( dp = strrchr(tob,'%') ) | ^ | ( ) smtp_lib._.c:522:9: note: use '==' to turn this assignment into an equality comparison 522 | if( dp = strrchr(tob,'%') ) | ^ | == smtp_lib._.c:523:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 523 | if( op = strchr(dp,'@') ){ | ~~~^~~~~~~~~~~~~~~~ smtp_lib._.c:523:9: note: place parentheses around the assignment to silence this warning 523 | if( op = strchr(dp,'@') ){ | ^ | ( ) smtp_lib._.c:523:9: note: use '==' to turn this assignment into an equality comparison 523 | if( op = strchr(dp,'@') ){ | ^ | == smtp_lib._.c:599:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 599 | if( np = strchr(sp,'\n') ) | ~~~^~~~~~~~~~~~~~~~~ smtp_lib._.c:599:10: note: place parentheses around the assignment to silence this warning 599 | if( np = strchr(sp,'\n') ) | ^ | ( ) smtp_lib._.c:599:10: note: use '==' to turn this assignment into an equality comparison 599 | if( np = strchr(sp,'\n') ) | ^ | == smtp_lib._.c:844:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 844 | if( ep = strpbrk(line,"\r\n") ) | ~~~^~~~~~~~~~~~~~~~~~~~~~ smtp_lib._.c:844:11: note: place parentheses around the assignment to silence this warning 844 | if( ep = strpbrk(line,"\r\n") ) | ^ | ( ) smtp_lib._.c:844:11: note: use '==' to turn this assignment into an equality comparison 844 | if( ep = strpbrk(line,"\r\n") ) | ^ | == 5 warnings generated. rm -f ../lib/libnety.a ar cr ../lib/libnety.a inets_lib.o smtp_lib.o /usr/bin/ranlib ../lib/libnety.a "/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe" -randtext ../include/randtext.c ./embed -IMPSIZE=10000 > _builtin.c "../COPYRIGHT" "builtin/**/*.gif" "builtin/**/*.ico" "builtin/**/*.bmp" "builtin/**/*.dll" "builtin/**/*.dhtml" "builtin/**/*.pem" "builtin/**/*.cnf" "builtin/**/*.cnv" "builtin/config/smtpgate/**/conf" embed: R=44 r=98 L=296 f=209 cc -L../lib -o dg.exe builtin.o delegated.o commands.o croncom.o remote.o ../lib/libdelegate.a ../lib/libresolvy.a ../lib/libteleport.a ../lib/libmd5.a ../lib/libcfi.a ../lib/library.a ../lib/libgates.a ../lib/libmimekit.a ../lib/libfsx.a -ldl -lutil -lpthread -lpam -lstdc++ -lc ../lib/libregex.a ../lib/libsubst.a -ldl -lutil -lpthread -lpam -lstdc++ ################ ./dg.exe -Fver DGROOT=/wrkdirs/usr/ports/net/delegate/work DGROOT=/wrkdirs/usr/ports/net/delegate/work -- DeleGate/9.9.13 (October 31, 2014) AIST-Product-ID: 2000-ETL-198715-01, H14PRO-049, H15PRO-165, H18PRO-443 Copyright (c) 1994-2000 Yutaka Sato and ETL,AIST,MITI Copyright (c) 2001-2014 National Institute of Advanced Industrial Science and Technology (AIST) -- FTP: <URL:ftp://ftp.delegate.org/pub/DeleGate/> WWW: <URL:http://www.delegate.org/> Mail:<URL:mailto:feedback@delegate.org> <URL:http://www.delegate.org/feedback/> _execPath=/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/src/./dg.exe Config: FreeBSD/14.4-RELEASE; FileSize-Bits=64/64,64/32,64,64; socket=65536/65536; sockpair=65536/65536,1016++U; char=signed; fcF=A; thread=PThread/pthread,32/128; zlib=112,324416; pam=3; stty=tcsetattr/termio; regex=regex; addr=A/318650/8213E7528; umem=86174/130896/0M ADMIN=admin@example.com -- ERROR: can't link the SSL/Crypto library. -- Hint: use -vl option to trace the required library, --- find it (ex. libssl.so.X.Y.Z) under /usr/lib or /lib, --- then set the library version as DYLIB='+,lib*.so.X.Y.Z' Usage: add -vv option to trace the library search Loaded: Zlib 1.3.1 -- ################ "/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe" -cksum Makefile auth.h hostlist.h param.h param.h service.h filter.h "/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe" -cksum ../maker/mkmake.c [/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/src]cksum(../maker/mkmake.c) cp -f -p dg.exe delegated.sign ./dg.exe -Fesign DGROOT=/wrkdirs/usr/ports/net/delegate/work -s -w delegated.sign Cannot open: DGROOT=/wrkdirs/usr/ports/net/delegate/work mv -f delegated.sign delegated "/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe" -makeat "" ../subin "" \ "/usr/local/bin/gmake" commands MAKE="/usr/local/bin/gmake" SHELL="/bin/sh" CC="cc" HDRDIR="-I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing " RANLIB="/usr/bin/ranlib" LDFLAGS=" -L../lib" LIBDIR="-L../lib" NETLIB="-ldl -lutil -lpthread -lpam -lstdc++" AR="ar" TAR="tar" CFLAGS="-O2 -x c++ -DQS -DNONC99=3 " \ CFLAGS="-O2 -x c++ -DQS -DNONC99=3 " LIBSC="../lib/libresolvy.a ../lib/libteleport.a ../lib/libmd5.a ../lib/libcfi.a ../lib/library.a ../lib/libgates.a ../lib/libmimekit.a ../lib/libfsx.a -ldl -lutil -lpthread -lpam -lstdc++ -lc ../lib/libregex.a ../lib/libsubst.a -ldl -lutil -lpthread -lpam -lstdc++" LIBDGF=-ldelegate ---- testing CC capability [cc][-O2 -x c++ -DQS -DNONC99=3 ][] ... *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 1 error generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c ---- LD exit(256) cc _.o -lstdc++ *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c _.c:1:16: error: flexible array member 'A' with type 'char[]' is not at the end of struct 1 | struct _S{char A[]; char B[1];}S; | ^ _.c:1:26: note: next field declaration is here 1 | struct _S{char A[]; char B[1];}S; | ^ _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 2 errors generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c ---- LD exit(256) cc _.o -lstdc++ *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 1 error generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c ---- LD exit(256) cc _.o -lstdc++ [cc -c -O2 -x c++ -DQS -DNONC99=3 ] NONC99=2, NONAZ0=6 @pkg.DaveG.ca ####### -makeat: /wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/subin @pkg.DaveG.ca gmake[3]: Entering directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/subin' "/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe" -cksum README_SUBIN Makefile dgpam.c dgxauth.c dgbind.c dgdate.c dgchroot.c dgcpnod.c dgforkpty.c dgsetlogin.c install.sh "/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe" -mkmake "/usr/local/bin/gmake" Makefile.go "cc" "-O2 -x c++ -DQS -DNONC99=3 -Dm64 " "" "-L../lib" "/usr/bin/ranlib" "-ldl -lutil -lpthread -lpam -lstdc++" NETLIB ---- testing CC capability [cc][-O2 -x c++ -DQS -DNONC99=3 -Dm64 ][] ... *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 1 error generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c ---- LD exit(256) cc _.o -lstdc++ *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c _.c:1:16: error: flexible array member 'A' with type 'char[]' is not at the end of struct 1 | struct _S{char A[]; char B[1];}S; | ^ _.c:1:26: note: next field declaration is here 1 | struct _S{char A[]; char B[1];}S; | ^ _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 2 errors generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c ---- LD exit(256) cc _.o -lstdc++ *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 1 error generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c ---- LD exit(256) cc _.o -lstdc++ mkmake: cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/subin]: cannot read 'DELEGATE_CONF' [cc -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 ] NONC99=2, NONAZ0=6 @pkg.DaveG.ca #### [/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/subin] creating Makefile.go cpyfile Makefile[1-0][0-20183e] > Makefile.go #ifdef UNIX,OS2EMX ################################################ [SET] MKMAKE=/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe [SET] RANLIB=/usr/bin/ranlib - checking availability of -ldl [] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/subin]: cannot read 'DELEGATE_CONF' - checking availability of -lutil [-ldl] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/subin]: cannot read 'DELEGATE_CONF' - checking availability of -lpthread [-ldl -lutil] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/subin]: cannot read 'DELEGATE_CONF' - checking availability of -lpam [-ldl -lutil -lpthread] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/subin]: cannot read 'DELEGATE_CONF' - checking availability of -lstdc++ [-ldl -lutil -lpthread -lpam] cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/subin]: cannot read 'DELEGATE_CONF' [SET] NETLIB=-ldl -lutil -lpthread -lpam -lstdc++ cpyfile[/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/subin]: cannot read 'DELEGATE_CONF' cpyfile Makefile[0-0][2026f4-0] > Makefile.go #ifdef UNIX,OS2EMX ################################################ /usr/local/bin/gmake -f Makefile.go all SHELL="/bin/sh" HDRDIR="-I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing " gmake[4]: Entering directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/subin' ../mkcpp dgpam.c dgpam.cc -- mkcpp set time: 1773312049 -> 1250403944 dgpam.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c dgpam.cc In file included from dgpam.cc:20: ./dgxauth.c:39:35: warning: '/*' within block comment [-Wcomment] 39 | /* allow super-user to use subin/* */ | ^ 1 warning generated. cc -L../lib -o dgpam dgpam.o ../lib/library.a ../lib/libcfi.a ../lib/libmimekit.a ../lib/libmd5.a -ldl -lutil -lpthread -lpam -lstdc++ -lc ../lib/libsubst.a -ldl -lutil -lpthread -lpam -lstdc++ ../mkcpp dgbind.c dgbind.cc -- mkcpp set time: 1773312049 -> 1273788917 dgbind.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c dgbind.cc In file included from dgbind.cc:35: ./dgxauth.c:39:35: warning: '/*' within block comment [-Wcomment] 39 | /* allow super-user to use subin/* */ | ^ 1 warning generated. cc -L../lib -o dgbind dgbind.o ../lib/library.a ../lib/libcfi.a ../lib/libmimekit.a ../lib/libmd5.a -ldl -lutil -lpthread -lpam -lstdc++ -lc ../lib/libsubst.a -ldl -lutil -lpthread -lpam -lstdc++ ../mkcpp dgdate.c dgdate.cc -- mkcpp set time: 1773312050 -> 1250403944 dgdate.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c dgdate.cc In file included from dgdate.cc:21: ./dgxauth.c:39:35: warning: '/*' within block comment [-Wcomment] 39 | /* allow super-user to use subin/* */ | ^ 1 warning generated. cc -L../lib -o dgdate dgdate.o ../lib/library.a ../lib/libcfi.a ../lib/libmimekit.a ../lib/libmd5.a -ldl -lutil -lpthread -lpam -lstdc++ -lc ../lib/libsubst.a -ldl -lutil -lpthread -lpam -lstdc++ ../mkcpp dgchroot.c dgchroot.cc -- mkcpp set time: 1773312050 -> 1250403944 dgchroot.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c dgchroot.cc In file included from dgchroot.cc:22: ./dgxauth.c:39:35: warning: '/*' within block comment [-Wcomment] 39 | /* allow super-user to use subin/* */ | ^ 1 warning generated. cc -L../lib -o dgchroot dgchroot.o ../lib/library.a ../lib/libcfi.a ../lib/libmimekit.a ../lib/libmd5.a -ldl -lutil -lpthread -lpam -lstdc++ -lc ../lib/libsubst.a -ldl -lutil -lpthread -lpam -lstdc++ ../mkcpp dgcpnod.c dgcpnod.cc -- mkcpp set time: 1773312050 -> 1264835288 dgcpnod.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c dgcpnod.cc In file included from dgcpnod.cc:22: ./dgxauth.c:39:35: warning: '/*' within block comment [-Wcomment] 39 | /* allow super-user to use subin/* */ | ^ 1 warning generated. cc -L../lib -o dgcpnod dgcpnod.o ../lib/library.a ../lib/libcfi.a ../lib/libmimekit.a ../lib/libmd5.a -ldl -lutil -lpthread -lpam -lstdc++ -lc ../lib/libsubst.a -ldl -lutil -lpthread -lpam -lstdc++ ../mkcpp dgforkpty.c dgforkpty.cc -- mkcpp set time: 1773312051 -> 1267205266 dgforkpty.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c dgforkpty.cc In file included from dgforkpty.cc:21: ./dgxauth.c:39:35: warning: '/*' within block comment [-Wcomment] 39 | /* allow super-user to use subin/* */ | ^ In file included from dgforkpty.cc:23: ./../rary/netsh.c:288:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 288 | if( env = getenv("LINES") ){ | ~~~~^~~~~~~~~~~~~~~~~ ./../rary/netsh.c:288:10: note: place parentheses around the assignment to silence this warning 288 | if( env = getenv("LINES") ){ | ^ | ( ) ./../rary/netsh.c:288:10: note: use '==' to turn this assignment into an equality comparison 288 | if( env = getenv("LINES") ){ | ^ | == ./../rary/netsh.c:291:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 291 | if( env = getenv("COLUMNS") ){ | ~~~~^~~~~~~~~~~~~~~~~~~ ./../rary/netsh.c:291:10: note: place parentheses around the assignment to silence this warning 291 | if( env = getenv("COLUMNS") ){ | ^ | ( ) ./../rary/netsh.c:291:10: note: use '==' to turn this assignment into an equality comparison 291 | if( env = getenv("COLUMNS") ){ | ^ | == ./../rary/netsh.c:1402:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1402 | if( fp = fopen("C:/DeleGate/dgpty.log","a") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../rary/netsh.c:1402:10: note: place parentheses around the assignment to silence this warning 1402 | if( fp = fopen("C:/DeleGate/dgpty.log","a") ){ | ^ | ( ) ./../rary/netsh.c:1402:10: note: use '==' to turn this assignment into an equality comparison 1402 | if( fp = fopen("C:/DeleGate/dgpty.log","a") ){ | ^ | == 4 warnings generated. cc -L../lib -o dgforkpty dgforkpty.o ../lib/library.a ../lib/libcfi.a ../lib/libmimekit.a ../lib/libmd5.a -ldl -lutil -lpthread -lpam -lstdc++ -lc ../lib/libsubst.a -ldl -lutil -lpthread -lpam -lstdc++ gmake[4]: Leaving directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/subin' gmake[3]: Leaving directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/subin' "/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe" -makeat ../lib/libsubstx.a ../maker libsubstx.a \ "/usr/local/bin/gmake" libxx MAKE="/usr/local/bin/gmake" SHELL="/bin/sh" CC="cc" HDRDIR="-I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing " RANLIB="/usr/bin/ranlib" LDFLAGS=" -L../lib" LIBDIR="-L../lib" NETLIB="-ldl -lutil -lpthread -lpam -lstdc++" AR="ar" TAR="tar" CFLAGS="-O2 -x c++ -DQS -DNONC99=3 " \ LDLIBS="-ldl -lutil -lpthread -lpam -lstdc++ -lcrypto -lssl" ---- testing CC capability [cc][-O2 -x c++ -DQS -DNONC99=3 ][] ... *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 1 error generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c ---- LD exit(256) cc _.o -lstdc++ *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c _.c:1:16: error: flexible array member 'A' with type 'char[]' is not at the end of struct 1 | struct _S{char A[]; char B[1];}S; | ^ _.c:1:26: note: next field declaration is here 1 | struct _S{char A[]; char B[1];}S; | ^ _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 2 errors generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c ---- LD exit(256) cc _.o -lstdc++ *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 1 error generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 _.c ---- LD exit(256) cc _.o -lstdc++ [cc -c -O2 -x c++ -DQS -DNONC99=3 ] NONC99=2, NONAZ0=6 @pkg.DaveG.ca ####### -makeat: /wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/maker @pkg.DaveG.ca gmake[3]: Entering directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/maker' /usr/local/bin/gmake -f Makefile.go libsubstx.a MAKEFILE=Makefile.go MKMAKE="/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe" SHELL="/bin/sh" HDRDIR="-I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing " LIBDIR="-L../lib" gmake[4]: Entering directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/maker' rm -f libtemp.a "/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe" -subst libck "/usr/local/bin/gmake" "Makefile.go" "cc" "-O2 -x c++ -DQS -DNONC99=3 -Dm64 " "-I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing " "/usr/bin/ranlib" "libsubstx.a" "-L../lib" "-ldl -lutil -lpthread -lpam -lstdc++ -lcrypto -lssl" "-L../lib" "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" ---- testing CC capability [cc][-O2 -x c++ -DQS -DNONC99=3 -Dm64 ][] ... *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 1 error generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c ---- LD exit(256) cc _.o -lstdc++ *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c _.c:1:16: error: flexible array member 'A' with type 'char[]' is not at the end of struct 1 | struct _S{char A[]; char B[1];}S; | ^ _.c:1:26: note: next field declaration is here 1 | struct _S{char A[]; char B[1];}S; | ^ _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 2 errors generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c ---- LD exit(256) cc _.o -lstdc++ *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 1 error generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c ---- LD exit(256) cc _.o -lstdc++ -- checking CC = cc -- checking CC with CFLAGS = cc -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 ##ERROR## *** ##ERROR## cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c ##ERROR## _.c:1:1: error: a type specifier is required for all declarations ##ERROR## 1 | main(){ } ##ERROR## | ^ ##ERROR## 1 error generated. ##ERROR## FATAL!!!!: Something wrong in the CFLAGS. -- checking LDLIBS = -ldl -lutil -lpthread -lpam -lstdc++ -lcrypto -lssl ** CC CFLAGS LIBS and socket library are OK. [cc -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 ] NONC99=2, NONAZ0=6 @pkg.DaveG.ca MAKE=/usr/local/bin/gmake MAKEFILE=Makefile.go CC=cc CFLAGS=-O2 -x c++ -DQS -DNONC99=3 -Dm64 HDRDIR=-I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing RANLIB=/usr/bin/ranlib LIBFILE=libsubstx.a LIBDIR=-L../lib LDLIBS=-ldl -lutil -lpthread -lpam -lstdc++ -lcrypto -lssl LDFLAGS=-L../lib Files=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 "/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe" -subst libmk "/usr/local/bin/gmake" "Makefile.go" "cc" "-O2 -x c++ -DQS -DNONC99=3 -Dm64 " "-I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing " "/usr/bin/ranlib" "libsubstx.a" "-L../lib" "-ldl -lutil -lpthread -lpam -lstdc++ -lcrypto -lssl" "-L../lib" "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" libtemp.a LIBOBJS ---- testing CC capability [cc][-O2 -x c++ -DQS -DNONC99=3 -Dm64 ][] ... *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 1 error generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c ---- LD exit(256) cc _.o -lstdc++ *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c _.c:1:16: error: flexible array member 'A' with type 'char[]' is not at the end of struct 1 | struct _S{char A[]; char B[1];}S; | ^ _.c:1:26: note: next field declaration is here 1 | struct _S{char A[]; char B[1];}S; | ^ _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 2 errors generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c ---- LD exit(256) cc _.o -lstdc++ *** cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c _.c:2:1: error: a type specifier is required for all declarations 2 | main(){ } | ^ 1 error generated. ---- CC exit(256) cc -c -o _.o -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 _.c ---- LD exit(256) cc _.o -lstdc++ ** mksubst ** where: ../src compile: cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -ldl -lutil -lpthread -lpam -lstdc++ -lcrypto -lssl files: 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 [cc -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 ] NONC99=2, NONAZ0=6 @pkg.DaveG.ca MAKE=/usr/local/bin/gmake MAKEFILE=Makefile.go CC=cc CFLAGS=-O2 -x c++ -DQS -DNONC99=3 -Dm64 HDRDIR=-I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing RANLIB=/usr/bin/ranlib LIBFILE=libsubstx.a LIBDIR=-L../lib LDLIBS=-ldl -lutil -lpthread -lpam -lstdc++ -lcrypto -lssl LDFLAGS=-L../lib Files=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 ** dummy.c is substituted ** SSL_library_init.c is substituted ** ERR_error_string_n.c is substituted ** RSA_generate_key.c is substituted ** SSL_set_SSL_CTX.c is substituted ** SSL_CTX_set_tmp_rsa_callback.c is substituted #### dumped to '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/maker/libsubstx.a.list' (6) #### mksubst errors to /wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/maker/errors: 1773312054 gmake[5]: Entering directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/maker' gmake[5]: 'dummy.o' is up to date. ../mkcpp SSL_library_init.c SSL_library_init.cc -- mkcpp set time: 1773312054 -> 1250403944 SSL_library_init.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c SSL_library_init.cc ../mkcpp ERR_error_string_n.c ERR_error_string_n.cc -- mkcpp set time: 1773312054 -> 1250403944 ERR_error_string_n.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c ERR_error_string_n.cc ../mkcpp RSA_generate_key.c RSA_generate_key.cc -- mkcpp set time: 1773312054 -> 1250403944 RSA_generate_key.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c RSA_generate_key.cc ../mkcpp SSL_set_SSL_CTX.c SSL_set_SSL_CTX.cc -- mkcpp set time: 1773312055 -> 1250403944 SSL_set_SSL_CTX.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c SSL_set_SSL_CTX.cc ../mkcpp SSL_CTX_set_tmp_rsa_callback.c SSL_CTX_set_tmp_rsa_callback.cc -- mkcpp set time: 1773312055 -> 1250403944 SSL_CTX_set_tmp_rsa_callback.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -I../gen -I../src -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c SSL_CTX_set_tmp_rsa_callback.cc gmake[5]: Leaving directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/maker' mksub[0] /usr/local/bin/gmake mksub[1] MAKE=/usr/local/bin/gmake mksub[2] -f mksub[3] Makefile.go mksub[4] CC=cc mksub[5] CFLAGS=-O2 -x c++ -DQS -DNONC99=3 -Dm64 mksub[6] HDRDIR=-I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing mksub[7] RANLIB=/usr/bin/ranlib mksub[8] LIBFILE=libsubstx.a mksub[9] dummy.o mksub[10] SSL_library_init.o mksub[11] ERR_error_string_n.o mksub[12] RSA_generate_key.o mksub[13] SSL_set_SSL_CTX.o mksub[14] SSL_CTX_set_tmp_rsa_callback.o gmake[5]: Entering directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/maker' ar cr libtemp.a dummy.o SSL_library_init.o ERR_error_string_n.o RSA_generate_key.o SSL_set_SSL_CTX.o SSL_CTX_set_tmp_rsa_callback.o /usr/bin/ranlib libtemp.a cp libtemp.a libsubstx.a /usr/bin/ranlib libsubstx.a gmake[5]: Leaving directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/maker' libmk[0] /usr/local/bin/gmake libmk[1] MAKE=/usr/local/bin/gmake libmk[2] -f libmk[3] Makefile.go libmk[4] CC=cc libmk[5] CFLAGS=-O2 -x c++ -DQS -DNONC99=3 -Dm64 libmk[6] HDRDIR=-I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing libmk[7] RANLIB=/usr/bin/ranlib libmk[8] LIBFILE=libsubstx.a libmk[9] LIBOBJS=dummy.o SSL_library_init.o ERR_error_string_n.o RSA_generate_key.o SSL_set_SSL_CTX.o SSL_CTX_set_tmp_rsa_callback.o libmk[10] libtemp.a gmake[4]: Leaving directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/maker' gmake[3]: Leaving directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/maker' **[0] move ../maker/libsubstx.a to ../lib/libsubstx.a gmake[2]: Leaving directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/src' gmake[1]: Leaving directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/src' sleep 1 "src/dg.exe" DGROOT=/wrkdirs/usr/ports/net/delegate/work "-Fsrcmd5" -csrc -f srcfiles -type f -o gen/bldsign.h source MD5 = 101a375aac289a4aefe115e42f9cc789 rm src/dg.exe rm src/delegated rm src/builtin.o rm src/_builtin.c ####### -makeat: /wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/src @pkg.DaveG.ca gmake[1]: Entering directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/src' gmake[2]: Entering directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/src' ../mkcpp ../include/dglib.h ../gen/dglib.h -- mkcpp set time: 1773312056 -> 1411904544 ../gen/dglib.h ../mkcpp ../include/delegate.h ../gen/delegate.h -- mkcpp set time: 1773312056 -> 1409100207 ../gen/delegate.h ../mkcpp ../include/htswitch.h ../gen/htswitch.h -- mkcpp set time: 1773312056 -> 1250403944 ../gen/htswitch.h ../mkcpp ../include/ystrvec.h ../gen/ystrvec.h -- mkcpp set time: 1773312056 -> 1264936957 ../gen/ystrvec.h ../mkcpp ../include/vaddr.h ../gen/vaddr.h -- mkcpp set time: 1773312056 -> 1398938735 ../gen/vaddr.h ../mkcpp ../include/http.h ../gen/http.h -- mkcpp set time: 1773312056 -> 1411902220 ../gen/http.h ../mkcpp ../include/url.h ../gen/url.h -- mkcpp set time: 1773312056 -> 1407833903 ../gen/url.h ../mkcpp ../include/mime.h ../gen/mime.h -- mkcpp set time: 1773312056 -> 1258620620 ../gen/mime.h ../mkcpp ../include/htadmin.h ../gen/htadmin.h -- mkcpp set time: 1773312056 -> 1250403944 ../gen/htadmin.h ./embed -IMPSIZE=10000 > _builtin.c "../COPYRIGHT" "builtin/**/*.gif" "builtin/**/*.ico" "builtin/**/*.bmp" "builtin/**/*.dll" "builtin/**/*.dhtml" "builtin/**/*.pem" "builtin/**/*.cnf" "builtin/**/*.cnv" "builtin/config/smtpgate/**/conf" embed: R=44 r=98 L=296 f=209 ../mkcpp builtin.c builtin._.c -- mkcpp set time: 1773312056 -> 1399198412 builtin._.c cc -O2 -x c++ -DQS -DNONC99=3 -I../gen -I../include -O2 -pipe -x c++ -std=gnu++98 -fstack-protector-strong -fno-strict-aliasing -c builtin._.c -o builtin.o In file included from builtin._.c:19: ./_builtin.c:1:313: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] 1 | const char *DELEGATE_exesign(){ return "\n{EXESIGN=9.9.13:20260312104056+0000:0000000000000000:none@nowhere:''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''}\n"+10; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./_builtin.c:1:313: note: use array indexing to silence this warning 1 | const char *DELEGATE_exesign(){ return "\n{EXESIGN=9.9.13:20260312104056+0000:0000000000000000:none@nowhere:''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''}\n"+10; } | ^ | & [ ] ./_builtin.c:89:44: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] 2 | # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3 | " "\ | ~~~~ 4 | # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 | # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 | # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7 | # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8 | # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9 | # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10 | # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11 | # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 12 | " "\ | ~~~~ 13 | # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 14 | # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 15 | # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 16 | # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 17 | # # # # # # # # # # # # # # # # # # #}\"\n"+10+8; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./_builtin.c:89:44: note: use array indexing to silence this warning 2 | # # # # # # # # # # # # # # # # # # #}\"\n"+10+8; } | ^ | [ ] builtin._.c:48:9: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] 48 | return BUILT_SRCSIGN; | ^~~~~~~~~~~~~ ../gen/bldsign.h:2:80: note: expanded from macro 'BUILT_SRCSIGN' 1 | #define BUILT_SRCSIGN "\n\ | ~~~~ 2 | {BLDSIGN\0759.9.13:20260312104056+0000:101a375aac289a4a:admin@example.com:-}\n"+10 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ builtin._.c:48:9: note: use array indexing to silence this warning ../gen/bldsign.h:2:80: note: expanded from macro 'BUILT_SRCSIGN' 2 | {BLDSIGN\0759.9.13:20260312104056+0000:101a375aac289a4a:admin@example.com:-}\n"+10 | ^ builtin._.c:81:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 81 | for(i = 0; file1 = get_builtin_file(i); i++){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ builtin._.c:81:19: note: place parentheses around the assignment to silence this warning 81 | for(i = 0; file1 = get_builtin_file(i); i++){ | ^ | ( ) builtin._.c:81:19: note: use '==' to turn this assignment into an equality comparison 81 | for(i = 0; file1 = get_builtin_file(i); i++){ | ^ | == builtin._.c:104:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 104 | for(i = 0; file1 = get_builtin_file(i); i++){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ builtin._.c:104:19: note: place parentheses around the assignment to silence this warning 104 | for(i = 0; file1 = get_builtin_file(i); i++){ | ^ | ( ) builtin._.c:104:19: note: use '==' to turn this assignment into an equality comparison 104 | for(i = 0; file1 = get_builtin_file(i); i++){ | ^ | == builtin._.c:126:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 126 | if( fp = fopen(path,"r") ){ | ~~~^~~~~~~~~~~~~~~~~ builtin._.c:126:9: note: place parentheses around the assignment to silence this warning 126 | if( fp = fopen(path,"r") ){ | ^ | ( ) builtin._.c:126:9: note: use '==' to turn this assignment into an equality comparison 126 | if( fp = fopen(path,"r") ){ | ^ | == builtin._.c:130:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 130 | if( fp = dirfopen("builtin-data",AVStr(path),"w") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ builtin._.c:130:9: note: place parentheses around the assignment to silence this warning 130 | if( fp = dirfopen("builtin-data",AVStr(path),"w") ){ | ^ | ( ) builtin._.c:130:9: note: use '==' to turn this assignment into an equality comparison 130 | if( fp = dirfopen("builtin-data",AVStr(path),"w") ){ | ^ | == 7 warnings generated. "/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe" -randtext ../include/randtext.c ./embed -IMPSIZE=10000 > _builtin.c "../COPYRIGHT" "builtin/**/*.gif" "builtin/**/*.ico" "builtin/**/*.bmp" "builtin/**/*.dll" "builtin/**/*.dhtml" "builtin/**/*.pem" "builtin/**/*.cnf" "builtin/**/*.cnv" "builtin/config/smtpgate/**/conf" embed: R=44 r=98 L=296 f=209 cc -L../lib -o dg.exe builtin.o delegated.o commands.o croncom.o remote.o ../lib/libdelegate.a ../lib/libresolvy.a ../lib/libteleport.a ../lib/libmd5.a ../lib/libcfi.a ../lib/library.a ../lib/libgates.a ../lib/libmimekit.a ../lib/libfsx.a -ldl -lutil -lpthread -lpam -lstdc++ -lc ../lib/libregex.a ../lib/libsubst.a -ldl -lutil -lpthread -lpam -lstdc++ ################ ./dg.exe -Fver DGROOT=/wrkdirs/usr/ports/net/delegate/work DGROOT=/wrkdirs/usr/ports/net/delegate/work -- DeleGate/9.9.13 (October 31, 2014) AIST-Product-ID: 2000-ETL-198715-01, H14PRO-049, H15PRO-165, H18PRO-443 Copyright (c) 1994-2000 Yutaka Sato and ETL,AIST,MITI Copyright (c) 2001-2014 National Institute of Advanced Industrial Science and Technology (AIST) -- FTP: <URL:ftp://ftp.delegate.org/pub/DeleGate/> WWW: <URL:http://www.delegate.org/> Mail:<URL:mailto:feedback@delegate.org> <URL:http://www.delegate.org/feedback/> _execPath=/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/src/./dg.exe Config: FreeBSD/14.4-RELEASE; FileSize-Bits=64/64,64/32,64,64; socket=65536/65536; sockpair=65536/65536,1016++U; char=signed; fcF=A; thread=PThread/pthread,32/128; zlib=112,324416; pam=3; stty=tcsetattr/termio; regex=regex; addr=A/3186A0/8212F7A98; umem=86174/130896/0M ADMIN=admin@example.com -- ERROR: can't link the SSL/Crypto library. -- Hint: use -vl option to trace the required library, --- find it (ex. libssl.so.X.Y.Z) under /usr/lib or /lib, --- then set the library version as DYLIB='+,lib*.so.X.Y.Z' Usage: add -vv option to trace the library search Loaded: Zlib 1.3.1 -- ################ "/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe" -cksum Makefile auth.h hostlist.h param.h param.h service.h filter.h "/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe" -cksum ../maker/mkmake.c [/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/src]cksum(../maker/mkmake.c) cp -f -p dg.exe delegated.sign ./dg.exe -Fesign DGROOT=/wrkdirs/usr/ports/net/delegate/work -s -w delegated.sign Cannot open: DGROOT=/wrkdirs/usr/ports/net/delegate/work mv -f delegated.sign delegated gmake[2]: Leaving directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/src' gmake[1]: Leaving directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/src' ================ "src/dg.exe" DGROOT=/wrkdirs/usr/ports/net/delegate/work "-Fsrcmd5" -f srcfiles -type f source MD5 = 101a375aac289a4aefe115e42f9cc789 *** BAD, spoofed or forged, not original code by DeleGate.ORG "src/dg.exe" DGROOT=/wrkdirs/usr/ports/net/delegate/work "-Fcksum" -x -c -f srcfiles Total-file-line-byte-csum: 561 326983 8381341 2634F6B1 pkg.DaveG.ca ====FINISHED==== sh make-fin.sh =========================================================================== =======================<phase: run-depends >============================ ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =======================<phase: stage >============================ ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for delegate-9.9.13_3 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/src/delegated /wrkdirs/usr/ports/net/delegate/work/stage/usr/local/sbin install -m 555 /usr/ports/net/delegate/files/delegated.sh /wrkdirs/usr/ports/net/delegate/work/stage/usr/local/etc/rc.d/delegated.sh-dist (UNIX) 10:40:57.573 [22406] Path-Normalized<<< /wrkdirs/usr/ports/net/delegate/work/tmp/ (UNIX) 10:40:57.573 [22406] Path-Normalized>>> /wrkdirs/usr/ports/net/delegate/work/tmp -- ERROR: can't link the SSL/Crypto library. -- Hint: use -vl option to trace the required library, --- find it (ex. libssl.so.X.Y.Z) under /usr/lib or /lib, --- then set the library version as DYLIB='+,lib*.so.X.Y.Z' -- src Sign? 9.9.13:20141031194217+0900:6fdc87e522763a5e:Author@DeleGate.ORG -- bld Sign> 9.9.13 2026031210 101a375aac289a4a (admin@example.com) ** NG, this executable is not built from the original code: /wrkdirs/usr/ports/net/delegate/work/stage/usr/local/sbin/delegated -- exe Sign? 9.9.13 2026031210 0000000000000000 (none@nowhere) -- File MD5: 17fec2b46e031c33dc0a404ec0e6ee8e old> 9.9.13 2026031210 0000000000000000 (none@nowhere) new> 9.9.13 2026031210 17fec2b46e031c33 (admin@example.com) 9.9.13:20260312104158+0000:17fec2b46e031c33:admin@example.com:-'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -rwxr-xr-x 1 root wheel 4096248 Mar 12 10:40 /wrkdirs/usr/ports/net/delegate/work/stage/usr/local/sbin/delegated install -m 0644 /wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/doc/CHANGES /wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/doc/COPYRIGHT /wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/doc/HowToDG.html /wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/doc/IPv6NOTE.txt /wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/doc/Manual.htm /wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/doc/jpconv.htm /wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/doc/tutor-en.htm /wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/doc/tutor-jp.htm /wrkdirs/usr/ports/net/delegate/work/stage/usr/local/share/doc/delegate ====> Compressing man pages (compress-man) =========================================================================== =======================<phase: package >============================ ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2026-03-12T10:28:41+0000' 'PKG_NOTE_ports_top_git_hash=26b198eb3ee3' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=fa00a8245951' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for delegate-9.9.13_3 ===> Building delegate-9.9.13_3 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for delegate-9.9.13_3 build of net/delegate | delegate-9.9.13_3 ended at Thu Mar 12 06:42:11 EDT 2026 build time: 00:13:34